Bug 1731141
| Summary: | New client machine is not getting temporary virt-who sku subscription | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | raju kumar <rajukuma> |
| Component: | Candlepin | Assignee: | Barnaby Court <bcourt> |
| Status: | CLOSED NOTABUG | QA Contact: | jcallaha |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.5.0 | CC: | bbuckingham, csnyder, janarula, ktordeur, redakkan, roarora, wpoteat |
| Target Milestone: | Unspecified | Keywords: | Reopened, Triaged |
| Target Release: | Unused | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-03-02 16:01:30 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
raju kumar
2019-07-18 12:26:14 UTC
Raju, were the hosts you are registering guests of the hypervisor you're getting the guest subs from? Hi Jake, Thanks for looking into this. I believe that new guest VMs should get the temperory guest-of-virt-who sku subscription from satellite server as the Hypervisor on top of which the guest is running is Registered to satellite and is Fully subscribed by Virt-who Subscription. Also, if we run the virt-who service on the satellite server, the guest-host mapping is reported to satellite and the guest VM gets fully subscribed after that. So, the issue here is, VM is not getting temperoriy subscribed [it should get temperorily subscribed], and is getting fully subscribed once the guest-host mapping is reported to satellite server. Please let me know if more information is needed from my end. Raju, Does the pool exist? I assume that it does because you need the pool ID for the activation key. Please confirm that you are using the pool ID of the unmapped guest pool and not the physical main pool. Another user is affected by the similar behaviour : Subscriptions in the Manifest MCT3718 Red Hat Satellite Infrastructure Subscription RH00002 Red Hat Enterprise Linux for Virtual Datacenters, Standard RH00001 Red Hat Enterprise Linux for Virtual Datacenters, Premium RH00798 Red Hat Developer Subscription The premium VDC is attached to the Hypervisor and "Guests of virt-who" pool for it exists Situation when a new system is built on the hypervisor : > using Blank Activation Key, Auto Attach yes ===> It gets "Red Hat Developer Subscription" > using Activation key having Guests of virt-who subscription, Auto Attach yes ===> It gets no subscription, Status: Not Subscribed > using Activation key having Guests of virt-who subscription, Auto Attach No ===> It gets no subscription, Status: Not Subscribed > using Blank Activation Key, Auto Attach yes Set service level in Activation Key as Premium ===> It gets "Red Hat Satellite Infrastructure Subscription" > Run auto attach on client : ===> It gets "Red Hat Developer Subscription" There seems no way to get the temporary subscription which should be attached till systems is reported. @wpoteat, Are you able to duplicate with sku's defined in comment 12? Is there other information needed to duplicate this issue? The client (guest) you are creating: What product certificates does it have? Just 69.pem? The temporary subscriptions that appear from the use of the VDC subscriptions use either RH00049 or RH00050. In this case, only having 69.pem, you will not get one of those by auto attaching. Also note that you will have to use the temporary pool [for the correct host system] on an activation key for it to be used. Using the base physical pool does not work for guest systems. Unfortunately we are unable to solve this issue without the information requested above in comment 17. As that request has been waiting for a month, I am closing this issue. If anyone who would like this fixed has the necessary data, please reopen the bug with the requested information and we can resume work on this issue. Here is the issue: The Satellite UI does not show temporary subscriptions. You cannot use the UI to make an activation key with a temporary subscription. The subscription that is showing as Virtual in the UI is excluded from use for the client machine by rule because it is host dependent. This guest does not belong to that host when not mapped and maybe not even after. The results in Comment 12 reflect that. I'd suggest to a customer that they run virt-who before any of the client systems are registered. Then the correct guest pool can be used for the activation key for guests of the specific host. |