Sébastien Han
0d9489faec
Merge pull request #1851 from ceph/shrkin-time
...
shrink-mon: wait a little bit for the mon to be out
2017-09-05 09:17:22 +02:00
Sébastien Han
579b95fd8a
shrink-mon: wait a little bit for the mon to be out
...
Monitor removal from the monmap is not immediate, so let's wait a little
bit and then fail if the monitor is still in the monmap.
We try twice in total with 10 sec intervals.
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-09-04 23:08:57 +02:00
Sébastien Han
e9d285a98c
Merge pull request #1852 from ceph/fix-client
...
client: copy admin key so we can create pools and keys
2017-09-04 23:08:41 +02:00
Sébastien Han
11122a0101
client: copy admin key so we can create pools and keys
...
Needed when user_config is set to true
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-09-04 23:07:14 +02:00
Sébastien Han
7e954f5bc0
Merge pull request #1849 from ceph/client-external
...
client: do not copy admin key by default
2017-09-02 00:57:24 +02:00
Sébastien Han
23a0c26c4f
client: do not copy admin key by default
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-09-02 00:54:17 +02:00
Sébastien Han
5b3ba28607
Merge pull request #1847 from ceph/luminous
...
ci: test luminous
2017-09-02 00:48:12 +02:00
Sébastien Han
133d7c2cce
Merge pull request #1845 from ceph/rgw
...
ceph-rgw: fix systemd unit layout
2017-09-01 20:27:21 +02:00
Sébastien Han
6e253a924c
Merge pull request #1835 from ceph/remove-untest
...
infra playbook: move untested scenario to a new dir
2017-09-01 19:59:30 +02:00
Sébastien Han
54d7a81241
infra playbook: move untested scenario to a new dir
...
Move untested/with few confidence playbooks in a untested-by-ci
directory.
Also removing this directory from the package build.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1461551
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-09-01 19:58:24 +02:00
Sébastien Han
f7f4a61d7b
Merge pull request #1836 from ceph/shrink-osd-mon
...
shrink mon and osd
2017-09-01 19:57:44 +02:00
Sébastien Han
ab43588bcf
ci: test luminous
...
Luminous is out so let's test it instead of Kraken.
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-09-01 19:52:54 +02:00
Sébastien Han
298a63c437
shrink mon and osd
...
Rework shrinking a monitor and an OSD playbook. Also adding test
scenario.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1366807
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-09-01 19:12:00 +02:00
Sébastien Han
58f664fd17
ceph-rgw: fix systemd unit layout
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-09-01 19:02:48 +02:00
Sébastien Han
967e875fd0
Merge pull request #1827 from andymcc/rgw_systemd_fix
...
Fix RGW systemd directory
2017-09-01 18:12:23 +02:00
Andrew Schoen
1b432e6413
Merge pull request #1844 from ceph/rhcs-dev-ceph-release-fix
...
common do not filter by distro when dev is set for figuring out ceph_release
2017-08-31 15:19:28 -05:00
Alfredo Deza
98d107cebb
common do not filter by distro when dev is set for figuring out ceph_release
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-31 16:18:08 -04:00
Sébastien Han
673938ec96
Merge pull request #1839 from ceph/colonwq-update-docker-rgw-exec
...
Update ceph_rgw_docker_extra_env to add bind ip
2017-08-31 19:47:16 +02:00
Sébastien Han
ea9b6395cb
Merge pull request #1838 from ceph/rgw-units
...
Rgw units
2017-08-31 19:38:23 +02:00
Andrew Schoen
29df79e54e
Merge pull request #1841 from ceph/lvm-partitions
...
lvm-osds: test with a partition and an lv as journals
2017-08-31 12:09:19 -05:00
Sébastien Han
3dd47a45cb
ceph-defaults: fix handlers for mds and rgw
...
The way we handle the restart for both mds and rgw is not ideal, it will
try to restart the daemon on the host that don't run the daemon,
resulting in a service file being created (see bug description).
Now we restart each daemon precisely and in a serialized fashion.
Note: the current implementation does NOT support multiple mds or rgw on
the same node.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1469781
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-08-31 19:02:21 +02:00
Sébastien Han
96f31e7173
Merge pull request #1843 from ceph/useless-changed-task
...
ceph-common: remove useless changed task
2017-08-31 18:29:13 +02:00
Sébastien Han
7ee1f88ee5
ceph-common: remove useless changed task
...
There is no need to show a "changed" at the end of the play for a
"command" module task.
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-08-31 18:27:43 +02:00
Alfredo Deza
1efea767fe
tests parted should create gpt labels on new disk
...
But only for the first partition, so that a new label doesn't
blow away the previous partition created
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-31 10:09:42 -04:00
Keith Schincke
eaccc12797
Update ceph_rgw_docker_extra_env to add bind ip
...
This patch adds passing the RGW_CIVETWEB_IP to the docker
container. This IP defaults to the value of radosgw_civetweb_bind_ip.
radosgw_civetweb_bind_ip default to ipv4.default
Without this value, the RGW containter will bind to 0.0.0.0
2017-08-31 15:50:34 +02:00
Sébastien Han
e581539e20
ceph-rgw: do not run a privileged rgw container
...
There is no need for a privileged rgw container
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-08-31 15:50:15 +02:00
Alfredo Deza
53b1e1ba08
tests conftest conditions the no_lvm_scenario marker
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-31 08:48:24 -04:00
Alfredo Deza
fec030cd27
tests osds units are not enabled in lvm scenarios
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-31 08:47:42 -04:00
Sébastien Han
7ccd10a15e
rgw: cleanup old code and remove systemd condition
...
Remove the old check prior systemd.
We only support systemd so there is no need to run a condition on
systemd. The playbook will fail if systemd is not present.
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-08-31 08:29:30 +02:00
Andrew Schoen
3185a287de
tests: add a filesystem on /dev/sdc1 for lvm osd testing
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-30 16:16:04 -05:00
Andrew Schoen
fcba9d17f0
ceph-osd: add support for --journal vg/lv for lvm osds
...
This also updates the tests
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-30 15:55:16 -05:00
Andrew Schoen
d026e04470
tests: create 2 partitions on /dev/sdc for lvm scenario testing
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-30 15:53:28 -05:00
Andrew Schoen
6ae8219018
Merge pull request #1833 from ceph/dev-repository
...
Dev repository fixes
2017-08-30 14:27:59 -05:00
Alfredo Deza
da90edce3e
common dev repos should not need to specify a 'release'
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-30 13:37:24 -04:00
Alfredo Deza
6565c38238
common: ceph_repository should not be rhcs or dev
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-30 13:33:04 -04:00
Alfredo Deza
8fd2bf7e2c
common: use the value of ceph_repository in the error message
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-30 13:33:04 -04:00
Sébastien Han
13aac5027a
Merge pull request #1741 from ceph/refactor-installation
...
common: refactor installation method
2017-08-30 17:42:29 +02:00
Sébastien Han
b05271f464
Merge pull request #1724 from ceph/container-multi-journal
...
osd: allow multi dedicated journals for containers
2017-08-30 17:41:42 +02:00
Sébastien Han
3b07c65be1
Merge pull request #1831 from ceph/rbd-key
...
ceph-docker-common: re-organize stat ceph file
2017-08-30 16:04:10 +02:00
Sébastien Han
a60c74f61e
ceph-docker-common: re-organize stat ceph file
...
Use a single file to run the checks instead of duplicating code.
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-08-30 14:44:34 +02:00
Sébastien Han
4322434a75
Merge pull request #1830 from ceph/ceph-client-ceph-conf
...
site-docker.yml.sample: delegate facts
2017-08-30 14:08:46 +02:00
Sébastien Han
e0a264c7e9
osd: allow multi dedicated journals for containers
...
Fix: https://bugzilla.redhat.com/show_bug.cgi?id=1475820
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-08-30 12:34:06 +02:00
Sébastien Han
0de8f534f1
site-docker.yml.sample: delegate facts
...
Now we can use --limit on the container deployment too. This is useful
while deploying client nodes.
e.g: ansible-playbook -i inventory -l clients site-docker.yml.sample
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-08-30 10:52:34 +02:00
Sébastien Han
ae2fd45994
common: refactor installation method
...
The installation process is now described as follow:
* you still have to choose a 'ceph_origin' installation method. The
origin can be a 'repository' (add a new repository), distro (it will use
the packages provided by the native repo source of your distribution),
local (only available on redhat system, it installs locally built
packages). This option is not well tested, so use it carefully
* if ceph_origin == 'repository' you will have to decide what kind of
repository you want to enable:
- community: corresponds to the stable upstream/community version
- enterprise: corresponds to the stable enterprise/downstream version
(basically you are a red hat customer)
- dev: it will install ceph from packages built out of the github
development branches
Signed-off-by: Sébastien Han <seb@redhat.com>
Co-Authored-by: Guillaume Abrioux <gabrioux@redhat.com>
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2017-08-30 10:52:01 +02:00
Sébastien Han
e04deb9882
Merge pull request #1829 from ceph/wip-osd-test-fix
...
tests: fix duplicate osd service test
2017-08-30 10:10:37 +02:00
Ali Maredia
eab9d52ddb
tests: fix duplicate osd service test
...
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2017-08-29 21:24:13 -04:00
Sébastien Han
b29014f96c
Merge pull request #1824 from bengland2/fix-issue-1818-try2
...
dont use devices var anymore, works for osd_auto_discover
2017-08-29 23:15:58 +02:00
Andy McCrae
a9d91c3d69
Fix RGW systemd directory
...
The ceph RGW systemd services are actually named "ceph-radosgw" and not
"ceph-rgw", this patch fixes that for the systemd overrides file.
2017-08-29 17:24:52 +01:00
Andrew Schoen
21b3fd2819
Merge pull request #1826 from ceph/add-mimic
...
common: add mimic release facts
2017-08-29 10:24:25 -05:00
Sébastien Han
5743916092
common: add mimic release facts
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-08-29 17:21:37 +02:00