]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoMerge pull request #18593 from ceph/luminous-wip-bz1499840
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>
7 years agoMerge pull request #18334 from kmroz/wip-21816-luminous
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>
7 years agoMerge pull request #17861 from smithfarm/wip-21441-luminous
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

7 years agoMerge pull request #18416 from kmroz/wip-21855-luminous
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>
7 years agoMerge pull request #18337 from kmroz/wip-21640-luminous
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>
7 years agoMerge pull request #18336 from kmroz/wip-21639-luminous
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>
7 years agoMerge pull request #17860 from smithfarm/wip-21299-luminous
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>
7 years agoceph-volume lvm.activate remove links on activate before priming 18593/head
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)

7 years agoceph-volume lvm.activate ceph-bluestore-tool needs --cluster too
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)

7 years agoceph-volume lvm.activate consume cluster_name from lvm metadata
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)

7 years agoceph-volume lvm.prepare persist cluster_name on lvm metadata
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)

7 years agoceph-volume util.prepare bluestore db and wal paths are to devices, not osd dir paths
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)

7 years agoceph-volume lvm.prepare bluestore wal and db links get created with mkfs
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)

7 years agoceph-volume lvm.prepare use wal and db for mkfs
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)

7 years agoceph-volume lvm.prepare ensure tags are set for ceph.type correctly for block and...
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)

7 years agoceph-volume lvm.activate check if lv device is mounted at path
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)

7 years agoceph-volume lvm.prepare default to using bluestore
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)

7 years agoceph-volume lvm.create default to using bluestore
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)

7 years agoceph-volume lvm.common remove boolean defaults for CLI flags
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)

7 years agoceph-volume lvm.prepare update to use create_osd_path
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)

7 years agoMerge pull request #18138 from kmroz/wip-21684-luminous
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>
7 years agoMerge pull request #17994 from ukernel/luminous-21337
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>
7 years agoMerge pull request #18431 from theanalyst/wip-21857-luminous
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>
7 years agoceph-volume lvm.activate only prime-osd-dir when directory is empty
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)

7 years agoceph-volume lvm.activate safeguard against auto detect objectstore flag not being set
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)

7 years agoceph-volume util.system use strings for comparison in py3
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)

7 years agof ceph-volume tests update changes from the help menu in lvm
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)

7 years agoceph-volume lvm.common --journal-size doesn't accept a volume group
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)

7 years agoceph-volume lvm.prepare filestore does not require a volume group
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)

7 years agoceph-volume lvm.common volume groups are no longer required
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)

7 years agodoc/ceph-volume activate workflow mention tmpfs in osd dirs
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)

7 years agodoc/ceph-volume update activation to include bluestore support
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)

7 years agodoc/ceph-volume update create to indicate bluestore support
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)

7 years agoMerge pull request #17858 from smithfarm/wip-21448-luminous
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>
7 years agoMerge pull request #18442 from theanalyst/wip-21637-luminous
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>
7 years agoMerge pull request #18437 from theanalyst/wip-21698-luminous
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>
7 years agoMerge pull request #18434 from theanalyst/wip-21817-luminous
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>
7 years agoMerge pull request #18440 from theanalyst/wip-21652-luminous
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>
7 years agoMerge pull request #18441 from theanalyst/wip-21651-luminous
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>
7 years agoMerge pull request #18443 from theanalyst/wip-21634-luminous
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>
7 years agoMerge pull request #18444 from theanalyst/wip-21635-luminous
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>
7 years agoMerge pull request #18430 from theanalyst/wip-21695-luminous
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>
7 years agoMerge pull request #18445 from theanalyst/wip-21633-luminous
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>
7 years agoMerge pull request #18436 from theanalyst/wip-21789-luminous
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>
7 years agoMerge pull request #18435 from theanalyst/wip-21790-luminous
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>
7 years agoMerge pull request #18432 from theanalyst/wip-21856-luminous
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>
7 years agoMerge pull request #18429 from theanalyst/wip-21792-luminous
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>
7 years agodoc/ceph-volume update prepare with bluestore workflow
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)

7 years agodoc/ceph-volume update filestore to indicate it is not the only/default objectstore
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)

7 years agodoc/ceph-volume elaborate on env vars for interval and tries in activation
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)

7 years agoceph-volume lvm.common update cli flags help for bluestore support
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)

7 years agoceph-volume util.disk st_mode is needed for stat()
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)

7 years agoceph-volume decorators always log to the file with exceptions
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)

7 years agoceph-volume tests verify behavior of get_lv_from_argument
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)

7 years agoceph-volume api.lvm return result of get_lv when using arguments
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)

7 years agoceph-volume lvm.listing support bluestore, not only filestore
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)

7 years agoceph-volume api.lvm allow full paths to detect lv from arguments
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)

7 years agoceph-volume tests add support for bluestore list verification
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)

7 years agoceph-volume tests activate with fsid works for bluestore and filestore
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)

7 years agoceph-volume tests arg validator can accept absolute paths
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)

7 years agoceph-volume tests update changes from the help menu in lvm
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)

7 years agoceph-volume tests update to get_lv from get_journal_lv
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)

7 years agoceph-volume tests.util new path/device mount interface
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)

7 years agoceph-volume tests update api.lvm tests
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)

7 years agoceph-volume lvm.activate ceph-bluestore-tool should populate the osd dir
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)

7 years agoceph-volume lvm.activate auto detect objectstore type
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)

7 years agoceph-volume lvm.trigger enable objectstore auto detection for activate
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)

7 years agoceph-volume lvm.activate add bluestore support for activation
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)

7 years agoceph-volume util.system create mappings of mounts
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)

7 years agoceph-volume util.prepare separate filestore vs. bluestore prepare utils
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)

7 years agoceph-volume process allow obfuscating a key or index when logging commands
Alfredo Deza [Mon, 16 Oct 2017 10:50:27 +0000 (06:50 -0400)]
ceph-volume process allow obfuscating a key or index when logging commands

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit bbcca70d962855d991f0aa8e86a19f1855345668)

7 years agoceph-volume util.prepare add other ln helpers for bluestore
Alfredo Deza [Fri, 13 Oct 2017 13:22:53 +0000 (09:22 -0400)]
ceph-volume util.prepare add other ln helpers for bluestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 555b664882db2cd247087f907bdf4d426fb652f8)

7 years agoceph-volume util.arg_validators allow to pass a group as --data for lvm
Alfredo Deza [Thu, 12 Oct 2017 20:08:52 +0000 (16:08 -0400)]
ceph-volume util.arg_validators allow to pass a group as --data for lvm

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 211c38f591945dee53196068533784c385bae102)

7 years agoceph-volume util.disk add utilities for is_device and is_partition
Alfredo Deza [Thu, 12 Oct 2017 20:08:16 +0000 (16:08 -0400)]
ceph-volume util.disk add utilities for is_device and is_partition

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 6b23fc72240ced158cf5335f6e815dbfd804dfab)

7 years agoceph-volume api.lvm udpate create_lv for bluestore
Alfredo Deza [Thu, 12 Oct 2017 20:05:22 +0000 (16:05 -0400)]
ceph-volume api.lvm udpate create_lv for bluestore

Require full size notation for LVM (e.g. 50G or 100M) and do not
"translate" tags by pre-fixing them with 'ceph'. That is already how the
rest of the API works, no need to make that translation in one place

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit ac0d1555d3d9caeef9d4fc3e46bc11b7e437413b)

7 years agoMerge pull request #17857 from smithfarm/wip-21446-luminous
Abhishek L [Fri, 27 Oct 2017 14:43:43 +0000 (16:43 +0200)]
Merge pull request #17857 from smithfarm/wip-21446-luminous

luminous: rgw:multisite: Get bucket location which is located in another zonegroup, will return 301 Moved Permanently

Reviewed-By: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #17856 from smithfarm/wip-21444-luminous
Abhishek L [Fri, 27 Oct 2017 14:43:00 +0000 (16:43 +0200)]
Merge pull request #17856 from smithfarm/wip-21444-luminous

luminous: rgw: setxattrs call leads to different mtimes for bucket index and object

Reviewed-By: Casey Bodley <cbodley@redhat.com>
7 years agoceph-volume lvm.prepare update filestore workflow to use new helpers
Alfredo Deza [Thu, 12 Oct 2017 19:42:22 +0000 (15:42 -0400)]
ceph-volume lvm.prepare update filestore workflow to use new helpers

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 1e8a79b8f4b9e6360e8e3ace580e46caeedca8c7)

7 years agoMerge pull request #18417 from kmroz/wip-21782-luminous
Abhishek L [Fri, 27 Oct 2017 14:41:15 +0000 (16:41 +0200)]
Merge pull request #18417 from kmroz/wip-21782-luminous

luminous: cls/journal: possible infinite loop within tag_list class method

Reviewed-By: Jason Dillaman <jdillaman@redhat.com>
7 years agoMerge pull request #18287 from smithfarm/wip-retract-assertions-luminous
Abhishek L [Fri, 27 Oct 2017 14:38:04 +0000 (16:38 +0200)]
Merge pull request #18287 from smithfarm/wip-retract-assertions-luminous

luminous: rgw: Remove assertions in IAM Policy

Reviewed-By: Adam Emerson <aemerson@redhat.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
7 years agoceph-volume lvm.prepare initial take on bluestore support
Alfredo Deza [Thu, 12 Oct 2017 18:19:07 +0000 (14:19 -0400)]
ceph-volume lvm.prepare initial take on bluestore support

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit e4fc3464af472a8dbdf049917eed73519ff82c3b)

7 years agoMerge pull request #17859 from smithfarm/wip-21451-luminous
Abhishek L [Fri, 27 Oct 2017 14:29:02 +0000 (16:29 +0200)]
Merge pull request #17859 from smithfarm/wip-21451-luminous

luminous: rgw: lc process only schdule the first item of lc objects

Reviewed-By: Daniel Gryniewicz <dgryniewicz@redhat.com>
7 years agoceph-volume lvm.common update help flags for bluestore usage
Alfredo Deza [Thu, 12 Oct 2017 18:16:25 +0000 (14:16 -0400)]
ceph-volume lvm.common update help flags for bluestore usage

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 17028f3a3c1f9394fa82dc6f2bbd596d96acb037)

7 years agoceph-volume api.lvm allow to create a vg
Alfredo Deza [Wed, 11 Oct 2017 18:30:41 +0000 (14:30 -0400)]
ceph-volume api.lvm allow to create a vg

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 16d7feb2b5d5eb5fa0bf23a95b60623ae2e1676f)

7 years agoceph-volume lvm add block CLI flags for bluestore
Alfredo Deza [Tue, 10 Oct 2017 16:30:06 +0000 (12:30 -0400)]
ceph-volume lvm add block CLI flags for bluestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 63d2afbc605ac1531bc9f00a1891017bfd42fbce)

7 years agoceph-volume lvm make bluestore the default option
Alfredo Deza [Tue, 10 Oct 2017 16:15:14 +0000 (12:15 -0400)]
ceph-volume lvm make bluestore the default option

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit dc3ced30747312dedd0e895a75ec15b1925ef1ea)

7 years agoMerge pull request #18433 from theanalyst/wip-21545-luminous
Abhishek L [Fri, 27 Oct 2017 13:11:00 +0000 (15:11 +0200)]
Merge pull request #18433 from theanalyst/wip-21545-luminous

luminous: rgw file write error

Reviewed-By: Matt Benjamin <mbenjamin@redhat.com>
7 years agoMerge pull request #18587 from ceph/luminous-wip-volume-api-change
Andrew Schoen [Fri, 27 Oct 2017 13:03:16 +0000 (08:03 -0500)]
Merge pull request #18587 from ceph/luminous-wip-volume-api-change

luminous ceph-volume lvm api refactor/move

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #18568 from liewegas/wip-fix-rop-leak-luminous-2
Sage Weil [Fri, 27 Oct 2017 11:39:58 +0000 (06:39 -0500)]
Merge pull request #18568 from liewegas/wip-fix-rop-leak-luminous-2

luminous: osd/PG: fix recovery op leak due to recovery preemption

Reviewed-by: David Zafman <dzafman@redhat.com>
7 years agoceph-volume create an api module to hold common api modules 18587/head
Alfredo Deza [Tue, 3 Oct 2017 20:13:33 +0000 (16:13 -0400)]
ceph-volume create an api module to hold common api modules

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit f72368641d7f38b6395afb7ed70a0a9d0794a03a)

7 years agoceph-volume tests move lvm api tests into its new test module
Alfredo Deza [Wed, 4 Oct 2017 10:44:54 +0000 (06:44 -0400)]
ceph-volume tests move lvm api tests into its new test module

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit eec0c8a5c27adc9b3fc5e999cbee8165bdb45736)

7 years agoceph-volume tests refactor lvm api import for test_listing
Alfredo Deza [Wed, 4 Oct 2017 10:43:36 +0000 (06:43 -0400)]
ceph-volume tests refactor lvm api import for test_listing

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 66fd41fd4b35e275196bfb94794f3fda9fd77f76)

7 years agoceph-volume tests refactor lvm api import for api tests
Alfredo Deza [Wed, 4 Oct 2017 10:43:18 +0000 (06:43 -0400)]
ceph-volume tests refactor lvm api import for api tests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 2a9a36bd24bddb35a7618127a0ec57f661a71566)

7 years agoceph-volume tests refactor lvm api import for activate tests
Alfredo Deza [Wed, 4 Oct 2017 10:42:47 +0000 (06:42 -0400)]
ceph-volume tests refactor lvm api import for activate tests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit d81aa8c112312f2fb49d94ce3512b3356b0b8814)

7 years agoceph-volume tests refactor lvm api import in conftest
Alfredo Deza [Wed, 4 Oct 2017 10:42:01 +0000 (06:42 -0400)]
ceph-volume tests refactor lvm api import in conftest

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit a00aff7066fe6a679498ac8a02ec22ef29feced3)

7 years agoceph-volume devices.lvm refactor importing api to come from api/lvm.py
Alfredo Deza [Tue, 3 Oct 2017 20:17:08 +0000 (16:17 -0400)]
ceph-volume devices.lvm refactor importing api to come from api/lvm.py

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit f4bee6cb42a017abce269ed3926deff04038a47e)

7 years agoceph-volume move lvm/api.py to api/lvm.py so disk can consume it
Alfredo Deza [Tue, 3 Oct 2017 20:14:16 +0000 (16:14 -0400)]
ceph-volume move lvm/api.py to api/lvm.py so disk can consume it

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit bb72480d2bf44ff04ea93c98f4a4e59032a28896)

7 years agoMerge pull request #18498 from liewegas/wip-recovery-fixes-luminous
Sage Weil [Thu, 26 Oct 2017 21:52:28 +0000 (16:52 -0500)]
Merge pull request #18498 from liewegas/wip-recovery-fixes-luminous

luminous: osd: fix recovery priority and pg state on recovery->backfill transition

Reviewed-by: David Zafman <dzafman@redhat.com.
7 years agoMerge pull request #18567 from ceph/backport-wip-bz1491250
Andrew Schoen [Thu, 26 Oct 2017 21:50:20 +0000 (16:50 -0500)]
Merge pull request #18567 from ceph/backport-wip-bz1491250

luminous: ceph-volume lvm list

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoosd/PG: fix recovery op leak due to recovery preemption 18568/head
Sage Weil [Thu, 26 Oct 2017 21:23:41 +0000 (16:23 -0500)]
osd/PG: fix recovery op leak due to recovery preemption

This was fixed in master in a different patch, but are not yet ready to
backport the bits there that came before this.  For now, fix it
specifically for luminous.  We can either sort out the conflicts later
or revert this and backport the master parts conflict-free.

Signed-off-by: Sage Weil <sage@redhat.com>