]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Tue, 19 Jun 2018 12:15:53 +0000 (07:15 -0500)]
os/bluestore: use vector instead of set for zombies
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
ef34d2dc8f3dd40c8426b7373d13dae84f90ff73 )
Sage Weil [Mon, 18 Jun 2018 12:32:08 +0000 (07:32 -0500)]
os/bluestore: reuse zombie OpSequencers by collection id
We can get a sequence that deletes and then recreates a collection where
the transaction removing the collection is delayed (due to pending IO on
its sequencer) but colleciton create is not (new sequencer).
Avoid any such reordering by recycling the old collection's sequencer if
the zombie_osr has not been reaped yet.
Fixes: http://tracker.ceph.com/issues/24550
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
199a110c9e2a42be64bd7fd873b6b172ce1347a8 )
Sage Weil [Mon, 18 Jun 2018 20:35:38 +0000 (15:35 -0500)]
qa/suites/rados/objecstore/backends/objectstore: capture coredumps
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
55f390d0eb0c96cc563190371a35c41f103eb662 )
Sage Weil [Fri, 15 Jun 2018 19:13:14 +0000 (14:13 -0500)]
os/bluestore: more debug output
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
fd3036d2e186eb0299785c43aefe6f2ce88f244d )
Sage Weil [Thu, 14 Jun 2018 19:15:20 +0000 (14:15 -0500)]
os/bluestore: print cnode from _open_collections
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
b308b6b1554b3203e02e64e3963ef4901274f23f )
Sage Weil [Fri, 15 Jun 2018 15:41:25 +0000 (10:41 -0500)]
os/bluestore: print cnode on fsck
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
f3c89ef6e7ce313a2eda2136be5181735e5684d8 )
Sage Weil [Wed, 13 Jun 2018 11:55:18 +0000 (06:55 -0500)]
qa/suites/rados/objecstore: preserve data dir for ceph_test_objecstore
If we fail, preserve the data directory.
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
23dd6279bb518709b0719132d850c70b7fc554a8 )
Sage Weil [Sun, 10 Jun 2018 20:57:31 +0000 (15:57 -0500)]
os/bluestore: fix SharedBlobSet deregister race
In commit
8c8944b2c45ca9dc5b8fd4db1590e1d24206c0b3 we fixed one narrow race
and introduced a new (probably less narrow) one:
A: put shared blob foo, nref = 0, start removing self from set
B: open_shared_blob -> lookup gets nullptr (nref==null), creates a new shared blob
B: takes lock, sets sb_map[sbid] = newblob
A: gets lock, erases sb_map[sbid]
B: open_shared_blob -> lookup gets null, creates another new shared blob
Fix by only removing the sb_map entry for the nref=0 sb if it still points
to us. If it doesn't, that means some new blob has shown up in its place.
Fixes: http://tracker.ceph.com/issues/24319
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
345ea53bd30426d4e6159d0866497d5a8bf6f327 )
Boris Ranto [Tue, 19 Jun 2018 08:06:42 +0000 (10:06 +0200)]
Merge pull request #22341 from b-ranto/wip-branto-mgr-mimic
[mimic] Sync up ceph-mgr prometheus related changes
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Sage Weil [Mon, 18 Jun 2018 19:42:12 +0000 (14:42 -0500)]
Merge pull request #22224 from yuriw/wip-yuri-powercycle-mimic
mimic: qa/tests: added supported distro for powercycle suite
Lenz Grimmer [Fri, 15 Jun 2018 07:46:48 +0000 (09:46 +0200)]
Merge pull request #22468 from votdev/fix_rgw_create_key
mimic: mgr/dashboard: Fix bug when creating S3 keys
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Volker Theile [Fri, 8 Jun 2018 11:44:45 +0000 (13:44 +0200)]
mgr/dashboard: Fix bug when creating S3 keys
Currently a new subuser is created if a key is created for the main user. That's because the uid is set as subuser parameter, too.
To fix that the key's user name, e.g. test2 or test1:subuser2, must be splitted into its user and subuser parts.
Signed-off-by: Volker Theile <vtheile@suse.com>
Alfredo Deza [Wed, 13 Jun 2018 17:47:48 +0000 (13:47 -0400)]
Merge pull request #22515 from ceph/backport-mimic-21803
mimic: ceph-volume initial take on auto sub-command
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Andrew Schoen [Wed, 13 Jun 2018 16:06:13 +0000 (16:06 +0000)]
Merge pull request #22477 from alfredodeza/mimic-bluestore-no-meta-paths
mimic: os/bluestore: don't store/use path_block.{db,wal} from meta
Reviewed-by: Andrew Schoen <aschoen@redhat.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 )
Alfredo Deza [Fri, 8 Jun 2018 12:54:07 +0000 (08:54 -0400)]
ceph-volume util make chown links affect links as well as paths
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
7f79932f2c522da222a27c15182434914ca9a738 )
Alfredo Deza [Fri, 8 Jun 2018 12:57:54 +0000 (08:57 -0400)]
ceph-volume lvm.activate chown bluestore symlinks
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
2a0911d04cc1eeb19ea2e1d6069095f9e2af26fe )
Sage Weil [Fri, 8 Jun 2018 13:34:53 +0000 (08:34 -0500)]
os/bluestore: make bad symlink target error messages more informative
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
aea215103caf669c3e289cc07f978511d61f68b0 )
Sage Weil [Thu, 7 Jun 2018 17:12:46 +0000 (12:12 -0500)]
os/bluestore: don't store/use path_block.{db,wal} from meta
This reverts most of
8d07fa5ad0772b4d979dc10695d230074d1f1e69 .
ceph-volume goes to great lengths to ensure that the symlinks in the
osd dir are accurate. Having these values here is an opportunity to
get them out of sync. And that can happen very easily if the initial
mkfs was performed using a /dev/sdX device name (which is unstable
across reboots). Even after ceph-volume corrects the symlink, bluestore
will continue to use the stale device path.
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
ef510e43f0ee14b49e99beed9ae8feda6db3429a )
Alfredo Deza [Tue, 12 Jun 2018 21:05:25 +0000 (17:05 -0400)]
Merge pull request #22507 from ceph/backport-mimic-22437
mimic: ceph-volume tests destroy osds on monitor hosts
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Andrew Schoen [Tue, 12 Jun 2018 18:33:12 +0000 (18:33 +0000)]
Merge pull request #22535 from alfredodeza/mimic-cv-ansible-deps
mimic: ceph-volume tests.functional install new ceph-ansible dependencies
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Alfredo Deza [Mon, 21 May 2018 11:11:28 +0000 (07:11 -0400)]
ceph-volume tests.functional install new ceph-ansible dependencies
Make note that ceph-ansible's requirements.txt can't be used just yet
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
22310f43165e474e8e12732be57217b26e2b5424 )
Alfredo Deza [Tue, 12 Jun 2018 14:44:58 +0000 (10:44 -0400)]
Merge pull request #22529 from ceph/backport-mimic-22062
mimic: ceph-volume dmcrypt and activate --all documentation updates
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 17 May 2018 13:40:15 +0000 (09:40 -0400)]
doc/man/ceph-volume explain encryption and activate all with examples
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
0a4cebd1dda876cfc19fbfb97c668d4dae05097c )
Alfredo Deza [Thu, 17 May 2018 13:05:52 +0000 (09:05 -0400)]
doc/ceph-volume activate is able to use --all for existing OSDs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
d8b9a7c0745d6a901988a08a8218d9da585e5aa8 )
Alfredo Deza [Thu, 17 May 2018 12:46:03 +0000 (08:46 -0400)]
doc/ceph-volume encryption is enabled with the --dmcrypt flag
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
72cef7acf7a9a965960ec3c7c1b99ce8e7fa3922 )
Alfredo Deza [Thu, 17 May 2018 12:45:26 +0000 (08:45 -0400)]
doc/ceph-volume prepapre accepts a --dmcrypt flag
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
e97d0717d323a08a46aa997c63d2416da7e4941f )
Alfredo Deza [Thu, 17 May 2018 12:44:41 +0000 (08:44 -0400)]
doc/ceph-volume activate does not need a dmcrypt flag
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
ac0c925c576868107e585ba458fbff956467bccb )
Alfredo Deza [Tue, 12 Jun 2018 13:25:09 +0000 (09:25 -0400)]
Merge pull request #22508 from ceph/backport-mimic-22426
mimic: ceph-volume expand on the LVM API to create multiple LVs at different sizes
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 12 Jun 2018 10:46:20 +0000 (06:46 -0400)]
Merge pull request #22514 from ceph/backport-mimic-21890
mimic: ceph-volume describe better the options for migrating away from ceph-disk
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 8 May 2018 17:48:20 +0000 (13:48 -0400)]
doc/rados add an anchor to reference replacing osds
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
0cc7bdc67ae3f2b1aeab8cc6046b6d172915e548 )
Alfredo Deza [Tue, 8 May 2018 17:47:48 +0000 (13:47 -0400)]
doc/ceph-volume describe the options for migrating away from ceph-disk
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
537ff9cc3b64c59f9dbb81ac3cf180460ecaa3f3 )
Alfredo Deza [Tue, 8 May 2018 17:47:11 +0000 (13:47 -0400)]
doc/ceph-volume high-level description of simple activate at index.rst
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
dd6f368158db7f102b485179166ebe73d6ea622f )
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 )
Alfredo Deza [Wed, 6 Jun 2018 15:37:21 +0000 (11:37 -0400)]
ceph-volume tests functional osd destroy on mons only for dmcrypt
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
953c7ef54925059e6de75c2e11d9d40d909bbbca )
Alfredo Deza [Wed, 6 Jun 2018 13:02:42 +0000 (09:02 -0400)]
ceph-volume tests/functional destroy filestore osds on the monitors
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
41277c65b4c745523e3a83bba00eea3482df4100 )
Alfredo Deza [Wed, 6 Jun 2018 12:59:34 +0000 (08:59 -0400)]
ceph-volume tests/functional destroy bluestore osds on the monitors
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
b665e1caa70a8a4b5a8c972b769bf33d5d6edde4 )
Andrew Schoen [Fri, 8 Jun 2018 18:42:48 +0000 (18:42 +0000)]
Merge pull request #22425 from alfredodeza/mimic-rm24417
mimic: ceph-volume tests do not include admin keyring in OSD nodes
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Lenz Grimmer [Fri, 8 Jun 2018 12:57:40 +0000 (14:57 +0200)]
Merge pull request #22449 from wido/mimic-dashboard-port
mimic: mgr/dashboard: Listen on port 8443 by default and not 8080
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Wido den Hollander [Tue, 5 Jun 2018 07:32:58 +0000 (09:32 +0200)]
mgr/dashboard: Listen on port 8443 by default and not 8080
Port 8080 is a common alternative HTTP port used for web traffic.
The dashboard however uses SSL (which can not be turned off) and for
that purpose we should use 8443.
Signed-off-by: Wido den Hollander <wido@42on.com>
(cherry picked from commit
b7cc66e809e9f15b211adef5bac369c32a4bacaa )
Signed-off-by: Wido den Hollander <wido@42on.com>
Andrew Schoen [Tue, 5 Jun 2018 19:01:34 +0000 (19:01 +0000)]
Merge pull request #22398 from alfredodeza/mimic-rm24416
mimic ceph-volume lvm.activate Do not search for a MON configuration
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
David Zafman [Tue, 5 Jun 2018 18:10:58 +0000 (11:10 -0700)]
Merge pull request #22374 from dzafman/wip-scrub-omap-mimic
Reviewed-by: Kefu Chai <kchai@redhat.com>
Boris Ranto [Tue, 5 Jun 2018 11:58:00 +0000 (13:58 +0200)]
mgr: expose avg data for long running avgs
While exposing the long running avgs, the order of regular and long
running avg data got mixed up resulting in exposing empty data for both
since there is no regular data for long running avgs and vice versa.
This commit fixes this issue by changing the order of the if/else
statement exposing regular data for regular counters and avg data for
long running avgs.
Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit
2042c6c27beb504454daaaf185b9ce8f04d679d9 )
Alfredo Deza [Mon, 4 Jun 2018 20:01:15 +0000 (16:01 -0400)]
ceph-volume tests do not include admin keyring in OSD nodes
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit
08760632743040520588e1bc03adc17746ff2eca )
Wido den Hollander [Mon, 4 Jun 2018 11:21:12 +0000 (13:21 +0200)]
ceph-volume lvm.activate Do not search for a MON configuration
This system might not have one nor can we be sure that we have
a client.admin keyring on the system.
Just prime the directory and have the OSD then use it's own cephx
key to communicate with the MONs.
Signed-off-by: Wido den Hollander <wido@42on.com>
(cherry picked from commit
722d79d16a0da042bbc189709efd3eeff1366558 )
Kefu Chai [Mon, 4 Jun 2018 13:54:06 +0000 (21:54 +0800)]
Merge pull request #22372 from tchaikov/mimic-schedule-links
mimic: doc: fix the links in releases/schedule.rst
Reviewed-by: Sage Weil <sage@redhat.com>
Lenz Grimmer [Mon, 4 Jun 2018 09:53:31 +0000 (11:53 +0200)]
Merge pull request #22274 from votdev/fix_table_pagination_style_mimic
mimic: mgr/dashboard: Fix some datatable CSS issues
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
David Zafman [Wed, 30 May 2018 23:22:40 +0000 (16:22 -0700)]
Revert "qa/standalone/scrub/osd-scrub-repair.sh: drop omap_digest flag"
This reverts commit
886606bfd76b3f327b9376c4cc3875ae4991365a .
Signed-off-by: David Zafman <dzafman@redhat.com>
Conflicts:
qa/standalone/scrub/osd-scrub-repair.sh (manually made equivalent changes)
(cherry picked from commit
843598b69ba0c6dd3532b4cf3e75475189a3f45d )
David Zafman [Thu, 31 May 2018 00:18:03 +0000 (17:18 -0700)]
osd: Handle omap and data digests independently
Caused by:
be078c8b7b131764caa28bc44452b8c5c2339623
The original attempt above to fix the omap_digest handling when
data_digest isn't present had 2 errors. First, it checked
is_data_digest() and is_omap_digest() instead of digest_present and
omap_digest_present which indicate the source digest is available.
Second, MAYBE could only be set if both digests are available.
Fixes: http://tracker.ceph.com/issues/24366
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit
01f9669928abd571e14421a51a749d44fa041337 )
Sage Weil [Fri, 1 Jun 2018 14:59:19 +0000 (09:59 -0500)]
Merge pull request #22299 from tchaikov/mimic-pr-22286
mimic: cmake: enable RTTI for both debug and release RocksDB builds
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Kefu Chai [Fri, 1 Jun 2018 07:53:32 +0000 (15:53 +0800)]
doc: fix the links in releases/schedule.rst
they were broken in
e37e49b2
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit
27aac7c36cbf9d28ceb81d037de8d9a13ca46564 )
Kefu Chai [Fri, 1 Jun 2018 08:05:16 +0000 (16:05 +0800)]
doc: fix some redirected links reported by "build-doc linkcheck"
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit
776329abe17987bcc021dac2b444fc7ab24c1b28 )
David Zafman [Wed, 30 May 2018 18:47:04 +0000 (11:47 -0700)]
cleanup: Remove debug option osd_debug_scrub_chance_rewrite_digest
This option seems pointless and there are no test cases that use it.
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit
6adeaed32f70923d012bf9410bfa8651694be3cf )
Jenkins Build Slave User [Thu, 31 May 2018 13:13:43 +0000 (13:13 +0000)]
13.2.0
Sage Weil [Thu, 31 May 2018 11:44:51 +0000 (06:44 -0500)]
Merge pull request #22309 from ukernel/mimic-24340
mimic: mds: fix some memory leak
Sage Weil [Thu, 31 May 2018 11:44:41 +0000 (06:44 -0500)]
Merge pull request #22322 from ukernel/mimic-24345
mimic: mds: properly journal root inode's snaprealm
Boris Ranto [Tue, 29 May 2018 21:32:48 +0000 (23:32 +0200)]
dashboard: Return float if rate not available
This fixes a test case issue when some of the data might not be
available during the test, yet. The test expects the second value to be
JFloat but that fails because get_rates return an int in that case.
Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit
58ffd146261586b5598c946fd730df0b223294e7 )
Boris Ranto [Tue, 22 May 2018 20:51:04 +0000 (22:51 +0200)]
doc/prometheus: Mention the long running avg types
Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit
7f468f4d51a23d61063f28c46b5e247c5a309762 )
Boris Ranto [Wed, 16 May 2018 15:59:59 +0000 (17:59 +0200)]
prometheus: Expose sum/count pairs for avgs
This patch exposes the long running avgs as sum/count pairs in the
prometheus exporter module.
Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit
674118b6f6ea925942bd7944946e45067c518790 )
Boris Ranto [Tue, 15 May 2018 09:05:22 +0000 (11:05 +0200)]
mgr_module: Deal with long running avgs properly
We have recently started exposing long running avgs with the mgr python
modules but that only covers the total sum, not the avgcount.
With this patch, the counts for long running avgs are exposed to the
python modules allowing them to deal with the new data.
Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit
f79ff11302a0364c04601b5ccd3950d80cd063a8 )
Boris Ranto [Tue, 15 May 2018 08:27:53 +0000 (10:27 +0200)]
mgr: Expose avgcount for long running avgs
This provides a basic interface to export avg count for long running
averages.
Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit
1164ef2f32d81d4f35623c3f6a77af2b6871f962 )
Boris Ranto [Wed, 16 May 2018 16:59:27 +0000 (18:59 +0200)]
filestore: Raise the priority of two counters
This raises the priority of
- journal_latency
- queue_transacation_latency_avg
so that they are exposed to the ceph-mgr python modules and could be
used there.
Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit
ec2a367e492bec848e16e009a79c6dc402e054e3 )
Boris Ranto [Tue, 22 May 2018 10:04:20 +0000 (12:04 +0200)]
prometheus: Fix order of occupation values
When we merged the PR to unify the metadata labels, we forgot to switch
the order of hostname and disk in ceph_disk_occupation metric.
Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit
b5f16367eae097cb5994edb6f700a44a9c55504d )
Boris Ranto [Wed, 2 May 2018 21:32:35 +0000 (23:32 +0200)]
prometheus: Expose number of degraded/misplaced/unfound objects
These come from the pg dump by polling the pg_stas_sum.
Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit
df48a34778968ab7141a20e5ade446e2ce3ffd32 )
Boris Ranto [Thu, 3 May 2018 12:25:30 +0000 (14:25 +0200)]
mgr: Expose pg_sum in pg_summary
Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit
6f2a85e3b312dc60b009bcb509f5983905e802e5 )
Abhishek L [Wed, 30 May 2018 15:14:34 +0000 (17:14 +0200)]
Merge pull request #22326 from jan--f/cmake-fix-ceph-test-build-mimic
mimic: cmake: fix cython target in test/CMakeFile.txt
Reviewed-By: Kefu Chai <kchai@redhat.com>
Jan Fajerski [Tue, 29 May 2018 12:29:41 +0000 (14:29 +0200)]
cmake: fix cython target in test/CMakeFile.txt
The cython target is called cython_modules in python2 environments and
cython3_modules in python3 environments. Reflect that naming in
src/test/CMakeFile.txt. Otherwise the test target can not build in
python3 environments.
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
(cherry picked from commit
743b9108c0f217ef6eeaadf645a538991e7d5eff )
Conflicts:
src/test/CMakeLists.txt - Resovled by changing line 548 to
"cython${PY_BINDING_INFIX}_modules)" and picking no other changes.
Abhishek L [Wed, 30 May 2018 13:42:19 +0000 (15:42 +0200)]
Merge pull request #22314 from jan--f/mimic-move-crypto_plugins
mimic: cmake: move crypto_plugins target
Reviewed-By: Kefu Chai <kchai@redhat.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Yan, Zheng [Wed, 30 May 2018 11:26:09 +0000 (19:26 +0800)]
mds: properly journal root inode's snaprealm
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: http://tracker.ceph.com/issues/24343
(cherry picked from commit
4f5029bdcc598731603918f4a8378b6e00375ca6 )
Casey Bodley [Tue, 8 May 2018 18:22:42 +0000 (14:22 -0400)]
cmake: move crypto_plugins target
the crypto_plugins target was defined in
src/crypto/isa-l/CMakeLists.txt, but this is only included
if(HAVE_INTEL AND HAVE_BETTER_YASM_ELF64 AND (NOT APPLE))
moving it out of the if() block allows the os target to depend on it
even if no plugins are built
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
61516bcfac4dff53d0e24f6c4623127465c46d9d )
Yan, Zheng [Wed, 30 May 2018 03:23:25 +0000 (11:23 +0800)]
mds: fix leak of MDSCacheObject::waiting
Fixes: http://tracker.ceph.com/issues/24289
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit
8f3c8bf6eafd3545c3c786b8520e8ff2c40af2a0 )
Yan, Zheng [Fri, 25 May 2018 08:11:30 +0000 (16:11 +0800)]
mds: fix some memory leak
Fixes: http://tracker.ceph.com/issues/24289
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit
e7c149b93dc384ee4a2c8250c502548d12535123 )
Igor Fedotov [Mon, 28 May 2018 20:00:42 +0000 (23:00 +0300)]
cmake: enable RTTI for both debug and release RocksDB builds
Overwise ceph build in Release mode is failing.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
(cherry picked from commit
83841bf3de4f664df1c5b1b7997861acf2ede767 )
Kefu Chai [Tue, 29 May 2018 12:45:19 +0000 (20:45 +0800)]
Merge pull request #22288 from tchaikov/mimic-24321
mimic: qa: wait longer for osd to flush pg stats
Reviewed-by: Sage Weil <sage@redhat.com>
Lenz Grimmer [Tue, 29 May 2018 10:04:17 +0000 (12:04 +0200)]
Merge pull request #22262 from a2batic/link-mimic
mimic: mgr/dashboard: Fixes documentation link- to open in new tab
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Abhishek L [Tue, 29 May 2018 08:49:23 +0000 (10:49 +0200)]
Merge pull request #22264 from liewegas/wip-mimic
ceph_release: s/rc/stable/
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Kefu Chai [Tue, 29 May 2018 05:10:30 +0000 (13:10 +0800)]
Merge pull request #22277 from tspmelo/fix-lint-error
mgr/dashboard: fix linting problem
Reviewed-by: Kanika Murarka <murarkakanika@gmail.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 28 May 2018 11:37:44 +0000 (19:37 +0800)]
qa: wait longer for osd to flush pg stats
pg sends pg-stats to mgr every 5 seconds, so we cannot check for the
number of pgs right after creating the pool, at that moment, the number
of pgs could be 0, that's why manger.wait_for_clean() returns right
away, and leaves us with 0 pgs: the pgs serving the pool are still being
created. that's why `manager.get_num_active_clean()` returns `0`
sometimes. so, we should force osd to flush their stats to mgr, and wait
until the pg stats converages.
Fixes: http://tracker.ceph.com/issues/24321
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit
380747268a1e4a3e8db618d66006c104091fafd5 )
Kefu Chai [Mon, 28 May 2018 14:53:01 +0000 (22:53 +0800)]
Merge pull request #22184 from tchaikov/mimic-23464
mimic: common/crc/aarch64: Added cpu feature pmull and make aarch64 specific…
Reviewed-by: Sage Weil <sage@redhat.com>