Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
Unregister RHEL system, then re-register it to SAM, it can't reload virt-who service.
Version-Release number of selected component (if applicable):
virt-who-0.14-9.el7.noarch
subscription-manager-1.15.9-14.el7.s390x
python-rhsm-1.15.4-5.el7.s390x
How reproducible:
Always
Steps to Reproduce:
1. Register system to SAM, configure virt-who run at libvirt mode, then restart virt-who service. virt-who send h/g mapping to SAM.
[root@ibm-z10-56 ~]# subscription-manager identity
system identity: d0d8e087-91b6-47cf-a450-079b691d90c5
name: ibm-z10-56.rhts.eng.bos.redhat.com
org name: ACME_Corporation
org ID: ACME_Corporation
[root@ibm-z10-56 ~]# systemctl restart virt-who
[root@ibm-z10-56 ~]# ps -ef|grep virt-who
root 31051 1 4 22:09 ? 00:00:00 /usr/bin/python /usr/share/virt-who/virtwho.py
root 31056 31051 0 22:09 ? 00:00:00 /usr/bin/python /usr/share/virt-who/virtwho.py
root 31060 10633 0 22:09 pts/0 00:00:00 grep --color=auto virt-who
2. Unregister system, then check virt-who's thread, it is correct to show one virt-who thread.
[root@ibm-z10-56 ~]# subscription-manager unregister
System has been unregistered.
[root@ibm-z10-56 ~]# ps -ef|grep virt-who
root 31051 1 0 22:09 ? 00:00:00 /usr/bin/python /usr/share/virt-who/virtwho.py
root 31070 10633 0 22:10 pts/0 00:00:00 grep --color=auto virt-who
3. Re-register system to SAM, then check virt-who's thread and virt-who's log
[root@ibm-z10-56 ~]# subscription-manager register --username=admin --password=admin
Registering to: samserv.redhat.com:443/sam/api
The system has been registered with ID: 9748fd28-2e89-4c83-80ac-46a99a991248
[root@ibm-z10-56 ~]# ps -ef|grep virt-who
root 31051 1 0 22:09 ? 00:00:00 /usr/bin/python /usr/share/virt-who/virtwho.py
[root@ibm-z10-56 ~]# ps -ef|grep virt-who
root 31051 1 0 22:09 ? 00:00:00 /usr/bin/python /usr/share/virt-who/virtwho.py
[root@ibm-z10-56 ~]# systemctl status virt-who
● virt-who.service - Daemon for reporting virtual guest IDs to subscription-manager
Loaded: loaded (/usr/lib/systemd/system/virt-who.service; disabled; vendor preset: disabled)
Active: active (running) since Mon 2015-10-12 22:09:35 EDT; 9min ago
Main PID: 31051 (python)
CGroup: /system.slice/virt-who.service
└─31051 /usr/bin/python /usr/share/virt-who/virtwho.py
Oct 12 22:09:59 ibm-z10-56.rhts.eng.bos.redhat.com virt-who[31051]: self._sendGuestList(report)
Oct 12 22:09:59 ibm-z10-56.rhts.eng.bos.redhat.com virt-who[31051]: File "/usr/share/virt-who/virtwho.py", line 196, in _sendGuestList
Oct 12 22:09:59 ibm-z10-56.rhts.eng.bos.redhat.com virt-who[31051]: manager.sendVirtGuests(report.guests)
Oct 12 22:09:59 ibm-z10-56.rhts.eng.bos.redhat.com virt-who[31051]: File "/usr/share/virt-who/manager/subscriptionmanager/subscripti...uests
Oct 12 22:09:59 ibm-z10-56.rhts.eng.bos.redhat.com virt-who[31051]: self._connect()
Oct 12 22:09:59 ibm-z10-56.rhts.eng.bos.redhat.com virt-who[31051]: File "/usr/share/virt-who/manager/subscriptionmanager/subscripti...nnect
Oct 12 22:09:59 ibm-z10-56.rhts.eng.bos.redhat.com virt-who[31051]: "Unable to read certificate, system is not registered or you are...oot")
Oct 12 22:09:59 ibm-z10-56.rhts.eng.bos.redhat.com virt-who[31051]: SubscriptionManagerUnregisteredError: Unable to read certificate... root
Oct 12 22:10:37 ibm-z10-56.rhts.eng.bos.redhat.com python[31051]: virt-who reload
Oct 12 22:10:37 ibm-z10-56.rhts.eng.bos.redhat.com virt-who[31051]: 2015-10-12 22:10:37,503 WARNING: virt-who reload
Hint: Some lines were ellipsized, use -l to show in full.
Actual results:
1 Although system has registered to SAM, virt-who failed to send h/g mapping to server. please see the log in attachment.
2 Failed to re-load virt-who service , it only show one virt-who thread after re-register system.
Expected results:
After system re-register to SAM, virt-who should send h/g mapping to server successfully. Meanwhile, virt-who should re-load successfully, it should show two virt-who threads.
Additional info:
It hasn't this problem on x86_64 and ppc64
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://rhn.redhat.com/errata/RHBA-2016-2387.html
Description of problem: Unregister RHEL system, then re-register it to SAM, it can't reload virt-who service. Version-Release number of selected component (if applicable): virt-who-0.14-9.el7.noarch subscription-manager-1.15.9-14.el7.s390x python-rhsm-1.15.4-5.el7.s390x How reproducible: Always Steps to Reproduce: 1. Register system to SAM, configure virt-who run at libvirt mode, then restart virt-who service. virt-who send h/g mapping to SAM. [root@ibm-z10-56 ~]# subscription-manager identity system identity: d0d8e087-91b6-47cf-a450-079b691d90c5 name: ibm-z10-56.rhts.eng.bos.redhat.com org name: ACME_Corporation org ID: ACME_Corporation [root@ibm-z10-56 ~]# systemctl restart virt-who [root@ibm-z10-56 ~]# ps -ef|grep virt-who root 31051 1 4 22:09 ? 00:00:00 /usr/bin/python /usr/share/virt-who/virtwho.py root 31056 31051 0 22:09 ? 00:00:00 /usr/bin/python /usr/share/virt-who/virtwho.py root 31060 10633 0 22:09 pts/0 00:00:00 grep --color=auto virt-who 2. Unregister system, then check virt-who's thread, it is correct to show one virt-who thread. [root@ibm-z10-56 ~]# subscription-manager unregister System has been unregistered. [root@ibm-z10-56 ~]# ps -ef|grep virt-who root 31051 1 0 22:09 ? 00:00:00 /usr/bin/python /usr/share/virt-who/virtwho.py root 31070 10633 0 22:10 pts/0 00:00:00 grep --color=auto virt-who 3. Re-register system to SAM, then check virt-who's thread and virt-who's log [root@ibm-z10-56 ~]# subscription-manager register --username=admin --password=admin Registering to: samserv.redhat.com:443/sam/api The system has been registered with ID: 9748fd28-2e89-4c83-80ac-46a99a991248 [root@ibm-z10-56 ~]# ps -ef|grep virt-who root 31051 1 0 22:09 ? 00:00:00 /usr/bin/python /usr/share/virt-who/virtwho.py [root@ibm-z10-56 ~]# ps -ef|grep virt-who root 31051 1 0 22:09 ? 00:00:00 /usr/bin/python /usr/share/virt-who/virtwho.py [root@ibm-z10-56 ~]# systemctl status virt-who ● virt-who.service - Daemon for reporting virtual guest IDs to subscription-manager Loaded: loaded (/usr/lib/systemd/system/virt-who.service; disabled; vendor preset: disabled) Active: active (running) since Mon 2015-10-12 22:09:35 EDT; 9min ago Main PID: 31051 (python) CGroup: /system.slice/virt-who.service └─31051 /usr/bin/python /usr/share/virt-who/virtwho.py Oct 12 22:09:59 ibm-z10-56.rhts.eng.bos.redhat.com virt-who[31051]: self._sendGuestList(report) Oct 12 22:09:59 ibm-z10-56.rhts.eng.bos.redhat.com virt-who[31051]: File "/usr/share/virt-who/virtwho.py", line 196, in _sendGuestList Oct 12 22:09:59 ibm-z10-56.rhts.eng.bos.redhat.com virt-who[31051]: manager.sendVirtGuests(report.guests) Oct 12 22:09:59 ibm-z10-56.rhts.eng.bos.redhat.com virt-who[31051]: File "/usr/share/virt-who/manager/subscriptionmanager/subscripti...uests Oct 12 22:09:59 ibm-z10-56.rhts.eng.bos.redhat.com virt-who[31051]: self._connect() Oct 12 22:09:59 ibm-z10-56.rhts.eng.bos.redhat.com virt-who[31051]: File "/usr/share/virt-who/manager/subscriptionmanager/subscripti...nnect Oct 12 22:09:59 ibm-z10-56.rhts.eng.bos.redhat.com virt-who[31051]: "Unable to read certificate, system is not registered or you are...oot") Oct 12 22:09:59 ibm-z10-56.rhts.eng.bos.redhat.com virt-who[31051]: SubscriptionManagerUnregisteredError: Unable to read certificate... root Oct 12 22:10:37 ibm-z10-56.rhts.eng.bos.redhat.com python[31051]: virt-who reload Oct 12 22:10:37 ibm-z10-56.rhts.eng.bos.redhat.com virt-who[31051]: 2015-10-12 22:10:37,503 WARNING: virt-who reload Hint: Some lines were ellipsized, use -l to show in full. Actual results: 1 Although system has registered to SAM, virt-who failed to send h/g mapping to server. please see the log in attachment. 2 Failed to re-load virt-who service , it only show one virt-who thread after re-register system. Expected results: After system re-register to SAM, virt-who should send h/g mapping to server successfully. Meanwhile, virt-who should re-load successfully, it should show two virt-who threads. Additional info: It hasn't this problem on x86_64 and ppc64