Commit Graph

106120 Commits

Author SHA1 Message Date
Abhishek L
1851354390
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>
2020-01-09 11:24:03 +01:00
Kefu Chai
05ebfbd162
Merge pull request #32564 from tchaikov/wip-cmake-radosgwd
cmake: let vstart depend on radosgwd

Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-01-09 17:30:28 +08:00
Kefu Chai
c6cf778bad 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>
2020-01-09 15:46:27 +08:00
Abhishek Lekshmanan
3a1a687037 doc: update release table with 14.2.6
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2020-01-08 18:53:34 +01:00
Abhishek Lekshmanan
ea83ed4783 doc: releases: release notes for v14.2.6 nautilus
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2020-01-08 18:53:34 +01:00
Patrick Donnelly
1ca0a119c1
Merge PR #32508 into master
* refs/pull/32508/head:
	doc: remove reference to obsolete scrub command

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-08 07:29:42 -08:00
Patrick Donnelly
1d727267e5
Merge PR #32535 into master
* refs/pull/32535/head:
	qa: define centos version for fs:verify

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-08 07:27:06 -08:00
Kefu Chai
52293ea03f
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>
2020-01-08 22:15:14 +08:00
Kefu Chai
a9c0a8c70a
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>
2020-01-08 22:10:38 +08:00
Nathan Cutler
0988cb0d2f
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>
2020-01-08 14:51:33 +01:00
Kefu Chai
93fd11dd47
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>
2020-01-08 11:40:42 +08:00
Patrick Donnelly
3cb96f5fd3
Merge PR #32537 into master
* refs/pull/32537/head:
	Switch spelling of utilization

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-07 19:33:33 -08:00
Kefu Chai
1484ef2fa8 debian/radosgw.install: correct path to libradosgw.so*
it was a regression introduced by f528f173e4

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-01-08 11:22:01 +08:00
Bryan Stillwell
8eafb09acb 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>
2020-01-07 16:57:36 -07:00
Patrick Donnelly
29b318a111
doc: remove reference to obsolete scrub command
Fixes: e9a5ce0897
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-07 15:35:01 -08:00
Patrick Donnelly
6adcace694
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>
2020-01-07 14:11:16 -08:00
Patrick Donnelly
2b132cb913
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>
2020-01-07 14:09:29 -08:00
Patrick Donnelly
e83aa733b9
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>
2020-01-07 14:08:41 -08:00
Patrick Donnelly
d24166c1d3
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>
2020-01-07 13:59:08 -08:00
Patrick Donnelly
84a34e6dc8
Merge PR #31250 into master
* refs/pull/31250/head:
	mds: Reorganize class members in MDSTableServer header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-07 13:57:48 -08:00
Patrick Donnelly
c3f78c4785
Merge PR #31481 into master
* refs/pull/31481/head:
	mds: Reorganize struct members in Mutation header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-07 13:57:03 -08:00
Patrick Donnelly
a30eb9a4e1
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>
2020-01-07 13:56:11 -08:00
Patrick Donnelly
8f8d03dd3c
Merge PR #32510 into master
* refs/pull/32510/head:
	mon: use non-obsolete mon scrub cmd

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-07 13:52:36 -08:00
Patrick Donnelly
2cdb2972cd
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>
2020-01-07 13:20:00 -08:00
David Zafman
3869ee3d7c
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>
2020-01-07 10:41:37 -08:00
Kefu Chai
dfd90da59c
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>
2020-01-07 22:53:14 +08:00
Jason Dillaman
3143608ba8
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>
2020-01-07 08:27:26 -05:00
Jason Dillaman
5e84095b1c
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>
2020-01-07 08:27:07 -05:00
Jason Dillaman
55302f47bd
Merge pull request #32456 from trociny/wip-43428
rbd-mirror: make logrotate work

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-01-07 08:25:58 -05:00
Daniel Gryniewicz
2ee55c2cf7
Merge pull request #32404 from kalebskeithley/master
rgw: build radosgw daemon as a shared lib + small executable
2020-01-07 08:05:21 -05:00
Kefu Chai
d063674c80
Merge pull request #32494 from ronen-fr/clang_3
crimson: fix lambda captures of non-variables

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-07 20:45:40 +08:00
Tatjana Dehler
b9094f1e17 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>
2020-01-07 11:56:52 +01:00
Kefu Chai
8988a07e2d
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>
2020-01-07 18:52:26 +08:00
Ronen Friedman
24694e2a06 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>
2020-01-07 12:39:42 +02:00
Ilya Dryomov
39fdbe1b81
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>
2020-01-07 11:32:26 +01:00
Kefu Chai
0150ac9daa
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>
2020-01-07 17:44:10 +08:00
Sebastian Wagner
a41b68ee0b mgr/rook: Add some more type annotations
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-01-07 09:44:29 +01:00
Sebastian Wagner
ce2010c4e3 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>
2020-01-07 09:44:29 +01:00
Kefu Chai
e78b992a04
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>
2020-01-07 16:40:16 +08:00
Kefu Chai
4788de2370
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>
2020-01-07 16:38:04 +08:00
Kefu Chai
e18dcbb232
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>
2020-01-07 16:32:41 +08:00
Kefu Chai
726b0de68f
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>
2020-01-07 16:31:49 +08:00
Kefu Chai
f4f1bb44d5
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>
2020-01-07 16:30:37 +08:00
Kefu Chai
ccfaf40491
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>
2020-01-07 16:29:34 +08:00
Kefu Chai
b59cc672a0
Merge pull request #31929 from majianpeng/msg-async-bugfix
msg/async: update refcount and perf counter properly

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-07 16:28:30 +08:00
Kefu Chai
4c98b3224e qa/tasks/mgr/test_orchestrator_cli: fix service action tests
in b77f0c74a5, "reload"
service[-instance] action was dropped. so replace "reload" with
"restart" in the related tests.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-01-07 16:00:04 +08:00
Kefu Chai
2a7b6f161f 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>
2020-01-07 15:37:08 +08:00
David Zafman
c65d5c8d14 test: Sort pool list because the order isn't guaranteed from "balancer pool ls"
Signed-off-by: David Zafman <dzafman@redhat.com>
2020-01-06 21:35:19 -08:00
David Zafman
b0a1b758d0 mgr: Change default upmap_max_deviation to 5
Fixes: https://tracker.ceph.com/issues/43312

Signed-off-by: David Zafman <dzafman@redhat.com>
2020-01-06 21:35:19 -08:00
David Zafman
621acf8ce7 osdmaptool: Add --upmap-active to simulate active upmap balancing
Signed-off-by: David Zafman <dzafman@redhat.com>
2020-01-06 21:35:19 -08:00