mgr/cephadm: make orch status fail, if ssh key is not set#35678
Merged
sebastian-philipp merged 1 commit intoceph:masterfrom Jun 23, 2020
Merged
mgr/cephadm: make orch status fail, if ssh key is not set#35678sebastian-philipp merged 1 commit intoceph:masterfrom
orch status fail, if ssh key is not set#35678sebastian-philipp merged 1 commit intoceph:masterfrom
Conversation
ceph-salt relies on the output of `orch status` to determine the end of the bootstrap process. Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
ricardoasmarques
approved these changes
Jun 19, 2020
Contributor
ricardoasmarques
left a comment
There was a problem hiding this comment.
Working as expected, LGTM:
master:~ # ceph cephadm get-pub-key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCWCuV+r5MrtY9K5vmigbvII62MpvT8rW6Jq2iIiBsugILSb7gal//avxJNM3jdJAQE8/wUnjVm507x3Yvbzbso8WE+RZnRzroPrnwXS02v/dgove2xsKKX0reJUKJj6m0Ut8kVjb6eKiy2LEd9LHuu+xrJulEgGx25tCbSD/WHY0wuZXuaF3dREdAYIR27kPJIWAs8r6C3DUKJgcA53IMkYFHcI26KysEg80XPw3dCeezy6i6yXZ+8nuYcBSQjZRx5KZfEedbyBQFjSvFLh4k2damLqeR4jJOaCyWc649pFHo8cfc17ylJzwBcY8QO0qusiy0S97o1aL2iK3Wf9Z8R
master:~ # ceph orch status
Backend: cephadm
Available: True
master:~ # ceph cephadm clear-key
master:~ # ceph orch status
Backend: cephadm
Available: False (SSH keys not set. Use `ceph cephadm set-priv-key` and `ceph cephadm set-pub-key` or `ceph cephadm generate-key`)
master:~ # ceph cephadm generate-key
master:~ # ceph orch status
Backend: cephadm
Available: True
Contributor
Author
|
Failures:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ceph-salt relies on the output of
orch statusto determine theend of the bootstrap process.
See ceph/ceph-salt#270
Signed-off-by: Sebastian Wagner sebastian.wagner@suse.com
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard backendjenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox