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:
When stop virt-who service,it will show ""Error in communication with subscription manager as BadStatusLine".
Version-Release number of selected component (if applicable):
virt-who-0.16-1.el6.noarch
subscription-manager-1.16.6-1.el6.x86_64
python-rhsm-1.16.4-1.el6.x86_64
How reproducible:
90%
Steps to Reproduce:
1. Register system to Satellite
2. Configure virt-who run at libvirt mode and refresh interval is default.
3. Start virt-who service
[root@hp-z220-05 tmp]# service virt-who start
Starting virt-who: [ OK ]
4. Stop virt-who service and check virt-who's log
[root@hp-z220-05 tmp]# service virt-who stop
Stopping virt-who: [ OK ]
[root@hp-z220-05 tmp]# ps -ef|grep virt-who
root 12326 9603 0 15:37 pts/0 00:00:00 grep virt-who
[root@hp-z220-05 tmp]# tail -f /var/log/rhsm/rhsm.log
Actual results:
Although virt-who was stop, virt-who will show communication error with subscription-manager in the log.
2015-12-23 15:37:11,114 [virtwho.main DEBUG] MainProcess(12294):MainThread @virtwho.py:terminate:413 - virt-who is shutting down
2015-12-23 15:37:12,119 [virtwho.main ERROR] MainProcess(12294):MainThread @virtwho.py:send:243 - Error in communication with subscription manager:
Traceback (most recent call last):
File "/usr/share/virt-who/virtwho.py", line 222, in send
self._sendGuestList(report)
File "/usr/share/virt-who/virtwho.py", line 249, in _sendGuestList
manager.sendVirtGuests(report.guests)
File "/usr/share/virt-who/manager/subscriptionmanager/subscriptionmanager.py", line 140, in sendVirtGuests
self.connection.updateConsumer(self.uuid(), guest_uuids=serialized_guests)
File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 943, in updateConsumer
params['guestIds'] = self.sanitizeGuestIds(guest_uuids)
File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 987, in sanitizeGuestIds
return [self.sanitizeGuestId(guestId) for guestId in guestIds or []]
File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 993, in sanitizeGuestId
if self.supports_resource('guestids'):
File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 814, in supports_resource
self._load_supported_resources()
File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 801, in _load_supported_resources
resources_list = self.conn.request_get("/")
File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 654, in request_get
return self._request("GET", method)
File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 551, in _request
response = conn.getresponse()
File "/usr/lib64/python2.6/httplib.py", line 1012, in getresponse
response.begin()
File "/usr/lib64/python2.6/httplib.py", line 404, in begin
version, status, reason = self._read_status()
File "/usr/lib64/python2.6/httplib.py", line 368, in _read_status
raise BadStatusLine(line)
BadStatusLine
2015-12-23 15:37:12,123 [virtwho.main DEBUG] MainProcess(12294):MainThread @virtwho.py:<module>:890 - virt-who terminated
Expected results:
It shouldn't show any error info in the log when stop virt-who service.
Additional info:
Description of problem: When stop virt-who service,it will show ""Error in communication with subscription manager as BadStatusLine". Version-Release number of selected component (if applicable): virt-who-0.16-1.el6.noarch subscription-manager-1.16.6-1.el6.x86_64 python-rhsm-1.16.4-1.el6.x86_64 How reproducible: 90% Steps to Reproduce: 1. Register system to Satellite 2. Configure virt-who run at libvirt mode and refresh interval is default. 3. Start virt-who service [root@hp-z220-05 tmp]# service virt-who start Starting virt-who: [ OK ] 4. Stop virt-who service and check virt-who's log [root@hp-z220-05 tmp]# service virt-who stop Stopping virt-who: [ OK ] [root@hp-z220-05 tmp]# ps -ef|grep virt-who root 12326 9603 0 15:37 pts/0 00:00:00 grep virt-who [root@hp-z220-05 tmp]# tail -f /var/log/rhsm/rhsm.log Actual results: Although virt-who was stop, virt-who will show communication error with subscription-manager in the log. 2015-12-23 15:37:11,114 [virtwho.main DEBUG] MainProcess(12294):MainThread @virtwho.py:terminate:413 - virt-who is shutting down 2015-12-23 15:37:12,119 [virtwho.main ERROR] MainProcess(12294):MainThread @virtwho.py:send:243 - Error in communication with subscription manager: Traceback (most recent call last): File "/usr/share/virt-who/virtwho.py", line 222, in send self._sendGuestList(report) File "/usr/share/virt-who/virtwho.py", line 249, in _sendGuestList manager.sendVirtGuests(report.guests) File "/usr/share/virt-who/manager/subscriptionmanager/subscriptionmanager.py", line 140, in sendVirtGuests self.connection.updateConsumer(self.uuid(), guest_uuids=serialized_guests) File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 943, in updateConsumer params['guestIds'] = self.sanitizeGuestIds(guest_uuids) File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 987, in sanitizeGuestIds return [self.sanitizeGuestId(guestId) for guestId in guestIds or []] File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 993, in sanitizeGuestId if self.supports_resource('guestids'): File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 814, in supports_resource self._load_supported_resources() File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 801, in _load_supported_resources resources_list = self.conn.request_get("/") File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 654, in request_get return self._request("GET", method) File "/usr/lib64/python2.6/site-packages/rhsm/connection.py", line 551, in _request response = conn.getresponse() File "/usr/lib64/python2.6/httplib.py", line 1012, in getresponse response.begin() File "/usr/lib64/python2.6/httplib.py", line 404, in begin version, status, reason = self._read_status() File "/usr/lib64/python2.6/httplib.py", line 368, in _read_status raise BadStatusLine(line) BadStatusLine 2015-12-23 15:37:12,123 [virtwho.main DEBUG] MainProcess(12294):MainThread @virtwho.py:<module>:890 - virt-who terminated Expected results: It shouldn't show any error info in the log when stop virt-who service. Additional info: