Commit Graph

911 Commits (a63beafb8ec1616230140a2f17ee5f1563d0746f)
 

Author SHA1 Message Date
Leseb c238d8704b Merge pull request #448 from mattt416/add_run_once
Add run_once to 'copy keys to the ansible server'
2015-12-07 08:39:11 +01:00
Eric Cook ab884c7cb2 fixes ceph_stable_release logic mentioned in issue #446
I changed the argument used for starting the mds server. (pre
infernalis)
```
service ceph start mds
```
errors, while
```
service ceph start mds.$hostname
```
correctly starts the service.

I changed the mds directory ownership from ceph:cephh to root:root
again, for pre-infernalis.

And finally, add the ceph_stable_releases checks for the upstart
activation task `for or after infernalis release'.
2015-12-04 17:36:24 -05:00
Matt Thompson 5db9f45c04 Add run_once to 'copy keys to the ansible server'
I have seen a number of failures on this task due to mismatch of
checksum of source file and destination.  I suspect this is due to a
race condition caused by several hosts simultaneously copying the same
file to single location on the deployment server.

This change simply updates the 'copy keys to the ansible server' task
by adding 'run_once', which limits the task to being run on a single
MON host.

Closes issue #410
2015-12-04 16:14:18 +00:00
Luis Pabón 71a56a86f6 Update README.md 2015-12-02 22:26:13 -05:00
Luis Pabón ec1cb44220 Support for libvirt provider in vagrant 2015-12-02 17:59:52 -05:00
Leseb 8d14048bac Merge pull request #445 from ceph/site-sample-restapi
Moving out the restapi from the mons
2015-11-26 19:59:21 +01:00
Sébastien Han c8dab6546f Moving out the restapi from the mons
This has the tendency to make the ceph-mon play unnecessary longer when not
activated.

Signed-off-by: Sébastien Han <seb@redhat.com>
2015-11-26 19:57:16 +01:00
Leseb aeff06405c Merge pull request #444 from ceph/site-sample
Do not track site example file
2015-11-26 17:49:21 +01:00
Sébastien Han ec6692257f Do not track site example file
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-11-26 17:48:04 +01:00
Leseb 0e6f509876 Merge pull request #440 from eikef/master
Add systemd-specific start/restart tasks/handlers for el7/infernalis
2015-11-24 14:20:54 +01:00
Leseb 0bb56f7a51 Merge pull request #439 from ceph/proactive-dev-check
Check partition status
2015-11-23 17:01:54 +01:00
Sébastien Han d60f5fddd0 Check partition status
Verify that partitions (for both osd disks and journal disks) are sane
before attempting to prepare the device. Fail if parted fails for
whatever reason.

Closes: #437

Signed-off-by: Sébastien Han <seb@redhat.com>
2015-11-23 16:20:08 +01:00
Eike Frost d49e8bd904 Add systemd-specific start/restart tasks/handlers for el7/infernalis 2015-11-20 22:34:29 +01:00
Leseb 330abb307f Merge pull request #438 from ceph/ansible-version-check
Fail for unsupported ansible version
2015-11-20 15:31:51 +01:00
Sébastien Han 83b2a51fe1 Fail for unsupported ansible version
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-11-20 15:30:18 +01:00
Leseb 50eb69e3be Merge pull request #436 from ceph/use-infernalis
Use new Infernalis release
2015-11-18 12:02:25 +01:00
Sébastien Han 2fa995a889 Use new Infernalis release
Add proper fixes for the new ceph user and dir/files permissions

Signed-off-by: Sébastien Han <seb@redhat.com>
2015-11-18 11:47:38 +01:00
Leseb d092c0c899 Merge pull request #435 from ceph/install-pip
Install pip before using it
2015-11-16 11:50:48 +01:00
Sébastien Han fcfac5c1e1 Install pip before using it
Fixes: #430

Signed-off-by: Sébastien Han <seb@redhat.com>
2015-11-16 11:47:23 +01:00
Leseb b93fd938e8 Merge pull request #432 from rootfs/centos
various fixes for CentOS
2015-11-06 12:33:50 +09:00
Leseb 52ce81c757 Merge pull request #433 from dvusboy/fix-start_radosgw-centos
This change address radosgw not getting started on CentOS
2015-11-06 12:31:59 +09:00
Leseb 60265eb539 Merge pull request #434 from dvusboy/fix-ceph-mon-defaults
Defaults for the ceph-mon role should be setting the 'mon_group_name'
2015-11-06 12:31:19 +09:00
K.C. Wong bc1681e0bd Defaults for the ceph-mon role should be setting the 'mon_group_name'
* without this, the handler in ceph-common that depends on
  the value of 'mon_group_name' would fail
2015-11-05 18:31:34 -08:00
K.C. Wong 92246616e5 This change address radosgw not getting started on CentOS
* The explicit check of 'ansible_distribution' being 'RedHat'
  will not work on CentOS hosts.
* Check the value of 'ansible_os_family' instead.
2015-11-05 18:06:41 -08:00
Huamin Chen 860125ff8f various fixes for CentOS
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-11-05 20:39:03 +00:00
Leseb b5544a1be7 Merge pull request #428 from ceph/rename-vars
Ability  to collocate bare metal and container
2015-10-21 23:25:34 +02:00
Leseb 072c829a83 Merge pull request #427 from msambol/gitignore
Add .DS_Store to .gitignore
2015-10-21 23:21:36 +02:00
Michael Sambol fccc3ffe84 Add .DS_Store to .gitignore 2015-10-21 16:18:58 -05:00
Sébastien Han d7c17812dd Ability to collocate bare metal and container
Since we renamed the variables and removed the old 'docker' variable we
can now collocate container daemons with standard bare metal deployment.
For instance, monitors can be containerized but osds can be deployed
traditionally.

Signed-off-by: Sébastien Han <seb@redhat.com>
2015-10-21 23:18:22 +02:00
Leseb b0f81d4a11 Merge pull request #426 from ceph/selinux
Add proper permission for selinux
2015-10-21 12:13:41 +02:00
Sébastien Han 9264a868fd Add proper permission for selinux
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-10-21 12:11:32 +02:00
Leseb 29d38c6038 Merge pull request #425 from ceph/fix-docker-checks
Fix typo
2015-10-21 02:21:03 +02:00
Sébastien Han 33ed4f5029 Fix typo
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-10-21 02:18:48 +02:00
Leseb a757827c9c Merge pull request #424 from ceph/docker-checks
Add safety checks prior to deploy a cluster in containers
2015-10-21 02:14:16 +02:00
Sébastien Han 2daeb807ed Add safety checks prior to deploy a cluster in containers
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-10-21 02:12:43 +02:00
Leseb 21cfbe7864 Merge pull request #423 from ceph/purge-docker-cluster
Purge docker cluster
2015-10-21 00:34:34 +02:00
Sébastien Han 5441b639f7 Do not zap disks on monitors
We don't necessary want to wipe and delete partition of the disks on the
monitor nodes, so we simply perform the operation on the OSD nodes.

Signed-off-by: Sébastien Han <seb@redhat.com>
2015-10-21 00:32:42 +02:00
Sébastien Han ae5775db27 Add a purge playbook when running ceph in containers
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-10-21 00:28:35 +02:00
Leseb 8abdd22323 Merge pull request #422 from ceph/docker-ceph-dirs
Create missing directories when deploying with docker
2015-10-20 17:18:55 +02:00
Sébastien Han 5fb7b1be5c Fix typo
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-10-20 17:17:58 +02:00
Sébastien Han 4c4aa32943 Create missing directories when deploying with docker
Signed-off-by: Sébastien Han <sebhan@cisco.com>
2015-10-20 17:05:34 +02:00
Leseb 50fec8c35c Merge pull request #421 from ceph/deb-img
Add a debian img example
2015-10-20 11:17:19 +02:00
Sébastien Han fdccd65bfe Add a debian img example
Signed-off-by: Sébastien Han <sebhan@cisco.com>
2015-10-20 11:17:00 +02:00
Leseb 324a4745fc Merge pull request #418 from msambol/rgw
Refactor rgw
2015-10-19 13:24:49 +02:00
Leseb 2478d79ce1 Merge pull request #417 from msambol/refactor_mds
Refactor mds
2015-10-19 13:24:42 +02:00
Leseb 9cb8f85c19 Merge pull request #419 from msambol/restapi
Refactor restapi
2015-10-19 11:09:10 +02:00
Leseb 913241d562 Merge pull request #416 from msambol/refactor_osd
Refactor osd role
2015-10-19 11:07:07 +02:00
Leseb 4a17178609 Merge pull request #415 from msambol/refactor_monitor
Refactor ceph monitor role
2015-10-19 10:51:38 +02:00
Michael Sambol ef768fa3a2 Refactor restapi 2015-10-18 22:28:48 -05:00
Michael Sambol dedb7cfd96 Refactor rgw 2015-10-18 22:19:44 -05:00