Commit Graph

109773 Commits

Author SHA1 Message Date
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
Neha
c1c6f8f8c1 doc/releases/octopus.rst: fix min_mon_release string
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-03-25 17:29:48 +00:00
Sage Weil
764ce71bd2 mgr/cephadm: fix 'orch ps --refresh'
The use of host in the refresh loop was clobbering the argument value.

Fixes: https://tracker.ceph.com/issues/44513
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-25 10:39:59 -05:00
Sage Weil
5f4fedbd5b mgr/cephadm: bind grafana to all interfaces
Fixes: https://tracker.ceph.com/issues/44608
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-25 10:34:21 -05:00
Ricardo Marques
b000f12aba cephadm: Fix check_ip_port to work with IPv6
Fixes: https://tracker.ceph.com/issues/43816

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2020-03-25 15:06:17 +00: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
Sebastian Wagner
d8ced206e2 mgr/cephadm: cleanup async_map_completion etc.
This breaks the progress integration, but we haven't
used that anyway till now.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-03-25 12:07:25 +01:00
Sebastian Wagner
29aa87c570 mgr/cephadm: replace async_completion with trivial_completion
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-03-25 12:07:25 +01:00
Sebastian Wagner
a78f42e225 mgr/cephadm: replace async_map_completion with a simple wrapper
There is no need to wrap everything into completions.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-03-25 12:07:25 +01: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
Joshua Schmid
f7bb0236aa mgr/cephadm: DriveGroupSpec needs to know about unmanaged attribute
Signed-off-by: Joshua Schmid <jschmid@suse.de>
2020-03-25 10:53:06 +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
Nathan Cutler
bc76b39a30 qa/tasks/ceph.py: fail test if osd devices not found
Fixes: https://tracker.ceph.com/issues/42357
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-03-25 09:35:01 +01:00
Joshua Schmid
bda6a47aac mgr/cephadm: DriveGroupSpec needs to support/ignore _unmanaged_
Signed-off-by: Joshua Schmid <jschmid@suse.de>
2020-03-25 09:34:06 +01:00
Nathan Cutler
9abebf28a8 qa/tasks/ceph.py: use .format to log dicts
The ".format" builtin logs dicts nicely right out of the box.

Also, some of the log messages were too cryptic - fixed them in this commit as
well.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-03-25 09:33:44 +01:00
Nathan Cutler
ad477be286 qa/tasks/ceph.py: drop roles_to_journals and remote_to_roles_to_journals
These do not seem to get any use anymore.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-03-25 09:33:44 +01:00
Nathan Cutler
1393317129 qa/tasks/ceph.py: drop block_journal, tmpfs_journal
I looked, but did not find any tests that actually use these options.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-03-25 09:33:44 +01:00
Nathan Cutler
51c714d9b2 qa/tasks/ceph.py: cleanup: stop calling get_wwn_id_map()
Nowadays, get_wwn_id_map is essentially a noop - it does:

    return dict((d, d) for d in devs)

This reverts another bit of 8f720454cb from 2013.

References: https://tracker.ceph.com/issues/42313
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-03-25 09:33:44 +01: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
Sage Weil
d4f367a7ea 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>
2020-03-24 11:46:30 -05: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
Sage Weil
c6b0c28d74 mgr/cephadm: fix 'upgrade start' message when specifying a version
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-24 11:07:12 -05: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