Skip to content

mgr/orch: service_id can contain a '.' char (mds, nfs, iscsi) - #34778

Merged
sebastian-philipp merged 4 commits into
ceph:masterfrom
mgfritch:cephadm-dd-service-id
May 5, 2020
Merged

sebastian-philipp merged 4 commits into
ceph:masterfrom
mgfritch:cephadm-dd-service-id

Conversation

@mgfritch

Copy link
Copy Markdown
Contributor

Match last occurrence of the hostname substr when parsing the daemon_id

  • The service_id can contain a '.' char (mds, nfs, iscsi)
  • rgw realm/zone could contain 'hostname'

Fixes: https://tracker.ceph.com/issues/45293
Fixes: https://tracker.ceph.com/issues/45294
Signed-off-by: Michael Fritch [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

@mgfritch

Copy link
Copy Markdown
Contributor Author

jenkins test make check

Comment on lines 1300 to 1305

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.

can we keep this special handing for RGWs?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

do we need to keep it around for some reason?

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.

It's just we end up in an endless loop, if we mess up this method. I'm just a bit nervous.

@mgfritch
mgfritch force-pushed the cephadm-dd-service-id branch from 361a669 to 3cbebf3 Compare May 4, 2020 21:43
@sebastian-philipp
sebastian-philipp merged commit cf60809 into ceph:master May 5, 2020
@mgfritch
mgfritch deleted the cephadm-dd-service-id branch May 5, 2020 18:55
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.

2 participants