]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Alfredo Deza [Mon, 4 Jun 2018 18:08:44 +0000 (14:08 -0400)]
ceph-volume api.lvm fallback to 1 part if none are define when creating lvs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
552d987233545f6f33b9220ea4ea98753f96962f )
Alfredo Deza [Mon, 4 Jun 2018 18:04:52 +0000 (14:04 -0400)]
ceph-volume tests verify create_lvs behavior
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
8c487124d795778dbbf461ffb95841b1c8025e08 )
Alfredo Deza [Wed, 23 May 2018 13:23:40 +0000 (09:23 -0400)]
ceph-volume api.lvm default to null tags on lvs created
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
490e73eff1b5b7cc98db5d3df292759e1773c0ab )
Alfredo Deza [Tue, 22 May 2018 20:06:01 +0000 (16:06 -0400)]
ceph-deploy api.lvm allow multiple lv creation
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
e073c56d80d8f37e0f96093f8dd4a95aef81ea02 )
Alfredo Deza [Tue, 22 May 2018 16:58:36 +0000 (12:58 -0400)]
ceph-volume api.lvm add a sizing method for VGs to calculate LV creation
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
e61b9e5c771e167990caad3d85c0bfd27682d643 )
Alfredo Deza [Tue, 22 May 2018 16:57:19 +0000 (12:57 -0400)]
ceph-volume exceptions create an error for size allocations
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
b035bb0f54d4a7777ce242798bdeb18ad0dc28e0 )
Alfredo Deza [Tue, 22 May 2018 12:29:16 +0000 (08:29 -0400)]
ceph-volume tests verify vg sizing behavior
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
08832f21e52f28d65a16aadae54a10c8fd16259f )
Alfredo Deza [Mon, 21 May 2018 17:35:57 +0000 (13:35 -0400)]
ceph-volume api.lvm force vgs to display units in 'g'
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
da9f90fcb40e1e82c322f6020253b63da69238da )
Andrew Schoen [Thu, 2 Aug 2018 12:56:23 +0000 (12:56 +0000)]
Merge pull request #23367 from alfredodeza/luminous-rm25173
luminous ceph-volume do not use stdin in luminous
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 1 Aug 2018 18:18:12 +0000 (18:18 +0000)]
Merge pull request #23369 from alfredodeza/luminous-cv-auto
luminous: ceph-volume initial take on auto sub-command
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
David Zafman [Wed, 1 Aug 2018 15:51:12 +0000 (11:51 -0400)]
Merge pull request #23236 from dzafman/wip-25085-luminous
luminous: Fix 25085 and 24949
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Yuri Weinstein [Wed, 1 Aug 2018 15:41:14 +0000 (08:41 -0700)]
Merge pull request #22806 from smithfarm/wip-24697-luminous
luminous: ceph osd safe-to-destroy crashes the mgr
Reviewed-by: Sage Weil <sage@redhat.com>
Yuri Weinstein [Wed, 1 Aug 2018 15:38:54 +0000 (08:38 -0700)]
Merge pull request #22753 from pdvian/wip-24498-luminous
luminous: librbd: force 'invalid object map' flag on-disk update
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Alfredo Deza [Thu, 3 May 2018 18:33:08 +0000 (14:33 -0400)]
ceph-volume tests verify get_devices captures device metadata
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
8deb088f101894763d27a6c31a3e8a2e96fc8320 )
Alfredo Deza [Thu, 3 May 2018 18:32:00 +0000 (14:32 -0400)]
ceph-volume tests.conftest allow custom dirs in tmpfile fixture
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
9d820e82ac6bc0f46890df1cdaa104e88cab2a7e )
Alfredo Deza [Thu, 3 May 2018 16:52:21 +0000 (12:52 -0400)]
ceph-volume tests ensure human_readable_size works up to terabytes
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
4ad42f4244062995de003d8141cddcdc1d2b80fc )
Alfredo Deza [Thu, 3 May 2018 16:47:53 +0000 (12:47 -0400)]
ceph-volume tests verify mapper and /dev devices
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
9cfd37344c69ebf1f3d8440f295d79ae05b545e9 )
Alfredo Deza [Thu, 3 May 2018 16:45:05 +0000 (12:45 -0400)]
ceph-volume tests add tests for get_block_devs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
672c4c4d1c31b4631b1238ed0efb98fef34f2a3d )
Alfredo Deza [Thu, 3 May 2018 16:40:17 +0000 (12:40 -0400)]
ceph-volume tests verify _map_dev_paths mappings
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
2c4d46955e8d7f52b090cd8b5b5561a2dba443e5 )
Alfredo Deza [Thu, 3 May 2018 15:05:42 +0000 (11:05 -0400)]
ceph-volume devices.auto initial take on auto sub-command
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
e3b04c9677c273f91e0a9de35dcd68c578d124db )
Alfredo Deza [Thu, 3 May 2018 14:51:47 +0000 (10:51 -0400)]
ceph-volume util.disk create a device metadata utility
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
c6559538db28d6b8bc8529e6b2a62e8619c69bd6 )
Alfredo Deza [Thu, 3 May 2018 11:38:29 +0000 (07:38 -0400)]
ceph-volume util.disk add dev mapping helpers for path resolution
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
c06e63fed8a11e80444e8e7ec2e82373d75aa501 )
Alfredo Deza [Wed, 2 May 2018 23:48:23 +0000 (19:48 -0400)]
ceph-volume tests verify get_file_contents utility
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
0177f71caba3fd64de285d6808b5f859c55ed2fe )
Alfredo Deza [Wed, 2 May 2018 23:15:10 +0000 (19:15 -0400)]
ceph-volume util.system capture file contents
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
39792573dabac3b85a41760c965b60746ca1f059 )
Alfredo Deza [Fri, 4 May 2018 17:16:05 +0000 (13:16 -0400)]
ceph-volume devices.auto initial take on auto sub-command
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
5649bd724b5d300c7080052433f9b9d1c6774cff )
Alfredo Deza [Wed, 2 May 2018 23:01:10 +0000 (19:01 -0400)]
ceph-volume main include commented out auto subcommand
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
ad1b8cae055ee6c822370d91027613680ccd3dd3 )
Alfredo Deza [Wed, 2 May 2018 22:59:51 +0000 (18:59 -0400)]
ceph-volume tests ensure is_lv detection on LVs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
47060a1ef4562b29771bdfb5a375a225f18c228c )
Alfredo Deza [Wed, 2 May 2018 20:39:16 +0000 (16:39 -0400)]
ceph-volume api.lvm create helpers to detect an lv from a device path
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
68ca7a691e6e333209b67eb5cea8594f37fb93c1 )
Yuri Weinstein [Wed, 1 Aug 2018 15:38:16 +0000 (08:38 -0700)]
Merge pull request #22844 from smithfarm/wip-24735-luminous
luminous: order rbdmap.service before remote-fs-pre.target
Reviewed-by: Boris Ranto <branto@redhat.com>
Yuri Weinstein [Wed, 1 Aug 2018 15:37:38 +0000 (08:37 -0700)]
Merge pull request #22865 from pdvian/wip-24584-luminous
luminous: osdc: Fix the wrong BufferHead offset
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Yuri Weinstein [Wed, 1 Aug 2018 15:36:19 +0000 (08:36 -0700)]
Merge pull request #22767 from pdvian/wip-24514-luminous
luminous: rgw: fix the bug of radowgw-admin zonegroup set requires realm
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Wed, 1 Aug 2018 15:33:41 +0000 (08:33 -0700)]
Merge pull request #21806 from ivancich/wip-rgw-unordered-luminous
luminous: rgw: ability to list bucket contents in unsorted order for efficiency
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Wed, 1 Aug 2018 15:32:52 +0000 (08:32 -0700)]
Merge pull request #22817 from smithfarm/wip-24690-luminous
luminous: rgw-multisite: endless loop in RGWBucketShardIncrementalSyncCR
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Wed, 1 Aug 2018 15:32:27 +0000 (08:32 -0700)]
Merge pull request #22820 from smithfarm/wip-24692-luminous
luminous: rgw: index complete miss zones_trace set
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Wed, 1 Aug 2018 15:32:02 +0000 (08:32 -0700)]
Merge pull request #22822 from smithfarm/wip-24693-luminous
luminous: rgw: meta and data notify thread miss stop cr manager
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Wed, 1 Aug 2018 15:31:37 +0000 (08:31 -0700)]
Merge pull request #22846 from smithfarm/wip-24737-luminous
luminous: add unit test for cls bi list command
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Yuri Weinstein [Wed, 1 Aug 2018 15:30:58 +0000 (08:30 -0700)]
Merge pull request #22942 from pdvian/wip-24782-luminous
luminous: rgw: set cr state if aio_read err return in RGWCloneMetaLogCoroutine
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Wed, 1 Aug 2018 15:30:31 +0000 (08:30 -0700)]
Merge pull request #22985 from joscollin/wip-24844-luminous
luminous: rgw: require --yes-i-really-mean-it to run radosgw-admin orphans find
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Wed, 1 Aug 2018 14:59:52 +0000 (09:59 -0500)]
Merge PR #23345 into luminous
* refs/pull/23345/head:
Revert "luminous: pybind/mgr/mgr_module: make rados handle available to all modules"
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Alfredo Deza [Tue, 31 Jul 2018 20:47:05 +0000 (16:47 -0400)]
ceph-volume tests verify that luminous doesn't use stdin
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
a97a63540290c93e05857ac175f3c9c45a4602c6 )
Alfredo Deza [Tue, 31 Jul 2018 20:46:41 +0000 (16:46 -0400)]
ceph-volume util do not use stdin for luminous
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
e03be24a4ff9b882d4329059fd1f04963d9ba2c5 )
Alfredo Deza [Wed, 7 Mar 2018 16:57:32 +0000 (11:57 -0500)]
ceph-volume tests verify that mkfs filestore uses default flags
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
fa9a8afe491445f622e95d32b1f822df8c5b3055 )
Alfredo Deza [Wed, 7 Mar 2018 16:57:07 +0000 (11:57 -0500)]
ceph-volume lvm.prepare pass the cephx_secret for mkfs in filestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
b25c8f6897bd66a7156c3a59724cd85eb835c5b6 )
Alfredo Deza [Wed, 7 Mar 2018 16:56:45 +0000 (11:56 -0500)]
ceph-volume util.prepare use keyfile from stdin for mkfs in filestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
70b495ac06b1fa382654759764014d5391d67f9a )
Yuri Weinstein [Tue, 31 Jul 2018 19:48:36 +0000 (12:48 -0700)]
Merge pull request #23137 from smithfarm/wip-24068-luminous
luminous: tests: osd sends op_reply out of order
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Alfredo Deza [Tue, 31 Jul 2018 16:42:34 +0000 (12:42 -0400)]
Merge pull request #23350 from ceph/backport-luminous-23348
luminous: ceph-volume: adds test for `ceph-volume lvm list /dev/sda`
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Andrew Schoen [Mon, 30 Jul 2018 18:52:37 +0000 (13:52 -0500)]
ceph-volume: adds a unit test for `lvm list /dev/sda`
This test is to prove that the issue from
http://tracker.ceph.com/issues/24957 was fixed
by http://tracker.ceph.com/issues/24784
When running lvm list against a raw device it should handle
gracefully the situation where there are multiple PVs with the
name of the given device.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit
ef10886f1e061d4273d3c0763ab0827e7e58e9d7 )
Andrew Schoen [Tue, 31 Jul 2018 13:26:57 +0000 (08:26 -0500)]
ceph-volume: move pvolumes fixture into conftest.py
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit
37ed1be08b226a5b3a7a5bb70c4d5d1fd22db5d1 )
Ernesto Puerta [Tue, 31 Jul 2018 09:39:53 +0000 (11:39 +0200)]
Revert "luminous: pybind/mgr/mgr_module: make rados handle available to all modules"
Reverts: https://github.com/ceph/ceph/pull/23235
Reverts:
45c7170eb68571a3d690460f99392c6753994799
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Yuri Weinstein [Mon, 30 Jul 2018 20:48:10 +0000 (13:48 -0700)]
Merge pull request #22883 from smithfarm/wip-24311-luminous
luminous: pjd: cd: too many arguments
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Yuri Weinstein [Mon, 30 Jul 2018 20:47:39 +0000 (13:47 -0700)]
Merge pull request #22955 from joscollin/wip-24828-luminous
luminous: qa: fix ffsb cd argument
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Yuri Weinstein [Mon, 30 Jul 2018 20:47:01 +0000 (13:47 -0700)]
Merge pull request #22980 from joscollin/wip-24860-luminous
luminous: cephfs-journal-tool: Fix purging when importing an zero-length journal.
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Yuri Weinstein [Mon, 30 Jul 2018 20:46:41 +0000 (13:46 -0700)]
Merge pull request #23012 from batrick/i23015
luminous: client: fixup parallel calls to ceph_ll_lookup_inode() in NFS FASL
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Yuri Weinstein [Mon, 30 Jul 2018 20:45:58 +0000 (13:45 -0700)]
Merge pull request #23107 from pdvian/wip-24932-luminous
luminous: client: add inst to asok status output
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Yuri Weinstein [Mon, 30 Jul 2018 20:45:28 +0000 (13:45 -0700)]
Merge pull request #23222 from pdvian/wip-25038-luminous
luminous: mds: scrub doesn't always return JSON results
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Yuri Weinstein [Mon, 30 Jul 2018 20:44:12 +0000 (13:44 -0700)]
Merge pull request #22779 from batrick/i24538
luminous: common/DecayCounter: set last_decay to current time when decoding decay counter
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Yuri Weinstein [Mon, 30 Jul 2018 20:43:23 +0000 (13:43 -0700)]
Merge pull request #22780 from batrick/i24295
luminous: repeated eviction of idle client until some IO happens
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Yuri Weinstein [Mon, 30 Jul 2018 20:41:00 +0000 (13:41 -0700)]
Merge pull request #22782 from ukernel/luminous-23989
luminous: mds: don't report slow request for blocked filelock request
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Yuri Weinstein [Mon, 30 Jul 2018 20:39:28 +0000 (13:39 -0700)]
Merge pull request #22783 from ukernel/luminous-24540
luminous: client: update inode fields according to issued caps
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Yuri Weinstein [Mon, 30 Jul 2018 20:38:29 +0000 (13:38 -0700)]
Merge pull request #22786 from pdvian/wip-24535-luminous
luminous: client: _ll_drop_pins may access invalid iterator
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Yuri Weinstein [Mon, 30 Jul 2018 20:37:38 +0000 (13:37 -0700)]
Merge pull request #22811 from smithfarm/wip-24694-luminous
luminous: PurgeQueue sometimes ignores Journaler errors
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Alfredo Deza [Mon, 30 Jul 2018 18:14:48 +0000 (14:14 -0400)]
Merge pull request #23329 from ceph/backport-luminous-23234
luminous: ceph-volume: PVolumes.get() should return one PV when using name or uuid
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Yuri Weinstein [Mon, 30 Jul 2018 16:44:42 +0000 (09:44 -0700)]
Merge pull request #22814 from smithfarm/wip-24748-luminous
luminous: change default filestore_merge_threshold to -10
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Yuri Weinstein [Mon, 30 Jul 2018 16:44:01 +0000 (09:44 -0700)]
Merge pull request #22839 from vumrao/wip-vumrao-backport-
d12ba37e0d0 -to-luminous
luminous: osd: change log level when withholding pg creation
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Yuri Weinstein [Mon, 30 Jul 2018 16:42:54 +0000 (09:42 -0700)]
Merge pull request #22979 from VictorDenisov/backport_24033
luminous: rados.pyx: make all exceptions accept keyword arguments
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Yuri Weinstein [Mon, 30 Jul 2018 16:41:53 +0000 (09:41 -0700)]
Merge pull request #23064 from pdvian/wip-24886-luminous
luminous: os/bluestore: fix races on SharedBlob::coll in ~SharedBlob.
Reviewed-by: Sage Weil <sage@redhat.com>
Andrew Schoen [Mon, 30 Jul 2018 16:15:16 +0000 (16:15 +0000)]
Merge pull request #23331 from alfredodeza/wip-rm25170
luminous: ceph-volume add a __release__ string, to help version-conditional calls
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Yuri Weinstein [Mon, 30 Jul 2018 16:01:40 +0000 (09:01 -0700)]
Merge pull request #23293 from smithfarm/wip-upgrade-cleanup-luminous
luminous: qa: drop upgrade/luminous-x
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Alfredo Deza [Mon, 30 Jul 2018 15:58:37 +0000 (11:58 -0400)]
ceph-volume add a __release__ string, to help version-conditional calls
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Andrew Schoen [Wed, 25 Jul 2018 16:47:27 +0000 (11:47 -0500)]
ceph-volume: PVolumes.get() should return one PV when using name or uuid
It is possible to get duplicated pv entires from the 'pvs' lvm command.
If we're using PVolumes.get() with either pv_name or pv_uuid we can
safely return a single PVolume object. However, if we use pv_tags with
PVolumes.get() we must still raise a MultiplePVsError if many pvs
are found that have the tags, because they are not guaranteed to be the
same pv, as would be the case with pv_name or pv_uuid.
Fixes: http://tracker.ceph.com/issues/24784
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit
e5e866e8ecaf0522f3ebac83fa6fbc5a666acd58 )
Andrew Schoen [Mon, 30 Jul 2018 13:42:57 +0000 (13:42 +0000)]
Merge pull request #23238 from alfredodeza/luminous-rm24993
luminous ceph-volume process.call with stdin in Python 3 fix
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Alfredo Deza [Sun, 29 Jul 2018 13:20:23 +0000 (09:20 -0400)]
Merge pull request #23296 from b-ranto/wip-volume-selinux-luminous
[luminous] ceph-volume: Restore SELinux context
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Boris Ranto [Tue, 10 Jul 2018 20:52:38 +0000 (22:52 +0200)]
ceph-volume: Restore SELinux context
We need to reset the root context of the file system after mounting it.
Otherwise, the SELinux policy rules will not be preserved.
Fixes: https://tracker.ceph.com/issues/24785
Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit
61dbf4ac2af7d1e9da927bbc4006c9fbccb55478 )
Alfredo Deza [Fri, 27 Jul 2018 15:16:19 +0000 (11:16 -0400)]
ceph-volume tests.util verify as_bytes behavior
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
1802c386da3bf1e77f20d8a5456edd810a631c6f )
Alfredo Deza [Fri, 27 Jul 2018 15:15:58 +0000 (11:15 -0400)]
ceph-volume tests catch utf-8 encoded stdin errors
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
31f565e90bb346c2be982f7daba31431b5368677 )
Alfredo Deza [Fri, 27 Jul 2018 15:14:13 +0000 (11:14 -0400)]
ceph-volume process use the as_bytes util for stdin
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
6a9368c1db468e05944607f9814f19053de80b6b )
Alfredo Deza [Fri, 27 Jul 2018 15:13:19 +0000 (11:13 -0400)]
ceph-volume util create a helper for converting to bytes
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
fb518165445479cf08eefc8a2755ad78dcafd07f )
Alfredo Deza [Mon, 16 Jul 2018 13:23:14 +0000 (09:23 -0400)]
ceph-volume tests validate the new utils for prompts
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
2d988337a96fe6cc8fffb37e4641c86cd47e1139 )
Alfredo Deza [Fri, 13 Jul 2018 12:55:46 +0000 (08:55 -0400)]
ceph-volume tests verify str_to_int utility
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
56b1bf633d3d16cf335043450df95f191e2907a4 )
Alfredo Deza [Mon, 16 Jul 2018 13:22:50 +0000 (09:22 -0400)]
ceph-volume util create prompt helpers
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
0283fcc38b13c2d090b1d25be732e6f5f43b834c )
Alfredo Deza [Fri, 13 Jul 2018 12:54:33 +0000 (08:54 -0400)]
ceph-volume util move the str_to_int utility out of lvm
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
cb5b30ab43f37adc45fb6114452b37722c65501e )
Alfredo Deza [Wed, 25 Jul 2018 12:40:53 +0000 (08:40 -0400)]
ceph-volume tests run to log_descriptors, verifying utf-8
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 25 Jul 2018 12:39:16 +0000 (08:39 -0400)]
ceph-volume process decode to utf-8 when logging descriptors
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 20 Jul 2018 13:49:59 +0000 (09:49 -0400)]
ceph-volume tests.process ensure that stdin works on py3 and py2.7
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 20 Jul 2018 13:48:38 +0000 (09:48 -0400)]
ceph-volume process encode stdin with utf-8 to prevent bytes TypeError
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Nathan Cutler [Fri, 27 Jul 2018 20:45:46 +0000 (22:45 +0200)]
luminous: qa: drop upgrade/luminous-x
This suite would typically be run from the mimic or master branches, not
luminous.
This commit is intentionally not a cherry-pick, since it is relevant to
luminous only.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Fri, 27 Jul 2018 04:18:54 +0000 (06:18 +0200)]
Merge pull request #23274 from yuriw/wip-yuriw-25123-luminous
qa/upgrade/luminous-p2p: cleaned up "#branch: luminous" lines
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Fri, 27 Jul 2018 03:46:53 +0000 (05:46 +0200)]
Merge pull request #23179 from smithfarm/wip-25066-luminous
luminous: build/ops: install-deps.sh fails on newest openSUSE Leap
Reviewed-by: Tim Serong <tserong@suse.com>
Yuri Weinstein [Thu, 26 Jul 2018 22:13:38 +0000 (15:13 -0700)]
qa/tests: cleaned up "#branch: luminous" lines
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Yuri Weinstein [Thu, 26 Jul 2018 22:12:26 +0000 (15:12 -0700)]
Merge pull request #23265 from yuriw/wip-yuriw-25123-luminous
qa/tests: added 12.2.7 to the mix
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Andrew Schoen [Thu, 26 Jul 2018 20:48:09 +0000 (20:48 +0000)]
Merge pull request #23150 from alfredodeza/luminous-rm24952
luminous: ceph-volume lvm.listing only include devices if they exist
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Yuri Weinstein [Thu, 26 Jul 2018 15:57:09 +0000 (08:57 -0700)]
qa/tests: added 12.2.7 to the mix
also added 'overall HEALTH_' to the whitelist
Fixes: https://tracker.ceph.com/issues/25123
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Nathan Cutler [Thu, 26 Jul 2018 20:05:37 +0000 (22:05 +0200)]
Merge pull request #23177 from smithfarm/wip-25063-luminous
luminous: doc: ceph-bluestore-tool manpage not getting rendered correctly
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
David Zafman [Tue, 24 Jul 2018 22:12:15 +0000 (15:12 -0700)]
test: Add test for automatic repair during scrub when distrust set
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Tue, 24 Jul 2018 20:30:09 +0000 (13:30 -0700)]
osd: Even when we are distrust data_digest, go ahead and set it when we can
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Wed, 25 Jul 2018 12:35:19 +0000 (05:35 -0700)]
osd: Fix digest if osd_distrust_data_digest set and replicas match each other
Fixes: https://tracker.ceph.com/issues/24949
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Fri, 20 Jul 2018 15:09:52 +0000 (08:09 -0700)]
osd: be_select_auth_object() gives chksum objectstore priority if osd_distrust_data_digest true
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Tue, 24 Jul 2018 16:40:24 +0000 (09:40 -0700)]
test: Add test for repair of bad object info data_digest on all copies
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit
67d9e44de6b52673a3e23d7fd7f2d66566f2268a )
David Zafman [Mon, 23 Jul 2018 23:02:25 +0000 (16:02 -0700)]
osd: Fix pg repair to handle object info data_digest mismatched, but replicas match each other.
Fixes: https://tracker.ceph.com/issues/25085
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit
61e995b2c1b866768151a405641463de067c210c )
David Zafman [Fri, 20 Jul 2018 19:31:56 +0000 (12:31 -0700)]
tools: Add testing feature "corrupt-info" to ceph-objectstore-tool
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit
8e9c08524da0cf465553f99b2e160e59abc8e84b )
Conflicts:
src/tools/ceph_objectstore_tool.cc (adjust for Luminous transactions)