]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Boris Ranto [Thu, 21 Sep 2017 15:24:07 +0000 (17:24 +0200)]
selinux: Allow getattr on lnk sysfs files
This showed up during downstream testing for luminous. We are doing
getattr on the sysfs lnk files and the current policy does not allow
this.
Fixes: http://tracker.ceph.com/issues/21523
Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit
394c26adb97cd150233fe8760355f486d03624a4 )
Kefu Chai [Tue, 31 Oct 2017 05:04:00 +0000 (13:04 +0800)]
Merge pull request #18410 from kmroz/wip-21732-luminous
luminous: qa/suites/rest/basic/tasks/rest_test: whitelisting
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Tue, 31 Oct 2017 03:23:39 +0000 (20:23 -0700)]
Merge pull request #18629 from ceph/wip-yuriw-21978-luminous
qa/suites/upgrade/jewel-x: Changed typo ('hammer' to 'jewel')
Yuri Weinstein [Mon, 30 Oct 2017 21:52:52 +0000 (14:52 -0700)]
Changed typo ('hammer' to 'jewel')
Fixes http://tracker.ceph.com/issues/21978
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Alfredo Deza [Mon, 30 Oct 2017 18:05:00 +0000 (14:05 -0400)]
Merge pull request #18627 from ceph/backport-18513
ceph-volume lvm zap backport
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Andrew Schoen [Fri, 27 Oct 2017 16:29:50 +0000 (11:29 -0500)]
ceph-volume: set journal_uuid and journal_device when using a partition
This correctly sets the tags when a partition is used for a filestore
journal.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit
1a8561d38dd7363dc920ae82ec1343b2b75a1ca2 )
Andrew Schoen [Tue, 24 Oct 2017 15:13:40 +0000 (10:13 -0500)]
docs for ceph-volume lvm zap
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit
3e93a31deda96ed6fb23fa19ce3e273de05f7d88 )
Andrew Schoen [Mon, 23 Oct 2017 14:51:43 +0000 (09:51 -0500)]
ceph-volume: add tests for ceph-volume lvm zap
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit
3d5e391693fc64747a4774287c968f842294eaa6 )
Andrew Schoen [Mon, 23 Oct 2017 14:44:07 +0000 (09:44 -0500)]
ceph-volume: print success message if zap succeeds
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit
6d70762dee0cd9047c291cf9869f666a375e956b )
Andrew Schoen [Fri, 20 Oct 2017 14:58:48 +0000 (09:58 -0500)]
ceph-volume: terminal.write only takes one argument
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit
a5454eba241abd8cc1b1a660b12a1aec7c3c16e0 )
Andrew Schoen [Thu, 19 Oct 2017 21:29:39 +0000 (16:29 -0500)]
ceph-volume: the metadata field for the lv path is lv_path not path
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit
e3a9113e7025f1e3a3130ec1e2d565f37bf3d2dc )
Andrew Schoen [Thu, 19 Oct 2017 19:59:26 +0000 (14:59 -0500)]
ceph-volume: update help text for ceph-volume lvm zap
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit
cbc38c4e4a7dcc24b31bcfa6af73eb8cf04f56ad )
Andrew Schoen [Thu, 19 Oct 2017 19:55:44 +0000 (14:55 -0500)]
ceph-volume: remove lvm metadata when zapping an lv
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit
5f57fc87205c2d35da9a1f28c72e233ffb3fe4d9 )
Andrew Schoen [Thu, 19 Oct 2017 19:55:02 +0000 (14:55 -0500)]
ceph-volume: adds Volume.clear_tags
Will remove all tags for the current lv
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit
3c9401f1618f7fcbea827fe7279e8dfde617d957 )
Andrew Schoen [Thu, 19 Oct 2017 17:01:57 +0000 (12:01 -0500)]
ceph-volume: zap should leave lvs and partitions intact
This will remove filesystems and wipe data from any lv or partition
given to 'ceph-volume lvm zap' but still leave it intact for further
use.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit
caba9fb80b358222192f736bd1b0ab31dca25cec )
Andrew Schoen [Thu, 19 Oct 2017 16:44:11 +0000 (11:44 -0500)]
ceph-volume: adds utilites to wipe the fs and clear data when zapping
These should eventually move to a disk api.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit
2f64d4a0abd41afbcb9eba6a237642502d9a9135 )
Andrew Schoen [Thu, 19 Oct 2017 15:35:51 +0000 (10:35 -0500)]
ceph-volume: adds tests for api.lvm.remove_lv
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit
937b57438147681c2c6e32c6db38d8bea68d4731 )
Andrew Schoen [Thu, 19 Oct 2017 15:35:10 +0000 (10:35 -0500)]
ceph-volume: api.lvm.remove_lv should return True when successful
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit
7f055aa6deb3904cf0334e214c13a26098b08aa8 )
Andrew Schoen [Wed, 18 Oct 2017 15:19:25 +0000 (10:19 -0500)]
ceph-volume: zap logical volumes
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit
1d083a2191315ee94301c2f5f102a0906dd05fa8 )
Andrew Schoen [Wed, 18 Oct 2017 15:19:00 +0000 (10:19 -0500)]
ceph-volume: adds a remove_lv command to the lvm api
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit
cf98b6971ced0caa29ff4f7ac346df652177fa29 )
Andrew Schoen [Tue, 17 Oct 2017 19:15:18 +0000 (14:15 -0500)]
ceph-volume: stubs out the ceph-volume lvm zap command
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit
2e64b797ef6ae91623ffba8ae28d3f8ccc7d7b93 )
Patrick Donnelly [Sun, 29 Oct 2017 18:06:28 +0000 (11:06 -0700)]
Merge PR #18385 into luminous
* refs/pull/18385/head:
mds: fix race in PurgeQueue::wait_for_recovery()
mds: open purge queue when transitioning out of standby replay
mds: always re-probe mds log when standby replay done
Reviewed-by: John Spray <john.spray@redhat.com>
Patrick Donnelly [Sun, 29 Oct 2017 18:06:24 +0000 (11:06 -0700)]
Merge PR #18316 into luminous
* refs/pull/18316/head:
mds: prevent trim count from underflowing
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Sun, 29 Oct 2017 18:06:20 +0000 (11:06 -0700)]
Merge PR #18300 into luminous
* refs/pull/18300/head:
mds: keep CInode::STATE_QUEUEDEXPORTPIN state when exporting inode
Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
Patrick Donnelly [Sun, 29 Oct 2017 18:06:16 +0000 (11:06 -0700)]
Merge PR #17729 into luminous
* refs/pull/17729/head:
ceph.in: validate service glob
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
Patrick Donnelly [Sun, 29 Oct 2017 18:00:18 +0000 (11:00 -0700)]
Merge PR #18299 into luminous
* refs/pull/18299/head:
mds: update client metadata for already open session
Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
Patrick Donnelly [Sun, 29 Oct 2017 18:00:14 +0000 (11:00 -0700)]
Merge PR #18298 into luminous
* refs/pull/18298/head:
osdc/ObjectCacher: limit memory usage of BufferHead
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Sun, 29 Oct 2017 18:00:10 +0000 (11:00 -0700)]
Merge PR #18085 into luminous
* refs/pull/18085/head:
ceph_volume_client: fix setting caps for IDs
Reviewed-by: Ramana Raja <rraja@redhat.com>
Patrick Donnelly [Sun, 29 Oct 2017 18:00:06 +0000 (11:00 -0700)]
Merge PR #18030 into luminous
* refs/pull/18030/head:
qa: relax cap expected value check
mds: improve cap min/max ratio descriptions
mds: fix whitespace
mds: cap client recall to min caps per client
mds: fix conf types
mds: fix whitespace
doc/cephfs: add client min cache and max cache ratio describe
mds: adding tunable features for caps_per_client
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Sun, 29 Oct 2017 17:55:32 +0000 (10:55 -0700)]
Merge PR #17921 into luminous
* refs/pull/17921/head:
ceph_volume_client: perform snapshot operations in
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Andrew Schoen [Fri, 27 Oct 2017 16:34:15 +0000 (11:34 -0500)]
Merge pull request #18593 from ceph/luminous-wip-bz1499840
luminous ceph-volume lvm bluestore support
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Abhishek L [Fri, 27 Oct 2017 15:30:35 +0000 (17:30 +0200)]
Merge pull request #18334 from kmroz/wip-21816-luminous
luminous: rgw: fix bilog entries on multipart complete
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Abhishek L [Fri, 27 Oct 2017 15:30:07 +0000 (17:30 +0200)]
Merge pull request #17861 from smithfarm/wip-21441-luminous
luminous: rbd: [cli] mirror getter commands will fail if mirroring has never been enabled
Abhishek L [Fri, 27 Oct 2017 15:29:55 +0000 (17:29 +0200)]
Merge pull request #18416 from kmroz/wip-21855-luminous
luminous: librbd: object map batch update might cause OSD suicide timeout
Reviewed-By: Jason Dillaman <jdillaman@redhat.com>
Abhishek L [Fri, 27 Oct 2017 15:29:43 +0000 (17:29 +0200)]
Merge pull request #18337 from kmroz/wip-21640-luminous
luminous: rbd-mirror: forced promotion can result in incorrect status
Reviewed-By: Jason Dillaman <jdillaman@redhat.com>
Abhishek L [Fri, 27 Oct 2017 15:29:22 +0000 (17:29 +0200)]
Merge pull request #18336 from kmroz/wip-21639-luminous
luminous: librbd: snapshots should be created/removed against data pool
Reviewed-By: Jason Dillaman <jdillaman@redhat.com>
Abhishek L [Fri, 27 Oct 2017 15:29:03 +0000 (17:29 +0200)]
Merge pull request #17860 from smithfarm/wip-21299-luminous
luminous: rbd: [rbd-mirror] asok hook names not updated when image is renamed
Reviewed-By: Jason Dillaman <jdillaman@redhat.com>
Alfredo Deza [Thu, 26 Oct 2017 19:09:18 +0000 (15:09 -0400)]
ceph-volume lvm.activate remove links on activate before priming
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
634b5caaed7c9188e426727e83a0768bdbc51f0d )
Alfredo Deza [Thu, 26 Oct 2017 11:48:24 +0000 (07:48 -0400)]
ceph-volume lvm.activate ceph-bluestore-tool needs --cluster too
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
fb36087bc3c7e7bb8358cbf8ad84409fa23fac68 )
Alfredo Deza [Wed, 25 Oct 2017 22:57:28 +0000 (18:57 -0400)]
ceph-volume lvm.activate consume cluster_name from lvm metadata
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
2b7ff497fe9e0e167ab01bf0d8ce5e26f0da836f )
Alfredo Deza [Wed, 25 Oct 2017 22:57:03 +0000 (18:57 -0400)]
ceph-volume lvm.prepare persist cluster_name on lvm metadata
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
6d38ad987e08791be379f6c006c1eb5bf9464415 )
Alfredo Deza [Wed, 25 Oct 2017 19:30:43 +0000 (15:30 -0400)]
ceph-volume util.prepare bluestore db and wal paths are to devices, not osd dir paths
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
fd616acd6ae0f184c1757e7de38fc746d526908c )
Alfredo Deza [Wed, 25 Oct 2017 19:30:06 +0000 (15:30 -0400)]
ceph-volume lvm.prepare bluestore wal and db links get created with mkfs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
80698d2309a221d2318b11be9b8f8a95b51416ea )
Alfredo Deza [Wed, 25 Oct 2017 14:28:43 +0000 (10:28 -0400)]
ceph-volume lvm.prepare use wal and db for mkfs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
4970ab5c804111ce4b2b57817f1e29d58b18a893 )
Alfredo Deza [Tue, 24 Oct 2017 20:28:33 +0000 (16:28 -0400)]
ceph-volume lvm.prepare ensure tags are set for ceph.type correctly for block and data
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
58dbefd3be7bad51e6c56c50fbfb450e205b3036 )
Alfredo Deza [Tue, 24 Oct 2017 20:26:03 +0000 (16:26 -0400)]
ceph-volume lvm.activate check if lv device is mounted at path
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
1ead135bef801280e7cec21283c95c7ba440d84b )
Alfredo Deza [Tue, 24 Oct 2017 19:55:21 +0000 (15:55 -0400)]
ceph-volume lvm.prepare default to using bluestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
39dd0d1d10aba08c3e8299eb1702260274a756a7 )
Alfredo Deza [Tue, 24 Oct 2017 19:54:57 +0000 (15:54 -0400)]
ceph-volume lvm.create default to using bluestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
d3145da6e643dedb2fbed72e7d4d0cddf397c5e3 )
Alfredo Deza [Tue, 24 Oct 2017 19:54:11 +0000 (15:54 -0400)]
ceph-volume lvm.common remove boolean defaults for CLI flags
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
a7d5965ab532a621f402bad55d45dfed61d90cc5 )
Alfredo Deza [Tue, 24 Oct 2017 17:29:18 +0000 (13:29 -0400)]
ceph-volume lvm.prepare update to use create_osd_path
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
bafb72144666f891773bed95e9a0f757673af2e0 )
Abhishek L [Fri, 27 Oct 2017 14:57:48 +0000 (16:57 +0200)]
Merge pull request #18138 from kmroz/wip-21684-luminous
luminous: rgw: stop/join TokenCache revoke thread only if started.
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Abhishek L [Fri, 27 Oct 2017 14:55:22 +0000 (16:55 +0200)]
Merge pull request #17994 from ukernel/luminous-21337
luminous: mds: make sure snap inode's last matches its parent dentry's last
Reviewed-By: Patrick Donelly <pdonelly@redhat.com>
Abhishek L [Fri, 27 Oct 2017 14:52:43 +0000 (16:52 +0200)]
Merge pull request #18431 from theanalyst/wip-21857-luminous
luminous: rgw: We cant't get torrents if objects are encrypted using SSE-C
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Alfredo Deza [Mon, 23 Oct 2017 13:44:27 +0000 (09:44 -0400)]
ceph-volume lvm.activate only prime-osd-dir when directory is empty
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
9bb6cfd867c2d8e972093d023622f8c2e5b440d4 )
Alfredo Deza [Mon, 23 Oct 2017 13:20:26 +0000 (09:20 -0400)]
ceph-volume lvm.activate safeguard against auto detect objectstore flag not being set
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
c9b5f352a8f9e2743e5dca3a0479c8099a59fd12 )
Alfredo Deza [Fri, 20 Oct 2017 19:18:20 +0000 (15:18 -0400)]
ceph-volume util.system use strings for comparison in py3
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
1b671a8602b036cb8d53bc40eb70198c13143051 )
Alfredo Deza [Fri, 20 Oct 2017 19:10:08 +0000 (15:10 -0400)]
f ceph-volume tests update changes from the help menu in lvm
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
3ddcd3c2f19cc848a11a2882f150462ad2f26c65 )
Alfredo Deza [Fri, 20 Oct 2017 18:12:02 +0000 (14:12 -0400)]
ceph-volume lvm.common --journal-size doesn't accept a volume group
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
a8282e9a580bcfa74abdd33032e2ce2851b5cf29 )
Alfredo Deza [Fri, 20 Oct 2017 18:04:31 +0000 (14:04 -0400)]
ceph-volume lvm.prepare filestore does not require a volume group
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
3653f105927d455b8df143797af0cfe72f8d6834 )
Alfredo Deza [Fri, 20 Oct 2017 18:04:05 +0000 (14:04 -0400)]
ceph-volume lvm.common volume groups are no longer required
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
526c0aa81ac8eed95c2b4664a00ded2118372fff )
Alfredo Deza [Fri, 20 Oct 2017 16:07:06 +0000 (12:07 -0400)]
doc/ceph-volume activate workflow mention tmpfs in osd dirs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
8788fe3721034f390240c01493bc1d27d65a73a5 )
Alfredo Deza [Fri, 20 Oct 2017 16:02:10 +0000 (12:02 -0400)]
doc/ceph-volume update activation to include bluestore support
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
288a3124793d11d71b540555fd03c2f61a79dd16 )
Alfredo Deza [Fri, 20 Oct 2017 15:58:47 +0000 (11:58 -0400)]
doc/ceph-volume update create to indicate bluestore support
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
61ce8b4b844fcb64fc95373c5515de902a52fc8c )
Abhishek L [Fri, 27 Oct 2017 14:49:03 +0000 (16:49 +0200)]
Merge pull request #17858 from smithfarm/wip-21448-luminous
luminous: rgw: string_view instance points to expired memory in PrefixableSignatureHelper
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Abhishek L [Fri, 27 Oct 2017 14:48:54 +0000 (16:48 +0200)]
Merge pull request #18442 from theanalyst/wip-21637-luminous
luminous: encryption: PutObj response does not include sse-kms headers
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Reviewed-By: Matt Benjamin <mbenjamin@redhat.com>
Abhishek L [Fri, 27 Oct 2017 14:48:26 +0000 (16:48 +0200)]
Merge pull request #18437 from theanalyst/wip-21698-luminous
luminous: radosgw-admin usage show loops indefinitly
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Abhishek L [Fri, 27 Oct 2017 14:48:12 +0000 (16:48 +0200)]
Merge pull request #18434 from theanalyst/wip-21817-luminous
luminous: rgw: zone compression type is not validated
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Reviewed-By: Matt Benjamin <mbenjamin@redhat.com>
Abhishek L [Fri, 27 Oct 2017 14:47:48 +0000 (16:47 +0200)]
Merge pull request #18440 from theanalyst/wip-21652-luminous
luminous: policy checks missing from Get/SetRequestPayment operations
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Abhishek L [Fri, 27 Oct 2017 14:47:33 +0000 (16:47 +0200)]
Merge pull request #18441 from theanalyst/wip-21651-luminous
luminous: rgw: avoid logging keystone revocation failures when no keystone is configured
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Abhishek L [Fri, 27 Oct 2017 14:47:13 +0000 (16:47 +0200)]
Merge pull request #18443 from theanalyst/wip-21634-luminous
luminous: s3:GetBucketLocation bucket policy fails with 403
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Abhishek L [Fri, 27 Oct 2017 14:46:59 +0000 (16:46 +0200)]
Merge pull request #18444 from theanalyst/wip-21635-luminous
luminous: s3:GetBucketCORS/s3:PutBucketCORS policy fails with 403
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Abhishek L [Fri, 27 Oct 2017 14:46:44 +0000 (16:46 +0200)]
Merge pull request #18430 from theanalyst/wip-21695-luminous
luminous: failed CompleteMultipartUpload request does not release lock
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Reviewed-By: Matt Benjamin <mbenjamin@redhat.com>
Abhishek L [Fri, 27 Oct 2017 14:46:13 +0000 (16:46 +0200)]
Merge pull request #18445 from theanalyst/wip-21633-luminous
luminous: s3:GetBucketWebsite/PutBucketWebsite fails with 403
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Abhishek L [Fri, 27 Oct 2017 14:45:54 +0000 (16:45 +0200)]
Merge pull request #18436 from theanalyst/wip-21789-luminous
luminous: user creation can overwrite existing user even if different uid is given
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Abhishek L [Fri, 27 Oct 2017 14:45:36 +0000 (16:45 +0200)]
Merge pull request #18435 from theanalyst/wip-21790-luminous
luminous: RGW: Multipart upload may double the quota
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Abhishek L [Fri, 27 Oct 2017 14:45:19 +0000 (16:45 +0200)]
Merge pull request #18432 from theanalyst/wip-21856-luminous
disable dynamic resharding in multisite enviorment
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Abhishek L [Fri, 27 Oct 2017 14:44:40 +0000 (16:44 +0200)]
Merge pull request #18429 from theanalyst/wip-21792-luminous
luminous: encryption: reject requests that don't provide all expected headers
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Alfredo Deza [Fri, 20 Oct 2017 15:51:55 +0000 (11:51 -0400)]
doc/ceph-volume update prepare with bluestore workflow
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
9f1a5627399e2589fe706b158a32a9fb8642ac23 )
Alfredo Deza [Fri, 20 Oct 2017 14:15:09 +0000 (10:15 -0400)]
doc/ceph-volume update filestore to indicate it is not the only/default objectstore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
c93603e5764e021305cfeb1c297ee16318126fe1 )
Alfredo Deza [Fri, 20 Oct 2017 14:00:17 +0000 (10:00 -0400)]
doc/ceph-volume elaborate on env vars for interval and tries in activation
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
1dc24d1a7065b4e23b1bfa0e7c6d263b5ebc6906 )
Alfredo Deza [Fri, 20 Oct 2017 13:33:55 +0000 (09:33 -0400)]
ceph-volume lvm.common update cli flags help for bluestore support
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
c9693fb3f8386016aba5d7c8f53f5f71f948c88d )
Alfredo Deza [Fri, 20 Oct 2017 13:23:35 +0000 (09:23 -0400)]
ceph-volume util.disk st_mode is needed for stat()
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
e3b5663f7968e44ec0cd6db2bfc43acdb233e314 )
Alfredo Deza [Fri, 20 Oct 2017 13:23:02 +0000 (09:23 -0400)]
ceph-volume decorators always log to the file with exceptions
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
cb3533a72571251d9f1b6171f783246462726857 )
Alfredo Deza [Fri, 20 Oct 2017 12:49:32 +0000 (08:49 -0400)]
ceph-volume tests verify behavior of get_lv_from_argument
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
adabbd462bcb19a6da65211e24dfb2b9b5043ef4 )
Alfredo Deza [Fri, 20 Oct 2017 12:48:01 +0000 (08:48 -0400)]
ceph-volume api.lvm return result of get_lv when using arguments
If the argument is an absolute path it is fine to just return whatever
get_lv finds since it is a "safe" call, it will return a None if nothing
is found
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
f209c9d4d50bd7abe0f7f6b9fb29359cb7196718 )
Alfredo Deza [Fri, 20 Oct 2017 12:12:01 +0000 (08:12 -0400)]
ceph-volume lvm.listing support bluestore, not only filestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
6a5b89a475c2a36022ca09dbb7f6b94cc3b44881 )
Alfredo Deza [Fri, 20 Oct 2017 12:10:51 +0000 (08:10 -0400)]
ceph-volume api.lvm allow full paths to detect lv from arguments
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
8d257101b1556ec5ce805622e9b7b6b74f6b000d )
Alfredo Deza [Fri, 20 Oct 2017 12:10:26 +0000 (08:10 -0400)]
ceph-volume tests add support for bluestore list verification
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
4674da9c07f871bf1f25bb782c136fe082095a14 )
Alfredo Deza [Thu, 19 Oct 2017 17:20:55 +0000 (13:20 -0400)]
ceph-volume tests activate with fsid works for bluestore and filestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
5b9f0853f780db3b0af6b4b7c1ad1d59184069c9 )
Alfredo Deza [Thu, 19 Oct 2017 17:14:05 +0000 (13:14 -0400)]
ceph-volume tests arg validator can accept absolute paths
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
15586715f506505a57ec5122416541479df74bc8 )
Alfredo Deza [Thu, 19 Oct 2017 16:03:17 +0000 (12:03 -0400)]
ceph-volume tests update changes from the help menu in lvm
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
39bdc2e3f621a32bcbb3dfe64f156bbfd7e4f5ee )
Alfredo Deza [Thu, 19 Oct 2017 15:46:57 +0000 (11:46 -0400)]
ceph-volume tests update to get_lv from get_journal_lv
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
9be1012072f36e21a3f3cef42a42f7f1eb83c64e )
Alfredo Deza [Thu, 19 Oct 2017 15:30:29 +0000 (11:30 -0400)]
ceph-volume tests.util new path/device mount interface
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
d5984bad97347e58318793fc05da84832d323113 )
Alfredo Deza [Thu, 19 Oct 2017 13:49:25 +0000 (09:49 -0400)]
ceph-volume tests update api.lvm tests
The create_lv signature changed to require full size description and
tags need to be an actual dictionary (vs. keyword args)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
e8a18637531cde59d73a97d106958489c1d12117 )
Alfredo Deza [Wed, 18 Oct 2017 20:06:55 +0000 (16:06 -0400)]
ceph-volume lvm.activate ceph-bluestore-tool should populate the osd dir
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
f3bb616bcf8a4737a3701ebf812de831785d6341 )
Alfredo Deza [Wed, 18 Oct 2017 19:06:01 +0000 (15:06 -0400)]
ceph-volume lvm.activate auto detect objectstore type
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
472aa0b1997a0b1301b699b7ce30dce728aaea0c )
Alfredo Deza [Wed, 18 Oct 2017 19:00:19 +0000 (15:00 -0400)]
ceph-volume lvm.trigger enable objectstore auto detection for activate
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
f579ef07026564f1a94b2923a2e4640ade2da503 )
Alfredo Deza [Wed, 18 Oct 2017 16:00:34 +0000 (12:00 -0400)]
ceph-volume lvm.activate add bluestore support for activation
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
5696fed09b65044142b34f89492a6d91d3243e14 )
Alfredo Deza [Wed, 18 Oct 2017 15:40:38 +0000 (11:40 -0400)]
ceph-volume util.system create mappings of mounts
This makes it easier for consumers to detect a path, or a device that
might be mounted or might have more than one mount, including tmpfs and
devtmpfs support, which was just not possible before.
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
f61007cc650f6964ef2ff3ea98a1debf02713198 )
Alfredo Deza [Mon, 16 Oct 2017 10:51:05 +0000 (06:51 -0400)]
ceph-volume util.prepare separate filestore vs. bluestore prepare utils
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
85cdc783008ff0e0566c34aaab7cd5f12db1cbc7 )