Bug 1442540

Summary: Accessing subscription page as non-admin user hangs
Product: Red Hat Enterprise Linux 7 Reporter: Yihui Zhao <yzhao>
Component: cockpitAssignee: Martin Pitt <mpitt>
Status: CLOSED ERRATA QA Contact: Jan Ščotka <jscotka>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.3CC: bugs, cshao, huzhao, leiwang, mpitt, qiyuan, rbarry, sbonazzo, tbowling, weiwang, yaniwang, ycui
Target Milestone: pre-dev-freeze   
Target Release: 7.6   
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-10-30 10:34:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 1589370, 1329957, 1400961, 1447254, 1472751    
Attachments:
Description Flags
subscriptions_page.png none

Description Yihui Zhao 2017-04-15 09:45:12 UTC
Created attachment 1271778 [details]
subscriptions_page.png

Description of problem:
When the gerenal user access the subscription page via cockpit, it keeps "retrieving subscription status, updating"


Version-Release number of selected component (if applicable):
rhvh-4.1-0.20170413.0+1
cockpit-storaged-135-4.el7.noarch
cockpit-bridge-135-4.el7.x86_64
cockpit-ws-135-4.el7.x86_64
cockpit-system-135-4.el7.noarch
cockpit-ovirt-dashboard-0.10.7-0.0.16.el7ev.noarch



How reproducible:
100%

Steps to Reproduce:
1.Install RHVH4.1
2. Login cockpit with root user, set the node user password, logout out
3. Login cockpit with node user, check the subscription page.


Actual results:
After step3, the subscription page keeps "retrieving subscription status,updateing".

Expected results:
The general user don't have access to check the subscription status, should give a warning.

Additional info:

Comment 1 Ryan Barry 2017-04-15 14:56:44 UTC
Note that the "node" user works with "{superuser: try}"

Comment 3 Martin Pitt 2018-01-23 12:17:06 UTC
Confirmed that this is still happening with master.

Comment 4 Martin Pitt 2018-01-23 12:32:51 UTC
*** Bug 1366092 has been marked as a duplicate of this bug. ***

Comment 5 Martin Pitt 2018-01-23 14:53:07 UTC
Fix sent to https://github.com/cockpit-project/cockpit/pull/8475

Comment 9 errata-xmlrpc 2018-10-30 10:34:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:3148