Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2075577

Summary: [Customer Portal] VMs register with Virtual Datacenter Derived SKU Showing as "0" subscription attached
Product: [Community] Candlepin (Migrated to Jira) Reporter: Sunpreet Bhamrah <sbhamrah>
Component: candlepinAssignee: candlepin-bugs
Status: CLOSED DEFERRED QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.2CC: redakkan, tdarby
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-01 12:09:13 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:
Attachments:
Description Flags
test-rhel2-sw.061asd.zebra.lan-showing_subscription_NOT_attached none

Description Sunpreet Bhamrah 2022-04-14 15:28:38 UTC
Created attachment 1872551 [details]
test-rhel2-sw.061asd.zebra.lan-showing_subscription_NOT_attached

Description of problem:

On the customer portal, Virtual Machine attached with Virtual Datacenter guest subscription is showing "0" subscription attached on the systems tab-

   URL - https://access.redhat.com/management/systems

Screenshot for reference - test-rhel2-sw.061asd.zebra.lan-showing_subscription_NOT_attached.png


But as per system profile details, it is showing the subscription attached and the correct host it is reporting on. 

Screenshot for reference - test-rhel2-sw.061asd.zebra.lan-showing_subscription_attached.png


Version-Release number of selected component (if applicable):
-None


How reproducible:
- Always

Steps to Reproduce:
1. Install OS
2. Configure Virt-who
3. Once hosts are reported on the customer portal, attach a Virtual Datacenter subscription.
4. Register and subscribe the required VM running on the host that is attached with the Virtual datacenter subscription.


Actual results:
- It should show "0" where the system is attached with a subscription.


Expected results:
- It should show "1" as that is the required number of subscriptions attached to the VM when listing on the below URL-

   https://access.redhat.com/management/systems


Additional info:
- None

Comment 5 Rehana 2022-08-01 12:09:13 UTC
The issue needs to be addressed in the webportal and a following ticket has been raised against the concerned team https://issues.redhat.com/browse/TEAMNADO-3931. 

Hence closing the bug.