Created attachment 779653 [details] rhsm.log Description of problem: Virt-who will crash after system has registered to stage candlepin on the KVM platform Version-Release number of selected component (if applicable): [root@hp-z220-05 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.10 Beta (Tikanga) [root@hp-z220-05 ~]# rpm -qa | grep virt-who virt-who-0.7-9.el5 [root@hp-z220-05 ~]# rpm -qa | grep subscription-manager subscription-manager-1.8.14-1.el5 subscription-manager-firstboot-1.8.14-1.el5 subscription-manager-gui-1.8.14-1.el5 [root@hp-z220-05 ~]# rpm -qa | grep python-rhsm python-rhsm-1.8.15-1.el5 How reproducible: always Steps to Reproduce: 1.Modify the following configures in the /etc/sysconfig/virt-who (default mode:Use libvirt to list virtual guests): VIRTWHO_BACKGROUND=1 VIRTWHO_DEBUG=1 VIRTWHO_INTERVAL=5 2.Restart virt-who #service virt-who restart 3.Modify the following configures in the /etc/rhsm/rhsm.conf: hostname = subscription.rhn.stage.redhat.com baseurl= https://cdn.rcm-qa.redhat.com 4.Register to the stage candlepin #subscription-manager register --username=stage_sam_test --password=redhat The system has been registered with ID: ca62dabc-16f6-4d57-aaee-9486de0c6a30 5.Check the virt-who status [root@hp-z220-06 libvirt-test-API]# service virt-who status virt-who dead but subsys locked Actual results: Virt-who is crash after system has registered to stage candlepin, please see the rhsm.log file in the attachment Expected results: Virt-who should normally after system has registered to stage candlepin Additional info: When register to the SAM Server ,it hasn't this problem.
It looks like the server subscription.rhn.stage.redhat.com doesn't provide candlepin API. Do you have correct "prefix" configuration option specified?
# Server prefix: prefix = /subscription # Server port: port = 443 (In reply to Radek Novacek from comment #1) > It looks like the server subscription.rhn.stage.redhat.com doesn't provide > candlepin API. Do you have correct "prefix" configuration option specified?
It seems that the server doesn't implement the /status/ command that virt-who uses to test the connection. What is running at subscription.rhn.stage.redhat.com?
Sorry, the stage candlepin server is not under our control so I don't know specificly what is running at subscription.rhn.stage.redhat.com, I just know the version of the stage candlepin server is 0.8.16. (In reply to Radek Novacek from comment #3) > It seems that the server doesn't implement the /status/ command that > virt-who uses to test the connection. > > What is running at subscription.rhn.stage.redhat.com?
It looks like this server disables the /status/ command. Virt-who can be modified to work without it.
Hi Radek, I have checked this bug on the RHEL5.10-RC-1.3(20130829.2) against stage candlepin, this bug does not exist any more, if you also confirm this bug should be fixed now, could you please help move the bug status to "ON_QA"? I will move it to VERIFIED then.
It was not bug in virt-who, should be fixed bin clonepin.
per comment 6, mark this bug to VERIFIED
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release.
This was not bug in virt-who so it was not been added to errata and did not get closed. Closing now.