Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Created attachment 1238991[details]
picture
Description of problem:
Subscriptions status displays wrong after register RHVH to RHSM.
Version-Release number of selected component (if applicable):
redhat-virtualization-host-4.1-0.20170104.0
cockpit-ovirt-dashboard-0.10.7-0.0.3.el7ev.noarch
cockpit-ws-126-1.el7.x86_64
imgbased-0.9.2-0.1.el7ev.noarch
How reproducible:
100%
Steps to Reproduce:
1. Install RHVH 4.1
2. Login cockpit website hostIP:9090 with root account
3. Go to Tools---> Subscriptions
4. Register RHVH to RHSM with username and password
5. Check the status of "Subscriptions"
Actual results:
Subscriptions status displays wrong after register RHVH to RHSM.
It displays "Current"
Expected results:
Subscriptions status should be shown like "System is registered".
Additional info:
We currently get this status directly from subscription-manager. [1]
"Current" implies that the system is not just registered, but has active (current) subscriptions.
Can you please verify that the status in Cockpit matches the output of "subscription-manager status"? If not, it's an actual bug - otherwise an RFE for possible clarification.
[1] "subscription-manager status" https://github.com/cockpit-project/cockpit/blob/master/pkg/subscriptions/subscriptions-client.js#L363
(In reply to Dominik Perpeet from comment #3)
> We currently get this status directly from subscription-manager. [1]
>
> "Current" implies that the system is not just registered, but has active
> (current) subscriptions.
>
> Can you please verify that the status in Cockpit matches the output of
> "subscription-manager status"? If not, it's an actual bug - otherwise an RFE
> for possible clarification.
>
> [1] "subscription-manager status"
> https://github.com/cockpit-project/cockpit/blob/master/pkg/subscriptions/
> subscriptions-client.js#L363
I have tested with RHVH rhvh-4.1-0.20170112.0, the status in cockpit matches the output of "subscription-manager status", all the status is "Current"
[root@dhcp-8-149 ~]# subscription-manager status
+-------------------------------------------+
System Status Details
+-------------------------------------------+
Overall Status: Current
I think the word cannot give the explicit implication of the status.
Considering the output of Cockpit matches that of the underlying technology (subscription manager), I don't think this is a Cockpit bug.
You can request for a change in subscription manager or we can see if there is a way to add an explanation. Considering the sheer number of possible system states in subscription manager and the fact that decoupling the Cockpit display from subscription manager's output introduces a point of potential failure, changing this is not as trivial as it might appear initially.
From Cockpit's perspective we'll treat this as an RFE for a design to supplemene subscription manager's output.
In RHEL 8 cockpit-subscriptions will be dropped in favor of subscription-manager-cockpit (it's already available in RHEL 7.5), so we most likely won't work on this any more unless there is some urgency. As changing this string will also break all translations, I suggest not changing this for 7.x any more.
Please reopen if you disagree.
Created attachment 1238991 [details] picture Description of problem: Subscriptions status displays wrong after register RHVH to RHSM. Version-Release number of selected component (if applicable): redhat-virtualization-host-4.1-0.20170104.0 cockpit-ovirt-dashboard-0.10.7-0.0.3.el7ev.noarch cockpit-ws-126-1.el7.x86_64 imgbased-0.9.2-0.1.el7ev.noarch How reproducible: 100% Steps to Reproduce: 1. Install RHVH 4.1 2. Login cockpit website hostIP:9090 with root account 3. Go to Tools---> Subscriptions 4. Register RHVH to RHSM with username and password 5. Check the status of "Subscriptions" Actual results: Subscriptions status displays wrong after register RHVH to RHSM. It displays "Current" Expected results: Subscriptions status should be shown like "System is registered". Additional info: