Sébastien Han
b8af5fc5a0
Merge pull request #1695 from fullerdj/wip-djf-docker-multimds
...
ceph-mds: Enable multimds under docker
2017-08-21 10:23:21 +02:00
Sébastien Han
23f551a05f
Merge pull request #1762 from ceph/install_pkg_rbdmirror
...
ceph-common: install base package to provide ceph CLI
2017-08-21 10:20:44 +02:00
Andrew Schoen
482114e9c5
docs: add examples for collocated and non-collocated osd scenarios
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-18 11:08:56 -05:00
Andrew Schoen
90efa30e27
docs: move testing/glossary after index in glossary.rst
...
We want the usage docs before the testing docs on this page.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-18 11:06:59 -05:00
Andrew Schoen
ababc1c584
docs: remove the old README and link to the hosted docs
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-17 16:03:04 -05:00
Andrew Schoen
16faf78ce2
docs: add docs for dev contributions
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-17 16:03:04 -05:00
Andrew Schoen
da4a42de0a
docs: add docs for ceph_conf_overrides usage
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-17 16:03:04 -05:00
Andrew Schoen
a5116b2ff1
docs: add links to example videos
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-17 16:03:04 -05:00
Andrew Schoen
ae60030c6c
docs: collocated and non-collocated scenario docs
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-17 16:03:04 -05:00
Andrew Schoen
4d85560a5d
docs: docs for installation and basic config
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-17 11:02:14 -05:00
Guillaume Abrioux
e0e9bb33b1
common: install ceph-common on all nodes
...
This commits force ceph-common to be installed early in deployment on
nodes.
For instance, ceph-rbdmirror doesn't have the CLI installed while it is
needed for some tasks which uses it to set some facts.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2017-08-17 14:44:38 +02:00
Andy McCrae
4671b9e74e
Allow ceph service systemd overrides to be specified
...
ceph services can fail to start under certain circumstances (for
example, when running in a container) because the default systemd
service configuration causes namespace issues.
To work around this we can override the system service settings by
placing an overrides file in the ceph-<service>@.service.d directory.
This can be generic so as to allow any potential changes required to
the ceph-<service> service files.
The overrides file is only setup when the
"ceph_<service>_systemd_overrides" config_template override variable is
specified.
The available service systemd override files are as follows:
ceph_mds_systemd_overrides
ceph_mgr_systemd_overrides
ceph_mon_systemd_overrides
ceph_osd_systemd_overrides
ceph_rbd_mirror_systemd_overrides
ceph_rgw_systemd_overrides
2017-08-16 17:57:06 +01:00
Guillaume Abrioux
980c324be0
Merge pull request #1759 from fultonj/master
...
Set the permissions mode on all of the OpenStack keys
2017-08-10 21:54:15 +02:00
John Fulton
c04559181e
Set the permissions mode on all of the OpenStack keys
...
The original fix to issue #1755 only set the permissions on
the monitors to which the key was copied, but not the original
monitor where the key was created. Thus, we use a separate task
to set the permission of the key.
2017-08-10 13:50:08 -04:00
Guillaume Abrioux
550b9d5e46
Merge pull request #1756 from fultonj/master
...
Allow user to specify the mode of the openstack keys
2017-08-10 17:39:23 +02:00
John Fulton
7d42941090
Allow user to specify the mode of the openstack keys
...
The openstack_keys structure now supports a key called mode
whose value is a string that one could pass to chmod to set
the mode of the key file. The ansible file module applies the
mode to all openstack keys with this property.
Fixes : #1755
2017-08-10 15:34:39 +00:00
Guillaume Abrioux
10b06c3e6e
Merge pull request #1560 from ceph/wip-rev-ansible-testing
...
change ansible environment to 2.3 release
2017-08-09 18:10:56 +02:00
Gregory Meno
c4cebdbcc4
change ansible environment to 2.3 release
...
Signed-off-by: Gregory Meno <gmeno@redhat.com>
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-09 10:52:23 -05:00
Guillaume Abrioux
4c38cd0844
Merge pull request #1750 from ceph/lvm-test-update
...
tests: do not use /dev/sda in the lvm scenario
2017-08-08 19:42:00 +02:00
Andrew Schoen
7ab3711cf5
tests: do not use /dev/sda in the lvm scenario
...
When you udpate to the latest version of the centos/7 box it always puts
the OS on /dev/sda, so do not use it as an OSD.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-04 15:57:56 -05:00
Andrew Schoen
3b6d1bfc42
Merge pull request #1745 from ceph/tmp-path-fix
...
ceph-common: render ceph_conf_overrides into fetch_directory
2017-08-04 15:45:53 -05:00
Andrew Schoen
30f9b0e075
ceph-common: render ceph_conf_overrides into fetch_directory
...
Writing into /tmp is not always allowed, but we can assume the
fetch_directory is writable.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-04 12:19:12 -05:00
Sébastien Han
9da848abac
Merge pull request #1716 from ceph/lvm-osds
...
adds a new OSD scenario to create OSDs with ceph-volume
2017-08-04 17:31:26 +02:00
Douglas Fuller
aab3318802
ceph-mds: Enable multimds under docker
...
This is under the MDS role instead of the mon role because that role
does not create the filesystem under docker.
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2017-08-04 10:46:11 -04:00
Andrew Schoen
be78bc1a90
ceph-defaults: fix containerized osd restarts
...
This needs to check `containerized_deployment` because
socket_osd_container is undefined otherwise.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-04 06:38:38 -05:00
Andrew Schoen
d1c7ec81c1
ceph-common: move release-rhs.yml after ceph_version is set
...
These tasks needs to be run after we set ceph_version or
they fail because it's undefined.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-04 06:38:37 -05:00
Andrew Schoen
1d5f876729
ceph-osd: devices is not required when osd_scenario == lvm
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-04 06:38:37 -05:00
Andrew Schoen
e597628be9
lvm: update scenario for new osd_scenario variable
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-04 06:38:36 -05:00
Andrew Schoen
3b5a06bb3c
lvm-osds: reorder mandatory vars checks
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-04 06:13:10 -05:00
Andrew Schoen
96c92a154e
lvm-osds: check for osd_objectstore == 'filestore'
...
ceph-volume currently only has support for filestore, not bluestore
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-04 06:13:10 -05:00
Andrew Schoen
61d63f8468
lvm-osds: make task name and files consistent
...
Removes capitilization and newlines to keep these files consistent in
style with the existing tasks.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-04 06:13:10 -05:00
Andrew Schoen
249598ff4b
lvm-osds: update group_vars/osds.yml.sample
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-04 06:13:09 -05:00
Andrew Schoen
66df80d600
tests: do not use sudo with dev_setup.yml
...
This causes problems when the tests are run locally and not in the CI
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-04 06:13:09 -05:00
Andrew Schoen
63b7e3d36c
lvm_osds: ensure osd daemons are started
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-04 06:13:09 -05:00
Andrew Schoen
d8aea71e31
tests: lvm_osds does not have devices defined
...
This means that our tests needs to use the lvm_volumes dictionary
instead of devices.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-04 06:13:09 -05:00
Andrew Schoen
661de0f3b0
tests: adds an lvm_osds testing scenario
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-04 06:13:09 -05:00
Andrew Schoen
fd4a021051
docs: add docs for the lvm_osds OSD scenario
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-04 06:13:09 -05:00
Andrew Schoen
b93794bed4
adds a new 'lvm_osds' osd scenario
...
This scenario will create OSDs using ceph-volume and is only available
in ceph releases greater than Luminous.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-04 06:13:09 -05:00
Sébastien Han
ff8bb3d1d7
Merge pull request #1743 from ceph/rhcs-yml
...
generate_group_vars_sample: rhcs.yml.sample
2017-08-03 23:06:46 +02:00
Sébastien Han
95dc6213b7
generate_group_vars_sample: rhcs.yml.sample
...
Add a pre-configured bare minimum rhcs.yml.sample that can save
configuration steps.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1478071
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-08-03 23:05:42 +02:00
Sébastien Han
e6a5c3b815
Merge pull request #1734 from ceph/debian-repo
...
common: automate setting up online repositories for ceph deployments …
2017-08-03 22:45:31 +02:00
Sébastien Han
7559a2deff
common: automate setting up online repositories for ceph deployments on debian nodes
...
This commits automates the process of setting up online repositories for
Red Hat Ceph Storage on Debian nodes. The manual steps are currently
described here:
https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/installation_guide_for_ubuntu/prerequisites#online_repositories
If you are an RHCS customer and run a Debian based system you can now
access package through the Red Hat CDN.
For this set: ceph_rhcs and ceph_rhcs_cdn_install to true. Then set your
customer credentials in ceph_rhcs_cdn_debian_repo. Replace
customername:customerpasswd with your details.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1434175
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-08-03 17:15:07 +02:00
Andrew Schoen
d2f4d3666f
Merge pull request #1725 from ceph/simplify-osd-scenario
...
osd: simply osd scenario declaration
2017-08-03 09:31:57 -05:00
Andrew Schoen
e92b93ebeb
Merge pull request #1735 from ceph/ceph-version-detection
...
common: override and autodetect ceph_stable_release
2017-08-03 09:29:02 -05:00
Sébastien Han
0d5d2db72c
Merge pull request #1740 from Logan2211/ceph-defaults-breakout
...
Add ceph-defaults to galaxy role breakout script
2017-08-03 16:01:42 +02:00
Logan V
a1a4a5074a
Add ceph-defaults to galaxy role breakout script
2017-08-03 08:15:15 -05:00
Sébastien Han
af1e4d16d2
common: override and autodetect ceph_stable_release
...
For ceph_dev and rhcs installation we need to detect the release since
we do not declare it explicitly. Keeping the default ceph_stable_release
could lead to several things going wrong and some have already been
reported.
Fixes: https://github.com/ceph/ceph-ansible/issues/1712 and
https://bugzilla.redhat.com/show_bug.cgi?id=1476210
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-08-03 14:13:31 +02:00
Sébastien Han
671f2cd4bc
Merge pull request #1738 from yanyixing/nvmepart
...
fix for nvme part path
2017-08-03 13:37:10 +02:00
yanyx
d506fad056
fix for nvme part path
2017-08-03 17:37:52 +08:00
Sébastien Han
30991b1c0a
osd: simplify scenarios
...
There is only two main scenarios now:
* collocated: everything remains on the same device:
- data, db, wal for bluestore
- data and journal for filestore
* non-collocated: dedicated device for some of the component
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-08-03 10:20:39 +02:00