Skip to content

Conversation

@Kushal-deb
Copy link

cephadm: defer RGW zone update if endpoints empty

We hit an async race where cephadm tried to update RGW with zone_endpoints=[] before any RGW daemon had a usable IP, causing realms to show ‘master zone has no endpoint’; the ep non-empty check defers the write until endpoints are discovered, preventing us from committing an empty list and breaking tokens/period updates.

Contribution Guidelines

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
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 cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows

aaSharma14 and others added 2 commits November 13, 2025 16:54
ic in _update_rgw_endpoints method

Issue: The existing implementation does not re-attempt endpoint updates when no RGW daemons were found for a service or the daemon deployment is still in progress. The zone is being modified with an empty endpoint array in this case.

Fix: Added conditional checks to retry the update if no daemons are found.

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

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
Signed-off-by: Kushal Deb <Kushal.Deb@ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants