]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Kefu Chai [Wed, 29 Nov 2017 12:21:33 +0000 (20:21 +0800)]
tools/ceph_monstore_tool: rebuild initial mgrmap also
Fixes: http://tracker.ceph.com/issues/22266
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit
f63d1da4afa3463730ecbc0be29df6375b79fa8f )
Sage Weil [Tue, 28 Nov 2017 20:48:08 +0000 (14:48 -0600)]
Merge pull request #19216 from liewegas/wip-p2p-app-warning-luminous
qa/suites/upgrade/jewel-x/point-to-point: fix suppression of pool app warning
Sage Weil [Tue, 28 Nov 2017 20:46:02 +0000 (14:46 -0600)]
qa/suites/upgrade/jewel-x/point-to-point: fix suppression of pool app warning
It's generated on the mgr.
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Tue, 28 Nov 2017 15:47:17 +0000 (23:47 +0800)]
Merge pull request #19205 from tchaikov/wip-22136-luminous
luminous: qa/ceph-disk: enlarge the simulated SCSI disk
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Nathan Cutler [Tue, 28 Nov 2017 13:03:01 +0000 (14:03 +0100)]
Merge pull request #19152 from smithfarm/wip-22235-luminous
luminous: ceph-disk flake8 test fails on very old, and very new, versions of flake8
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 28 Nov 2017 06:42:31 +0000 (14:42 +0800)]
qa/ceph-disk: enlarge the simulated SCSI disk
100MB will be allocated for journal, and the remaining 100MB is for data
device. taking the inode into consideration, there will be approximately
87988 kB available for the activated OSD. and it will complain with a
"nearfull" state.
Fixes: http://tracker.ceph.com/issues/22136
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit
b3c159e9fb8c31d0acd75f0702080f18959f672e )
Nathan Cutler [Tue, 28 Nov 2017 02:23:09 +0000 (03:23 +0100)]
Merge pull request #19173 from smithfarm/wip-22251-luminous
luminous: build/ops: macros expanding in spec file comment
Reviewed-by: David Disseldorp <ddiss@suse.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Yuri Weinstein [Mon, 27 Nov 2017 18:23:57 +0000 (10:23 -0800)]
Merge pull request #19179 from ceph/wip-yuriw-BP-19175-luminous
qa/suites/rados/rest: move rest_test from qa/suites/rest/
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Sage Weil [Mon, 27 Nov 2017 16:11:51 +0000 (10:11 -0600)]
qa/suites/rados/rest: move rest_test from qa/suites/rest/
...and add more health whitelists.
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
ddb274669ca16b95c452b256e58a2830af10c73d )
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Yuri Weinstein [Mon, 27 Nov 2017 17:20:18 +0000 (09:20 -0800)]
Merge pull request #19177 from liewegas/wip-jewel-x-p2p
qa/suites/upgrade/jewel-x/point-to-point: skip ec tests when mons may be old
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Sage Weil [Mon, 27 Nov 2017 16:28:16 +0000 (10:28 -0600)]
qa/suites/upgrade/jewel-x/point-to-point: skip ec tests when mons may be old
Early point release mons don't handle legacy ruleset-* ec profiles, new
ones do. Skip the ec tests that may trigger this when we are doing a
workload that races with mon upgrades.
Signed-off-by: Sage Weil <sage@redhat.com>
Ken Dreyer [Thu, 17 Aug 2017 15:19:38 +0000 (09:19 -0600)]
rpm: rm macros in comments
rpm expands all macros in a .spec file, even those in comments. Drop the
percent signs so rpm will not expand these.
This change silences rpmlint's warning about macros in comments.
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
(cherry picked from commit
5c1e9f55d3a144c93c9c18b031db3cdc320561ef )
Nathan Cutler [Tue, 21 Nov 2017 10:36:02 +0000 (11:36 +0100)]
tests: ceph-disk: ignore E722 in flake8 test
Very old, and very new, versions of flake8 treat E722 as an error:
flake8 runtests: commands[0] | flake8 --ignore=H105,H405,E127 ceph_disk tests
ceph_disk/main.py:1575:9: E722 do not use bare except'
ceph_disk/main.py:1582:9: E722 do not use bare except'
ceph_disk/main.py:3252:5: E722 do not use bare except'
ceph_disk/main.py:3288:21: E722 do not use bare except'
ceph_disk/main.py:3296:17: E722 do not use bare except'
ceph_disk/main.py:4358:5: E722 do not use bare except'
tests/test_main.py:26:1: E722 do not use bare except'
ERROR: InvocationError: '/opt/j/ws/mkck/src/ceph-disk/.tox/flake8/bin/flake8 --ignore=H105,H405,E127 ceph_disk tests'
Fixes: http://tracker.ceph.com/issues/22207
References: https://gitlab.com/pycqa/flake8/issues/361
Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit
3600cd7bfdca76485d2998c5da1a0dd25816d1ce )
Kefu Chai [Wed, 22 Nov 2017 05:36:58 +0000 (13:36 +0800)]
Merge pull request #19080 from smithfarm/wip-22212-luminous
luminous: tests: ceph-disk: silence deprecation warnings
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 21 Nov 2017 13:47:30 +0000 (21:47 +0800)]
qa/workunits: silence py warnings for ceph-disk tests
ceph-disk now prints "depreacted" warning message when it starts. but
the tests parses its stdout and stderr for a json string. so we need to
silence the warnings for the tests.
Fixes: http://tracker.ceph.com/issues/22154
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit
d44334f31704487ec3574738e75145872d9932cf )
Andrew Schoen [Mon, 20 Nov 2017 15:24:41 +0000 (09:24 -0600)]
Merge pull request #18989 from ceph/wip-luminous-rm22154
luminous: ceph-disk create deprecation warnings
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Kefu Chai [Mon, 20 Nov 2017 14:55:06 +0000 (22:55 +0800)]
Merge pull request #19025 from tchaikov/wip-pr-19024-luminous
luminous: qa/tasks: prolong revive_osd() timeout to 6 min
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 20 Nov 2017 13:23:30 +0000 (07:23 -0600)]
Merge pull request #18945 from liewegas/wip-22128
mon/OSDMonitor: add option to fix up ruleset-* to crush-* for ec profiles
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Kefu Chai [Mon, 20 Nov 2017 05:40:56 +0000 (13:40 +0800)]
qa/tasks: prolong revive_osd() timeout to 6 min
see also #17902
Fixes: http://tracker.ceph.com/issues/21474
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit
749bbda07522114b99b17a4a01cfcf019520285d )
Sage Weil [Sun, 19 Nov 2017 02:34:50 +0000 (20:34 -0600)]
Merge pull request #18983 from pdvian/wip-22150-luminous
luminous: os/bluestore: fix SharedBlob unregistration
Sage Weil [Wed, 15 Nov 2017 14:55:33 +0000 (08:55 -0600)]
mon/OSDMonitor: add option to fix up ruleset-* to crush-* for ec profiles
The jewel->luminous upgrade test will fail if we finish the upgrade while
a workload setting old-style ec profiles is running. Add option to
automatically fix them up. Warn to the cluster log when this happens.
For now, enable this option to ease upgrades and whitelist the warning.
Only include this option in luminous so that we implicitly sunset this
compatibility kludge immediately.
Fixes: http://tracker.ceph.com/issues/22128
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 18 Nov 2017 15:44:46 +0000 (09:44 -0600)]
Merge pull request #18751 from shinobu-x/wip-21701-luminous
luminous: ceph-kvstore-tool does not call bluestore's umount when exit
Sage Weil [Sat, 18 Nov 2017 15:44:19 +0000 (09:44 -0600)]
Merge pull request #18750 from shinobu-x/wip-21702-luminous
luminous: BlueStore::umount will crash when the BlueStore is opened by start_kv_only()
Sage Weil [Sat, 18 Nov 2017 15:41:37 +0000 (09:41 -0600)]
Merge pull request #18860 from liewegas/wip-filestore-rocksdb-compression-luminous
luminous: os/filestore: disable rocksdb compression
Reviewed-by: Douglas Fuller <dfuller@redhat.com>
Alfredo Deza [Fri, 17 Nov 2017 18:10:29 +0000 (13:10 -0500)]
doc/ceph-volume create a migration section to help users coming from ceph-disk
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
e433efe51481ec63bc9753a0f446fe2b12b5bb6a )
Alfredo Deza [Fri, 17 Nov 2017 18:01:14 +0000 (13:01 -0500)]
ceph-disk add deprecation warnings in favor of ceph-volume
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Fixes: http://tracker.ceph.com/issues/22154
(cherry picked from commit
c9da92e1ec8d60dc40d86630dab95e4fec4d0d30 )
Alfredo Deza [Fri, 17 Nov 2017 17:19:36 +0000 (12:19 -0500)]
Merge pull request #18973 from ceph/backport-18924
luminous: ceph-volume: allow using a device or partition for `lvm --data`
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 17 Nov 2017 13:41:24 +0000 (08:41 -0500)]
ceph-volume tests.devices.lvm prepare isn't bluestore specific anymore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
2f40dbac386be631ac97e2450117c218d9bf02f9 )
Sage Weil [Wed, 8 Nov 2017 04:05:10 +0000 (22:05 -0600)]
os/bluestore: fix SharedBlob unregistration
We use the SharedBlobSet remove() in three cases:
- from SharedBlob::put(), we try to remove ourselves from the set, but
have to deal with a racing lookup, so the removal is conditional on
nref still being 0.
- from split_cache(), we move the SharedBlob to another collection
- from make_blob_unshared(), we remove the entry when we clear the sbid.
The problem is that the condtiional remove() (for the first case) was being
used for all three cases, and in the second two cases nref is always != 0,
so it doesn't actually happen. This can lead to a crash during cache
shutdown.
Fix by making two variants: remove() that is unconditional, and
try_remove() that is conditional.
Set the sb->coll pointer after because remove() asserts the parent matches
where we are unregistering.
Fixes: http://tracker.ceph.com/issues/22039
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
78a465b90b1c5187cfec9f25eb58b3bf617ca39b )
Josh Durgin [Thu, 16 Nov 2017 21:40:32 +0000 (13:40 -0800)]
Merge pull request #18957 from tchaikov/wip-pr-18808-luminous
luminous: qa: do not wait for down/out osd for pg convergence
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Alfredo Deza [Thu, 16 Nov 2017 13:50:34 +0000 (08:50 -0500)]
ceph-volume tests.functional create a common playbook directory for setups
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
def89a411f2f4bdb23c4bbd3b71c1310a564f07d )
Alfredo Deza [Tue, 14 Nov 2017 16:01:48 +0000 (11:01 -0500)]
doc/ceph-volume lvm prepare can accept devices for --data
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
9bfab348b2ff59c0b939a19c22d4a06bc5236b96 )
Conflicts:
doc/ceph-volume/lvm/prepare.rst
Alfredo Deza [Tue, 14 Nov 2017 13:42:27 +0000 (08:42 -0500)]
ceph-volume tests.functional add setup playbook for xenial filestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
210c1e1d4770dde47f0008cadaaec35deb729272 )
Alfredo Deza [Tue, 14 Nov 2017 13:42:02 +0000 (08:42 -0500)]
ceph-volume tests.functional add data device and journal to xenial filestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
d0754e25177b9bf3bce695b7991e99f49312d91c )
Alfredo Deza [Tue, 14 Nov 2017 13:40:37 +0000 (08:40 -0500)]
ceph-volume tests.functional add setup playbook for xenial bluestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
d0f5623963f58fc4d5727a79d8377b2191b0f9dc )
Alfredo Deza [Tue, 14 Nov 2017 13:40:18 +0000 (08:40 -0500)]
ceph-volume tests.functional add raw data device to xenial bluestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
fbcfb522981cd4039cfe617609c5f160f0b05c52 )
Alfredo Deza [Tue, 14 Nov 2017 13:38:23 +0000 (08:38 -0500)]
ceph-volume tests.functional tox.ini addition of setup playbook for partitions
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
d074b534643dde37d732b34c36c5089e41848d6d )
Alfredo Deza [Tue, 14 Nov 2017 13:37:17 +0000 (08:37 -0500)]
ceph-volume tests.functional add raw data device to centos7 bluestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
2d416a849ad7b33dde1386da09c81249e6c2299d )
Alfredo Deza [Tue, 14 Nov 2017 13:36:36 +0000 (08:36 -0500)]
ceph-volume tests.functional add setup playbook for centos7 bluestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
161fd373d2f11f64466927e5d615d039822e2ab5 )
Alfredo Deza [Tue, 14 Nov 2017 13:35:59 +0000 (08:35 -0500)]
ceph-volume tests.functional add setup playbook for centos7 filestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
b3bb147298f8816651f231f77bc91a3a1b50d96f )
Alfredo Deza [Tue, 14 Nov 2017 13:35:42 +0000 (08:35 -0500)]
ceph-volume tests.functional add raw device to centos7 filestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
c5b8d72570b24dfd0d2f8c1cc8f13812c6c11a69 )
Alfredo Deza [Mon, 13 Nov 2017 19:29:32 +0000 (14:29 -0500)]
ceph-volume lvm.common update --data flag to reflect device acceptance
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
4df7ea8d83cfa02c8864d043b5d5fb2f5409dc96 )
Alfredo Deza [Mon, 13 Nov 2017 19:28:32 +0000 (14:28 -0500)]
ceph-volume lvm.prepare add example of raw device or partition in help menu
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
6fb8d566aac0e0fa081e6500852855ad177f784f )
Alfredo Deza [Mon, 13 Nov 2017 19:26:44 +0000 (14:26 -0500)]
ceph-volume lvm.prepare allow partition or raw device as input for --data in filestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
89236ee3f81e50b9b059c10f6d6e7ce048c06474 )
Kefu Chai [Wed, 8 Nov 2017 06:13:54 +0000 (14:13 +0800)]
qa: do not wait for down/out osd for pg convergence
that osd is not invovlved in the PG state changes.
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit
7f549af459b40c5bb51a24a3a443ed7a7116915e )
Yuri Weinstein [Tue, 14 Nov 2017 16:38:35 +0000 (08:38 -0800)]
Merge pull request #18908 from smithfarm/wip-luminous-fixup
qa/suites/fs/basic_functional/clusters: more osds
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Alfredo Deza [Tue, 14 Nov 2017 16:06:00 +0000 (11:06 -0500)]
Merge pull request #18910 from ceph/backport-18882
luminous: ceph-volume: add functional tests for simple, rearrange lvm tests
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 10 Nov 2017 18:18:07 +0000 (13:18 -0500)]
ceph-volume tests.functional update lvm/tox.ini paths after moving it
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
7d787849556788961155534039886aedfcdb2a88 )
Alfredo Deza [Fri, 10 Nov 2017 18:14:55 +0000 (13:14 -0500)]
ceph-volume tests.functional move top level tox.ini to lvm/tox.ini
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
9b14b96d3bf6c8326cfc91e657161ffab3b8c2b4 )
Alfredo Deza [Fri, 10 Nov 2017 18:12:51 +0000 (13:12 -0500)]
ceph-volume tests.functional move xenial to lvm/xenial
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
00d576d266b63080129e58482bd6fba62534ee97 )
Alfredo Deza [Fri, 10 Nov 2017 18:11:58 +0000 (13:11 -0500)]
ceph-volume tests.functional lvm move xenial/bluestore to xenial/bluestore/create
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
d5ec7d1c58141f4593ed9d1e4501c9f3be6d9755 )
Alfredo Deza [Fri, 10 Nov 2017 18:09:48 +0000 (13:09 -0500)]
ceph-volume tests.functional lvm move xenial/create to xenial/filestore/create
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
c504b8781b3a31475280a032cd75c9e1eaa6d8c9 )
Alfredo Deza [Fri, 10 Nov 2017 18:02:05 +0000 (13:02 -0500)]
ceph-volume tests.functional move centos7 to lvm/centos7
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
dc1da3fd0aeafe59a82343fb16fe1fcea66ae3eb )
Alfredo Deza [Fri, 10 Nov 2017 17:58:27 +0000 (12:58 -0500)]
ceph-volume tests.functional lvm move bluestore to bluestore/create
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
aec1a80a3e1e61720f494980711808bfee783a03 )
Alfredo Deza [Fri, 10 Nov 2017 17:54:01 +0000 (12:54 -0500)]
ceph-volume tests.functional lvm move create to filestore/create
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
d6905f3f620d4c733835e21a275d4127cdcb769b )
Alfredo Deza [Fri, 10 Nov 2017 17:42:19 +0000 (12:42 -0500)]
ceph-volume tests.functional simple xenial bluestore scenario
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
8f0fdc975951a2a8af31bbaa3abd2b5d807a0add )
Alfredo Deza [Fri, 10 Nov 2017 17:40:18 +0000 (12:40 -0500)]
ceph-volume tests.functional simple xenial filestore scenario
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
7452e1b6f9b82c2ef62bae19c632e81039638ba5 )
Alfredo Deza [Fri, 10 Nov 2017 17:30:05 +0000 (12:30 -0500)]
ceph-volume tests.functional simple tox.ini update for xenial scnearios
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
76ed6a8f2ecab7c58def0453ffed9d8a997e0d5b )
Alfredo Deza [Fri, 10 Nov 2017 14:12:09 +0000 (09:12 -0500)]
ceph-volume tests.functional simple tox.ini addition for bluestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
02154e445b87a8fdcabbd699a2532833764140b5 )
Alfredo Deza [Fri, 10 Nov 2017 14:11:39 +0000 (09:11 -0500)]
ceph-volume tests.functional add initial files for simple bluestore activate
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
3320f28e799e1d77d1ea69be9ced603bb69cc5fa )
Alfredo Deza [Thu, 9 Nov 2017 21:55:30 +0000 (16:55 -0500)]
ceph-volume tests.functional add initial files for simple filestore activate
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
9d18bae52ad77be0e64ef105c33a019446b6f1cf )
Alfredo Deza [Thu, 9 Nov 2017 21:07:53 +0000 (16:07 -0500)]
ceph-volume tests.functional create a specific test.yml for simple activate
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
37bde0d3b37a87c456438b0edc0cb9e2dcd39120 )
Alfredo Deza [Thu, 9 Nov 2017 20:40:51 +0000 (15:40 -0500)]
ceph-volume tests.functional create a separate tox.ini environ for
`simple`
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
89757ad12e6938fe2bf997e0f21a5ffac082e30b )
Andrew Schoen [Mon, 13 Nov 2017 16:55:24 +0000 (10:55 -0600)]
Merge pull request #18907 from ceph/luminous-wip-bz1498200
luminous: ceph-volume: support GPT and other deployed OSDs
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Sage Weil [Mon, 9 Oct 2017 18:44:51 +0000 (13:44 -0500)]
qa/suites/fs/basic_functional/clusters: more osds
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
998122c324047c96c16d60d7fbb3a21f4dd63c56 )
Alfredo Deza [Thu, 9 Nov 2017 15:50:43 +0000 (10:50 -0500)]
doc/ceph-volume include the top level systemd.rst in the toctree
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
e2f281c115c15e820588b478214c3600ff97470f )
Alfredo Deza [Thu, 9 Nov 2017 11:49:49 +0000 (06:49 -0500)]
ceph-volume simple.activate add --file in help docstring as an example
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
ff60592897b63581ebce372b3f6ffa0f10d2fe5a )
Alfredo Deza [Thu, 9 Nov 2017 11:46:59 +0000 (06:46 -0500)]
doc/ceph-volume activate has a --file option for json files
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
29913951b71d68b3f3f9b9fa076f309c0252da36 )
Alfredo Deza [Wed, 8 Nov 2017 22:23:41 +0000 (17:23 -0500)]
ceph-volume simple.activate enable the osd when activating
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
366fb8c43af54e9c92f4e95d9a0582c1fc378dbc )
Alfredo Deza [Wed, 8 Nov 2017 20:25:05 +0000 (15:25 -0500)]
ceph-volume systemd.systemctl always force symlink when masking ceph-disk
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
cb470622fd4f13fafe9cb2f38fb25fd1fbd8d89c )
Alfredo Deza [Wed, 8 Nov 2017 20:21:10 +0000 (15:21 -0500)]
ceph-volume simple.activate use the contents of the JSON file, fallback to CLI args
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
c954c913395557bcd89f25b0496c4428e6109494 )
Alfredo Deza [Wed, 8 Nov 2017 19:50:16 +0000 (14:50 -0500)]
ceph-volume simple.activate only check for missing id and uuid if file is not passed in
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
826c2709dd5ab0fbf6eb419a735d15e718a7712c )
Alfredo Deza [Wed, 8 Nov 2017 19:28:12 +0000 (14:28 -0500)]
ceph-volume simple.activate allow to pass a file to activate
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
bd3498f3eabf07637cb936e6c036d1d8d75415b0 )
Alfredo Deza [Wed, 8 Nov 2017 17:49:31 +0000 (12:49 -0500)]
ceph-volume tests.util add tests for OSDPath validator
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
d7fc26ab4e2cebe485647510119ea300d47db184 )
Alfredo Deza [Wed, 8 Nov 2017 16:56:36 +0000 (11:56 -0500)]
ceph-volume systemd.systemctl masking ceph-disk needs to be done by directly symlinking to dev/null
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
cda47c247b929401a7dce3f1ef70371ea80eeceb )
Alfredo Deza [Wed, 8 Nov 2017 14:47:12 +0000 (09:47 -0500)]
ceph-volume systemd.systemctl masking needs to use systemctl mask, not disable
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
bad2f62b34243addc854abf691854b886aecdc19 )
Alfredo Deza [Wed, 8 Nov 2017 14:46:20 +0000 (09:46 -0500)]
ceph-volume simple.scan if mounted device cannot be detected, raise an error
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
6b2fc4c0ba63e4bd51774ea09cc6542738128621 )
Alfredo Deza [Wed, 8 Nov 2017 14:17:52 +0000 (09:17 -0500)]
ceph-volume simple.activate remove str formatting from logging
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
230faf04a185c0b95c8ad497ddd5501dc70c1409 )
Alfredo Deza [Wed, 8 Nov 2017 14:11:41 +0000 (09:11 -0500)]
ceph-volume util.arg_validators always convert the path to an absolute path
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
b5acf4d720b5395ae4ccbf007c94c99610e40089 )
Alfredo Deza [Wed, 8 Nov 2017 14:10:47 +0000 (09:10 -0500)]
ceph-volume util.arg_validators require superuser privs to check paths
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
376dad74159532f901d0044f95330fc02f93bd25 )
Alfredo Deza [Wed, 8 Nov 2017 14:09:06 +0000 (09:09 -0500)]
ceph-volume simple.scan skip directories to scan
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
6bc1e9ee0b8d7bc475f218ae3dd8c6c7fe5a983a )
Alfredo Deza [Tue, 7 Nov 2017 20:08:13 +0000 (15:08 -0500)]
ceph-volume tests.devices.simple add activate CLI unit tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
cde0d517563b537319d06c758b93e421cdabe59d )
Alfredo Deza [Tue, 7 Nov 2017 20:07:44 +0000 (15:07 -0500)]
ceph-volume tests.devices add help menu unit test
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
dcc7c72196a327f9501045f025761b228b5379df )
Alfredo Deza [Tue, 7 Nov 2017 18:42:45 +0000 (13:42 -0500)]
doc/ceph-volume systemd describe the interaction with 'simple' activation
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
7071eeaeb5d77c6ab6e7a24f1b630cb0cf8a8e7c )
Alfredo Deza [Tue, 7 Nov 2017 18:42:11 +0000 (13:42 -0500)]
doc/ceph-volume index initial description of simple
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
f9ee51f9feadb6d0f91b76a2b2ba8a24f1523a77 )
Alfredo Deza [Tue, 7 Nov 2017 18:41:12 +0000 (13:41 -0500)]
doc/ceph-volume lvm add back a system.rst with just the lvm portion of it
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
f872cd29b93e02b77172f7b382c4746af9ba845d )
Alfredo Deza [Tue, 7 Nov 2017 18:40:44 +0000 (13:40 -0500)]
doc/ceph-volume make systemd.rst generic enough to be related to other sub-commands
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
cf4e32a0dc3ab4f55fe7857b51afbc63a638ec66 )
Alfredo Deza [Tue, 7 Nov 2017 18:39:52 +0000 (13:39 -0500)]
doc/ceph-volume move lvm/systemd.rst to top level, making it generic
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
0672dd608d4601a936d703ea5ba6edc14a161d8e )
Alfredo Deza [Tue, 7 Nov 2017 16:52:17 +0000 (11:52 -0500)]
doc/ceph-volume simple.activate initial take on documenting activation
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
80c796bd1c43125f5678710b494b03c486b3fce6 )
Alfredo Deza [Tue, 7 Nov 2017 13:35:57 +0000 (08:35 -0500)]
doc/ceph-volume lvm update systemd anchor to reflect lvm parent
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
53420a4756a5e4fa6b0f2aa74d6ad1e2919f1954 )
Alfredo Deza [Tue, 7 Nov 2017 13:35:43 +0000 (08:35 -0500)]
doc/ceph-volume lvm.activate update systemd anchor to reflect lvm parent
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
7fc0e7ebcae06f28f6ed08c0db14075ada34e8a7 )
Alfredo Deza [Tue, 7 Nov 2017 12:56:35 +0000 (07:56 -0500)]
doc/ceph-volume lvm.systemd update anchor to reflect lvm parent
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
01a8b7e6a45f6fd85bf53d3cab15acc81d0bae1b )
Alfredo Deza [Mon, 6 Nov 2017 20:53:39 +0000 (15:53 -0500)]
doc/ceph-volume document the scan functionality
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
b30a3eaf17a20a1273724b2cfcaf0a7b36eb08f6 )
Alfredo Deza [Mon, 6 Nov 2017 19:17:20 +0000 (14:17 -0500)]
doc/ceph-volume update the index to include the simple sub command and files
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
d7f85c64e4b409ea95e30ccb5a1388278843c478 )
Alfredo Deza [Mon, 6 Nov 2017 16:15:28 +0000 (11:15 -0500)]
ceph-volume tests.simple add tests for trigger parsing from systemd
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
0e2620234e82abf85274b3c08b39cdf76430ce48 )
Alfredo Deza [Mon, 6 Nov 2017 15:36:14 +0000 (10:36 -0500)]
ceph-volume tests.simple create etc_path scan tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
90ebc4e1ffa7b3273787d708bb2c05180530b5d1 )
Alfredo Deza [Mon, 6 Nov 2017 15:06:02 +0000 (10:06 -0500)]
ceph-volume tests.simple add checks for get_contents in scan
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
647bfe0883d2bb05b4ff7f99894075df3e73d2d5 )
Alfredo Deza [Mon, 6 Nov 2017 14:43:58 +0000 (09:43 -0500)]
ceph-volume tests.util add binary verification tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
827aa57557561355dd4068e26801b5f1ed62f295 )
Alfredo Deza [Mon, 6 Nov 2017 14:42:53 +0000 (09:42 -0500)]
ceph-volume tests create a fixture for temporary files
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
23da3445718c01f71e2a5748fb4fc1c5fdc85ca5 )
Alfredo Deza [Fri, 3 Nov 2017 18:36:38 +0000 (14:36 -0400)]
ceph-volume systemd.systemctl helpers to mask ceph-disk
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
3da23fa4caea8c9dc91da3eee5b5acc1860bf242 )