Skip to content

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

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

mgr/cephadm: remove duplicate labels when adding a host#39857
sebastian-philipp merged 1 commit intoceph:masterfrom
adk3798:dup-labels

Conversation

@adk3798
Copy link
Contributor

@adk3798 adk3798 commented Mar 5, 2021

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

Signed-off-by: Adam King adking@redhat.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 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
Copy link
Contributor

@mgfritch mgfritch left a comment

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

Copy link
Member

@jmolmo jmolmo left a comment

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!!!

@adk3798
Copy link
Contributor Author

adk3798 commented Mar 9, 2021

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

Copy link
Contributor

@sebastian-philipp sebastian-philipp left a comment

Choose a reason for hiding this comment

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

much better.

@sebastian-philipp
Copy link
Contributor

https://pulpito.ceph.com/swagner-2021-03-11_16:09:20-rados:cephadm-wip-swagner-testing-2021-03-11-1320-distro-basic-smithi/

Lots of errors:

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