Commit Graph

103602 Commits

Author SHA1 Message Date
Lenz Grimmer
5df7223985
mgr/dashboard: remove space in tox.ini deps (#31246)
mgr/dashboard: remove space in tox.ini deps

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-10-30 15:32:15 +00:00
Lenz Grimmer
f61d002825
mgr/dashboard: Allow removal of single notification (#31048)
mgr/dashboard: Allow removal of single notification

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-10-30 12:32:37 +00:00
Lenz Grimmer
fb29d02330
mgr/dashboard: Use checkbox for multi selection (#30495)
mgr/dashboard: Use checkbox for multi selection

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-10-30 11:58:15 +00:00
Nathan Cutler
2566d95e31
Merge pull request #31193 from rhcs-dashboard/wip-42507-master
mgr/dashboard: update dashboard CODEOWNERShip

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2019-10-30 11:54:18 +01:00
Nathan Cutler
f28fbe6c54
Merge pull request #30988 from smithfarm/wip-bri-multi
backport-resolve-issue: resolve multiple backport issues
2019-10-30 11:31:21 +01:00
Sebastian Wagner
e463177d24 mgr/dashboard: remove space in tox.ini deps
Fixes: https://tracker.ceph.com/issues/42469
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-10-30 11:27:27 +01:00
Nathan Cutler
96cb16d5a6
Merge pull request #31163 from callithea/wip-issue-42489
doc: Small update of SubmittingPatches-backports

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2019-10-30 11:02:30 +01:00
Nathan Cutler
147f386002
Merge pull request #30879 from smithfarm/wip-cbs-check-missing-milestone
ceph-backport.sh: implement --milestones feature and more-careful vetting

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-10-30 10:30:01 +01:00
Kefu Chai
2210425a68
Merge pull request #29930 from IlsooByun/rocksdb_ver
cmake: require RocksDB 5.14 or higher

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-10-30 10:11:01 +08:00
Patrick Donnelly
b4f772d4f0
Merge PR #30369 into master
* refs/pull/30369/head:
	doc/cephfs: add doc for cephfs io path

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-10-29 15:32:18 -07:00
Patrick Donnelly
80e6cb7001
Merge PR #31201 into master
* refs/pull/31201/head:
	doc: document rank option for journal reset

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2019-10-29 12:39:06 -07:00
Sage Weil
3c0df4489c Merge PR #31181 into master
* refs/pull/31181/head:
	ceph-daemon: only pass podman -it if need an interactive shell

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2019-10-29 13:39:40 -05:00
Alfredo Deza
cfc1f71801
Merge pull request #31159 from alfredodeza/wip-rm42484
ceph-volume tests remove xenial from functional testing

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2019-10-29 12:05:11 -04:00
Kefu Chai
3773a341ad
Merge pull request #31222 from sebastian-philipp/python-common-avoid-setup_requires
python-common: avoid using setup_requires in setup.py

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-10-29 23:07:39 +08:00
Tiago Melo
c7bd94f07e mgr/dashboard: Allow removal of single notification
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-10-29 13:50:01 -01:00
Sage Weil
8c7dbeca8d ceph-daemon: only pass podman -it if need an interactive shell
Otherwise, we get errors like

2019-10-26T17:29:42.004 INFO:tasks.workunit.client.0.mira109.stderr:+ sudo /usr/sbin/ceph-daemon shell -- ceph -v
2019-10-26T17:29:42.004 INFO:tasks.workunit.client.0.mira109.stderr:+ grep 'ceph version'
2019-10-26T17:29:42.149 INFO:tasks.workunit.client.0.mira109.stderr:the input device is not a TTY

Fixes: https://tracker.ceph.com/issues/42499
Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-29 09:41:16 -05:00
Sage Weil
f5bc2bd74a Merge PR #31059 into master
* refs/pull/31059/head:
	mgr/rook: implement update_mds
	mgr/ssh: implement 'mds update'
	mgr/orchestrator_cli: add 'mds update' command
	mgr/ssh: unique names for mds instances
	mgr/ssh: name mgrs with random string id; add removal support
	mgr/ssh: provide get_unique_name helper
	mgr/orchestrator_cli: rename 'mds rm' arg
	mgr/orchestrator_cli: rename 'mds add' arg
	mgr/ssh: add 'mds rm'
	mgr/ssh: (broken) mds rm
	mgr/ssh: make mds add work
	mgr/orchestrator: add count, hosts args to 'mds add'
	mgr/ssh: be consistently verbose
	mgr/ActivePyModules: expose 'mds_metadata' to modules

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-10-29 09:38:57 -05:00
Jan Fajerski
6f8d366039
Merge pull request #31197 from jan--f/c-v-fix-lvm-mokeypatch
ceph-volume: mokeypatch calls to lvm related binaries
2019-10-29 15:27:02 +01:00
Sebastian Wagner
1ad3b0a5b9 python-common: avoid using setup_requires in setup.py
Fixes: https://tracker.ceph.com/issues/42528

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-10-29 14:05:30 +01:00
Ilya Dryomov
9c17ca0aa7
Merge pull request #31023 from idryomov/wip-krbd-udev-enumerate-retry
krbd: retry on transient errors from udev_enumerate_scan_devices()

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2019-10-29 11:40:45 +01:00
Ilsoo Byun
a83a25c076 cmake: require RocksDB 5.14 or higher
error: ‘class rocksdb::Env’ has no member named ‘SetAllowNonOwnerAccess’
       opt.env->SetAllowNonOwnerAccess(false);
                    ^~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Ilsoo Byun <ilsoobyun@linecorp.com>
2019-10-29 18:04:24 +09:00
Jan Fajerski
aa34a05aa2
Merge pull request #31072 from sebastian-philipp/ceph-volume-inventory-device-id
ceph-volume: add Ceph's device id to inventory
2019-10-29 08:16:14 +01:00
Patrick Donnelly
eb00dcd660
Merge PR #31063 into master
* refs/pull/31063/head:
	qa: disable too few PG warning during Mimic deploy

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-10-28 20:37:31 -07:00
Kefu Chai
6e4bc90863
Merge pull request #31178 from tchaikov/wip/rpm/pyyaml
ceph.spec.in: add missing python-yaml dependency for mgr-k8sevents

Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2019-10-29 07:57:36 +08:00
Sage Weil
d927374bb4 Merge PR #31168 into master
* refs/pull/31168/head:
	ceph-daemon: try py2 import before py3
	qa/suites/rados/singleton-nomsgr/ceph-daemon: make sure python3 is installed
	qa/standalone/test_ceph_damon.sh: test with python2 and python3
	mgr/ssh: python, not python3
	ceph-daemon: python, not python3
	ceph-daemon: os.makedirs
	ceph-daemon: configparser is ConfigParser on py2
	ceph-daemon: avoid py3-isms

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2019-10-28 14:59:43 -05:00
Sage Weil
77f42f3c01 mgr/rook: implement update_mds
Note that this still doesn't provide control over active vs standby MDS
counts.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-28 14:15:27 -05:00
Sage Weil
8a378175f0 mgr/ssh: implement 'mds update'
Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-28 14:15:27 -05:00
Sage Weil
8f54c12ee8 mgr/orchestrator_cli: add 'mds update' command
Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-28 14:15:27 -05:00
Sage Weil
6bfb501dab mgr/ssh: unique names for mds instances
Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-28 14:15:27 -05:00
Sage Weil
e17a8bca1a mgr/ssh: name mgrs with random string id; add removal support
- stop naming mgrs after the host, since that doesn't scale well
- add mgr removal support.  prefer mgrs that aren't recognized by the
  cluster.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-28 14:15:27 -05:00
Sage Weil
4d231f385b mgr/ssh: provide get_unique_name helper
Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-28 14:15:27 -05:00
Patrick Donnelly
292e0064ca
doc: document rank option for journal reset
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-10-28 11:13:34 -07:00
Sage Weil
85c750be26 ceph-daemon: try py2 import before py3
See f499a89b15

Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-28 12:17:07 -05:00
Sage Weil
9fe9653c8c qa/suites/rados/singleton-nomsgr/ceph-daemon: make sure python3 is installed
Centos7 doesn't have it by default.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-28 12:15:47 -05:00
Sage Weil
debde146d2 qa/standalone/test_ceph_damon.sh: test with python2 and python3
Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-28 12:15:47 -05:00
Sage Weil
cfe1898b91 mgr/ssh: python, not python3
python 2.x is okay too.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-28 12:15:47 -05:00
Sage Weil
79a70558da ceph-daemon: python, not python3
python2 is okay too.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-28 12:15:47 -05:00
Sage Weil
4330502768 ceph-daemon: os.makedirs
Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-28 12:15:47 -05:00
Sage Weil
97d9664927 ceph-daemon: configparser is ConfigParser on py2
Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-28 12:15:47 -05:00
Sage Weil
beb09ff548 ceph-daemon: avoid py3-isms
Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-28 12:15:47 -05:00
Sage Weil
4e6316655f mgr/orchestrator_cli: rename 'mds rm' arg
'name' can be either a group prefix or an instance name, so use a general
variable name.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-28 11:55:30 -05:00
Sage Weil
984b754b40 mgr/orchestrator_cli: rename 'mds add' arg
Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-28 11:54:02 -05:00
Sage Weil
251ec07197 mgr/ssh: add 'mds rm'
This can take *either* an mds instance name *or* a group prefix.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-28 11:19:33 -05:00
Sage Weil
5f5fa157e3 mgr/ssh: (broken) mds rm
This wrong because it takes a daemon name, not a group name, and because
it relies on mds_metadata--connected daemons, not deployed daemons.  Must
fix once we have better inventory.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-28 10:42:22 -05:00
Sage Weil
3c5ba53060 mgr/ssh: make mds add work
This is clearly primitive and not where we want to end up, but an initial
step.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-28 10:42:22 -05:00
Sage Weil
c35db383c4 mgr/orchestrator: add count, hosts args to 'mds add'
Rook already uses the count; the hosts hint is not relevant.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-28 10:42:22 -05:00
Sage Weil
c691f4030f mgr/ssh: be consistently verbose
Print args and stdin in _run_ceph_daemon; drop various debug lines for
printing keyrings and configs along the way.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-28 10:42:22 -05:00
Sage Weil
870b4e2f35 mgr/ActivePyModules: expose 'mds_metadata' to modules
Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-28 10:42:22 -05:00
Kefu Chai
1365b45c26
Merge pull request #31180 from liewegas/revert-bluestore-pinned-list
os/bluestore: revert cache pinned list

Reviewed-by: Mark Nelson <mnelson@redhat.com>
2019-10-28 23:18:02 +08:00
Sebastian Wagner
e70d6041c1 ceph-volume: add Ceph's device id to inventory
This will benefit the orchestrator and dashboard to show a unified view of devices with SMART data

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-10-28 15:55:18 +01:00