Commit Graph

109682 Commits

Author SHA1 Message Date
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
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
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
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
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
Kefu Chai
3a638841f9
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>
2020-03-24 12:46:55 +08:00
Yan, Zheng
ca0978a892
Merge pull request #33753 from ukernel/wip-44448
mds: fix 'if there is lock cache on dir' check
2020-03-24 10:07:36 +08:00
Sage Weil
01015f8ca3 debian: add ceph-grafana-dashboards package
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-23 20:13:19 -05:00
Sage Weil
f1b516d1bf ceph.spec: put prometheus alerts in vendor-neutral location
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-23 20:13:18 -05:00
Sage Weil
b1463998bd 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>
2020-03-23 20:13:08 -05:00
Sage Weil
895b856aee Merge remote-tracking branch 'gh/octopus' 2020-03-23 20:09:41 -05:00
Sage Weil
53037187c4 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>
2020-03-23 20:01:12 -05:00
Sage Weil
e85f2410e7 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>
2020-03-23 20:00:58 -05:00
Sage Weil
04e0b9c2f8 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>
2020-03-23 13:55:16 -05:00
Sage Weil
78acb68c01 doc/releases/octopus: drop stray line
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-23 13:54:12 -05:00
Sage Weil
7e71b19b3e doc/releases/octopus: note about repository locations
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-23 13:53:32 -05:00