Bug 1400788 - It will show "Interrupted system call" when unregister system
Summary: It will show "Interrupted system call" when unregister system
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-who
Version: 7.5
Hardware: x86_64
OS: Unspecified
medium
low
Target Milestone: pre-dev-freeze
: 7.7
Assignee: candlepin-bugs
QA Contact: Eko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-02 05:39 UTC by Liushihui
Modified: 2020-12-11 11:18 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-11 11:18:03 UTC
Target Upstream Version:


Attachments (Terms of Use)
rhsm.log (12.93 KB, text/plain)
2016-12-06 02:16 UTC, Liushihui
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github virt-who virt-who pull 83 0 None closed 1400788: Do not try to get host-to-guest mapping on unregistered system 2020-12-11 11:15:03 UTC
Red Hat Bugzilla 1371759 0 medium CLOSED Unregister system will result in "ConnectionError:" with xen server 2021-02-22 00:41:40 UTC

Internal Links: 1371759

Description Liushihui 2016-12-02 05:39:46 UTC
Description of problem:
When virt-who run at xen mode, unregister system will show "ConnectionError: ('Connection aborted.', error(4, 'Interrupted system call'))" in rhsm log.

Version-Release number of selected component (if applicable):
virt-who-0.18-1.el6.noarch
subscription-manager-1.18.5-1.el6.x86_64
python-rhsm-1.18.5-1.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Register system to stage candlepin
[root@dell-t320-01 ~]# subscription-manager  register --username=stage_ci_test --password=redhat
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
The system has been registered with ID: a864bf25-ce37-4d6b-a42b-eb9db72a0840 

2. Configure virt-who at xen mode and restart virt-who service, virt-who start successfully.
[root@dell-t320-01 ~]# cat /etc/sysconfig/virt-who  | grep -v ^# | grep -v ^$
VIRTWHO_DEBUG=1
VIRTWHO_XEN=1
VIRTWHO_XEN_OWNER=7970632
VIRTWHO_XEN_ENV=7970632
VIRTWHO_XEN_SERVER=10.73.131.133
VIRTWHO_XEN_USERNAME=root
[root@dell-t320-01 ~]# service virt-who restart

3. Unregister system and check virt-who's log.
[root@dell-t320-01 ~]# subscription-manager unregister
System has been unregistered.

Actual results:
When unregister system, virt-who communicate with xen server firstly(it will show "interrupt system call" in the log). then it will communicate with subscription-manager to check out"system is not registered or you are not root".please see detail log in attachment.

Expected results:
When unregister system, Virt-who should communicate with subscription-manager to check system has been unregistered firstly, if system has been unregistered, virt-who needn't communicate with xen server.

Additional info:

Comment 3 Liushihui 2016-12-06 02:16:22 UTC
Created attachment 1228247 [details]
rhsm.log

Comment 6 Jan Kurik 2017-12-06 12:11:32 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/

Comment 7 William Poteat 2018-04-06 18:46:09 UTC
This is a correct response because the system has not been configured with credentials when the cert is absent. The above condition can be corrected by reregistering.

The best solution here is to enhance the message so the user knows how to correct.

Moving to RHEL 7.6 as this will not qualify as a blocker in RHEL 6.

Comment 9 William Poteat 2019-05-15 20:47:14 UTC
Please re-evaluate based on the change of configuration files. The config listed here is no longer valid.

Comment 11 Rehana 2020-12-11 11:18:03 UTC
Old bug clean up :
================

Closing the bug with Current release ,the bug was verified by QE during a RHEL release cycle but was not closed.


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