]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agocrimson/osd: OP_CALL does support RETURNVEC now. 34324/head
Radoslaw Zarzynski [Tue, 31 Mar 2020 15:45:51 +0000 (17:45 +0200)]
crimson/osd: OP_CALL does support RETURNVEC now.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd: fix method's flag handling on CEPH_OSD_OP_CALL. 34259/head
Radoslaw Zarzynski [Sat, 28 Mar 2020 00:32:32 +0000 (01:32 +0100)]
crimson/osd: fix method's flag handling on CEPH_OSD_OP_CALL.

This patch fixes a regression introduced in d8d0ab1a and
makes `ClsHello.BadMethods` green again.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoMerge PR #34146 into master
Sage Weil [Wed, 25 Mar 2020 21:44:17 +0000 (16:44 -0500)]
Merge PR #34146 into master

* refs/pull/34146/head:
mgr/cephadm: use docker.io in default container image name
mgr/cephadm: fix 'upgrade start' message when specifying a version

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge PR #34166 into master
Sage Weil [Wed, 25 Mar 2020 21:42:54 +0000 (16:42 -0500)]
Merge PR #34166 into master

* refs/pull/34166/head:
mgr/cephadm: DriveGroupSpec needs to know about unmanaged attribute
mgr/cephadm: DriveGroupSpec needs to support/ignore _unmanaged_

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge PR #34180 into master
Sage Weil [Wed, 25 Mar 2020 21:42:42 +0000 (16:42 -0500)]
Merge PR #34180 into master

* refs/pull/34180/head:
cephadm: Fix check_ip_port to work with IPv6

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #34179 from cbodley/wip-rgw-admin-user-axe
Casey Bodley [Wed, 25 Mar 2020 19:53:30 +0000 (15:53 -0400)]
Merge pull request #34179 from cbodley/wip-rgw-admin-user-axe

rgw: remove unused librgw_admin_user

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
5 years agorgw: remove unused librgw_admin_user 34179/head
Casey Bodley [Wed, 25 Mar 2020 14:50:07 +0000 (10:50 -0400)]
rgw: remove unused librgw_admin_user

unused and not worth the effort to maintain

Signed-off-by: Casey Bodley <cbodley@redhat.com>
5 years agocephadm: Fix check_ip_port to work with IPv6 34180/head
Ricardo Marques [Wed, 25 Mar 2020 15:06:17 +0000 (15:06 +0000)]
cephadm: Fix check_ip_port to work with IPv6

Fixes: https://tracker.ceph.com/issues/43816
Signed-off-by: Ricardo Marques <rimarques@suse.com>
5 years agoMerge pull request #34173 from tchaikov/wip-test-rgw
Kefu Chai [Wed, 25 Mar 2020 14:29:11 +0000 (22:29 +0800)]
Merge pull request #34173 from tchaikov/wip-test-rgw

test/rgw: should import parse not urlparse

Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
5 years agoMerge pull request #34117 from smithfarm/wip-43746-follow-on
Kefu Chai [Wed, 25 Mar 2020 14:17:38 +0000 (22:17 +0800)]
Merge pull request #34117 from smithfarm/wip-43746-follow-on

pybind/mgr/*: fix config_notify handling of default values

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34136 from tchaikov/test-msgr-stdout
Kefu Chai [Wed, 25 Mar 2020 14:13:07 +0000 (22:13 +0800)]
Merge pull request #34136 from tchaikov/test-msgr-stdout

test/msgr: print out informative messages to stdout

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #34015 from yuyuyu101/wip-pin-rocksdb
Kefu Chai [Wed, 25 Mar 2020 14:12:21 +0000 (22:12 +0800)]
Merge pull request #34015 from yuyuyu101/wip-pin-rocksdb

kv/RocksDBStore: using PinnableSlice to avoid extra value copy

Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34140 from theanalyst/doc/releases/oct-distro-fix
Abhishek L [Wed, 25 Mar 2020 13:49:55 +0000 (14:49 +0100)]
Merge pull request #34140 from theanalyst/doc/releases/oct-distro-fix

doc: releases: add a note on debian packages & those built by the community

Reviewed-By: Kefu Chai <kchai@redhat.com>
Reviewed-By: Sage Weil <sweil@redhat.com>
Reviewed-By: Nathan Cutler <ncutler@suse.com>
5 years agotest/rgw: should import parse not urlparse 34173/head
Kefu Chai [Wed, 25 Mar 2020 13:47:54 +0000 (21:47 +0800)]
test/rgw: should import parse not urlparse

urlparse is a function while parse is a submodule where parse_qsl() is
provided

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34138 from bk201/wip-44725
Kefu Chai [Wed, 25 Mar 2020 11:56:02 +0000 (19:56 +0800)]
Merge pull request #34138 from bk201/wip-44725

qa/tasks/mgr/dashboard/test_health: update mdsmap schema

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agoMerge pull request #34139 from tchaikov/wip-qa-test-py3
Kefu Chai [Wed, 25 Mar 2020 11:48:33 +0000 (19:48 +0800)]
Merge pull request #34139 from tchaikov/wip-qa-test-py3

qa,test: py3 compatible changes and fix

Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
5 years agoMerge pull request #34131 from tspmelo/wip-force-npm-resolutions
Lenz Grimmer [Wed, 25 Mar 2020 09:54:15 +0000 (10:54 +0100)]
Merge pull request #34131 from tspmelo/wip-force-npm-resolutions

mgr/dashboard: Check for missing npm resolutions

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
5 years agomgr/cephadm: DriveGroupSpec needs to know about unmanaged attribute 34166/head
Joshua Schmid [Wed, 25 Mar 2020 09:53:06 +0000 (10:53 +0100)]
mgr/cephadm: DriveGroupSpec needs to know about unmanaged attribute

Signed-off-by: Joshua Schmid <jschmid@suse.de>
5 years agoMerge pull request #34165 from tchaikov/wip-doc-release-octopus-indent
Kefu Chai [Wed, 25 Mar 2020 08:42:58 +0000 (16:42 +0800)]
Merge pull request #34165 from tchaikov/wip-doc-release-octopus-indent

doc/releases/octopus: fix indents

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agomgr/cephadm: DriveGroupSpec needs to support/ignore _unmanaged_
Joshua Schmid [Wed, 25 Mar 2020 08:34:06 +0000 (09:34 +0100)]
mgr/cephadm: DriveGroupSpec needs to support/ignore _unmanaged_

Signed-off-by: Joshua Schmid <jschmid@suse.de>
5 years agodoc/releases/octopus: fix indents 34165/head
Kefu Chai [Wed, 25 Mar 2020 04:16:16 +0000 (12:16 +0800)]
doc/releases/octopus: fix indents

reduce the indent in subsection of "RGW object storage", some of the
nested items should be indented with two spaces instead of four.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoqa/tasks/mgr/dashboard/test_health: ignore fsmap.standbys 34138/head
Kiefer Chang [Wed, 25 Mar 2020 03:17:17 +0000 (11:17 +0800)]
qa/tasks/mgr/dashboard/test_health: ignore fsmap.standbys

Fixes: https://tracker.ceph.com/issues/44725
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
5 years agoMerge pull request #34106 from adamemerson/wip-namespace-mon
Kefu Chai [Wed, 25 Mar 2020 02:48:57 +0000 (10:48 +0800)]
Merge pull request #34106 from adamemerson/wip-namespace-mon

Make ceph-mon compile without top-level using namespace in headers

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34161 from tchaikov/wip-perf-test-on-bionic
Yuri Weinstein [Wed, 25 Mar 2020 02:16:48 +0000 (19:16 -0700)]
Merge pull request #34161 from tchaikov/wip-perf-test-on-bionic

qa/suites/perf-basic: only test on bionic

5 years agoqa/suites/perf-basic: only test on bionic 34161/head
Kefu Chai [Wed, 25 Mar 2020 01:54:04 +0000 (09:54 +0800)]
qa/suites/perf-basic: only test on bionic

because centos8/rhel8 does not package collectl or pdsh anymore. but
these packages are required by CBT for collecting performance stats.
so instead of testing on all supported distros, let's run the perf tests
only on distros offering these packages.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #33851 into master
Sage Weil [Tue, 24 Mar 2020 22:26:49 +0000 (17:26 -0500)]
Merge PR #33851 into master

* refs/pull/33851/head:
mgr/orch: allow list daemons by service_name

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge PR #33957 into master
Sage Weil [Tue, 24 Mar 2020 21:42:09 +0000 (16:42 -0500)]
Merge PR #33957 into master

* refs/pull/33957/head:
Add alertmanager sample

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
5 years agoMerge PR #33958 into master
Sage Weil [Tue, 24 Mar 2020 21:41:09 +0000 (16:41 -0500)]
Merge PR #33958 into master

* refs/pull/33958/head:
Add alertmanager adopt

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge PR #34145 into master
Sage Weil [Tue, 24 Mar 2020 21:35:47 +0000 (16:35 -0500)]
Merge PR #34145 into master

* refs/pull/34145/head:
qa/workunits/cephadm: create lvs before calling cephadm

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #34130 from theanalyst/octopus-changelog
Abhishek L [Tue, 24 Mar 2020 21:11:21 +0000 (22:11 +0100)]
Merge pull request #34130 from theanalyst/octopus-changelog

doc: add changelog for octopus release

Reviewed-By: Sage Weil <sage@redhat.com>
Reviewed-By: Nathan Cutler <ncutler@suse.com>
5 years agomgr/dashboard: Check for missing npm resolutions 34131/head
Tiago Melo [Mon, 23 Mar 2020 19:54:06 +0000 (18:54 -0100)]
mgr/dashboard: Check for missing npm resolutions

Check if it's necessary to run "npm run fix:audit" before committing the changes.

This is important to resolve some issues with building and
to fix some npm vulnerabilities.

Fixes: https://tracker.ceph.com/issues/44723
Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge PR #33967 into master
Sage Weil [Tue, 24 Mar 2020 20:39:13 +0000 (15:39 -0500)]
Merge PR #33967 into master

* refs/pull/33967/head:
mgr: ceph_pg_* metrics contains last value instead of sum all of them

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #34085 into master
Sage Weil [Tue, 24 Mar 2020 20:38:04 +0000 (15:38 -0500)]
Merge PR #34085 into master

* refs/pull/34085/head:
debian: add ceph-grafana-dashboards package
ceph.spec: put prometheus alerts in vendor-neutral location
mgr/cephadm: include prom alerts, if present in the container

Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
Reviewed-by: Paul Cuzner <pcuzner@redhat.com>
5 years agoMerge PR #34089 into master
Sage Weil [Tue, 24 Mar 2020 20:36:59 +0000 (15:36 -0500)]
Merge PR #34089 into master

* refs/pull/34089/head:
mgr/cephadm: point alertmanager at all mgr/dashboard URLs

Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Paul Cuzner <pcuzner@redhat.com>
5 years agoMerge PR #34114 into master
Sage Weil [Tue, 24 Mar 2020 20:35:44 +0000 (15:35 -0500)]
Merge PR #34114 into master

* refs/pull/34114/head:
mgr/cephadm: Add example to run when debugging ssh failures

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #33917 from yuvalif/fix_bucket_notification_json_format
Casey Bodley [Tue, 24 Mar 2020 18:08:11 +0000 (14:08 -0400)]
Merge pull request #33917 from yuvalif/fix_bucket_notification_json_format

rgw/pubsub: invalid json format in bucket notification example

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agodoc: releases: add a note on debian packages & those built by the community 34140/head
Abhishek Lekshmanan [Tue, 24 Mar 2020 10:49:56 +0000 (11:49 +0100)]
doc: releases: add a note on debian packages & those built by the community

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agomgr/cephadm: use docker.io in default container image name 34146/head
Sage Weil [Tue, 24 Mar 2020 16:46:30 +0000 (11:46 -0500)]
mgr/cephadm: use docker.io in default container image name

Not all hosts have docker.io configured as a default registry.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #34076 from p-se/wip-pse-doc-preliminary-steps
Lenz Grimmer [Tue, 24 Mar 2020 16:38:58 +0000 (17:38 +0100)]
Merge pull request #34076 from p-se/wip-pse-doc-preliminary-steps

mgr/dashboard: add preliminary steps to documentation

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agomgr/cephadm: fix 'upgrade start' message when specifying a version
Sage Weil [Tue, 24 Mar 2020 16:07:12 +0000 (11:07 -0500)]
mgr/cephadm: fix 'upgrade start' message when specifying a version

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa/workunits/cephadm: create lvs before calling cephadm 34145/head
Jan Fajerski [Tue, 24 Mar 2020 13:53:26 +0000 (14:53 +0100)]
qa/workunits/cephadm: create lvs before calling cephadm

Fixes: https://tracker.ceph.com/issues/44682
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
5 years agoMerge pull request #33911 from tchaikov/wip-cephfs-doc
Kefu Chai [Tue, 24 Mar 2020 15:01:16 +0000 (23:01 +0800)]
Merge pull request #33911 from tchaikov/wip-cephfs-doc

pybind/cephfs, doc: add python binding doc

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoMerge pull request #31885 from jtlayton/wip-42447
Sebastian Wagner [Tue, 24 Mar 2020 13:31:07 +0000 (14:31 +0100)]
Merge pull request #31885 from jtlayton/wip-42447

doc: add a basic client configuration document

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
5 years agoMerge pull request #34124 from smithfarm/wip-fix-cbs-for-octopus
Nathan Cutler [Tue, 24 Mar 2020 13:06:08 +0000 (14:06 +0100)]
Merge pull request #34124 from smithfarm/wip-fix-cbs-for-octopus

script/ceph-backport.sh: update for octopus

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
5 years agoAdd alertmanager adopt 33958/head
Eric Jackson [Fri, 13 Mar 2020 18:35:54 +0000 (14:35 -0400)]
Add alertmanager adopt

Signed-off-by: Eric Jackson <swiftgist@gmail.com>
5 years agoAdd alertmanager sample 33957/head
Eric Jackson [Fri, 13 Mar 2020 18:42:57 +0000 (14:42 -0400)]
Add alertmanager sample

Default contents of alertmanager.yml with additional peers key

Signed-off-by: Eric Jackson <swiftgist@gmail.com>
5 years agomgr/dashboard: add preliminary steps to documentation 34076/head
Patrick Seidensal [Thu, 19 Mar 2020 21:52:03 +0000 (22:52 +0100)]
mgr/dashboard: add preliminary steps to documentation

to pick up newcomers with little to no Ceph experience.

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
5 years agoqa/tasks/cephfs: fix syntax error 34139/head
Kefu Chai [Tue, 24 Mar 2020 10:15:58 +0000 (18:15 +0800)]
qa/tasks/cephfs: fix syntax error

it's a regression introduced by 9f6c764f10

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoqa: import py3 compatible modules using six
Kefu Chai [Tue, 24 Mar 2020 08:33:57 +0000 (16:33 +0800)]
qa: import py3 compatible modules using six

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoqa: import with full path
Kefu Chai [Tue, 24 Mar 2020 08:33:22 +0000 (16:33 +0800)]
qa: import with full path

to be py3 compatible

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agopybind/mgr/*: fix config_notify handling of default values 34117/head
Nathan Cutler [Mon, 23 Mar 2020 14:41:16 +0000 (15:41 +0100)]
pybind/mgr/*: fix config_notify handling of default values

After 5ace82e65c72847fb875fc01c419937a26a59d70 was merged, I found
three more instances of the code being patched.

The commit message of 5ace82e65c72847fb875fc01c419937a26a59d70 was/is:

"The default values are handled by mgr_module.py's _get_module_option();
the or here means that we break any non-true (0, false, none) value and
override it with the default."

Fixes: 5ace82e65c72847fb875fc01c419937a26a59d70
Fixes: https://tracker.ceph.com/issues/43746
Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoqa/tasks/mgr/dashboard/test_health: update mdsmap schema
Kiefer Chang [Tue, 24 Mar 2020 10:14:05 +0000 (18:14 +0800)]
qa/tasks/mgr/dashboard/test_health: update mdsmap schema

Fixes: https://tracker.ceph.com/issues/44725
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
5 years agoscript/ceph-backport.sh: bump version number 34124/head
Nathan Cutler [Mon, 23 Mar 2020 15:47:51 +0000 (16:47 +0100)]
script/ceph-backport.sh: bump version number

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoscript/ceph-backport.sh: set target_branch in API case
Nathan Cutler [Mon, 23 Mar 2020 15:46:02 +0000 (16:46 +0100)]
script/ceph-backport.sh: set target_branch in API case

When we falling back to the GitHub API to determine the milestone
number, we were not initializing target_branch, so the script was
broken for octopus backports.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agodoc: add changelog for octopus release 34130/head
Abhishek Lekshmanan [Tue, 24 Mar 2020 09:29:23 +0000 (10:29 +0100)]
doc: add changelog for octopus release

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agoMerge pull request #34108 from mgfritch/cephadm-optional-config-keyring
Kefu Chai [Tue, 24 Mar 2020 06:03:12 +0000 (14:03 +0800)]
Merge pull request #34108 from mgfritch/cephadm-optional-config-keyring

cephadm: init config and keyring with None

Tested-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34101 from s1eke/master
Kefu Chai [Tue, 24 Mar 2020 06:00:29 +0000 (14:00 +0800)]
Merge pull request #34101 from s1eke/master

doc: Fix some link errors about ceph-deploy

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agotest/msgr: print out informative messages to stdout 34136/head
Kefu Chai [Tue, 24 Mar 2020 05:43:20 +0000 (13:43 +0800)]
test/msgr: print out informative messages to stdout

they should not goto stderr

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agomgr/orch: allow list daemons by service_name 33851/head
Kiefer Chang [Tue, 10 Mar 2020 11:43:42 +0000 (19:43 +0800)]
mgr/orch: allow list daemons by service_name

Services like rgw and mds are differentiated by service_name. For
example: mds.xyz vs. mds.abc. With current interface, we can't list all
daemons belonged to mds.xyz only. Add service_name as a new argument to
filter daemons by it.

Fixes: https://tracker.ceph.com/issues/44541
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
5 years agokv/RocksDBStore: using PinnableSlice to avoid extra value copy 34015/head
Haomai Wang [Wed, 18 Mar 2020 01:51:41 +0000 (09:51 +0800)]
kv/RocksDBStore: using PinnableSlice to avoid extra value copy

Signed-off-by: Haomai Wang <haomai@xsky.com>
5 years agoMerge pull request #34103 from yanghonggang/perf-msgr-client
Kefu Chai [Tue, 24 Mar 2020 04:46:55 +0000 (12:46 +0800)]
Merge pull request #34103 from yanghonggang/perf-msgr-client

test/msgr/perf_msgr_client.cc: fix misleading total op num

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #33753 from ukernel/wip-44448
Yan, Zheng [Tue, 24 Mar 2020 02:07:36 +0000 (10:07 +0800)]
Merge pull request #33753 from ukernel/wip-44448

mds: fix 'if there is lock cache on dir' check

5 years agodebian: add ceph-grafana-dashboards package 34085/head
Sage Weil [Fri, 20 Mar 2020 16:36:10 +0000 (11:36 -0500)]
debian: add ceph-grafana-dashboards package

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoceph.spec: put prometheus alerts in vendor-neutral location
Sage Weil [Fri, 20 Mar 2020 15:15:54 +0000 (10:15 -0500)]
ceph.spec: put prometheus alerts in vendor-neutral location

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/cephadm: include prom alerts, if present in the container
Sage Weil [Fri, 20 Mar 2020 14:27:28 +0000 (09:27 -0500)]
mgr/cephadm: include prom alerts, if present in the container

The prometheus config already looks in/etc/prometheus/alerting/*, so drop
this file into position.

Note that the file is currently only present in SUSE builds, so that needs
to be fixed still.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge remote-tracking branch 'gh/octopus' v16.0.0
Sage Weil [Tue, 24 Mar 2020 01:09:41 +0000 (20:09 -0500)]
Merge remote-tracking branch 'gh/octopus'

5 years agoMerge PR #34100 into octopus 34135/head
Sage Weil [Tue, 24 Mar 2020 01:01:12 +0000 (20:01 -0500)]
Merge PR #34100 into octopus

* refs/pull/34100/head:
doc/cephadm: notes on status/stability
doc/cephadm: some troubleshooting tips

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge PR #34115 into octopus
Sage Weil [Tue, 24 Mar 2020 01:00:58 +0000 (20:00 -0500)]
Merge PR #34115 into octopus

* refs/pull/34115/head:
doc/releases/octopus: drop stray line
doc/releases/octopus: note about repository locations
doc/releases: include octopus in index
doc/install/get-packages: update package install instructions
doc/releases/octopus: final notes

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
5 years agoMerge PR #34126 into master 33962/head
Sage Weil [Mon, 23 Mar 2020 18:55:16 +0000 (13:55 -0500)]
Merge PR #34126 into master

* refs/pull/34126/head:
qa/*/osd-backfill-recovery-log.sh: flush_pg_stats before checking log length

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agodoc/releases/octopus: drop stray line 34115/head
Sage Weil [Mon, 23 Mar 2020 18:54:12 +0000 (13:54 -0500)]
doc/releases/octopus: drop stray line

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agodoc/releases/octopus: note about repository locations
Sage Weil [Mon, 23 Mar 2020 14:11:10 +0000 (09:11 -0500)]
doc/releases/octopus: note about repository locations

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agodoc/releases: include octopus in index
Sage Weil [Mon, 23 Mar 2020 13:50:14 +0000 (08:50 -0500)]
doc/releases: include octopus in index

Signed-off-by: Sage Weil <sage@redhat.com>
5 years ago15.2.0 v15.2.0
Jenkins Build Slave User [Mon, 23 Mar 2020 17:47:45 +0000 (17:47 +0000)]
15.2.0

5 years agodoc/install/get-packages: update package install instructions
Sage Weil [Mon, 23 Mar 2020 13:49:09 +0000 (08:49 -0500)]
doc/install/get-packages: update package install instructions

- include cephadm method
- update to include new version URLs

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #34119 into octopus
Sage Weil [Mon, 23 Mar 2020 17:38:24 +0000 (12:38 -0500)]
Merge PR #34119 into octopus

* refs/pull/34119/head:
doc: update octopus release notes for rgw

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
5 years agoMerge PR #34122 into octopus
Sage Weil [Mon, 23 Mar 2020 17:38:12 +0000 (12:38 -0500)]
Merge PR #34122 into octopus

* refs/pull/34122/head:
cephadm: default to v15 tag for octopus

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoscript/ceph-backport.sh: update for octopus
Nathan Cutler [Mon, 23 Mar 2020 15:45:30 +0000 (16:45 +0100)]
script/ceph-backport.sh: update for octopus

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoqa/*/osd-backfill-recovery-log.sh: flush_pg_stats before checking log length 34126/head
Neha [Sun, 22 Mar 2020 20:01:23 +0000 (20:01 +0000)]
qa/*/osd-backfill-recovery-log.sh: flush_pg_stats before checking log length

It is possible for the pg dump to not be the latest when we check for newprimary
in _common_test(). This is because mgr_stats_period is 5 seconds, and we may not
have fetched the latest stats just yet. This causes the test to look at the same
stats before and after wait_for_clean.

Fixes: https://tracker.ceph.com/issues/43807 (2)
Signed-off-by: Neha Ojha <nojha@redhat.com>
5 years agocephadm: default to v15 tag for octopus 34122/head
Sage Weil [Mon, 23 Mar 2020 15:34:16 +0000 (10:34 -0500)]
cephadm: default to v15 tag for octopus

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agodoc: update octopus release notes for rgw 34119/head
Casey Bodley [Wed, 18 Mar 2020 15:13:30 +0000 (11:13 -0400)]
doc: update octopus release notes for rgw

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 984f3ff7e0fe10f1b54da4271a2a0879ffea0ddb)

5 years agoMerge PR #34028 into master
Sage Weil [Mon, 23 Mar 2020 14:59:21 +0000 (09:59 -0500)]
Merge PR #34028 into master

* refs/pull/34028/head:
doc: update octopus release notes for rgw

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
5 years agomgr/cephadm: Add example to run when debugging ssh failures 34114/head
Sebastian Wagner [Mon, 23 Mar 2020 13:27:51 +0000 (14:27 +0100)]
mgr/cephadm: Add example to run when debugging ssh failures

```
$ ceph orch host add foobar
Error ENOENT: Failed to connect to foobar (foobar).  Check that the host is reachable and accepts connections using the cephadm SSH key
you may want to run:
> ssh -F =(ceph cephadm get-ssh-config) -i =(ceph config-key get mgr/cephadm/ssh_identity_key) rook@foobar
$  ssh -F =(ceph cephadm get-ssh-config) -i =(ceph config-key get mgr/cephadm/ssh_identity_key) rook@foobar
ssh: Could not resolve hostname foobar: Temporary failure in name resolution
```

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge PR #34105 into master
Sage Weil [Mon, 23 Mar 2020 13:24:06 +0000 (08:24 -0500)]
Merge PR #34105 into master

* refs/pull/34105/head:
Merge PR #34042 into octopus
Merge PR #33959 into octopus
Merge PR #34067 into octopus
mgr/DaemonServer: add explicit check that acting matches for merge
Merge pull request #34040 from dillaman/wip-44396-partial-fix
Merge PR #34098 into octopus
mgr/rook: list rgw services
mgr/rook: tolerate timestamps that are None
mgr/orch: add 'subcluster' property to RGWSpec
mgr/rook: do not create radosgw pools
mgr/rook: refactor apply/add for rgw
Merge PR #34082 into octopus
Merge PR #34068 into octopus
cephadm: relabel /etc/ganesha mount
Merge PR #34046 into octopus
Merge PR #34092 into octopus
Merge pull request #33719 from ukernel/wip-44416
rbd-mirror: leader watcher should not cancel get locker if locker is invalid
rbd-mirror: snapshot sync request needs to check for interruption
librbd: request exclusive lock when moving to trash
rbd-mirror: basic integration with sync throttling
rbd-mirror: don't prematurely finish snapshot replay loop
rbd-mirror: pass InstanceWatcher to snapshot Replayer
doc/releases/octopus.rst: add note about ec recovery below min_size
mgr/cephadm: configure rgw_frontends for rgw service
cephadm: switch grafana image to the ceph repo
Merge PR #34034 into octopus
qa/suites/rados/cephadm/upgrade: update starting version
Merge PR #33540 into octopus
Merge PR #34023 into octopus
Merge PR #34044 into octopus
Merge PR #34030 into octopus
doc/orchestrator: update rgw creation
mgr/cephadm: clean up client.crash.* container_image settings after upgrade
cephadm: make add-repo --release and --version independent
cephadm: env over last used
mgr/orch: accept port and ssl flags to 'apply rgw'
mgr/orch: 'ceph upgrade ...' -> 'ceph orch upgrade ...'
cephadm: fall back to default for infer_image
cephadm: remove outdated check
cephadm: consolidate default image logic
remove ceph_test_rados_watch_notify
python-common/ceph/deployment/service_spec: add ssl to RGWSpec
cephadm: only infer image for shell, run, inspect-image, pull, ceph-volume
mgr/test_orchestrator: fix service filtering when using dummy data
mgr/dashboard: fix adding/removing host errors
mgr/rook: fix 'orch ps' for osds
qa: fix all the fsx.sh-invoking yaml files to install dependencies
mds: pass proper MutationImpl::LockOp to Locker::wrlock_start()

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agodoc/releases/octopus: final notes
Sage Weil [Mon, 23 Mar 2020 13:20:57 +0000 (08:20 -0500)]
doc/releases/octopus: final notes

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agodoc/cephadm: notes on status/stability 34100/head
Sage Weil [Fri, 20 Mar 2020 16:40:56 +0000 (11:40 -0500)]
doc/cephadm: notes on status/stability

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #33741 from ricardoasmarques/iscsi-password-msg
Lenz Grimmer [Mon, 23 Mar 2020 12:47:41 +0000 (13:47 +0100)]
Merge pull request #33741 from ricardoasmarques/iscsi-password-msg

mgr/dashboard: Improve iSCSI CHAP message

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
5 years agoMerge pull request #34063 from s0nea/wip-dashboard-crush-rule-suite
Lenz Grimmer [Mon, 23 Mar 2020 12:11:50 +0000 (13:11 +0100)]
Merge pull request #34063 from s0nea/wip-dashboard-crush-rule-suite

mgr/dashboard: add crush rule test suite

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
5 years agoMerge pull request #34113 from s0nea/wip-dashboard-orch-docu-link
Lenz Grimmer [Mon, 23 Mar 2020 12:07:17 +0000 (13:07 +0100)]
Merge pull request #34113 from s0nea/wip-dashboard-orch-docu-link

mgr/dashboard: correct Orchestrator documentation link

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agomgr/dashboard: correct Orchestrator documentation link 34113/head
Tatjana Dehler [Mon, 23 Mar 2020 10:45:53 +0000 (11:45 +0100)]
mgr/dashboard: correct Orchestrator documentation link

Fixes: https://tracker.ceph.com/issues/44708
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
5 years agoMerge pull request #34104 from tchaikov/crimson-admin-close
Kefu Chai [Mon, 23 Mar 2020 09:10:40 +0000 (17:10 +0800)]
Merge pull request #34104 from tchaikov/crimson-admin-close

crimson/admin: do not reset connected_sock before closing

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agoMerge pull request #33909 from cyx1231st/wip-seastar-msgr-fix-reset
Kefu Chai [Mon, 23 Mar 2020 09:05:57 +0000 (17:05 +0800)]
Merge pull request #33909 from cyx1231st/wip-seastar-msgr-fix-reset

crimson: misc fixes for writes to multiple-osd cluster

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agocrimson/net: add critical info logs to track and debug racing 33909/head
Yingxin Cheng [Tue, 17 Mar 2020 07:14:06 +0000 (15:14 +0800)]
crimson/net: add critical info logs to track and debug racing

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agocrimson/net: fix incorrect SocketConnection::print()
Yingxin Cheng [Mon, 16 Mar 2020 03:38:58 +0000 (11:38 +0800)]
crimson/net: fix incorrect SocketConnection::print()

The informaction about SocketConnection::side and
SocketConnection::ephemeral_port are not up-to-date in the log, because
they are not moved with Socket during connection replacement. They are
actually socket-level information.

Also take the chance to reorder Socket members.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agocrimson/osd: make send_heartbeat() atomic
Yingxin Cheng [Sat, 14 Mar 2020 10:34:19 +0000 (18:34 +0800)]
crimson/osd: make send_heartbeat() atomic

The item in Heartbeat:peers could be removed/re-added during the
asynchronous operation.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agoMerge pull request #32171 from rosinL/wip-ec-isla-aarch64
Kefu Chai [Mon, 23 Mar 2020 04:46:39 +0000 (12:46 +0800)]
Merge pull request #32171 from rosinL/wip-ec-isla-aarch64

erasure-code: enable isa-l EC for aarch64 platform

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agomgr: ceph_pg_* metrics contains last value instead of sum all of them 33967/head
Jacek Suchenia [Sat, 14 Mar 2020 13:12:10 +0000 (14:12 +0100)]
mgr: ceph_pg_* metrics contains last value instead of sum all of them

During evaluation of pool stats metrics contains last reported value instead of sum

Fixes: https://tracker.ceph.com/issues/44590
Signed-off-by: Jacek Suchenia <jacek.suchenia@gmail.com>
5 years agocrimson/admin: do not reset connected_sock before closing 34104/head
Kefu Chai [Sat, 21 Mar 2020 12:18:50 +0000 (20:18 +0800)]
crimson/admin: do not reset connected_sock before closing

* no need to discard_result(). as `output_stream::close()` returns an
  empty future<> already
* free the connected socket after the background task finishes, because:

we should not free the connected socket before the promise referencing it is fulfilled.

otherwise we have error messages from ASan, like

==287182==ERROR: AddressSanitizer: heap-use-after-free on address 0x611000019aa0 at pc 0x55e2ae2de882 bp 0x7fff7e2bf080 sp 0x7fff7e2bf078
READ of size 8 at 0x611000019aa0 thread T0
    #0 0x55e2ae2de881 in seastar::reactor_backend_aio::await_events(int, __sigset_t const*) ../src/seastar/src/core/reactor_backend.cc:396
    #1 0x55e2ae2dfb59 in seastar::reactor_backend_aio::reap_kernel_completions() ../src/seastar/src/core/reactor_backend.cc:428
    #2 0x55e2adbea397 in seastar::reactor::reap_kernel_completions_pollfn::poll() (/var/ssd/ceph/build/bin/crimson-osd+0x155e9397)
    #3 0x55e2adaec6d0 in seastar::reactor::poll_once() ../src/seastar/src/core/reactor.cc:2789
    #4 0x55e2adae7cf7 in operator() ../src/seastar/src/core/reactor.cc:2687
    #5 0x55e2adb7c595 in __invoke_impl<bool, seastar::reactor::run()::<lambda()>&> /usr/include/c++/10/bits/invoke.h:60
    #6 0x55e2adb699b0 in __invoke_r<bool, seastar::reactor::run()::<lambda()>&> /usr/include/c++/10/bits/invoke.h:113
    #7 0x55e2adb50222 in _M_invoke /usr/include/c++/10/bits/std_function.h:291
    #8 0x55e2adc2ba00 in std::function<bool ()>::operator()() const /usr/include/c++/10/bits/std_function.h:622
    #9 0x55e2adaea491 in seastar::reactor::run() ../src/seastar/src/core/reactor.cc:2713
    #10 0x55e2ad98f1c7 in seastar::app_template::run_deprecated(int, char**, std::function<void ()>&&) ../src/seastar/src/core/app-template.cc:199
    #11 0x55e2a9e57538 in main ../src/crimson/osd/main.cc:148
    #12 0x7fae7f20de0a in __libc_start_main ../csu/libc-start.c:308
    #13 0x55e2a9d431e9 in _start (/var/ssd/ceph/build/bin/crimson-osd+0x117421e9)

0x611000019aa0 is located 96 bytes inside of 240-byte region [0x611000019a40,0x611000019b30)
freed by thread T0 here:
    #0 0x7fae80a4e487 in operator delete(void*, unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.6+0xac487)
    #1 0x55e2ae302a0a in seastar::aio_pollable_fd_state::~aio_pollable_fd_state() ../src/seastar/src/core/reactor_backend.cc:458
    #2 0x55e2ae2e1059 in seastar::reactor_backend_aio::forget(seastar::pollable_fd_state&) ../src/seastar/src/core/reactor_backend.cc:524
    #3 0x55e2adab9b9a in seastar::pollable_fd_state::forget() ../src/seastar/src/core/reactor.cc:1396
    #4 0x55e2adab9d05 in seastar::intrusive_ptr_release(seastar::pollable_fd_state*) ../src/seastar/src/core/reactor.cc:1401
    #5 0x55e2ace1b72b in boost::intrusive_ptr<seastar::pollable_fd_state>::~intrusive_ptr() /opt/ceph/include/boost/smart_ptr/intrusive_ptr.hpp:98
    #6 0x55e2ace115a5 in seastar::pollable_fd::~pollable_fd() ../src/seastar/include/seastar/core/internal/pollable_fd.hh:109
    #7 0x55e2ae0ed35c in seastar::net::posix_server_socket_impl::~posix_server_socket_impl() ../src/seastar/include/seastar/net/posix-stack.hh:161
    #8 0x55e2ae0ed3cf in seastar::net::posix_server_socket_impl::~posix_server_socket_impl() ../src/seastar/include/seastar/net/posix-stack.hh:161
    #9 0x55e2ae0ed943 in std::default_delete<seastar::net::api_v2::server_socket_impl>::operator()(seastar::net::api_v2::server_socket_impl*) const /usr/include/c++/10/bits/unique_ptr.h:81
    #10 0x55e2ae0db357 in std::unique_ptr<seastar::net::api_v2::server_socket_impl, std::default_delete<seastar::net::api_v2::server_socket_impl> >::~unique_ptr()
/usr/include/c++/10/bits/unique_ptr.h:357    #11 0x55e2ae1438b7 in seastar::api_v2::server_socket::~server_socket() ../src/seastar/src/net/stack.cc:195
    #12 0x55e2aa1c7656 in std::_Optional_payload_base<seastar::api_v2::server_socket>::_M_destroy() /usr/include/c++/10/optional:260
    #13 0x55e2aa16c84b in std::_Optional_payload_base<seastar::api_v2::server_socket>::_M_reset() /usr/include/c++/10/optional:280
    #14 0x55e2ac24b2b7 in std::_Optional_base_impl<seastar::api_v2::server_socket, std::_Optional_base<seastar::api_v2::server_socket, false, false> >::_M_reset() /usr/include/c++/10/optional:432
    #15 0x55e2ac23f37b in std::optional<seastar::api_v2::server_socket>::reset() /usr/include/c++/10/optional:975
    #16 0x55e2ac21a2e7 in crimson::admin::AdminSocket::stop() ../src/crimson/admin/admin_socket.cc:265
    #17 0x55e2aa099825 in operator() ../src/crimson/osd/osd.cc:450
    #18 0x55e2aa0d4e3e in apply ../src/seastar/include/seastar/core/apply.hh:36

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #34042 into octopus 34105/head
Sage Weil [Sun, 22 Mar 2020 23:32:11 +0000 (18:32 -0500)]
Merge PR #34042 into octopus

* refs/pull/34042/head:
mgr/rook: list rgw services
mgr/rook: tolerate timestamps that are None
mgr/orch: add 'subcluster' property to RGWSpec
mgr/rook: do not create radosgw pools
mgr/rook: refactor apply/add for rgw
mgr/cephadm: configure rgw_frontends for rgw service
mgr/orch: accept port and ssl flags to 'apply rgw'
python-common/ceph/deployment/service_spec: add ssl to RGWSpec
mgr/rook: fix 'orch ps' for osds

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agocephadm: init config and keyring with None 34108/head
Kefu Chai [Sat, 21 Mar 2020 06:07:40 +0000 (14:07 +0800)]
cephadm: init config and keyring with None

and we should not assume that both `config` and `keying` are specified
when calling this method. because, for instance, `create_daemon_dirs()`
does handle the case where `config` and/or `keyring` is not specified.

this is a follow-up fix of 245d6a5cec9cc0f299613b8cc0415e494a4c3ac5

Signed-off-by: Kefu Chai <kchai@redhat.com>
Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge PR #33959 into octopus
Sage Weil [Sun, 22 Mar 2020 15:56:31 +0000 (10:56 -0500)]
Merge PR #33959 into octopus

* refs/pull/33959/head:
qa: fix all the fsx.sh-invoking yaml files to install dependencies

Reviewed-by: Sage Weil <sage@redhat.com>