Bug 768924 - After restarting libvirtd service , virt-who loses reading some other guests info if shutdown one guest.
Summary: After restarting libvirtd service , virt-who loses reading some other guests ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: virt-who
Version: 5.8
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Radek Novacek
QA Contact: Entitlement Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-19 12:44 UTC by Hui Wang
Modified: 2016-12-01 00:30 UTC (History)
3 users (show)

Fixed In Version: virt-who-0.5-3.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-05 10:30:12 UTC
Target Upstream Version:


Attachments (Terms of Use)

Comment 1 Radek Novacek 2012-01-04 12:11:47 UTC
Can you retest this bug with virt-who-0.5-3.el5? Bug 769177 looks very similar and is fixed in that version.

Comment 2 Hui Wang 2012-01-05 10:17:40 UTC
(In reply to comment #1)
> Can you retest this bug with virt-who-0.5-3.el5? Bug 769177 looks very similar
> and is fixed in that version.

I retest the bug on rhel5.8-snapshot2.0(xen).
The result is pass.
Version:
virt-who-0.5-3.el5
python-rhsm-0.98.8-1.el5
subscription-manager-0.98.9-1.el5
subscription-manager-gnome-0.98.9-1.el5
subscription-manager-firstboot-0.98.9-1.el5
libvirt-0.8.2-24.el5
libvirt-0.8.2-24.el5
libvirt-python-0.8.2-24.el5

The step as following:

1. Install XEN,register to candlepin.
2. Install three guest on xen,and  run the guests 
3. Configure the virt-who.
    # vi /etc/sysconfig/virt-who
    VIRTWHO_BACKGROUND=1 (enable debugging)
    VIRTWHO_DEBUG=1 (run in background)     
4. Restart the virt-who service in terminal1 
    # service virt-who restart
# service virt-who restart 
5.Restart the libvirtd ,and then shoutdown one guest(rhel5-32)
6.Check the output info of terminal1
........................
EVENT: Domain rhel5.8(7) Started Booted
Virtual machine found: rhel5.8: 70f806e5-8862-f055-fc17-c0beeb8a937f
Virtual machine found: add: 96b2197c-9632-3b00-ca42-735c3fef8650
Virtual machine found: rhel5: adb6047d-72bf-adc7-2d42-28c0c5bf1184
Sending update to updateConsumer: ['70f806e5-8862-f055-fc17-c0beeb8a937f', '96b2197c-9632-3b00-ca42-735c3fef8650', 'adb6047d-72bf-adc7-2d42-28c0c5bf1184']
EVENT: Domain rhel5.8(-1) Stopped Shutdown
Virtual machine found: rhel5.8: 70f806e5-8862-f055-fc17-c0beeb8a937f
Virtual machine found: add: 96b2197c-9632-3b00-ca42-735c3fef8650
Virtual machine found: rhel5: adb6047d-72bf-adc7-2d42-28c0c5bf1184
Sending update to updateConsumer: ['70f806e5-8862-f055-fc17-c0beeb8a937f', '96b2197c-9632-3b00-ca42-735c3fef8650', 'adb6047d-72bf-adc7-2d42-28c0c5bf1184']
^^^^^^^^^^^^no guest's uuid losed

Comment 3 Radek Novacek 2012-01-05 10:30:12 UTC
Thank you, closing as CURRENTRELEASE.


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