Description of problem: After system has been registered to SAM server, Though virt-who run normally, it will pop up some error message during communicate with subscription manager occasionally. Version-Release number of selected component (if applicable): subscription-manager-1.12.12-1.el6.x86_64 python-rhsm-1.12.5-1.el6.x86_64 virt-who-0.10-6.el6.noarch How reproducible: Always Steps to Reproduce: 1. Register system to SAM server and make sure virt-who run at libvirtd mode normally virt-who configuration: VIRTWHO_BACKGROUND=1 VIRTWHO_DEBUG=1 VIRTWHO_INTERVAL=5 2. Check the virt-who status [root@dhcp-128-110 libvirt-test-API]# service virt-who status virt-who (pid 32168) is running... 3. Check the virt-who's log in the /var/log/rhsm/rhsm.log Actual results: virt-who run normally, But sometimes it will generate some error log when communicate with subscription-manager as the following, please see detail in the attachment. "RestlibException: Runtime Error Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1 at org.hibernate.jdbc.Expectations$BasicExpectation.checkBatched:81" Expected results: virt-who should communicate with subscription-manager normally when it's running .it shouldn't pop up any error messages in the log file. Additional info:
Created attachment 930358 [details] rhsm.log
Moving bugs to 6.7
This is a problem server side in candlepin, moving components. Liushihui if you could provide information about the version of SAM being used, and if possible the candlepin.log or a katello-debug tar.gz from the SAM server after this has happened, that would be ideal. With just this one line we're probably not going to be able to tell exactly what happened server side, though it looks like an issue that is likely already fixed in candlepin master.
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release.
Do the same test with latest rhel6.6 against SAM-1.4.1-RHEL-6-20141113.0, it still occurred on this build,please see the rhsm.log, candlepin.log and katello-debug tar.gz in the attachment. Version-Release number of selected component (if applicable): subscription-manager-1.12.14-7.el6.x86_64 python-rhsm-1.12.5-2.el6.x86_64 virt-who-0.10-8.el6.noarch katello-headpin-1.4.3.28-1.el6sam_splice.noarch candlepin-0.9.6.5-1.el6sam.noarch
Created attachment 960592 [details] rhsm.log-20141124
Please ignore the rhsm.log-20141124, it should be rhsm.log-20141124new
Created attachment 960594 [details] rhsm.log-20141124new
Created attachment 960595 [details] candlepin.log
Created attachment 960596 [details] candlepin-error.log
Created attachment 960604 [details] katello-debug-log