Skip to content

cephadm: Validate bootstrap "--dashboard-{key|crt}" path#35229

Merged
sebastian-philipp merged 1 commit intoceph:masterfrom
ricardoasmarques:wip-45696
May 27, 2020
Merged

cephadm: Validate bootstrap "--dashboard-{key|crt}" path#35229
sebastian-philipp merged 1 commit intoceph:masterfrom
ricardoasmarques:wip-45696

Conversation

@ricardoasmarques
Copy link
Contributor

By using type=argparse.FileType('r'), we automatically validate that file exists and can be read.

This PR was inspired by the following comment: #35195 (comment)

Fixes: https://tracker.ceph.com/issues/45696

Signed-off-by: Ricardo Marques rimarques@suse.com

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard backend
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants