Skip to content

qa/tasks/cephadm: Add check for already set image - #35287

Merged
sebastian-philipp merged 1 commit into
ceph:masterfrom
gekios:wip-cephadm-bootstrapped-fix
May 29, 2020
Merged

sebastian-philipp merged 1 commit into
ceph:masterfrom
gekios:wip-cephadm-bootstrapped-fix

Conversation

@gekios

@gekios gekios commented May 28, 2020

Copy link
Copy Markdown
Contributor

Moving image instantiation to initialize_config() function because it overrides the image in already bootstrapped clusters

Signed-off-by: Georgios Kyratsas [email protected]

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

@gekios
gekios requested a review from sebastian-philipp May 28, 2020 09:56
@gekios
gekios requested a review from a team as a code owner May 28, 2020 09:56
Comment thread qa/tasks/cephadm.py Resolved
@gekios
gekios force-pushed the wip-cephadm-bootstrapped-fix branch from 6776635 to 3678c53 Compare May 28, 2020 10:45
@gekios
gekios force-pushed the wip-cephadm-bootstrapped-fix branch from 3678c53 to 18c5187 Compare May 28, 2020 15:08
Comment thread qa/tasks/cephadm.py Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if not hasattr(ctx.ceph[cluster_name].image, 'image'):
if not hasattr(ctx.ceph[cluster_name], 'image'):

?

Adding a check for already bootstrapped clusters where the image is
already set to avoid overriding it.

Signed-off-by: Georgios Kyratsas <[email protected]>
@gekios
gekios force-pushed the wip-cephadm-bootstrapped-fix branch from 18c5187 to fabcbea Compare May 28, 2020 15:16
@gekios gekios changed the title qa/tasks/cephadm: Move image instantiation qa/tasks/cephadm: Add check fox already set image May 28, 2020
@gekios gekios changed the title qa/tasks/cephadm: Add check fox already set image qa/tasks/cephadm: Add check for already set image May 28, 2020
@gekios

gekios commented May 29, 2020

Copy link
Copy Markdown
Contributor Author

@sebastian-philipp
sebastian-philipp merged commit a66fb92 into ceph:master May 29, 2020
@gekios
gekios deleted the wip-cephadm-bootstrapped-fix branch May 29, 2020 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants