Bug 1411631
Summary: | RFE: Improve the way the system subscription status is described | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Wei Wang <weiwang> | ||||||
Component: | cockpit | Assignee: | Andreas Nilsson <anilsson> | ||||||
Status: | CLOSED WONTFIX | QA Contact: | qe-baseos-daemons | ||||||
Severity: | low | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 7.3 | CC: | bugs, cshao, fdeutsch, huzhao, leiwang, mpitt, rbarry, weiwang, yaniwang, ycui | ||||||
Target Milestone: | pre-dev-freeze | Keywords: | Extras, FutureFeature | ||||||
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: | 2018-03-02 09:30:46 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: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 1447254 | ||||||||
Attachments: |
|
Created attachment 1238992 [details]
log files
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: