Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for key in CephX keyring definition #168

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

keuko
Copy link
Contributor

@keuko keuko commented Jan 3, 2025

The cephadm_key Ansible module now supports defining key for CephX keyrings, enabling more flexible key management and integration within Ceph clusters.

This feature is particularly useful with Kolla-Ansible, as it allows clear definition of keys with specific capabilities and key values. Keys can now be stored securely in Git configurations or Vault, simplifying management across both projects.

Resolves #165

@keuko keuko requested a review from a team as a code owner January 3, 2025 13:00
@keuko keuko force-pushed the issue-165 branch 2 times, most recently from cd53045 to db84f78 Compare January 3, 2025 15:27
The cephadm_key Ansible module now supports defining
key for CephX keyrings, enabling more flexible key
management and integration within Ceph clusters.

This feature is particularly useful with Kolla-Ansible,
as it allows clear definition of keys with specific
capabilities and key values. Keys can now be stored securely
in Git configurations or Vault, simplifying management across
both projects.

Resolves stackhpc#165
@keuko
Copy link
Contributor Author

keuko commented Jan 3, 2025

Maybe you want to review tihs @mnasiadka ?

@keuko
Copy link
Contributor Author

keuko commented Jan 3, 2025

Hmm, false positive check ...

@@ -318,20 +354,33 @@ def run_module():
result["rc"] = 0
module.exit_json(**result)
else:
rc, cmd, out, err = exec_commands(module, update_key(name, caps)) # noqa: E501
if key and key != _key:
Copy link
Member

@mnasiadka mnasiadka Jan 7, 2025

Choose a reason for hiding this comment

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

where is _key defined?

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.

Can't set secret for keyring
2 participants