Skip to content

librados: add RadosClient to conf observers#38358

Merged
tchaikov merged 2 commits intoceph:masterfrom
batrick:i48030
Dec 4, 2020
Merged

librados: add RadosClient to conf observers#38358
tchaikov merged 2 commits intoceph:masterfrom
batrick:i48030

Conversation

@batrick
Copy link
Member

@batrick batrick commented Nov 30, 2020

Fixes: https://tracker.ceph.com/issues/48030
Fixes: a8a2374
Fixes: 306eebe
Signed-off-by: Patrick Donnelly pdonnell@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

Commit 306eebe added the RadosClient to
the config observer interface but forgot to add it to the observer list.
This meant that the RadosClient was never receiving callbacks to
handle_conf_change. Commit a8a2374
exposed this issue because the mon timeout was configured at run-time.

Fixes: https://tracker.ceph.com/issues/48030
Fixes: a8a2374
Fixes: 306eebe
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
The timeout was not initialized with the current config value during
RadosClient construction.

Fixes a8a2374
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
@neha-ojha
Copy link
Member

@tchaikov tchaikov merged commit 1f8bb63 into ceph:master Dec 4, 2020
@batrick batrick deleted the i48030 branch December 4, 2020 16:57
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