Skip to content

mgr/cephadm: remove duplicate labels when adding a host - #39857

Merged
sebastian-philipp merged 1 commit into
ceph:masterfrom
adk3798:dup-labels
Mar 12, 2021
Merged

sebastian-philipp merged 1 commit into
ceph:masterfrom
adk3798:dup-labels

Conversation

@adk3798

@adk3798 adk3798 commented Mar 5, 2021

Copy link
Copy Markdown
Contributor

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

Signed-off-by: Adam King [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 api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

@adk3798 adk3798 added the cephadm label Mar 5, 2021
@adk3798
adk3798 requested a review from a team as a code owner March 5, 2021 15:15
@github-actions github-actions Bot added the pybind label Mar 5, 2021

@mgfritch mgfritch left a comment

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.

works! but somewhat wonder if the HostSpec class should be doing the handling

@jmolmo jmolmo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I like a lot the way to avoid the duplicate label!!!

Comment thread src/pybind/mgr/cephadm/inventory.py Resolved
@adk3798

adk3798 commented Mar 9, 2021

Copy link
Copy Markdown
Contributor Author

changed this to remove duplicates in HostSpec from/to json functions rather than in the add host command.

@sebastian-philipp sebastian-philipp left a comment

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.

much better.

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