]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Mon, 4 Nov 2019 14:02:01 +0000 (08:02 -0600)]
mgr/ssh: fix remove_mds exception
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 31 Oct 2019 15:36:46 +0000 (10:36 -0500)]
doc/mgr/orchestrator_cli: remove extra characters after checkmarks
Not sure what those were.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 31 Oct 2019 15:34:10 +0000 (10:34 -0500)]
doc/mgr/orchestrator_cli: no {stop,start,restart} for all the random svcs
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 31 Oct 2019 15:25:40 +0000 (10:25 -0500)]
mgr/ssh: add 'redeploy' operation
This will stop, reprovision container, and restart. For most daemons, that
means we can
- change the container image
- refresh the config
- refresh the keyring
For OSDs, it means we also re-run ceph-volume activate.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 31 Oct 2019 15:22:35 +0000 (10:22 -0500)]
ceph-daemon: stop + reset-failed existing unit on daemon deploy
Normally it won't exist, but it will on a re-deploy.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 31 Oct 2019 15:22:09 +0000 (10:22 -0500)]
ceph-daemon: make second call arg optional
If not specified, pull it from command[0].
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 31 Oct 2019 15:14:51 +0000 (10:14 -0500)]
ceph-daemon: make 'deploy' on mon only to mkfs step is mon doesn't yet exist
This allows us to (re)deploy a mon container like the other daemon types,
which means rewriting the config, keyring, and systemd unit(s).
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 31 Oct 2019 14:39:30 +0000 (09:39 -0500)]
mgr/ssh,orchestrator_cli: add 'restart' service action
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 31 Oct 2019 19:26:05 +0000 (14:26 -0500)]
mgr/ssh: service[-instance] [start|stop]
Note that 'reload' is meaningless for ssh orch...
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 31 Oct 2019 19:15:14 +0000 (14:15 -0500)]
mgr/ssh: simplify get_services call for 'mds update'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 31 Oct 2019 14:37:27 +0000 (09:37 -0500)]
mgr/ssh: make _get_services take service *id* or service *name*
Name is the group, id is the instance. A bit confusing, but this is what
orchestrator.py uses.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 31 Oct 2019 14:32:48 +0000 (09:32 -0500)]
mgr/ssh: fix 'service ls' on stopped services
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 31 Oct 2019 14:01:30 +0000 (09:01 -0500)]
mgr/ssh: move some code around
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 31 Oct 2019 15:29:57 +0000 (10:29 -0500)]
doc/mgr/orchestrator_cli: 'service ls' works for ssh
See
7fc78b63425abd192a82f812958349f2bf079dea merge commit.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 31 Oct 2019 15:27:27 +0000 (10:27 -0500)]
doc/mgr/orchestrator_cli: we already completed mds ops for rook+ssh
See
f5bc2bd74a05bb486fbbca2de4dbe9a1cacd605c merge.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 31 Oct 2019 15:40:59 +0000 (10:40 -0500)]
Merge PR #31270 into master
* refs/pull/31270/head:
ceph-daemon: no extra newline needed in authorized_keys file
ceph-daemon: use client.admin keyring during bootstrap
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Ilya Dryomov [Thu, 31 Oct 2019 14:45:19 +0000 (15:45 +0100)]
Merge pull request #31265 from idryomov/wip-krbd-unmap-msgr1
qa/suites/krbd: run unmap subsuite with msgr1 only
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Volker Theile [Thu, 31 Oct 2019 11:07:31 +0000 (12:07 +0100)]
mgr/dashboard: Remove convertion to seconds (#31262)
mgr/dashboard: Remove convertion to seconds
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Ni-Feng Chang <kiefer.chang@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Volker Theile [Thu, 31 Oct 2019 11:05:06 +0000 (12:05 +0100)]
mgr/dashboard: edit/clone/copy rbd image after its data is rec… (#31245)
mgr/dashboard: edit/clone/copy rbd image after its data is received
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Nathan Cutler [Thu, 31 Oct 2019 11:02:58 +0000 (12:02 +0100)]
Merge pull request #31247 from smithfarm/wip-bri-regression
backport-resolve-issue: "recognize that Target version is populated" and "prune duplicate URLs"
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Patrick Donnelly [Wed, 30 Oct 2019 19:22:48 +0000 (12:22 -0700)]
Merge PR #31231 into master
* refs/pull/31231/head:
qa: add tests for CephFS admin commands
mds/MDSRank: report state to mgr as mds id, not rank
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Wed, 30 Oct 2019 19:09:36 +0000 (14:09 -0500)]
ceph-daemon: no extra newline needed in authorized_keys file
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 30 Oct 2019 15:05:24 +0000 (10:05 -0500)]
ceph-daemon: use client.admin keyring during bootstrap
It's usually okay to use the mon. key for CLI commands, except we had a
mgr but that prevented you from issuing mgr commands correctly. We have
the new client.admin key available, so use that instead.
Update tests to not --skip-ssh (now that it doesn't hang).
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 30 Oct 2019 19:04:07 +0000 (14:04 -0500)]
Merge PR #31264 into master
* refs/pull/31264/head:
ceph-daemon: deal with lack of TemporaryDirectory on py2
ceph-daemon: make StringIO usage py2 compatible
ceph-daemon: make ConfigParser py2 compatible
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Ilya Dryomov [Tue, 29 Oct 2019 15:19:14 +0000 (16:19 +0100)]
qa/suites/krbd: run unmap subsuite with msgr1 only
pre-single-major.yaml kernel doesn't have any of the monitor client
fixes that came in 4.6. If the connection is closed, it closes the
session and retries only after 10 seconds. On top of that, there is
nothing to prevent it from picking the same monitor when reconnecting.
This means that when given both v1 and v2 ports (which look like two
different monitors), it is susceptible to mount_timeout (60 seconds):
$ sudo rbd map img
rbd: sysfs write failed
In some cases useful info is found in syslog - try "dmesg | tail".
rbd: map failed: (5) Input/output error
[ 822.242313] libceph: mon0 172.21.15.132:3300 socket closed (con state CONNECTING)
[ 832.265494] libceph: mon0 172.21.15.132:3300 socket closed (con state CONNECTING)
[ 842.296175] libceph: mon0 172.21.15.132:3300 socket closed (con state CONNECTING)
[ 852.326924] libceph: mon0 172.21.15.132:3300 socket closed (con state CONNECTING)
[ 862.357611] libceph: mon0 172.21.15.132:3300 socket closed (con state CONNECTING)
[ 872.388373] libceph: mon0 172.21.15.132:3300 socket closed (con state CONNECTING)
[ 882.676136] libceph: mon0 172.21.15.132:3300 socket closed (con state CONNECTING)
Unlike newer kernels that return ETIMEDOUT, it returns EIO.
Newer kernels are much more aggressive about retries and will pick
a different monitor when reconnecting, hence they are always able to
establish the session in time.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Patrick Donnelly [Wed, 30 Oct 2019 17:21:22 +0000 (10:21 -0700)]
qa: add tests for CephFS admin commands
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Wed, 30 Oct 2019 18:22:43 +0000 (13:22 -0500)]
ceph-daemon: deal with lack of TemporaryDirectory on py2
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 30 Oct 2019 15:33:52 +0000 (10:33 -0500)]
ceph-daemon: make StringIO usage py2 compatible
Otherwise,
Traceback (most recent call last):
File "../src/ceph-daemon", line 1698, in <module>
r = args.func()
File "../src/ceph-daemon", line 767, in command_bootstrap
with StringIO() as f:
AttributeError: StringIO instance has no attribute '__exit__'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 30 Oct 2019 15:32:00 +0000 (10:32 -0500)]
ceph-daemon: make ConfigParser py2 compatible
Signed-off-by: Sage Weil <sage@redhat.com>
Tiago Melo [Wed, 30 Oct 2019 16:13:01 +0000 (15:13 -0100)]
mgr/dashboard: Remove convertion to seconds
This is no longer need since the values are already in seconds.
Fixes: https://tracker.ceph.com/issues/42567
Signed-off-by: Tiago Melo <tmelo@suse.com>
Patrick Donnelly [Wed, 30 Oct 2019 16:09:06 +0000 (09:09 -0700)]
Merge PR #31195 into master
* refs/pull/31195/head:
vstart: Fix /dev/tty No such device or address
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Jason Dillaman [Wed, 30 Oct 2019 16:07:30 +0000 (12:07 -0400)]
Merge pull request #31161 from trociny/wip-42488
rbd-mirror: mirrored clone should be same format
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 30 Oct 2019 16:07:12 +0000 (12:07 -0400)]
Merge pull request #31149 from wonderpow/master1
cls/rbd: add snapshot_add raise -ESTALE test case
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 30 Oct 2019 16:06:41 +0000 (12:06 -0400)]
Merge pull request #31140 from Gangbiao/add-pybind-test-case
test/pybind: add create_snap rasie ImageExists test case
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 30 Oct 2019 16:06:08 +0000 (12:06 -0400)]
Merge pull request #30994 from JackSlateur/rbd_merged_du
rbd: add --merge to disk-usage
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Lenz Grimmer [Wed, 30 Oct 2019 15:32:15 +0000 (15:32 +0000)]
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>
Volker Theile [Tue, 29 Oct 2019 14:24:22 +0000 (15:24 +0100)]
vstart: Fix /dev/tty No such device or address
Running on Jenkins slave or as a daemon there will be no writable console.
Fixes: https://tracker.ceph.com/issues/42487
Signed-off-by: Volker Theile <vtheile@suse.com>
Nathan Cutler [Wed, 30 Oct 2019 13:30:08 +0000 (14:30 +0100)]
backport-resolve-issue: prune duplicate URLs
I have seen PR descriptions with a single backport tracker URL mentioned twice.
When backport-resolve-issue hit one of these, it would say:
Found backport tracker: https://tracker.ceph.com/issues/39272
Found backport tracker: https://tracker.ceph.com/issues/39272
-----------------------------------------------------------------
INFO:root:Tracker https://tracker.ceph.com/issues/39272 links to PR https://github.com/ceph/ceph/pull/29153
INFO:root:Backport Tracker 39272 target version already populated with correct value v12.2.13
INFO:root:Backport Tracker 39272 status is already set to Resolved
-----------------------------------------------------------------
INFO:root:Tracker https://tracker.ceph.com/issues/39272 links to PR https://github.com/ceph/ceph/pull/29153
INFO:root:Backport Tracker 39272 target version already populated with correct value v12.2.13
INFO:root:Backport Tracker 39272 status is already set to Resolved
=================================================================
This commit fixes the issue.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Lenz Grimmer [Wed, 30 Oct 2019 12:32:37 +0000 (12:32 +0000)]
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>
Lenz Grimmer [Wed, 30 Oct 2019 11:58:15 +0000 (11:58 +0000)]
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>
Alfonso Martínez [Wed, 30 Oct 2019 11:31:13 +0000 (12:31 +0100)]
mgr/dashboard: edit/clone/copy rbd image after its data is received
Fixes: https://tracker.ceph.com/issues/42561
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
Nathan Cutler [Wed, 30 Oct 2019 10:54:18 +0000 (11:54 +0100)]
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>
Nathan Cutler [Wed, 30 Oct 2019 10:44:56 +0000 (11:44 +0100)]
backport-resolve-issue: recognize that Target version is populated
Due to a regression, the script stopped recognizing that a Backport tracker
issue's "Target version" field is populated.
Fixes: af43b3cc3b05e70ec248ad5c23da6fbd4c2e78a1
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Wed, 30 Oct 2019 10:31:21 +0000 (11:31 +0100)]
Merge pull request #30988 from smithfarm/wip-bri-multi
backport-resolve-issue: resolve multiple backport issues
Sebastian Wagner [Wed, 30 Oct 2019 10:20:02 +0000 (11:20 +0100)]
mgr/dashboard: remove space in tox.ini deps
Fixes: https://tracker.ceph.com/issues/42469
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Nathan Cutler [Wed, 30 Oct 2019 10:02:30 +0000 (11:02 +0100)]
Merge pull request #31163 from callithea/wip-issue-42489
doc: Small update of SubmittingPatches-backports
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Wed, 30 Oct 2019 09:30:01 +0000 (10:30 +0100)]
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>
Kefu Chai [Wed, 30 Oct 2019 02:11:01 +0000 (10:11 +0800)]
Merge pull request #29930 from IlsooByun/rocksdb_ver
cmake: require RocksDB 5.14 or higher
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 29 Oct 2019 19:17:47 +0000 (14:17 -0500)]
mds/MDSRank: report state to mgr as mds id, not rank
Introduced by
625dffe65c0f8001b3b6ca6d0b12732a1a103849 , which added
periodic scrub stats reporting.
Fixes: https://tracker.ceph.com/issues/42494
Fixes: https://tracker.ceph.com/issues/41525
Signed-off-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Tue, 29 Oct 2019 22:32:18 +0000 (15:32 -0700)]
Merge PR #30369 into master
* refs/pull/30369/head:
doc/cephfs: add doc for cephfs io path
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 29 Oct 2019 19:39:06 +0000 (12:39 -0700)]
Merge PR #31201 into master
* refs/pull/31201/head:
doc: document rank option for journal reset
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Sage Weil [Tue, 29 Oct 2019 18:39:40 +0000 (13:39 -0500)]
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>
Alfredo Deza [Tue, 29 Oct 2019 16:05:11 +0000 (12:05 -0400)]
Merge pull request #31159 from alfredodeza/wip-rm42484
ceph-volume tests remove xenial from functional testing
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Gangbiao Liu [Wed, 23 Oct 2019 02:26:02 +0000 (10:26 +0800)]
test/pybind: add create_snap rasie ImageExists test case
Signed-off-by: Gangbiao Liu <liugangbiao@cmss.chinamobile.com>
Kefu Chai [Tue, 29 Oct 2019 15:07:39 +0000 (23:07 +0800)]
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>
Tiago Melo [Fri, 4 Oct 2019 12:10:52 +0000 (12:10 +0000)]
mgr/dashboard: Allow removal of single notification
Signed-off-by: Tiago Melo <tmelo@suse.com>
Sage Weil [Sun, 27 Oct 2019 17:29:36 +0000 (12:29 -0500)]
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>
Sage Weil [Tue, 29 Oct 2019 14:38:57 +0000 (09:38 -0500)]
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>
Jan Fajerski [Tue, 29 Oct 2019 14:27:02 +0000 (15:27 +0100)]
Merge pull request #31197 from jan--f/c-v-fix-lvm-mokeypatch
ceph-volume: mokeypatch calls to lvm related binaries
Sebastian Wagner [Tue, 29 Oct 2019 13:05:25 +0000 (14:05 +0100)]
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>
Ilya Dryomov [Tue, 29 Oct 2019 10:40:45 +0000 (11:40 +0100)]
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>
Ilsoo Byun [Tue, 27 Aug 2019 10:48:52 +0000 (19:48 +0900)]
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>
Jan Fajerski [Tue, 29 Oct 2019 07:16:14 +0000 (08:16 +0100)]
Merge pull request #31072 from sebastian-philipp/ceph-volume-inventory-device-id
ceph-volume: add Ceph's device id to inventory
Patrick Donnelly [Tue, 29 Oct 2019 03:37:31 +0000 (20:37 -0700)]
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>
Kefu Chai [Mon, 28 Oct 2019 23:57:36 +0000 (07:57 +0800)]
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>
Sage Weil [Mon, 28 Oct 2019 19:59:43 +0000 (14:59 -0500)]
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>
Sage Weil [Mon, 28 Oct 2019 19:12:37 +0000 (14:12 -0500)]
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>
Sage Weil [Mon, 28 Oct 2019 19:08:27 +0000 (14:08 -0500)]
mgr/ssh: implement 'mds update'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 28 Oct 2019 19:12:07 +0000 (14:12 -0500)]
mgr/orchestrator_cli: add 'mds update' command
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 28 Oct 2019 18:43:47 +0000 (13:43 -0500)]
mgr/ssh: unique names for mds instances
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 28 Oct 2019 18:15:58 +0000 (13:15 -0500)]
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>
Sage Weil [Mon, 28 Oct 2019 19:15:08 +0000 (14:15 -0500)]
mgr/ssh: provide get_unique_name helper
Signed-off-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Mon, 28 Oct 2019 18:13:04 +0000 (11:13 -0700)]
doc: document rank option for journal reset
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Mon, 28 Oct 2019 17:17:07 +0000 (12:17 -0500)]
ceph-daemon: try py2 import before py3
See https://github.com/ceph/ceph-medic/commit/
f499a89b15b72a5bb842e1ebbc7cafc4daf58c1c
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 25 Oct 2019 21:34:15 +0000 (16:34 -0500)]
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>
Sage Weil [Fri, 25 Oct 2019 21:20:46 +0000 (16:20 -0500)]
qa/standalone/test_ceph_damon.sh: test with python2 and python3
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 25 Oct 2019 21:03:24 +0000 (16:03 -0500)]
mgr/ssh: python, not python3
python 2.x is okay too.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 25 Oct 2019 21:02:35 +0000 (16:02 -0500)]
ceph-daemon: python, not python3
python2 is okay too.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 25 Oct 2019 21:24:40 +0000 (16:24 -0500)]
ceph-daemon: os.makedirs
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 25 Oct 2019 21:16:48 +0000 (16:16 -0500)]
ceph-daemon: configparser is ConfigParser on py2
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 23 Oct 2019 12:45:41 +0000 (07:45 -0500)]
ceph-daemon: avoid py3-isms
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 28 Oct 2019 16:55:30 +0000 (11:55 -0500)]
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>
Sage Weil [Mon, 28 Oct 2019 16:54:02 +0000 (11:54 -0500)]
mgr/orchestrator_cli: rename 'mds add' arg
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 28 Oct 2019 16:19:33 +0000 (11:19 -0500)]
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>
Sage Weil [Wed, 23 Oct 2019 21:15:23 +0000 (16:15 -0500)]
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>
Sage Weil [Tue, 22 Oct 2019 20:23:18 +0000 (15:23 -0500)]
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>
Sage Weil [Wed, 23 Oct 2019 21:13:26 +0000 (16:13 -0500)]
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>
Sage Weil [Tue, 22 Oct 2019 20:21:29 +0000 (15:21 -0500)]
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>
Sage Weil [Wed, 23 Oct 2019 17:43:45 +0000 (12:43 -0500)]
mgr/ActivePyModules: expose 'mds_metadata' to modules
Signed-off-by: Sage Weil <sage@redhat.com>
Alexandre Bruyelles [Fri, 18 Oct 2019 13:38:50 +0000 (15:38 +0200)]
rbd: add --merge-snapshots to disk-usage
Signed-off-by: Alexandre Bruyelles <jack@jack.fr.eu.org>
Kefu Chai [Mon, 28 Oct 2019 15:18:02 +0000 (23:18 +0800)]
Merge pull request #31180 from liewegas/revert-bluestore-pinned-list
os/bluestore: revert cache pinned list
Reviewed-by: Mark Nelson <mnelson@redhat.com>
Sebastian Wagner [Fri, 18 Oct 2019 11:59:44 +0000 (13:59 +0200)]
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>
Jan Fajerski [Mon, 28 Oct 2019 14:33:24 +0000 (15:33 +0100)]
ceph-volume: mokeypatch calls to lvm related binaries
Otherwise these tests fail occasionally when run on a system that does
not have lvm installed.
Fixes: https://tracker.ceph.com/issues/42045
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
Sebastian Wagner [Mon, 28 Oct 2019 14:07:08 +0000 (15:07 +0100)]
Merge pull request #31071 from sebastian-philipp/python-common-mypy
python-common: Add mypy testing
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Jan Fajerski [Mon, 28 Oct 2019 13:57:37 +0000 (14:57 +0100)]
Merge pull request #30995 from wjwithagen/wjw-wip-volume-zfs-inventory
ceph-volume-zfs: add the inventory command
Kefu Chai [Mon, 28 Oct 2019 12:53:07 +0000 (20:53 +0800)]
Merge pull request #31014 from tchaikov/wip-38378
mgr/dashboard: accept expected exception when SSL handshaking
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Kefu Chai [Mon, 28 Oct 2019 12:36:13 +0000 (20:36 +0800)]
Merge pull request #31092 from liewegas/wip-revert-42026-test
Revert "test: librados startup/shutdown racer test"
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Kefu Chai [Mon, 28 Oct 2019 12:29:20 +0000 (20:29 +0800)]
Merge pull request #31153 from ceph/wip-restful-node-items
restful: Query nodes_by_id for items
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 28 Oct 2019 12:27:22 +0000 (20:27 +0800)]
Merge pull request #31176 from tchaikov/wip/mgr/diskprediction_cloud/cleanup
mgr/diskprediction_cloud: refactor timeout() decorator
Reviewed-by: Rick Chen <rick.chen@prophetstor.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Kefu Chai [Mon, 28 Oct 2019 12:24:48 +0000 (20:24 +0800)]
Merge pull request #31175 from tchaikov/wip/mon/OSDMonitor/cleanup
mon/OSDMonitor: use initializer_list<> for {si,iec}_options
Reviewed-by: Sage Weil <sage@redhat.com>