-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
redhat_subscription: use CLI when using environments #6319
redhat_subscription: use CLI when using environments #6319
Conversation
3468afa
to
19a71e5
Compare
This comment was marked as outdated.
This comment was marked as outdated.
It turns out that the 'environments' that the D-Bus Register*() APIs accept are the IDs of the environments, and not the user-facing names of the environments (which is what the module has been accepting so far). Since there is no easy way to do the mapping manually, for now use again the subscription-manager CLI for registering when environments are specified.
19a71e5
to
a74bd2f
Compare
@ptoscano looks good to me. Do you want to wait for reviews, or should I merge? |
Should be OK, thanks! |
Backport to stable-6: 💚 backport PR created✅ Backport PR branch: Backported as #6332 🤖 @patchback |
@ptoscano thanks! |
It turns out that the 'environments' that the D-Bus Register*() APIs accept are the IDs of the environments, and not the user-facing names of the environments (which is what the module has been accepting so far). Since there is no easy way to do the mapping manually, for now use again the subscription-manager CLI for registering when environments are specified. (cherry picked from commit 83994c0)
…hen using environments (#6332) redhat_subscription: use CLI when using environments (#6319) It turns out that the 'environments' that the D-Bus Register*() APIs accept are the IDs of the environments, and not the user-facing names of the environments (which is what the module has been accepting so far). Since there is no easy way to do the mapping manually, for now use again the subscription-manager CLI for registering when environments are specified. (cherry picked from commit 83994c0) Co-authored-by: Pino Toscano <ptoscano@redhat.com>
Docs Build 📝Thank you for contribution!✨ This PR has been merged and your docs changes will be incorporated when they are next published. |
SUMMARY
It turns out that the 'environments' that the D-Bus Register*() APIs accept are the IDs of the environments, and not the user-facing names of the environments (which is what the module has been accepting so far).
Since there is no easy way to do the mapping manually, for now use again the subscription-manager CLI for registering when environments are specified.
ISSUE TYPE
COMPONENT NAME
redhat_subscription