Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 681623 - libvirt double-close bug in tight loop of save/restore [5.7]
libvirt double-close bug in tight loop of save/restore [5.7]
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: libvirt (Show other bugs)
5.7
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Eric Blake
Virtualization Bugs
: TestBlocker
Depends On: 672725 678524
Blocks: 678548
  Show dependency treegraph
 
Reported: 2011-03-02 13:53 EST by Eric Blake
Modified: 2011-07-21 06:31 EDT (History)
14 users (show)

See Also:
Fixed In Version: libvirt-0.8.2-19.el5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 672725
Environment:
Last Closed: 2011-07-21 06:31:20 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1019 normal SHIPPED_LIVE Moderate: libvirt security, bug fix, and enhancement update 2011-07-21 06:31:00 EDT

  None (edit)
Comment 4 Vivian Bian 2011-05-09 23:19:56 EDT
tested with 
libvirt-0.8.2-19.el5
kernel-2.6.18-259.el5
xen-3.0.3-130.el5

# for i in `seq 1000`; do  virsh save --domain pv --file /opt/pv.save;
virsh restore /opt/pv.save; done


# for i in `seq 1000`; do  virsh save --domain hvm --file /opt/hvm.save;
virsh restore /opt/hvm.save; done

All of the above command get on error during the 1000 times tight loop . 

So set bug status to VERIFIED
Comment 5 Huming Jiang 2011-06-01 23:10:45 EDT
Could not reproduce this bug on the following components of rh5.6: 
kernel-2.6.18-238.el5
xen-3.0.3-120.el5
libvirt-0.8.2-15.el5

Steps:
# cat test2.sh 
for i in `seq 1000`;
 do  
virsh save --domain rh5.6 --file /opt/pv.save;
echo $i;
virsh restore /opt/pv.save; 
done

# sh test2.sh > result.txt
# cat result.txt
...
998
Domain restored from /opt/pv.save

Domain rh5.6 saved to /opt/pv.save

999
Domain restored from /opt/pv.save

Domain rh5.6 saved to /opt/pv.save

1000
Domain restored from /opt/pv.save

Note: all success
Comment 7 errata-xmlrpc 2011-07-21 06:31:20 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-1019.html

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