Commit Graph

109693 Commits

Author SHA1 Message Date
Casey Bodley
7f1260852a
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>
2020-03-25 15:53:30 -04:00
Casey Bodley
c89b59428e rgw: remove unused librgw_admin_user
unused and not worth the effort to maintain

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2020-03-25 14:12:55 -04:00
Kefu Chai
2cd8c3150b
Merge pull request #34173 from tchaikov/wip-test-rgw
test/rgw: should import parse not urlparse

Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
2020-03-25 22:29:11 +08:00
Kefu Chai
e8c7687a06
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>
2020-03-25 22:17:38 +08:00
Kefu Chai
402f5f1d6a
Merge pull request #34136 from tchaikov/test-msgr-stdout
test/msgr: print out informative messages to stdout

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-03-25 22:13:07 +08:00
Kefu Chai
84501177ac
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>
2020-03-25 22:12:21 +08:00
Abhishek L
b565cbd967
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>
2020-03-25 14:49:55 +01:00
Kefu Chai
0db88f775b 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>
2020-03-25 21:47:56 +08:00
Kefu Chai
a8d244707f
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>
2020-03-25 19:56:02 +08:00
Kefu Chai
b80d794473
Merge pull request #34139 from tchaikov/wip-qa-test-py3
qa,test: py3 compatible changes and fix

Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
2020-03-25 19:48:33 +08:00
Lenz Grimmer
9262d5c081
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>
2020-03-25 10:54:15 +01:00
Kefu Chai
6b07563816
Merge pull request #34165 from tchaikov/wip-doc-release-octopus-indent
doc/releases/octopus: fix indents

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2020-03-25 16:42:58 +08:00
Kefu Chai
b7e6c73604 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>
2020-03-25 12:17:42 +08:00
Kiefer Chang
afce413014
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>
2020-03-25 11:17:17 +08:00
Kefu Chai
258a5f28d1
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>
2020-03-25 10:48:57 +08:00
Yuri Weinstein
71358baffb
Merge pull request #34161 from tchaikov/wip-perf-test-on-bionic
qa/suites/perf-basic: only test on bionic
2020-03-24 19:16:48 -07:00
Kefu Chai
d4a04809fd 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>
2020-03-25 09:54:06 +08:00
Sage Weil
8eb550c8dd Merge PR #33851 into master
* refs/pull/33851/head:
	mgr/orch: allow list daemons by service_name

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-03-24 17:26:49 -05:00
Sage Weil
f4ae54385c 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>
2020-03-24 16:42:09 -05:00
Sage Weil
d8ec125bda Merge PR #33958 into master
* refs/pull/33958/head:
	Add alertmanager adopt

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-03-24 16:41:09 -05:00
Sage Weil
573da4ecab 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>
2020-03-24 16:35:47 -05:00
Abhishek L
f5655b29d8
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>
2020-03-24 22:11:21 +01:00
Tiago Melo
b7b189c9d1 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>
2020-03-24 20:10:04 -01:00
Sage Weil
91728811e8 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>
2020-03-24 15:39:13 -05:00
Sage Weil
0f8c01a1db 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>
2020-03-24 15:38:04 -05:00
Sage Weil
b5c39a5d3f 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>
2020-03-24 15:36:59 -05:00
Sage Weil
9c5e989ac5 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>
2020-03-24 15:35:44 -05:00
Casey Bodley
761e59e57c
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>
2020-03-24 14:08:11 -04:00
Abhishek Lekshmanan
2cdca1ff6d doc: releases: add a note on debian packages & those built by the community
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2020-03-24 18:24:34 +01:00
Lenz Grimmer
b0df48532f
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>
2020-03-24 17:38:58 +01:00
Jan Fajerski
ed0db2445f qa/workunits/cephadm: create lvs before calling cephadm
Fixes: https://tracker.ceph.com/issues/44682

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-03-24 16:37:27 +01:00
Kefu Chai
c0615a4d27
Merge pull request #33911 from tchaikov/wip-cephfs-doc
pybind/cephfs, doc: add python binding doc

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-03-24 23:01:16 +08:00
Sebastian Wagner
b3616ee745
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>
2020-03-24 14:31:07 +01:00
Nathan Cutler
9f4e13571a
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>
2020-03-24 14:06:08 +01:00
Eric Jackson
354d9d2d58 Add alertmanager adopt
Signed-off-by: Eric Jackson <swiftgist@gmail.com>
2020-03-24 08:51:53 -04:00
Eric Jackson
5cbe0c4f8f Add alertmanager sample
Default contents of alertmanager.yml with additional peers key

Signed-off-by: Eric Jackson <swiftgist@gmail.com>
2020-03-24 08:50:52 -04:00
Patrick Seidensal
dc2c03a89a 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>
2020-03-24 11:51:13 +01:00
Kefu Chai
496d7e2132 qa/tasks/cephfs: fix syntax error
it's a regression introduced by 9f6c764f10

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-24 18:27:55 +08:00
Kefu Chai
80b71ef461 qa: import py3 compatible modules using six
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-24 18:27:55 +08:00
Kefu Chai
947a74349d qa: import with full path
to be py3 compatible

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-24 18:27:55 +08:00
Nathan Cutler
30585f44de pybind/mgr/*: fix config_notify handling of default values
After 5ace82e65c was merged, I found
three more instances of the code being patched.

The commit message of 5ace82e65c 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: 5ace82e65c
Fixes: https://tracker.ceph.com/issues/43746
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-03-24 11:17:43 +01:00
Kiefer Chang
933df97cab
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>
2020-03-24 18:14:05 +08:00
Nathan Cutler
500ae6d8ad script/ceph-backport.sh: bump version number
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-03-24 10:36:59 +01:00
Nathan Cutler
6f8129f4da 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>
2020-03-24 10:36:57 +01:00
Abhishek Lekshmanan
dc7cf3fe89 doc: add changelog for octopus release
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2020-03-24 10:29:23 +01:00
Kefu Chai
3f5a801d97
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>
2020-03-24 14:03:12 +08:00
Kefu Chai
596565d6e7
Merge pull request #34101 from s1eke/master
doc: Fix some link errors about ceph-deploy

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-24 14:00:29 +08:00
Kefu Chai
4bd9ddfe20 test/msgr: print out informative messages to stdout
they should not goto stderr

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-24 13:45:24 +08:00
Kiefer Chang
079c9fd771 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>
2020-03-24 13:07:26 +08:00
Haomai Wang
beedd6d804 kv/RocksDBStore: using PinnableSlice to avoid extra value copy
Signed-off-by: Haomai Wang <haomai@xsky.com>
2020-03-24 12:59:29 +08:00