]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agodoc/man: improve bluefs-bdev-expand option 32590/head
Kefu Chai [Fri, 10 Jan 2020 09:29:35 +0000 (17:29 +0800)]
doc/man: improve bluefs-bdev-expand option

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #32532 into master
Patrick Donnelly [Thu, 9 Jan 2020 20:24:28 +0000 (12:24 -0800)]
Merge PR #32532 into master

* refs/pull/32532/head:
qa: only restart MDS between tests

Reviewed-by: Jos Collin <jcollin@redhat.com>
5 years agoMerge pull request #31834 from yuvalif/wip-yuval-add-kafka-security2
Casey Bodley [Thu, 9 Jan 2020 20:06:13 +0000 (15:06 -0500)]
Merge pull request #31834 from yuvalif/wip-yuval-add-kafka-security2

rgw/kafka: add ssl+sasl security to kafka

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
5 years agoMerge pull request #32462 from alimaredia/wip-s3-tests-branch-override-remove
Casey Bodley [Thu, 9 Jan 2020 19:48:44 +0000 (14:48 -0500)]
Merge pull request #32462 from alimaredia/wip-s3-tests-branch-override-remove

qa: remove force-branch from overrides of s3-tests

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge PR #32533 into master
Patrick Donnelly [Thu, 9 Jan 2020 19:13:53 +0000 (11:13 -0800)]
Merge PR #32533 into master

* refs/pull/32533/head:
qa: fix various py3 cephfs qa bugs x2

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
5 years agoMerge PR #32507 into master
Patrick Donnelly [Thu, 9 Jan 2020 19:12:32 +0000 (11:12 -0800)]
Merge PR #32507 into master

* refs/pull/32507/head:
qa: detect RHEL8 for yum package installation

Reviewed-by: Rishabh Dave <ridave@redhat.com>
5 years agoMerge pull request #30257 from ligangbin117/wip-ligangbin-rgw-data-error
Casey Bodley [Thu, 9 Jan 2020 18:48:59 +0000 (13:48 -0500)]
Merge pull request #30257 from ligangbin117/wip-ligangbin-rgw-data-error

rgw:[bug] fix data consistency error casued by rgw sent timeout

Reviewed-by: Yuli Yang <yuliyang@cmss.chinamobile.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #31346 from zhangsw/fix-rgw-orphan-error-handle
Abhishek L [Thu, 9 Jan 2020 15:27:13 +0000 (16:27 +0100)]
Merge pull request #31346 from zhangsw/fix-rgw-orphan-error-handle

rgw: build_linked_oids_for_bucket and build_buckets_instance_index should return negative value if it fails

Reviewed-By: Casey Bodley <cbodley@redhat.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
5 years agoMerge pull request #32575 from tchaikov/wip-43227
Kefu Chai [Thu, 9 Jan 2020 15:23:15 +0000 (23:23 +0800)]
Merge pull request #32575 from tchaikov/wip-43227

qa/tasks/mgr/dashboard: set pg_num to 16

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agoMerge pull request #32572 from varshar16/wip-admin-build-doxgen-typo
Kefu Chai [Thu, 9 Jan 2020 13:00:13 +0000 (21:00 +0800)]
Merge pull request #32572 from varshar16/wip-admin-build-doxgen-typo

admin/build-doc: Fix doxygen typo

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoqa/tasks/mgr/dashboard: set pg_num to 16 32575/head
Kefu Chai [Thu, 9 Jan 2020 12:52:26 +0000 (20:52 +0800)]
qa/tasks/mgr/dashboard: set pg_num to 16

as the default pg_num is now 16 since 78bf9244, and the minimum pg_num
is also 16 in autoscaler since 78bf9244.

Fixes: https://tracker.ceph.com/issues/43227
Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #32234 from votdev/better_orch_exception
Tatjana Dehler [Thu, 9 Jan 2020 12:41:43 +0000 (13:41 +0100)]
Merge pull request #32234 from votdev/better_orch_exception

mgr/dashboard: Throw a more meaningful exception

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agoadmin/build-doc: Fix doxygen typo 32572/head
Varsha Rao [Thu, 9 Jan 2020 11:44:47 +0000 (17:14 +0530)]
admin/build-doc: Fix doxygen typo

Signed-off-by: Varsha Rao <varao@redhat.com>
5 years agoMerge pull request #32551 from theanalyst/doc/releases/14.2.6
Abhishek L [Thu, 9 Jan 2020 10:24:03 +0000 (11:24 +0100)]
Merge pull request #32551 from theanalyst/doc/releases/14.2.6

doc: release notes for v14.2.6

Reviewed-By: Josh Durgin <jdurgin@redhat.com>
Reviewed-By: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #32564 from tchaikov/wip-cmake-radosgwd
Kefu Chai [Thu, 9 Jan 2020 09:30:28 +0000 (17:30 +0800)]
Merge pull request #32564 from tchaikov/wip-cmake-radosgwd

cmake: let vstart depend on radosgwd

Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agocmake: let vstart depend on radosgwd 32564/head
Kefu Chai [Thu, 9 Jan 2020 07:35:57 +0000 (15:35 +0800)]
cmake: let vstart depend on radosgwd

in f528f173, in cmake, the target of executable "radosgw" is renamed
to "radosgwd",  and the static library of "radosgw_a" was renamed to
"radosgw". this broke the tests which expected radosgw to be available
if "tests" was built.

in this change, both "vstart" and "tests" now depend on "radosgwd"
instead of "radosgw".

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agodoc: update release table with 14.2.6 32551/head
Abhishek Lekshmanan [Wed, 8 Jan 2020 15:51:50 +0000 (16:51 +0100)]
doc: update release table with 14.2.6

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agodoc: releases: release notes for v14.2.6 nautilus
Abhishek Lekshmanan [Wed, 8 Jan 2020 15:51:32 +0000 (16:51 +0100)]
doc: releases: release notes for v14.2.6 nautilus

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agoMerge PR #32508 into master
Patrick Donnelly [Wed, 8 Jan 2020 15:29:42 +0000 (07:29 -0800)]
Merge PR #32508 into master

* refs/pull/32508/head:
doc: remove reference to obsolete scrub command

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #32535 into master
Patrick Donnelly [Wed, 8 Jan 2020 15:27:06 +0000 (07:27 -0800)]
Merge PR #32535 into master

* refs/pull/32535/head:
qa: define centos version for fs:verify

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #32517 from tchaikov/wip-mon-tell-command
Kefu Chai [Wed, 8 Jan 2020 14:15:14 +0000 (22:15 +0800)]
Merge pull request #32517 from tchaikov/wip-mon-tell-command

mon: should not take non-tell commands as tell ones

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #32539 from tchaikov/wip-debian-librgw
Kefu Chai [Wed, 8 Jan 2020 14:10:38 +0000 (22:10 +0800)]
Merge pull request #32539 from tchaikov/wip-debian-librgw

debian/radosgw.install: correct path to libradosgw.so*

Reviewed-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
5 years agoMerge pull request #32331 from smithfarm/wip-spec-drop-vim-header
Nathan Cutler [Wed, 8 Jan 2020 13:51:33 +0000 (14:51 +0100)]
Merge pull request #32331 from smithfarm/wip-spec-drop-vim-header

rpm: drop vim-specific header

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agorgw/pubsub: add ssl+sasl security to kafka 31834/head
Yuval Lifshitz [Sun, 3 Nov 2019 18:58:58 +0000 (20:58 +0200)]
rgw/pubsub: add ssl+sasl security to kafka

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
5 years agoMerge pull request #32461 from s0nea/wip-dashboard-fix-user-test
Kefu Chai [Wed, 8 Jan 2020 03:40:42 +0000 (11:40 +0800)]
Merge pull request #32461 from s0nea/wip-dashboard-fix-user-test

mgr/dashboard: fix failing user test

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #32537 into master
Patrick Donnelly [Wed, 8 Jan 2020 03:33:33 +0000 (19:33 -0800)]
Merge PR #32537 into master

* refs/pull/32537/head:
Switch spelling of utilization

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agodebian/radosgw.install: correct path to libradosgw.so* 32539/head
Kefu Chai [Wed, 8 Jan 2020 03:20:33 +0000 (11:20 +0800)]
debian/radosgw.install: correct path to libradosgw.so*

it was a regression introduced by f528f173e4

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoqa: only restart MDS between tests 32532/head
Patrick Donnelly [Tue, 7 Jan 2020 20:51:38 +0000 (12:51 -0800)]
qa: only restart MDS between tests

"fs fail" will only fail the MDS that are part of the file system which
will generally allow us to avoid spurious MDS_INSUFFICIENT_STANDBY
warnings. Further, only restart the MDS, there's no reason to leave them
offline.

Fixes: https://tracker.ceph.com/issues/43514
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoSwitch spelling of utilization 32537/head
Bryan Stillwell [Tue, 7 Jan 2020 23:57:36 +0000 (16:57 -0700)]
Switch spelling of utilization

Prefer the non-British spelling of utilization since that's what the majority
of the code base seems to use.

Signed-off-by: Bryan Stillwell <bstillwell@godaddy.com>
5 years agodoc: remove reference to obsolete scrub command 32508/head
Patrick Donnelly [Mon, 6 Jan 2020 20:01:35 +0000 (12:01 -0800)]
doc: remove reference to obsolete scrub command

Fixes: e9a5ce0897efc6126caeebea9900bf05ec3d2174
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #30802 into master
Patrick Donnelly [Tue, 7 Jan 2020 22:11:16 +0000 (14:11 -0800)]
Merge PR #30802 into master

* refs/pull/30802/head:
cephfs-shell: Modify Quota Test
cephfs-shell: Fix permission errors on quota tests
cephfs-shell: Add tests for quota
cephfs-shell: Print max_bytes and max_files as string on get Quota
cephfs-shell: Remove extra length argument passed to setxattr()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
5 years agoMerge PR #32347 into master
Patrick Donnelly [Tue, 7 Jan 2020 22:09:29 +0000 (14:09 -0800)]
Merge PR #32347 into master

* refs/pull/32347/head:
cephfs-shell: set shell.exit_code to 1 when reading conf fails
cephfs-shell: cephfs-shell breaks when conf_get() returns None
cephfs-shell: use libcephfs for exceptions
cephfs-shell: fix incorrect use of str.strip

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #32459 into master
Patrick Donnelly [Tue, 7 Jan 2020 22:08:41 +0000 (14:08 -0800)]
Merge PR #32459 into master

* refs/pull/32459/head:
qa/tasks: Nothing to clean up if the volume was not created
mgr/volumes: drop obsolete comment in _cmd_fs_volume_create
mgr/volumes: cleanup on fs create error

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #32318 into master
Patrick Donnelly [Tue, 7 Jan 2020 21:59:08 +0000 (13:59 -0800)]
Merge PR #32318 into master

* refs/pull/32318/head:
mds: don't add metadata to session close message

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #31250 into master
Patrick Donnelly [Tue, 7 Jan 2020 21:57:48 +0000 (13:57 -0800)]
Merge PR #31250 into master

* refs/pull/31250/head:
mds: Reorganize class members in MDSTableServer header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #31481 into master
Patrick Donnelly [Tue, 7 Jan 2020 21:57:03 +0000 (13:57 -0800)]
Merge PR #31481 into master

* refs/pull/31481/head:
mds: Reorganize struct members in Mutation header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #32452 into master
Patrick Donnelly [Tue, 7 Jan 2020 21:56:11 +0000 (13:56 -0800)]
Merge PR #32452 into master

* refs/pull/32452/head:
cephfs-journal-tool: fix the usage
cephfs-journal-tool: fix crash with empty argv

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoqa: detect RHEL8 for yum package installation 32507/head
Patrick Donnelly [Mon, 6 Jan 2020 19:46:56 +0000 (11:46 -0800)]
qa: detect RHEL8 for yum package installation

Fixes: https://tracker.ceph.com/issues/43487
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #32510 into master
Patrick Donnelly [Tue, 7 Jan 2020 21:52:36 +0000 (13:52 -0800)]
Merge PR #32510 into master

* refs/pull/32510/head:
mon: use non-obsolete mon scrub cmd

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoqa: define centos version for fs:verify 32535/head
Patrick Donnelly [Tue, 7 Jan 2020 21:20:00 +0000 (13:20 -0800)]
qa: define centos version for fs:verify

Otherwise it uses the teuthology default of 7.6.

Fixes: https://tracker.ceph.com/issues/43516
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoqa: fix various py3 cephfs qa bugs x2 32533/head
Patrick Donnelly [Tue, 7 Jan 2020 21:04:32 +0000 (13:04 -0800)]
qa: fix various py3 cephfs qa bugs x2

Fixes: https://tracker.ceph.com/issues/43515
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge pull request #32247 from dzafman/wip-43307
David Zafman [Tue, 7 Jan 2020 18:41:37 +0000 (10:41 -0800)]
Merge pull request #32247 from dzafman/wip-43307

Remove use of rules batching for upmap balancer and default for upmap_max_deviation to 5

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #32412 from tchaikov/wip-spec-more-deps-for-el8
Kefu Chai [Tue, 7 Jan 2020 14:53:14 +0000 (22:53 +0800)]
Merge pull request #32412 from tchaikov/wip-spec-more-deps-for-el8

ceph.spec.in: re-enable "make check" deps for el8

Reviewed-by: Alfredo Deza <adeza@redhat.com>
5 years agoMerge pull request #32483 from trociny/wip-pool_replayer-print_status
Jason Dillaman [Tue, 7 Jan 2020 13:27:26 +0000 (08:27 -0500)]
Merge pull request #32483 from trociny/wip-pool_replayer-print_status

rbd-mirror: fix "pool replayer status" for case when init failed

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #32463 from trociny/wip-unlink-peer
Jason Dillaman [Tue, 7 Jan 2020 13:27:07 +0000 (08:27 -0500)]
Merge pull request #32463 from trociny/wip-unlink-peer

librbd: when unlinking peer from mirror snaps do it in all namespaces

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #32456 from trociny/wip-43428
Jason Dillaman [Tue, 7 Jan 2020 13:25:58 +0000 (08:25 -0500)]
Merge pull request #32456 from trociny/wip-43428

rbd-mirror: make logrotate work

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #32404 from kalebskeithley/master
Daniel Gryniewicz [Tue, 7 Jan 2020 13:05:21 +0000 (08:05 -0500)]
Merge pull request #32404 from kalebskeithley/master

rgw: build radosgw daemon as a shared lib + small executable

5 years agoMerge pull request #32494 from ronen-fr/clang_3 31739/head
Kefu Chai [Tue, 7 Jan 2020 12:45:40 +0000 (20:45 +0800)]
Merge pull request #32494 from ronen-fr/clang_3

crimson: fix lambda captures of non-variables

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agomgr/dashboard: fix failing user tests 32461/head
Tatjana Dehler [Thu, 2 Jan 2020 12:22:48 +0000 (13:22 +0100)]
mgr/dashboard: fix failing user tests

Choose another future_date_1 date (9 days instead of 10) to
make sure the expiration date will be between future_date_1
and future_date_2. Otherwise the expiration date might be
equal to future_date_1.
Also wait for 10 seconds before the password refresh in
test_pwd_expiration_date_update to prevent date equality.

Fixes: https://tracker.ceph.com/issues/43431
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
5 years agoMerge pull request #32499 from sebastian-philipp/orchestrator-cli-mon-update-count...
Kefu Chai [Tue, 7 Jan 2020 10:52:26 +0000 (18:52 +0800)]
Merge pull request #32499 from sebastian-philipp/orchestrator-cli-mon-update-count-only

mgr/orchestrator_cli: _update_mons require host spec only

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agocrimson: fix lambda captures of non-variables 32494/head
Ronen Friedman [Mon, 6 Jan 2020 07:46:49 +0000 (09:46 +0200)]
crimson: fix lambda captures of non-variables

One cannot just capture a structured binding "non-variable".
(From the C++ standard, $8.4.5.2:
"If a lambda-expression [...] captures a structured binding (explicitly or implicitly),
the program is ill-formed.")

Co-authored-by: Kefu Chai <kchai@redhat.com>
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
5 years agoMerge pull request #32376 from idryomov/wip-krbd-fsx-object-map
Ilya Dryomov [Tue, 7 Jan 2020 10:32:26 +0000 (11:32 +0100)]
Merge pull request #32376 from idryomov/wip-krbd-fsx-object-map

qa/suites/krbd: fsx with object-map and fast-diff

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #32518 from tchaikov/wip-orchestrator-service-action-tests
Kefu Chai [Tue, 7 Jan 2020 09:44:10 +0000 (17:44 +0800)]
Merge pull request #32518 from tchaikov/wip-orchestrator-service-action-tests

qa/tasks/mgr/test_orchestrator_cli: fix service action tests

Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agomgr/rook: Add some more type annotations 32499/head
Sebastian Wagner [Mon, 6 Jan 2020 13:08:42 +0000 (14:08 +0100)]
mgr/rook: Add some more type annotations

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/orchestrator_cli: _update_mons require host spec only
Sebastian Wagner [Mon, 6 Jan 2020 13:07:55 +0000 (14:07 +0100)]
mgr/orchestrator_cli: _update_mons require host spec only

* `mgr/cephadm` requres a host spec right now
* `mgr/rook` only supports `spec.count` right now

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #32496 from majianpeng/osd-remove-unused-func2
Kefu Chai [Tue, 7 Jan 2020 08:40:16 +0000 (16:40 +0800)]
Merge pull request #32496 from majianpeng/osd-remove-unused-func2

osd/OSD: remove unused func enqueue_peering_evt_front

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #32484 from bzed/bluefs-use-uint64_t-for-len
Kefu Chai [Tue, 7 Jan 2020 08:38:04 +0000 (16:38 +0800)]
Merge pull request #32484 from bzed/bluefs-use-uint64_t-for-len

os/bluestore/Blue(FS|Store): uint64_t alloc_size

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #32473 from sseshasa/fix-mon-autotune-update
Kefu Chai [Tue, 7 Jan 2020 08:32:41 +0000 (16:32 +0800)]
Merge pull request #32473 from sseshasa/fix-mon-autotune-update

mon/OSDMonitor: Don't update mon cache settings if rocksdb is not used

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #28921 from rzarzynski/wip-msgr-drop-0c
Kefu Chai [Tue, 7 Jan 2020 08:31:49 +0000 (16:31 +0800)]
Merge pull request #28921 from rzarzynski/wip-msgr-drop-0c

msg/async: drop zero_copy_read() & co from ConnectedSocket.

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #32112 from hjwsm1989/wip-42706
Kefu Chai [Tue, 7 Jan 2020 08:30:37 +0000 (16:30 +0800)]
Merge pull request #32112 from hjwsm1989/wip-42706

test/librados: don't release handler if set_pg_num failed

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #32428 from tchaikov/wip-qa-mgr-mon-update
Kefu Chai [Tue, 7 Jan 2020 08:29:34 +0000 (16:29 +0800)]
Merge pull request #32428 from tchaikov/wip-qa-mgr-mon-update

qa/tasks/mgr/test_orchestrator_cli: fix "mon update" test

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge pull request #31929 from majianpeng/msg-async-bugfix
Kefu Chai [Tue, 7 Jan 2020 08:28:30 +0000 (16:28 +0800)]
Merge pull request #31929 from majianpeng/msg-async-bugfix

msg/async: update refcount and perf counter properly

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoqa/tasks/mgr/test_orchestrator_cli: fix service action tests 32518/head
Kefu Chai [Tue, 7 Jan 2020 07:58:56 +0000 (15:58 +0800)]
qa/tasks/mgr/test_orchestrator_cli: fix service action tests

in b77f0c74a5213ee57de19d21c930b2f3c872a1c4, "reload"
service[-instance] action was dropped. so replace "reload" with
"restart" in the related tests.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agomon: should not take non-tell commands as tell ones 32517/head
Kefu Chai [Tue, 7 Jan 2020 07:36:52 +0000 (15:36 +0800)]
mon: should not take non-tell commands as tell ones

this change addresses a regression introduced by a2c34794dc. in which, a
new flag, 'FLAG_TELL' was added. and it's used to check if a command is
"TELL" command. if it is, it's added to the tell/asok command registry
and monitor will handle the commands in this registry using asok hooks.

but there are some commands whose flag is "HIDDEN". and after
a2c34794dc, is_tell() takes HIDDEN commands as TELL command. that's why
`ceph_test_admin_socket_output --all` fails. because, "mds freeze" is
now wrongly considered as a TELL command. but monitor is not able to
handle is using the asok hooks.

after this change, is_tell() will not mistake "mds freeze" as a TELL
command anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agotest: Sort pool list because the order isn't guaranteed from "balancer pool ls" 32247/head
David Zafman [Fri, 20 Dec 2019 21:46:34 +0000 (13:46 -0800)]
test: Sort pool list because the order isn't guaranteed from "balancer pool ls"

Signed-off-by: David Zafman <dzafman@redhat.com>
5 years agomgr: Change default upmap_max_deviation to 5
David Zafman [Sat, 14 Dec 2019 01:43:44 +0000 (17:43 -0800)]
mgr: Change default upmap_max_deviation to 5

Fixes: https://tracker.ceph.com/issues/43312
Signed-off-by: David Zafman <dzafman@redhat.com>
5 years agoosdmaptool: Add --upmap-active to simulate active upmap balancing
David Zafman [Wed, 18 Dec 2019 19:27:02 +0000 (11:27 -0800)]
osdmaptool: Add --upmap-active to simulate active upmap balancing

Signed-off-by: David Zafman <dzafman@redhat.com>
5 years agodoc: Add upmap options to osdmaptool man page and give example
David Zafman [Wed, 18 Dec 2019 03:38:51 +0000 (19:38 -0800)]
doc: Add upmap options to osdmaptool man page and give example

Signed-off-by: David Zafman <dzafman@redhat.com>
5 years agotools: osdmaptool document non-upmap options that were missing
David Zafman [Wed, 18 Dec 2019 01:35:14 +0000 (17:35 -0800)]
tools: osdmaptool document non-upmap options that were missing

Signed-off-by: David Zafman <dzafman@redhat.com>
5 years agotest: Fix test case for pool based balancing instead of rule batched
David Zafman [Sat, 14 Dec 2019 01:14:51 +0000 (17:14 -0800)]
test: Fix test case for pool based balancing instead of rule batched

Signed-off-by: David Zafman <dzafman@redhat.com>
5 years agoRevert "tools: osdmaptool sync with balancer module behavior"
David Zafman [Tue, 10 Dec 2019 16:55:46 +0000 (08:55 -0800)]
Revert "tools: osdmaptool sync with balancer module behavior"

This was the rules batching version of osdmaptool

This reverts commit f165d4ca39b1edef4bf22a7597af79339c95026f.

Signed-off-by: David Zafman <dzafman@redhat.com>
5 years agoPartially revert "mgr/balancer: balance pools with same crush_rule in batch"
David Zafman [Fri, 13 Dec 2019 03:42:10 +0000 (19:42 -0800)]
Partially revert "mgr/balancer: balance pools with same crush_rule in batch"

This partially reverts commit 3a730d751deff892e7a0bddba87eba3dbb829c3e

Fixes: https://tracker.ceph.com/issues/43307
Signed-off-by: David Zafman <dzafman@redhat.com>
5 years agoMerge pull request #32358 from idryomov/wip-krbd-py3-fixup
Ilya Dryomov [Mon, 6 Jan 2020 20:54:43 +0000 (21:54 +0100)]
Merge pull request #32358 from idryomov/wip-krbd-py3-fixup

qa: krbd_exclusive_option.sh: fixup for json.tool ordering change

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge PR #32498 into master
Patrick Donnelly [Mon, 6 Jan 2020 20:42:05 +0000 (12:42 -0800)]
Merge PR #32498 into master

* refs/pull/32498/head:
doc: mounting CephFS subdirectory and Persistent Mounts cleanup

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #32480 into master
Patrick Donnelly [Mon, 6 Jan 2020 20:34:37 +0000 (12:34 -0800)]
Merge PR #32480 into master

* refs/pull/32480/head:
qa: use -D_GNU_SOURCE when compiling fsync-tester.c
qa: add comment about fsync-tester distribution

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #29995 into master
Patrick Donnelly [Mon, 6 Jan 2020 20:31:57 +0000 (12:31 -0800)]
Merge PR #29995 into master

* refs/pull/29995/head:
mds: add config to require forward to auth MDS

Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #31494 into master
Patrick Donnelly [Mon, 6 Jan 2020 20:30:59 +0000 (12:30 -0800)]
Merge PR #31494 into master

* refs/pull/31494/head:
qa: force creation of fs with EC default data pool
qa: add tests for adding EC data pools
mon/MDSMonitor: warn when creating fs with default EC data pool

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32015 into master
Patrick Donnelly [Mon, 6 Jan 2020 20:29:39 +0000 (12:29 -0800)]
Merge PR #32015 into master

* refs/pull/32015/head:
doc/cephfs/standby: document mds_join_fs
mgr/cephadm: map mds daemons to a particular fs
mon/MDSMonitor: respect mfs fscid preference
mon/MDSMonitor: assign standbys to their preferred fscid
mds/FSMap: track preferred fscid for standby daemons
mds: add mds_join_fs option; pass via MMDSBeacon

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #32268 into master
Patrick Donnelly [Mon, 6 Jan 2020 20:28:20 +0000 (12:28 -0800)]
Merge PR #32268 into master

* refs/pull/32268/head:
mds: only enable batch getattr/lookup for non-snap request.
mds: pin dentry when attaching batch lookup to it

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #32307 into master
Patrick Donnelly [Mon, 6 Jan 2020 20:27:31 +0000 (12:27 -0800)]
Merge PR #32307 into master

* refs/pull/32307/head:
mon: print FSMap if standbys exist

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32308 into master
Patrick Donnelly [Mon, 6 Jan 2020 20:26:58 +0000 (12:26 -0800)]
Merge PR #32308 into master

* refs/pull/32308/head:
mon/MDSMonitor: cleanup check_subs

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #32467 into master
Patrick Donnelly [Mon, 6 Jan 2020 20:25:34 +0000 (12:25 -0800)]
Merge PR #32467 into master

* refs/pull/32467/head:
qa: fix various py3 cephfs qa bugs

Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #32164 into master
Patrick Donnelly [Mon, 6 Jan 2020 20:19:01 +0000 (12:19 -0800)]
Merge PR #32164 into master

* refs/pull/32164/head:
mount.ceph: give a hint message when no mds is up or cluster is laggy

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
5 years agoMerge PR #32363 into master
Patrick Donnelly [Mon, 6 Jan 2020 20:18:12 +0000 (12:18 -0800)]
Merge PR #32363 into master

* refs/pull/32363/head:
qa: add .qa link

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agomon: use non-obsolete mon scrub cmd 32510/head
Patrick Donnelly [Mon, 6 Jan 2020 20:05:28 +0000 (12:05 -0800)]
mon: use non-obsolete mon scrub cmd

Fixes: e9a5ce0897efc6126caeebea9900bf05ec3d2174
Fixes: https://tracker.ceph.com/issues/43488
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge pull request #32426 from tchaikov/wip-qa-test_envlibrados_for_rocksdb.sh
Kefu Chai [Mon, 6 Jan 2020 17:46:14 +0000 (01:46 +0800)]
Merge pull request #32426 from tchaikov/wip-qa-test_envlibrados_for_rocksdb.sh

qa: enable CRB repo for RHEL8

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoqa: enable CRB repo for RHEL8 32426/head
Kefu Chai [Thu, 26 Dec 2019 07:48:28 +0000 (15:48 +0800)]
qa: enable CRB repo for RHEL8

instead of enabling PowerTools repo, we need to enable CodeReady Builder
repo for RHEL8

also, since we are moving to RHEL8, there is no need to install cmake3
specifically for CentOS. CentOS 8 comes with cmake3.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #32242 from rishabh-d-dave/cv-methods-for-lvm-opt-S
Jan Fajerski [Mon, 6 Jan 2020 14:53:52 +0000 (15:53 +0100)]
Merge pull request #32242 from rishabh-d-dave/cv-methods-for-lvm-opt-S

ceph-volume: add methods to pass filters to pvs, vgs and lvs commands

5 years agoqa: krbd_exclusive_option.sh: fixup for json.tool ordering change 32358/head
Ilya Dryomov [Thu, 19 Dec 2019 18:02:18 +0000 (19:02 +0100)]
qa: krbd_exclusive_option.sh: fixup for json.tool ordering change

In Python 3.5 json.tool was changed to produce unsorted output and
--sort-keys option was added to compensate.  This wasn't caught by
4fe245cc2f2d ("qa: update krbd tests for python3") because it raced
with 50933b863a1d ("qa: krbd_exclusive_option.sh: update for recent
kernel changes").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
5 years agoceph-volume: add methods to pass filters to pvs, vgs and lvs commands 32242/head
Rishabh Dave [Thu, 21 Nov 2019 14:33:32 +0000 (20:03 +0530)]
ceph-volume: add methods to pass filters to pvs, vgs and lvs commands

Filters can be passed to these commands by using option '-S'.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
5 years agoqa/suites/krbd: fsx with object-map and fast-diff 32376/head
Ilya Dryomov [Thu, 19 Dec 2019 19:22:06 +0000 (20:22 +0100)]
qa/suites/krbd: fsx with object-map and fast-diff

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
5 years agotest/librbd/fsx: don't disable features for krbd
Ilya Dryomov [Wed, 18 Dec 2019 13:32:11 +0000 (14:32 +0100)]
test/librbd/fsx: don't disable features for krbd

rbd_default_features is set in krbd suite, no need to hard-code this in
fsx (especially now when object-map, fast-diff and deep-flatten are all
supported).

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
5 years agodoc: mounting CephFS subdirectory and Persistent Mounts cleanup 32498/head
Jos Collin [Thu, 5 Dec 2019 06:26:54 +0000 (11:56 +0530)]
doc: mounting CephFS subdirectory and Persistent Mounts cleanup

Fixes: https://tracker.ceph.com/issues/37746
Signed-off-by: Jos Collin <jcollin@redhat.com>
5 years agoosd/OSD: remove unused func enqueue_peering_evt_front 32496/head
Jianpeng Ma [Mon, 6 Jan 2020 08:42:19 +0000 (16:42 +0800)]
osd/OSD: remove unused func enqueue_peering_evt_front

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
5 years agoMerge pull request #32485 from tchaikov/wip-clang
Kefu Chai [Mon, 6 Jan 2020 06:43:13 +0000 (14:43 +0800)]
Merge pull request #32485 from tchaikov/wip-clang

common,crimson: fixes to compile with clang and libc++

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoMerge pull request #31728 from luis-henrix/copy-from-notrunc
Kefu Chai [Mon, 6 Jan 2020 02:07:45 +0000 (10:07 +0800)]
Merge pull request #31728 from luis-henrix/copy-from-notrunc

osd: add a 'copy-from2' operation that includes truncate_{seq,size} parameters

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
5 years agoMerge pull request #32488 from ronen-fr/clang_3
Kefu Chai [Mon, 6 Jan 2020 02:00:14 +0000 (10:00 +0800)]
Merge pull request #32488 from ronen-fr/clang_3

crimson: CLANG-related fixes to errorator.h

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #32490 from rzarzynski/wip-crimson-missing_err_include
Kefu Chai [Mon, 6 Jan 2020 01:57:46 +0000 (09:57 +0800)]
Merge pull request #32490 from rzarzynski/wip-crimson-missing_err_include

crimson: add missing include in common/errorator.h

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agocrimson: add missing include in common/errorator.h 32490/head
Radoslaw Zarzynski [Thu, 2 Jan 2020 12:30:40 +0000 (13:30 +0100)]
crimson: add missing include in common/errorator.h

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson: fix non-standard C++ constructs in errorator.h 32488/head
Ronen Friedman [Sun, 5 Jan 2020 06:23:58 +0000 (08:23 +0200)]
crimson: fix non-standard C++ constructs in errorator.h

Fixing use patterns accepted by gcc, but frowned upon by Clang:

Put noexcept specifier after attributes specifiers (as
per the C++ standard $11.3.5)

Limit the use of a not-completely-defined class names to
within function bodies, per the standard ("A class is considered
a completely-defined object type (or complete type) at the
closing } of the class-specifier.
Within the class member-specification, the class is regarded as
complete within function bodies, default arguments, noexcept-specifiers,
and default member initializers (including such things in nested classes).
Otherwise it is regarded as incomplete within its own class member-specification.")

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>