Commit Graph

5167 Commits (34dacabfb95762c6fb703e7f90ed87322c871ed0)
 

Author SHA1 Message Date
Eric Cook 46af3496d4 Add ceph_stable_releases array to ceph-common/defaults/main.yml
rework the various `when' tests to use that array.
2015-12-09 15:52:23 -05:00
Leseb 45bb26649e Merge pull request #452 from BjoernT/bug/451
Adding osd_scrub_begin_hour and osd_scrub_end_hour
2015-12-09 17:26:38 +01:00
Bjoern Teipel 27fa1cc299 Adding osd_scrub_begin_hour and osd_scrub_end_hour to limit scrub window of 24h if needed
Fixes-Bug: #451
2015-12-09 10:22:59 -06:00
Leseb 88d8edcb81 Merge pull request #447 from lpabon/libvirt
Support for libvirt provider in vagrant
2015-12-07 14:07:07 +01:00
Leseb 3bc8e5a578 Merge pull request #450 from ceph/tun
Reserve some memory
2015-12-07 11:40:06 +01:00
Sébastien Han 3197896973 Reserve some memory
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-12-07 09:01:08 +01:00
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