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.
Bug 1489521 - subscription-manager-cockpit - no feedback when deregistering a system and a server is down
Summary: subscription-manager-cockpit - no feedback when deregistering a system and a ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Jiri Hnidek
QA Contact: Jan Stavel
URL:
Whiteboard:
Depends On: 1516439
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-07 15:39 UTC by Jan Stavel
Modified: 2018-04-10 09:51 UTC (History)
5 users (show)

Fixed In Version: subscription-manager-1.20.10-1
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-10 09:51:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
an error message when candlepin is down and proxy is used (36.53 KB, image/png)
2018-02-01 10:03 UTC, Jan Stavel
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github candlepin subscription-manager pull 1733 0 None None None 2017-11-24 11:37:33 UTC
Red Hat Product Errata RHBA-2018:0681 0 None None None 2018-04-10 09:51:43 UTC

Description Jan Stavel 2017-09-07 15:39:32 UTC
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):


How reproducible:

Each time.

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.


Actual results:

Nothing displayed about a problem with reaching the server.

Expected results:

a sort of 'The server is unreachable now. Please check the network connection.'


Additional info:

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
9878fd4aff3/compliance
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.

Comment 2 Jiri Hnidek 2017-11-22 15:34:57 UTC
I can reproduce this bug report. I'm taking this bug.

Comment 6 Jan Stavel 2018-02-01 10:03:37 UTC
Created attachment 1389439 [details]
an error message when candlepin is down and proxy is used

Comment 7 Jan Stavel 2018-02-01 10:04:01 UTC
It just works!

Comment 10 errata-xmlrpc 2018-04-10 09:51:13 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:0681


Note You need to log in before you can comment on or make changes to this bug.