]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agoqa/tasks/ceph_manager: fix post-osd-kill pg peered check 32737/head
Sage Weil [Mon, 20 Jan 2020 15:45:00 +0000 (09:45 -0600)]
qa/tasks/ceph_manager: fix post-osd-kill pg peered check

This was asserting that all PGs are active or peered, but that assertion
could fail if the concurrent workload created a new pool.

Switch to a loop that checks several times for the condition to be true.

Fixes: https://tracker.ceph.com/issues/43656
Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32681 into master
Sage Weil [Sun, 19 Jan 2020 17:38:38 +0000 (11:38 -0600)]
Merge PR #32681 into master

* refs/pull/32681/head:
mgr/cephadm: fix section name for mon options in ceph.conf

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #32006 into master
Sage Weil [Sun, 19 Jan 2020 17:38:22 +0000 (11:38 -0600)]
Merge PR #32006 into master

* refs/pull/32006/head:
mgr/cephadm: revert to OrchestratorClientMixin child
mgr/cephadm: initial upgrade logic
cephadm: return 'cephadm pull' result as JSON
mgr/cephadm: upgrade start/stop/pause/resume
mgr/cephadm: track ceph version as well as container in on 'upgrade check'
mgr/orchestrator_cli: upgrade {start,pause,resume,stop}
mgr/cephadm: fix upgrade check
mon/ConfigKeyService: remove config-key set warning

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge PR #32685 into master
Sage Weil [Sun, 19 Jan 2020 17:38:02 +0000 (11:38 -0600)]
Merge PR #32685 into master

* refs/pull/32685/head:
cephadm: remove -crash container before starting it
cephadm: stop the crash container the nice way
cephadm: no need for podman rm when passing --rm to run
ceph-crash: exit code 0 on SIGINT, SIGTERM

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #32720 from tchaikov/wip-disable-crimson-socket-test
Kefu Chai [Sun, 19 Jan 2020 14:41:17 +0000 (22:41 +0800)]
Merge pull request #32720 from tchaikov/wip-disable-crimson-socket-test

test/crimson: remove unittest_seastar_socket temporarily

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoMerge pull request #32687 from dillaman/wip-42097
Mykola Golub [Sun, 19 Jan 2020 08:41:14 +0000 (10:41 +0200)]
Merge pull request #32687 from dillaman/wip-42097

librbd: support compression allocation hints to the OSD

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agoMerge pull request #32671 from dillaman/wip-43537
Mykola Golub [Sun, 19 Jan 2020 08:40:05 +0000 (10:40 +0200)]
Merge pull request #32671 from dillaman/wip-43537

rbd-mirror: periodically poll remote mirror configuration

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agotest/crimson: remove unittest_seastar_socket temporarily 32720/head
Kefu Chai [Sun, 19 Jan 2020 05:01:53 +0000 (13:01 +0800)]
test/crimson: remove unittest_seastar_socket temporarily

see also #32632. before we have the complete fix, we should disable this
test to avoid more noise from this test.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #32719 from liewegas/wip-o-upgrades
Kefu Chai [Sun, 19 Jan 2020 03:39:01 +0000 (11:39 +0800)]
Merge pull request #32719 from liewegas/wip-o-upgrades

qa/suites/upgrade: fix mimic-x-singleton

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #32673 into master
Sage Weil [Sun, 19 Jan 2020 03:11:51 +0000 (21:11 -0600)]
Merge PR #32673 into master

* refs/pull/32673/head:
crush/CrushWrapper: behave with empty weight vector
cmake: no need to link libglobal and libblkid for testing crush
test/crush: no need to use libglobal for testing crush

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32439 into master
Sage Weil [Sun, 19 Jan 2020 03:11:36 +0000 (21:11 -0600)]
Merge PR #32439 into master

* refs/pull/32439/head:
test/kv_store_bench: Fix double free error

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #32640 into master
Sage Weil [Sat, 18 Jan 2020 20:47:40 +0000 (14:47 -0600)]
Merge PR #32640 into master

* refs/pull/32640/head:
cephadm: fix help message for bootstrap --mgr-id

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge PR #32627 into master
Sage Weil [Sat, 18 Jan 2020 20:47:30 +0000 (14:47 -0600)]
Merge PR #32627 into master

* refs/pull/32627/head:
test_cephadm: use container shell for ceph cmds
test_cephadm: `-d` debug no longer exists
test_cephadm: clean-up whitespace (tabs -> spaces)

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32628 into master
Sage Weil [Sat, 18 Jan 2020 20:39:19 +0000 (14:39 -0600)]
Merge PR #32628 into master

* refs/pull/32628/head:
test: Fix wait_for_state() to wait for a PG to get into a state

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge PR #32385 into master
Sage Weil [Sat, 18 Jan 2020 18:54:06 +0000 (12:54 -0600)]
Merge PR #32385 into master

* refs/pull/32385/head:
mgr/cephadm: check-host on 'host add'

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge PR #32712 into master
Sage Weil [Sat, 18 Jan 2020 18:53:40 +0000 (12:53 -0600)]
Merge PR #32712 into master

* refs/pull/32712/head:
cephadm: SO_REUSEADDR when doing bind check

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge PR #32711 into master
Sage Weil [Sat, 18 Jan 2020 18:53:24 +0000 (12:53 -0600)]
Merge PR #32711 into master

* refs/pull/32711/head:
qa/standalone/mon/osd-create-pool: fix utf-8 grep LANG

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoMerge PR #32641 into master
Sage Weil [Sat, 18 Jan 2020 18:50:51 +0000 (12:50 -0600)]
Merge PR #32641 into master

* refs/pull/32641/head:
cephadm: fix logging defaults

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoMerge PR #32700 into master
Sage Weil [Sat, 18 Jan 2020 17:27:37 +0000 (11:27 -0600)]
Merge PR #32700 into master

* refs/pull/32700/head:
rpm: Relax the selinux policy version for centos builds

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32560 into master
Sage Weil [Sat, 18 Jan 2020 17:26:14 +0000 (11:26 -0600)]
Merge PR #32560 into master

* refs/pull/32560/head:
cephadm: show contextual message when port is in use

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge PR #32713 into master
Sage Weil [Sat, 18 Jan 2020 01:46:39 +0000 (19:46 -0600)]
Merge PR #32713 into master

* refs/pull/32713/head:
qa/tasks/cephadm: start watching initial daemons before bootstrap
qa/tasks/cephadm: create /etc/ceph if it doesn't exist
qa/tasks/cephadm: fix log whitelist when there is no whitelist

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoMerge PR #32701 into master
Sage Weil [Sat, 18 Jan 2020 01:13:11 +0000 (19:13 -0600)]
Merge PR #32701 into master

* refs/pull/32701/head:
qa/tasks/ceph_manager: fix ceph-objectstore-tool calls
qa/tasks/ceph_manager: fix admin_socket remote when using cephadm
qa/tasks/ceph_manager: --no-mon-config to ceph-objectstore-tool
qa/tasks/ceph_manager: fix filestore split command
qa/tasks/ceph_manager: fix import line

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoqa/releases/octopus: disable autoscale warnings 32719/head
Sage Weil [Fri, 17 Jan 2020 23:52:40 +0000 (17:52 -0600)]
qa/releases/octopus: disable autoscale warnings

Existing pools might have too many/few PGs and produce a warning that
prevents us from getting to HEALTH_OK.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agocephadm: SO_REUSEADDR when doing bind check 32712/head
Sage Weil [Fri, 17 Jan 2020 22:07:05 +0000 (16:07 -0600)]
cephadm: SO_REUSEADDR when doing bind check

This is what the ceph daemons use; our check should do it too.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa/tasks/ceph_manager: fix ceph-objectstore-tool calls 32701/head
Sage Weil [Fri, 17 Jan 2020 20:28:17 +0000 (14:28 -0600)]
qa/tasks/ceph_manager: fix ceph-objectstore-tool calls

Pass the correct paths based on whether this is the importing or exporting
OSD.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa/tasks/ceph_manager: fix admin_socket remote when using cephadm
Sage Weil [Fri, 17 Jan 2020 20:48:40 +0000 (14:48 -0600)]
qa/tasks/ceph_manager: fix admin_socket remote when using cephadm

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa/tasks/ceph_manager: --no-mon-config to ceph-objectstore-tool
Sage Weil [Fri, 17 Jan 2020 18:12:31 +0000 (12:12 -0600)]
qa/tasks/ceph_manager: --no-mon-config to ceph-objectstore-tool

The config is currently fetched at osd.admin, so the keyring is not
found.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa/tasks/ceph_manager: fix filestore split command
Sage Weil [Thu, 16 Jan 2020 22:01:05 +0000 (16:01 -0600)]
qa/tasks/ceph_manager: fix filestore split command

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa/tasks/ceph_manager: fix import line
Sage Weil [Thu, 16 Jan 2020 21:21:42 +0000 (15:21 -0600)]
qa/tasks/ceph_manager: fix import line

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa/tasks/cephadm: start watching initial daemons before bootstrap 32713/head
Sage Weil [Fri, 17 Jan 2020 23:01:09 +0000 (23:01 +0000)]
qa/tasks/cephadm: start watching initial daemons before bootstrap

This lets us see output while bootstrap is happening.

(Depends on the teuthology change to use journalctl, see
teuthology commit 4fa83040b05b604280789459f095d6f2ad1b0d01.)

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa/tasks/cephadm: create /etc/ceph if it doesn't exist
Sage Weil [Fri, 17 Jan 2020 22:59:57 +0000 (22:59 +0000)]
qa/tasks/cephadm: create /etc/ceph if it doesn't exist

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa/tasks/cephadm: fix log whitelist when there is no whitelist
Sage Weil [Fri, 17 Jan 2020 22:59:43 +0000 (22:59 +0000)]
qa/tasks/cephadm: fix log whitelist when there is no whitelist

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa/suites/upgrade/mimix-x-singleton: upgrading to octopus, not n
Sage Weil [Fri, 17 Jan 2020 21:06:54 +0000 (15:06 -0600)]
qa/suites/upgrade/mimix-x-singleton: upgrading to octopus, not n

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32698 into master
Sage Weil [Fri, 17 Jan 2020 20:36:24 +0000 (14:36 -0600)]
Merge PR #32698 into master

* refs/pull/32698/head:
common: drop the unused mutable_item_history container.
common: drop the unused prune() of {safe,mutable}_item_history.

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoqa/standalone/mon/osd-create-pool: fix utf-8 grep LANG 32711/head
Sage Weil [Fri, 17 Jan 2020 20:19:53 +0000 (14:19 -0600)]
qa/standalone/mon/osd-create-pool: fix utf-8 grep LANG

This needs en_US.UTF-8... en_US does not work.

Fixes: https://tracker.ceph.com/issues/43422
Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #32663 from dzafman/wip-41016
David Zafman [Fri, 17 Jan 2020 19:47:55 +0000 (11:47 -0800)]
Merge pull request #32663 from dzafman/wip-41016

osd: Diagnostic logging for upmap cleaning

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agomgr/cephadm: revert to OrchestratorClientMixin child 32006/head
Sage Weil [Fri, 17 Jan 2020 18:56:30 +0000 (12:56 -0600)]
mgr/cephadm: revert to OrchestratorClientMixin child

self.mgr does not exist--I can't figure out what this 'mgr' reference
is and where it comes from.  So reverting to being a child for the time
being; we can clean this up later.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/cephadm: initial upgrade logic
Sage Weil [Fri, 13 Dec 2019 22:30:06 +0000 (16:30 -0600)]
mgr/cephadm: initial upgrade logic

- upgrade mgr, mon, osd, mds
- use ok-to-stop

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agocephadm: return 'cephadm pull' result as JSON
Sage Weil [Tue, 17 Dec 2019 13:22:48 +0000 (07:22 -0600)]
cephadm: return 'cephadm pull' result as JSON

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/cephadm: upgrade start/stop/pause/resume
Sage Weil [Fri, 13 Dec 2019 22:29:07 +0000 (16:29 -0600)]
mgr/cephadm: upgrade start/stop/pause/resume

No actual upgrading yet.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/cephadm: track ceph version as well as container in on 'upgrade check'
Sage Weil [Fri, 13 Dec 2019 22:27:12 +0000 (16:27 -0600)]
mgr/cephadm: track ceph version as well as container in on 'upgrade check'

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/orchestrator_cli: upgrade {start,pause,resume,stop}
Sage Weil [Mon, 2 Dec 2019 22:02:46 +0000 (16:02 -0600)]
mgr/orchestrator_cli: upgrade {start,pause,resume,stop}

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/cephadm: fix upgrade check
Sage Weil [Thu, 12 Dec 2019 02:37:01 +0000 (20:37 -0600)]
mgr/cephadm: fix upgrade check

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomon/ConfigKeyService: remove config-key set warning
Sage Weil [Tue, 17 Dec 2019 22:23:38 +0000 (16:23 -0600)]
mon/ConfigKeyService: remove config-key set warning

This has been there for both mimic and nautilus; we can drop it for
octopus.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #32298 from dang/wip-dang-zipper-4
Daniel Gryniewicz [Fri, 17 Jan 2020 17:44:32 +0000 (12:44 -0500)]
Merge pull request #32298 from dang/wip-dang-zipper-4

Zipper - RGWUser

5 years agocommon: drop the unused mutable_item_history container. 32698/head
Radoslaw Zarzynski [Fri, 17 Jan 2020 14:25:27 +0000 (15:25 +0100)]
common: drop the unused mutable_item_history container.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocommon: drop the unused prune() of {safe,mutable}_item_history.
Radoslaw Zarzynski [Thu, 16 Jan 2020 12:21:25 +0000 (13:21 +0100)]
common: drop the unused prune() of {safe,mutable}_item_history.

The presence of these never-used methods obscure bug investigation.
For instance, `safe_item_history` is used to record all messenger's
addresses. As we never lock reading from it in `_conn_prefix()`, we
expect they live as long their corresponding messenger instances.
When such an item becomes corrupted, presence of `prune()` imposes
verification the method is never called – this effort could have
been avoided if we hadn't have the dangerous method.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoZipper - RGWUser 32298/head
Daniel Gryniewicz [Tue, 12 Nov 2019 18:57:26 +0000 (13:57 -0500)]
Zipper - RGWUser

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
5 years agoMerge pull request #32624 from alimaredia/wip-s3-tests-python-3
Kefu Chai [Fri, 17 Jan 2020 15:47:51 +0000 (23:47 +0800)]
Merge pull request #32624 from alimaredia/wip-s3-tests-python-3

qa/suites: use s3-tests with python3 support

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agorpm: Relax the selinux policy version for centos builds 32700/head
Boris Ranto [Fri, 17 Jan 2020 14:24:44 +0000 (15:24 +0100)]
rpm: Relax the selinux policy version for centos builds

We are currently running into issues when installing the test builds
produced on centos 8 as these might have older selinux-policy-base
version than is available to the rhel 8 nodes.

We still want the builds produced on RHEL 8 to use the proper version
condition so the %{?centos} macro should help us achieve that, here.

Signed-off-by: Boris Ranto <branto@redhat.com>
5 years agocephadm: fix logging defaults 32641/head
Sage Weil [Tue, 14 Jan 2020 23:11:48 +0000 (17:11 -0600)]
cephadm: fix logging defaults

- prefix stderr log lines with 'debug '
- send cluster log to stderr (only affects mons)
- default to sending cluser log to stderr only (not to file)

This aligns things with the container-y way, as we do
with rook.  It means that if you want legacy behavior (log files),
you have *2* settings to change:

 log_to_file = true
 mon_cluster_log_to_file = true

We could default this to leave cluster log to file by default
since they aren't that big (and we do have log rotation), but
it's not as clean as it could be...

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #32650 from votdev/fix_i18n
Laura Paduano [Fri, 17 Jan 2020 13:53:27 +0000 (14:53 +0100)]
Merge pull request #32650 from votdev/fix_i18n

mgr/dashboard: Fix missing i18n.

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agodoc/rbd: documented 'rbd compression hint' config option 32687/head
Jason Dillaman [Fri, 17 Jan 2020 13:38:14 +0000 (08:38 -0500)]
doc/rbd: documented 'rbd compression hint' config option

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agorbd-mirror: ensure mirror status updater cannot attempt empty op 32671/head
Jason Dillaman [Fri, 17 Jan 2020 13:13:45 +0000 (08:13 -0500)]
rbd-mirror: ensure mirror status updater cannot attempt empty op

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #32367 from capri1989/doc-gc-update
Abhishek L [Fri, 17 Jan 2020 09:08:29 +0000 (10:08 +0100)]
Merge pull request #32367 from capri1989/doc-gc-update

doc/radosgw/config-ref: paragraph to explain the gc settings

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-By: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #32049 from mgfritch/wip-cd-timeout
Sebastian Wagner [Fri, 17 Jan 2020 07:32:06 +0000 (08:32 +0100)]
Merge pull request #32049 from mgfritch/wip-cd-timeout

cephadm: add ability to specify a timeout

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #32691 from rosinL/wip-txpkt
Kefu Chai [Fri, 17 Jan 2020 06:32:28 +0000 (14:32 +0800)]
Merge pull request #32691 from rosinL/wip-txpkt

msg/async/dpdk: Fix infinite loop when sending packets

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agomsg/async/dpdk: Fix infinite loop when sending packets 32691/head
Chunsong Feng [Sat, 11 Jan 2020 04:54:40 +0000 (12:54 +0800)]
msg/async/dpdk: Fix infinite loop when sending packets

tx_pkt_burst loops until the next pointer is null, set next pointer of
the last segment nullptr to fix this issue.

Signed-off-by: Chunsong Feng <fengchunsong@huawei.com>
Signed-off-by: luo rixin <luorixin@huawei.com>
5 years agocephadm: remove -crash container before starting it 32685/head
Sage Weil [Thu, 16 Jan 2020 23:21:28 +0000 (17:21 -0600)]
cephadm: remove -crash container before starting it

This matches up with what the @.service unit does.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32114 into master
Patrick Donnelly [Thu, 16 Jan 2020 22:35:22 +0000 (14:35 -0800)]
Merge PR #32114 into master

* refs/pull/32114/head:
doc: split index.rst of dev guide
doc: tweak few section titles in dev guide
doc: don't display contents twice in dev guide
doc: add guide for running tests with teuthology

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agolibrbd: support compression allocation hints to the OSD
Jason Dillaman [Thu, 16 Jan 2020 19:53:37 +0000 (14:53 -0500)]
librbd: support compression allocation hints to the OSD

A new "rbd_compression_hint" configuration option can be applied
globally, at the pool level, or to individual images to send
the associated compression allocation hint to the OSD on write
operations.

Fixes: https://tracker.ceph.com/issues/42097
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agocephadm: stop the crash container the nice way
Sage Weil [Thu, 16 Jan 2020 19:24:24 +0000 (13:24 -0600)]
cephadm: stop the crash container the nice way

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agocephadm: no need for podman rm when passing --rm to run
Sage Weil [Thu, 16 Jan 2020 19:24:08 +0000 (13:24 -0600)]
cephadm: no need for podman rm when passing --rm to run

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoceph-crash: exit code 0 on SIGINT, SIGTERM
Sage Weil [Thu, 16 Jan 2020 19:23:46 +0000 (13:23 -0600)]
ceph-crash: exit code 0 on SIGINT, SIGTERM

This makes the systemd unit not go into a failure state when you kill the
cephadm unit's podman container.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #32513 from IlsooByun/loop_rgw_none
J. Eric Ivancich [Thu, 16 Jan 2020 17:32:28 +0000 (12:32 -0500)]
Merge pull request #32513 from IlsooByun/loop_rgw_none

rgw: move forward marker even in case of many rgw.none indexes

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
5 years agoMerge pull request #31878 from yuvalif/wip-yuval-tag-filter
Casey Bodley [Thu, 16 Jan 2020 16:04:19 +0000 (11:04 -0500)]
Merge pull request #31878 from yuvalif/wip-yuval-tag-filter

rgw/pubsub: notification filtering by object tags

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #32596 from linuxbox2/wip-rgwfile-pfront
Daniel Gryniewicz [Thu, 16 Jan 2020 15:12:51 +0000 (10:12 -0500)]
Merge pull request #32596 from linuxbox2/wip-rgwfile-pfront

rgw_file: avoid string::front() on empty path

5 years agoMerge pull request #32453 from majianpeng/kv-rocksdbstore-fix-option-work
Kefu Chai [Thu, 16 Jan 2020 15:11:26 +0000 (23:11 +0800)]
Merge pull request #32453 from majianpeng/kv-rocksdbstore-fix-option-work

kv/RocksDBStore: make option: compaction_threads/disableWAL/flusher_t…

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
5 years agoMerge pull request #32443 from tchaikov/wip-btree
Kefu Chai [Thu, 16 Jan 2020 15:09:52 +0000 (23:09 +0800)]
Merge pull request #32443 from tchaikov/wip-btree

include/cpp-btree: cleanups

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agomgr/cephadm: fix section name for mon options in ceph.conf 32681/head
Sage Weil [Thu, 16 Jan 2020 15:05:50 +0000 (09:05 -0600)]
mgr/cephadm: fix section name for mon options in ceph.conf

If name is not explicitly specified, we were putting the options in
the [mon.] section instead of [mon.$name].

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agocrush/CrushWrapper: behave with empty weight vector 32673/head
Kefu Chai [Thu, 16 Jan 2020 07:49:58 +0000 (15:49 +0800)]
crush/CrushWrapper: behave with empty weight vector

should not dereference an empty vector.

Fixes: https://tracker.ceph.com/issues/43404
Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocmake: no need to link libglobal and libblkid for testing crush
Kefu Chai [Thu, 16 Jan 2020 07:51:30 +0000 (15:51 +0800)]
cmake: no need to link libglobal and libblkid for testing crush

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agotest/crush: no need to use libglobal for testing crush
Kefu Chai [Thu, 16 Jan 2020 07:52:20 +0000 (15:52 +0800)]
test/crush: no need to use libglobal for testing crush

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #32670 into master
Sage Weil [Thu, 16 Jan 2020 14:07:02 +0000 (08:07 -0600)]
Merge PR #32670 into master

* refs/pull/32670/head:
doc: remove prod cluster examples from hardware recs

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
5 years agorbd-mirror: pool watcher no longer needs to query mirror uuid
Jason Dillaman [Thu, 16 Jan 2020 03:23:21 +0000 (22:23 -0500)]
rbd-mirror: pool watcher no longer needs to query mirror uuid

This is periodically polled now via the RemotePoolPoller and it detects
changes to the mirror uuid.

Fixes: https://tracker.ceph.com/issues/43537
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agorbd-mirror: removed peer ping from mirror status updater
Jason Dillaman [Thu, 16 Jan 2020 13:50:13 +0000 (08:50 -0500)]
rbd-mirror: removed peer ping from mirror status updater

This ping is now handled by the remote pool poller class.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #31923 from tspmelo/wip-vertical-navigation
Laura Paduano [Thu, 16 Jan 2020 13:43:19 +0000 (14:43 +0100)]
Merge pull request #31923 from tspmelo/wip-vertical-navigation

mgr/dashboard: Add vertical menu

Reviewed-by: Ernesto Puertat <epuertat@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agorbd-mirror: pass remote pool meta through to bootstrap
Jason Dillaman [Wed, 15 Jan 2020 21:44:51 +0000 (16:44 -0500)]
rbd-mirror: pass remote pool meta through to bootstrap

The snapshot-based replaying logic will need the remote's
mirror peer uuid to find its snapshots in the remote images.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agorbd-mirror: pool replayer should instantiate the remote pool poller
Jason Dillaman [Wed, 15 Jan 2020 20:09:05 +0000 (15:09 -0500)]
rbd-mirror: pool replayer should instantiate the remote pool poller

Let the poller pull the metadata from the remote before advancing to
the leader watcher initialization. If the remote metadata changes
during runtime, stop the pool replayer so that it can be
re-initialized.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agorbd-mirror: periodic remote pool metadata poller
Jason Dillaman [Wed, 15 Jan 2020 20:03:18 +0000 (15:03 -0500)]
rbd-mirror: periodic remote pool metadata poller

The mirror uuid and mirror peer uuid should be periodically retrieved
from the remote peer. The peer ping logic can also be moved to this
helper class.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agomgr/cephadm: check-host on 'host add' 32385/head
Sage Weil [Wed, 18 Dec 2019 16:02:31 +0000 (10:02 -0600)]
mgr/cephadm: check-host on 'host add'

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #32654 from liewegas/fix-43273
Sebastian Wagner [Thu, 16 Jan 2020 09:18:23 +0000 (10:18 +0100)]
Merge pull request #32654 from liewegas/fix-43273

mgr/rook: provide full path for devices names in inventory

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #32372 from sebastian-philipp/cephadm-progress
Sebastian Wagner [Thu, 16 Jan 2020 08:55:41 +0000 (09:55 +0100)]
Merge pull request #32372 from sebastian-philipp/cephadm-progress

mgr/cephadm: Add progress to update_mgr()

Reviewed-by: Joshua Schmid <jschmid@suse.de>
5 years agotest/kv_store_bench: Fix double free error 32439/head
luo rixin [Sat, 28 Dec 2019 03:17:29 +0000 (11:17 +0800)]
test/kv_store_bench: Fix double free error

kvs->aio_xxx is asynchronous function, cb_args will be used and deleted
in aio_callbcak_timed, delete cb_agrs in test_teuthology_aio will cause
double free error.

Signed-off-by: Xuqiang Chen <chenxuqiang3@hisilicon.com>
Signed-off-by: luo rixin <luorixin@huawei.com>
5 years agodoc: remove prod cluster examples from hardware recs 32670/head
Zac Dover [Thu, 16 Jan 2020 03:14:50 +0000 (13:14 +1000)]
doc: remove prod cluster examples from hardware recs

This PR removes the now-very-old (2012) production cluster
examples from the hardware recommendations page.

Sage requested this change in IRC on 14 Jan 2020. There is no issue link.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
5 years agoMerge pull request #32497 from zhengchengyao/snap_exists
Jason Dillaman [Thu, 16 Jan 2020 01:15:39 +0000 (20:15 -0500)]
Merge pull request #32497 from zhengchengyao/snap_exists

rbd: add snap_exists method API

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoosd: Diagnostic logging for upmap cleaning 32663/head
David Zafman [Wed, 15 Jan 2020 21:48:01 +0000 (21:48 +0000)]
osd: Diagnostic logging for upmap cleaning

Fixes: https://tracker.ceph.com/issues/41016
Signed-off-by: David Zafman <dzafman@redhat.com>
5 years agoMerge PR #32541 into master
Patrick Donnelly [Wed, 15 Jan 2020 20:40:05 +0000 (12:40 -0800)]
Merge PR #32541 into master

* refs/pull/32541/head:
mds: add comment in feature_bitset_t::empty

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agorbd-mirror: do not run pool replayers against TX-only peers
Jason Dillaman [Wed, 15 Jan 2020 20:01:43 +0000 (15:01 -0500)]
rbd-mirror: do not run pool replayers against TX-only peers

Now that we track RX and TX states of peers, any peers that are
listed as TX only should be excluded from image replaying.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge PR #32619 into master
Sage Weil [Wed, 15 Jan 2020 18:57:42 +0000 (12:57 -0600)]
Merge PR #32619 into master

* refs/pull/32619/head:
kv/RocksDBStore: break out of compaction thread early on shutdown
kv/RocksDBStore: debug async compaction

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #32569 from votdev/feature_toggle_output
Laura Paduano [Wed, 15 Jan 2020 15:47:13 +0000 (16:47 +0100)]
Merge pull request #32569 from votdev/feature_toggle_output

mgr/dashboard: Cleanup feature toggle status output

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Ernesto Puertat <epuertat@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
5 years agoMerge pull request #32635 from Devp00l/wip-43594
Laura Paduano [Wed, 15 Jan 2020 14:57:42 +0000 (15:57 +0100)]
Merge pull request #32635 from Devp00l/wip-43594

mgr/dashbaord: Fix E2E pools page failure

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agomgr/rook: provide full path for devices names in inventory 32654/head
Sage Weil [Wed, 15 Jan 2020 14:53:03 +0000 (08:53 -0600)]
mgr/rook: provide full path for devices names in inventory

This matches the cephadm behavior.

Fixes: https://tracker.ceph.com/issues/43273
Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32411 into master
Sage Weil [Wed, 15 Jan 2020 14:39:48 +0000 (08:39 -0600)]
Merge PR #32411 into master

* refs/pull/32411/head:
qa/tasks/ceph_manager: enable ceph-objectstore-tool via cephadm
qa/tasks/cephadm: support crush_tunables config option

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoqa/tasks/ceph_manager: enable ceph-objectstore-tool via cephadm 32411/head
Sage Weil [Mon, 23 Dec 2019 21:08:14 +0000 (15:08 -0600)]
qa/tasks/ceph_manager: enable ceph-objectstore-tool via cephadm

- drop support for keyvaluestore
- leave a few paths non-cephadm specific (filestore, upgrade workaround)

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32643 into master
Sage Weil [Wed, 15 Jan 2020 13:47:24 +0000 (07:47 -0600)]
Merge PR #32643 into master

* refs/pull/32643/head:
doc/bootstrap: fixed default --keyring target

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #32567 from trociny/wip-mirror-snap-promote
Jason Dillaman [Wed, 15 Jan 2020 13:09:31 +0000 (08:09 -0500)]
Merge pull request #32567 from trociny/wip-mirror-snap-promote

librbd: fix some edge cases for snapshot mirror mode promote

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agomgr/dashboard: Fix missing i18n. 32650/head
Volker Theile [Wed, 15 Jan 2020 11:28:23 +0000 (12:28 +0100)]
mgr/dashboard: Fix missing i18n.

Signed-off-by: Volker Theile <vtheile@suse.com>
5 years agomgr/dashbaord: Fix E2E pools page failure 32635/head
Stephan Müller [Tue, 14 Jan 2020 13:38:03 +0000 (14:38 +0100)]
mgr/dashbaord: Fix E2E pools page failure

The problem was that pg autoscaling is set to "on" by default. Therefore
the pg_num field is hidden, which caused the error. Now the test sets
the pg autoscaling to "off" revealing the pg_num field to make the tests
pass.

Fixes: https://tracker.ceph.com/issues/43594
Fixes: https://tracker.ceph.com/issues/43102
Signed-off-by: Stephan Müller <smueller@suse.com>
5 years agomgr/dashboard: PageHelper.selectOption
Stephan Müller [Tue, 14 Jan 2020 13:31:52 +0000 (14:31 +0100)]
mgr/dashboard: PageHelper.selectOption

This helper method selects an option inside a select element.
It will also expect that the option was set.

Fixes: https://tracker.ceph.com/issues/43594
Signed-off-by: Stephan Müller <smueller@suse.com>