]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Tue, 5 Nov 2019 14:39:16 +0000 (08:39 -0600)]
mgr/ssh: add 'osd rm'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 4 Nov 2019 19:43:36 +0000 (13:43 -0600)]
mgr/ssh: keep inventory and service cache keys in sync
Our host list is implicitly defined as the set of keys for the inventory
(and service) caches. Ensure they are in sync by unioning and inserting
any missing items.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 4 Nov 2019 19:15:21 +0000 (13:15 -0600)]
mgr/orchestrator_cli: fix 'service ls' table format
Make this match the rest of Ceph.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 4 Nov 2019 19:05:07 +0000 (13:05 -0600)]
mgr/ssh: invalidate service state on create, remove, and service action
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 4 Nov 2019 18:59:12 +0000 (12:59 -0600)]
mgr/orchestrator: add invalidate() to OutdatableDictMixin
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 4 Nov 2019 18:31:34 +0000 (12:31 -0600)]
mgr/ssh: cache services
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 4 Nov 2019 19:04:27 +0000 (13:04 -0600)]
mgr/ssh: drop specialized _remove_{mds,mgr,rgw}
_remove_daemon is sufficient
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 4 Nov 2019 18:51:08 +0000 (12:51 -0600)]
mgr/ssh: change inventory_cache_timeout to seconds (not minutes)
The descriptio didn't match the implementation (which took minutes).
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 4 Nov 2019 19:06:06 +0000 (13:06 -0600)]
mgr/orchestrator: make wait poll every 1s (not 5s)
More responsive!
Signed-off-by: Sage Weil <sage@redhat.com>
Lenz Grimmer [Wed, 6 Nov 2019 12:32:35 +0000 (12:32 +0000)]
mgr/dashboard: Add support for device management (#30759)
mgr/dashboard: Add support for device management
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Lenz Grimmer [Wed, 6 Nov 2019 12:30:58 +0000 (12:30 +0000)]
mgr/dashboard: Searchable objects for table (#31199)
mgr/dashboard: Searchable objects for table
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Sebastian Wagner [Wed, 6 Nov 2019 10:48:29 +0000 (11:48 +0100)]
Merge pull request #26768 from sebastian-philipp/upstream-pull-26684
mgr/orchestrator: device lights
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Patrick Donnelly [Wed, 6 Nov 2019 03:09:46 +0000 (19:09 -0800)]
Merge PR #31409 into master
* refs/pull/31409/head:
mds: Fix MDCache.h reorder compiler warnings
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 6 Nov 2019 00:54:03 +0000 (16:54 -0800)]
Merge PR #31401 into master
* refs/pull/31401/head:
mds: clarify comment
Reviewed-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
Sage Weil [Tue, 5 Nov 2019 18:36:45 +0000 (12:36 -0600)]
Merge PR #31420 into master
* refs/pull/31420/head:
ceph-daemon: do not screw up line splitting
mgr/ssh: raise RuntimeError when ceph-daemon invocation fails
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sage Weil [Tue, 5 Nov 2019 16:36:30 +0000 (10:36 -0600)]
ceph-daemon: do not screw up line splitting
When we log stdout and stderr, we were artificially adding line splits
due to reading 1024 bytes at a time and assuming it was aligned with a
newline.
Fix by keeping partial lines buffered and only log them once they are
complete (or the call finishes).
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 5 Nov 2019 16:27:45 +0000 (10:27 -0600)]
mgr/ssh: raise RuntimeError when ceph-daemon invocation fails
Signed-off-by: Sage Weil <sage@redhat.com>
Lenz Grimmer [Tue, 5 Nov 2019 15:59:57 +0000 (15:59 +0000)]
mgr/dashboard: disable pg_autoscale for new pools in e2e tests (#31396)
mgr/dashboard: disable pg_autoscale for new pools in e2e tests
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Sage Weil [Tue, 5 Nov 2019 15:28:32 +0000 (09:28 -0600)]
Merge PR #31365 into master
* refs/pull/31365/head:
ceph-daemon: make rm-daemon reset-failed
ceph-daemon: make rm-cluster handle failed unit cleanup
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Sage Weil [Tue, 5 Nov 2019 14:55:59 +0000 (08:55 -0600)]
Merge PR #31303 into master
* refs/pull/31303/head:
ceph-daemon: make systemd unit descriptions Capitalized
ceph-daemon: handle daemon names with multiple .'s
mgr/ssh: rgw: ensure map rgws are mapped to the zone
mgr/ssh: use . as delimiter between service group and id
mgr/ssh: implement 'rgw update'
mgr/orchestrator_cli: add 'rgw update' CLI command
mgr/ssh: add 'rgw rm'
mgr/ssh: implement 'rgw add'
ceph-daemon: handle 'rgw' type daemons
mgr/orchestrator_cli: rgw add: optionally take count and node names
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Sage Weil [Fri, 1 Nov 2019 18:32:36 +0000 (13:32 -0500)]
ceph-daemon: make systemd unit descriptions Capitalized
Same style as other units.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Nov 2019 18:21:50 +0000 (13:21 -0500)]
ceph-daemon: handle daemon names with multiple .'s
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Nov 2019 16:51:30 +0000 (11:51 -0500)]
mgr/ssh: rgw: ensure map rgws are mapped to the zone
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Nov 2019 16:49:06 +0000 (11:49 -0500)]
mgr/ssh: use . as delimiter between service group and id
This aligns with . as an entity delimiter in the ceph config.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 31 Oct 2019 19:22:39 +0000 (14:22 -0500)]
mgr/ssh: implement 'rgw update'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 31 Oct 2019 19:17:31 +0000 (14:17 -0500)]
mgr/orchestrator_cli: add 'rgw update' CLI command
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 31 Oct 2019 18:46:23 +0000 (13:46 -0500)]
mgr/ssh: add 'rgw rm'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 31 Oct 2019 18:36:32 +0000 (13:36 -0500)]
mgr/ssh: implement 'rgw add'
Note that this doesn't correctly confine a daemon to a zone.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 31 Oct 2019 18:06:35 +0000 (13:06 -0500)]
ceph-daemon: handle 'rgw' type daemons
- weird data dir: /var/lib/ceph/radosgw/ceph-rgw.$id (not
/var/lib/ceph/rgw/ceph-$id)
- weird auth name: client.rgw.$id (not rgw.$id)
- weird entrypoint: /usr/bin/radosgw (not /usr/bin/ceph-rgw)
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 31 Oct 2019 16:15:20 +0000 (11:15 -0500)]
mgr/orchestrator_cli: rgw add: optionally take count and node names
This avoids the need for JSON in the common case.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 5 Nov 2019 14:39:09 +0000 (08:39 -0600)]
Merge PR #31327 into master
* refs/pull/31327/head:
mon/ConfigMap: search nested sections
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Tue, 5 Nov 2019 14:38:47 +0000 (08:38 -0600)]
Merge PR #31412 into master
* refs/pull/31412/head:
osd: send smart asok result to stdout, not stderr
Reviewed-by: Kefu Chai <kchai@redhat.com>
Casey Bodley [Tue, 5 Nov 2019 13:52:10 +0000 (08:52 -0500)]
Merge pull request #31363 from cbodley/wip-qa-rgw-ec-is-fast-again
qa/rgw: remove whitelist for SLOW_OPS against ec pools
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Sage Weil [Tue, 5 Nov 2019 13:31:52 +0000 (07:31 -0600)]
osd: send smart asok result to stdout, not stderr
Uncross the streams!
Reported-by: Patrick Seidensal <pseidensal@suse.com>
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 5 Nov 2019 13:08:09 +0000 (07:08 -0600)]
Merge PR #31321 into master
* refs/pull/31321/head:
ceph-daemon: do not relabel system directories
Sage Weil [Tue, 5 Nov 2019 13:07:06 +0000 (07:07 -0600)]
Merge PR #31342 into master
* refs/pull/31342/head:
qa/standalone/test_ceph_daemon: fix multi-version python test
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sebastian Wagner [Fri, 25 Oct 2019 13:31:07 +0000 (15:31 +0200)]
mgr/orchestrator: Improve ceph CLI for blink lights
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Varsha Rao [Tue, 5 Nov 2019 12:02:11 +0000 (17:32 +0530)]
mds: Fix MDCache.h reorder compiler warnings
Fixes: https://tracker.ceph.com/issues/42642
Signed-off-by: Varsha Rao <varao@redhat.com>
Nathan Cutler [Tue, 5 Nov 2019 12:18:25 +0000 (13:18 +0100)]
Merge pull request #30598 from smithfarm/wip-doc-releases-toc
doc/releases: access main releases page from top-level TOC
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Kefu Chai [Tue, 5 Nov 2019 12:17:17 +0000 (04:17 -0800)]
Merge pull request #31291 from liewegas/bug-42578
mgr/ActivePyModules: behave if a module queries a devid that does not exist
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 5 Nov 2019 12:16:25 +0000 (04:16 -0800)]
Merge pull request #31230 from aclamk/fix-rados-put-truncate
tools/rados: prevent 'put' operation from recreating object when --offset=0
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sebastian Wagner [Thu, 2 May 2019 09:59:42 +0000 (11:59 +0200)]
mgr/orchestrator: check for DEVICE_{IDENT|FAULT}_ON
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Tue, 5 Mar 2019 14:46:34 +0000 (15:46 +0100)]
mgr/orchestrator: Add interface and tests to device lights
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sage Weil [Wed, 27 Feb 2019 21:00:21 +0000 (15:00 -0600)]
mgr/orchestrator_cli: 'ceph device {fault,ident}-{on,off}', 'ceph device ls-lights'
Add generic CLI commands to turn device lights on and off.
These will call out to orchestrator stubs, once it has the appropriate hook
implemented, which will in turn call out to salt or rook or ssh or whatever
to actually turn a light on or off.
Signed-off-by: Sage Weil <sage@redhat.com>
Nathan Cutler [Tue, 5 Nov 2019 11:38:56 +0000 (12:38 +0100)]
Merge pull request #31366 from smithfarm/wip-cbs-4
ceph-backport.sh: implement interactive setup routine and new options
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Lenz Grimmer [Tue, 5 Nov 2019 11:22:02 +0000 (11:22 +0000)]
mgr/dashboard: Fix iSCSI Target's validation (#30894)
mgr/dashboard: Fix iSCSI Target's validation
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Lenz Grimmer [Tue, 5 Nov 2019 11:21:16 +0000 (11:21 +0000)]
mgr/dashboard: Fix OSD's safe_to_destroy method (#30499)
mgr/dashboard: Fix OSD's safe_to_destroy method
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Kiefer Chang [Tue, 5 Nov 2019 04:56:07 +0000 (12:56 +0800)]
mgr/dashboard: disable pg_autoscale for new pools in e2e tests
The pg_autoscaler might interfere the editing pool e2e test, disable the
global config to avoid this problem.
Fixes: https://tracker.ceph.com/issues/42608
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
Patrick Donnelly [Tue, 5 Nov 2019 08:15:20 +0000 (00:15 -0800)]
mds: clarify comment
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 5 Nov 2019 06:29:29 +0000 (22:29 -0800)]
Merge PR #30835 into master
* refs/pull/30835/head:
mds: no assert on frozen dir when scrub path
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 5 Nov 2019 06:27:53 +0000 (22:27 -0800)]
Merge PR #30915 into master
* refs/pull/30915/head:
mds: Reorganize class members in MDSAuthCaps header
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 5 Nov 2019 06:23:07 +0000 (22:23 -0800)]
Merge PR #30745 into master
* refs/pull/30745/head:
mds: Reorganize class members in MDCache header
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 5 Nov 2019 06:21:33 +0000 (22:21 -0800)]
Merge PR #31330 into master
* refs/pull/31330/head:
messages: protect CephFS messages get/put methods
messages: protect MClientCapRelease cons
messages: simplify MMDSCacheRejoin default cons
mds: simplify type declarations
Reviewed-by: Kefu Chai <kchai@redhat.com>
Casey Bodley [Mon, 4 Nov 2019 18:45:24 +0000 (13:45 -0500)]
Merge pull request #31374 from cbodley/wip-qa-rgw-multisite-sse
qa/rgw: use 'testing' kms backend for multisite tests
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Nathan Cutler [Thu, 31 Oct 2019 17:42:40 +0000 (18:42 +0100)]
ceph-backport.sh: increment the version number
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Mon, 4 Nov 2019 17:01:33 +0000 (18:01 +0100)]
ceph-backport.sh: delete deprecated config file after setup complete
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Thu, 24 Oct 2019 11:26:50 +0000 (13:26 +0200)]
ceph-backport.sh: implement interactive setup routine and new options
This commit implements several new features:
* a --cherry-pick-only option
* a --force option
* an --existing-pr option
* an interactive setup routine
The --cherry-pick-only option can be used to test whether a backport
cherry-picks cleanly, for example. This is the same as the --prepare
functionality that was provided by an earlier version of the script, and
--prepare is re-introduced as a synonym for --cherry-pick-only.
The --force option can be used to make the script less careful (less
"cowardly"). For example, if the script refuses to do a backport because the
backport tracker issue is assigned to someone else, the script will "cowardly"
refuse to continue. Use --force to override. Be aware that --force will also
blow away an existing wip branch - the script asks for user confirmation in this
case.
The new --existing-pr option can be used to specify the number (ID) of an
existing backport PR that addresses the backport tracker issue given via the
positional argument.
The new "interactive setup routine" should make the setup process much simpler
for the user. If there is a setup issue, the script produces a report and starts
the interactive setup routine, which prompts the user for the needed
information.
Also, the script no longer requires the user to explicitly provide values for
github_user and redmine_user_id. Instead, it divines the correct values from the
GitHub token and the Redmine key, respectively.
Finally, the existing ~/bin/backport_common.sh file is deprecated in favor of
two files:
~/.github_token
~/.redmine_key
(The latter is already used by Sage's build-integration-branch tool and it
didn't make sense to have two different configuration files for a single
purpose.)
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Casey Bodley [Mon, 4 Nov 2019 17:49:05 +0000 (12:49 -0500)]
qa/rgw: use 'testing' kms backend for multisite tests
a missing piece from https://github.com/ceph/ceph/pull/30940
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Sebastian Wagner [Mon, 4 Nov 2019 16:37:40 +0000 (17:37 +0100)]
Merge pull request #31192 from sebastian-philipp/run_mypy-0.740
script/run_mypy: Support mypy 0.740
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Sage Weil [Mon, 4 Nov 2019 16:34:57 +0000 (10:34 -0600)]
Merge PR #31341 into master
* refs/pull/31341/head:
ceph-daemon: only set up /var/run/ceph/$fsid if it exists
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Sage Weil [Mon, 4 Nov 2019 16:34:43 +0000 (10:34 -0600)]
Merge PR #31331 into master
* refs/pull/31331/head:
ceph-daemon: Use `shutil` to move/copy files
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 4 Nov 2019 16:33:04 +0000 (10:33 -0600)]
Merge PR #31353 into master
* refs/pull/31353/head:
doc/orchestrator: Fix various issues in Orchestrator CLI documentation
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Sage Weil [Mon, 4 Nov 2019 16:27:04 +0000 (10:27 -0600)]
Merge PR #31329 into master
* refs/pull/31329/head:
ceph-daemon: Fix `ls` cmd for legacy confs
Reviewed-by: Sage Weil <sage@redhat.com>
Michael Fritch [Fri, 1 Nov 2019 16:44:22 +0000 (10:44 -0600)]
ceph-daemon: Fix `ls` cmd for legacy confs
Signed-off-by: Michael Fritch <mfritch@suse.com>
Sage Weil [Mon, 4 Nov 2019 16:17:05 +0000 (10:17 -0600)]
Merge PR #31328 into master
* refs/pull/31328/head:
ceph-daemon: raise RuntimeError when CephContainer.run() fails
Michael Fritch [Mon, 4 Nov 2019 05:45:20 +0000 (22:45 -0700)]
ceph-daemon: Use `shutil` to move/copy files
Signed-off-by: Michael Fritch <mfritch@suse.com>
Michael Fritch [Thu, 31 Oct 2019 19:04:39 +0000 (13:04 -0600)]
ceph-daemon: raise RuntimeError when CephContainer.run() fails
Signed-off-by: Michael Fritch <mfritch@suse.com>
Sage Weil [Thu, 31 Oct 2019 18:42:56 +0000 (13:42 -0500)]
ceph-daemon: make rm-daemon reset-failed
We did this with rm-cluster and forgot to update rm-daemon too. Also,
switch to call instead of call_throws.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 4 Nov 2019 15:34:28 +0000 (09:34 -0600)]
ceph-daemon: make rm-cluster handle failed unit cleanup
Signed-off-by: Sage Weil <sage@redhat.com>
Casey Bodley [Mon, 4 Nov 2019 15:12:21 +0000 (10:12 -0500)]
qa/rgw: remove whitelist for SLOW_OPS against ec pools
now that https://tracker.ceph.com/issues/41834 is resolved, we can
enforce the SLOW_OPS failures again in ec pool testing
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Lenz Grimmer [Mon, 4 Nov 2019 14:31:37 +0000 (14:31 +0000)]
mgr/dashboard: Automatically use correct chromedriver version (#31352)
mgr/dashboard: Automatically use correct chromedriver version
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Sage Weil [Mon, 4 Nov 2019 14:17:16 +0000 (08:17 -0600)]
Merge PR #31292 into master
* refs/pull/31292/head:
mgr/ssh: fix remove_mds exception
doc/mgr/orchestrator_cli: remove extra characters after checkmarks
doc/mgr/orchestrator_cli: no {stop,start,restart} for all the random svcs
mgr/ssh: add 'redeploy' operation
ceph-daemon: stop + reset-failed existing unit on daemon deploy
ceph-daemon: make second call arg optional
ceph-daemon: make 'deploy' on mon only to mkfs step is mon doesn't yet exist
mgr/ssh,orchestrator_cli: add 'restart' service action
mgr/ssh: service[-instance] [start|stop]
mgr/ssh: simplify get_services call for 'mds update'
mgr/ssh: make _get_services take service *id* or service *name*
mgr/ssh: fix 'service ls' on stopped services
mgr/ssh: move some code around
doc/mgr/orchestrator_cli: 'service ls' works for ssh
doc/mgr/orchestrator_cli: we already completed mds ops for rook+ssh
Reviewed-by: Sebastian Wagner <swagner@suse.com>
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>
Lenz Grimmer [Mon, 4 Nov 2019 14:00:04 +0000 (14:00 +0000)]
Merge pull request #31266 from rhcs-dashboard/wip-42565-master
mgr/dashboard: fix LazyUUID4 not serializable
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Lenz Grimmer [Mon, 4 Nov 2019 13:24:51 +0000 (13:24 +0000)]
mgr/dashboard: CephFS directory component (#30047)
mgr/dashboard: CephFS directory component
Reviewed-by: Volker Theile <vtheile@suse.com>
Stephan Müller [Thu, 19 Sep 2019 14:04:34 +0000 (16:04 +0200)]
mgr/dashboard: Searchable objects for table
The table can now search through objects, by default it won't search
through them, but it won't fail like before.
The RBD list page is now capable of searching through objects, which
only exist on an RBD that was cloned from a snapshot.
Fixes: https://tracker.ceph.com/issues/42480
Signed-off-by: Stephan Müller <smueller@suse.com>
Volker Theile [Mon, 4 Nov 2019 12:00:12 +0000 (13:00 +0100)]
doc/orchestrator: Fix various issues in Orchestrator CLI documentation
Signed-off-by: Volker Theile <vtheile@suse.com>
Tiago Melo [Mon, 4 Nov 2019 11:27:46 +0000 (10:27 -0100)]
mgr/dashboard: Automatically use correct chromedriver version
Every Chrome version requires a corresponding chromedriver version for the e2e
test to work.
Since we were using a fixed chromedriver version, each time chrome was updated
the e2e scripts stopped working.
With this new script we will check which version of Chrome is installed and
update chromedriver to the correct version.
Fixes: https://tracker.ceph.com/issues/42607
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
Signed-off-by: Tiago Melo <tmelo@suse.com>
Sebastian Wagner [Mon, 28 Oct 2019 12:13:33 +0000 (13:13 +0100)]
script/run_mypy: Support mypy 0.740
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Co-Authored-By: Ernesto Puerta <37327689+epuertat@users.noreply.github.com>
Sebastian Wagner [Mon, 4 Nov 2019 08:41:28 +0000 (09:41 +0100)]
Merge pull request #31191 from sebastian-philipp/ceph-volume-pr-template
github: Add ceph-volume to list of jenkins commands
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Patrick Donnelly [Fri, 1 Nov 2019 20:31:23 +0000 (13:31 -0700)]
messages: protect CephFS messages get/put methods
Use SafeMessage inheritance so that only intrusive pointers can modify
the reference count. This is just a defensive programming refactor.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 1 Nov 2019 20:35:41 +0000 (13:35 -0700)]
messages: protect MClientCapRelease cons
This should only be constructed via make_message.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 1 Nov 2019 20:43:29 +0000 (13:43 -0700)]
messages: simplify MMDSCacheRejoin default cons
Trivial initializations can be moved out.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 1 Nov 2019 20:42:16 +0000 (13:42 -0700)]
mds: simplify type declarations
This is a trivial refactor.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Kefu Chai [Sun, 3 Nov 2019 20:55:21 +0000 (12:55 -0800)]
Merge pull request #31326 from cbodley/wip-cmake-mgr-cap
cmake: define mgr_cap_obj library when WITH_MGR=OFF
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sun, 3 Nov 2019 19:42:48 +0000 (13:42 -0600)]
Merge PR #31015 into master
* refs/pull/31015/head:
mgr/orchestrator: Fix raise_if_exception for Python 3
Reviewed-by: Tim Serong <tserong@suse.com>
Sage Weil [Sun, 3 Nov 2019 16:09:06 +0000 (10:09 -0600)]
qa/standalone/test_ceph_daemon: fix multi-version python test
We have to rewrite the shebang line, since it is no longer just
'#/usr/bin/env python' (as of
e12ad1b016db818fe20062e4373218890c6f4cbd ).
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 3 Nov 2019 15:52:59 +0000 (09:52 -0600)]
ceph-daemon: only set up /var/run/ceph/$fsid if it exists
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 3 Nov 2019 15:44:44 +0000 (09:44 -0600)]
Merge PR #31337 into master
* refs/pull/31337/head:
Fixing typo in ceph-daemon script for the output_pub_ssh_key argument
Reviewed-by: Sage Weil <sage@redhat.com>
John McGowan [Sat, 2 Nov 2019 21:33:59 +0000 (15:33 -0600)]
Fixing typo in ceph-daemon script for the output_pub_ssh_key argument
Signed-off-by: John McGowan <john@steakfest.com>
Kefu Chai [Sun, 3 Nov 2019 12:56:17 +0000 (04:56 -0800)]
Merge pull request #31335 from wjwithagen/wjw-fix-objecstore-bluestore
test: move bluestore dependent code under WITH_BLUESTORE
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 3 Nov 2019 12:50:51 +0000 (04:50 -0800)]
Merge pull request #31312 from changchengx/qa
qa: correct zap disk with ceph-deploy tool
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>