Description of problem:
subscription-manager-cockpit does not give any feedback when candlepin server is not reachable and I want to unregister system
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Given a system is registered
and I openned cockpit subscription page
When I click on 'Unregister' button
then I see a rotating icon
and the icon disappears after a short while
and I see 'Unregister' button again.
Nothing displayed about a problem with reaching the server.
a sort of 'The server is unreachable now. Please check the network connection.'
I was out of VPN so a name resolution for the server name failed.
an info about network problem appears in /etc/rhsm/rhsm.log
3412341235', '100000000000020', '32060', '99010', '88888', '900', '908', '98121', '806', '917571', '37080', '801', '6051', '6050', '37070']
2017-09-07 17:30:09,607 [DEBUG] subscription-manager:20019:MainThread @connection.py:516 - Making request: GET /subscription/consumers/04e479cd-9a1b-4d83-bda9-c
2017-09-07 17:30:09,610 [ERROR] subscription-manager:20019:MainThread @cache.py:229 - [Errno -2] Name or service not known
2017-09-07 17:30:09,610 [WARNING] subscription-manager:20019:MainThread @cache.py:235 - Unable to reach server, using cached status.
I can reproduce this bug report. I'm taking this bug.
Created attachment 1389439 [details]
an error message when candlepin is down and proxy is used
It just works!
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.