Bug 1550601
| Summary: | rh_subscription: module not configured. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Christopher Wawak <cwawak> |
| Component: | cloud-init | Assignee: | Ryan McCabe <rmccabe> |
| Status: | CLOSED NOTABUG | QA Contact: | Huijuan Zhao <huzhao> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.4 | CC: | eterrell, huzhao, jgreguske, leiwang, linl, xiachen |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-09-30 07:58:55 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Christopher Wawak
2018-03-01 15:09:30 UTC
It looks like this is broken because the disabled list is taking precedence over the enabled list. For the moment, I think it should work if you explicitly disable only what needs disabling. It will need fixing upstream to make it work as it ought to. Can you double check if you meet this issue with latest versions of cloud-init like RHEL-7.9/cloud-init-19.4? Unfortunately, I don't have access to the appropriate environments (or the same job) that would allow me to replicate this. Sorry, all! @huzhao, can you reproduce this issue with latest release? This is not a bug. It is caused by using the wrong parameter "activation_key" in configuration rh_subscription module. The correct parameter should be "activation-key". see the example here, https://cloudinit.readthedocs.io/en/latest/topics/modules.html#redhat-subscription and I checked source code, it works as expected to show the message "rh_subscription: module not configured", so close it as NOT A BUG. detail in cloudinit/config/cc_rh_subscription.py Tested rh_subscription module with disable and enable repo, cloud-init-0.7.9-9.el7_4.2.x86_64 & rhel 7.4 cloud-init-19.4-7.el7.x86_64 & rhel7.9 Result: PASS. |