Skip to content

Conversation

@rfc1459
Copy link
Contributor

@rfc1459 rfc1459 commented Feb 10, 2026

PR #42 changed the upmap-remapped.py script behavior to prefer librados Python bindings if available over direct shell commands. The very last step in the script is a call to cluster.shutdown() for the rados client instance, but it is performed unconditionally even in shell mode, causing the script to emit a NameError for cluster.

This PR addresses the issue by guarding the cluster.shutdown() call so that it happens only when the script is using librados.

@dvanders dvanders merged commit aea5eeb into cernceph:master Feb 10, 2026
@dvanders
Copy link
Collaborator

Thanks!

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.

2 participants