Bug 249094
Summary: | virt-manager starts domU install even though error with duplicate name exists | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Chuck Morrison <chuck.morrison> | ||||
Component: | virt-manager | Assignee: | Hugh Brock <hbrock> | ||||
Status: | CLOSED ERRATA | QA Contact: | |||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 5.1 | CC: | crobinso, dchapman, martine.silbermann, poelstra, rick.hester, sprabhu, xen-maint | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | RHEA-2007-0637 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-11-07 16:34:58 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 223107 | ||||||
Attachments: |
|
Description
Chuck Morrison
2007-07-20 21:06:47 UTC
Hmm, good catch, thanks. This turns out to be a nasty python reference-counting bug (we think). Working on a fix now. The patch below fixes the problem by forcing libvirt to release the underlying pointer to the domain object, even though the python code doesn't always release the reference reliably. Created attachment 159881 [details]
Aggressively free domain pointer in libvirt
This patch aggressively frees the domain pointer in libvirt so that when you
create a domain with the same name as one you just deleted, the deleted domain
configuration doesn't get resurrected in virt-manager.
*** Bug 251489 has been marked as a duplicate of this bug. *** For reference, this bug is addressed in virt-manager-0.4.0-3.el5 * Tue Jul 24 2007 Hugh O. Brock <hbrock> - 0.4.0-3.el5 - Aggressively free libvirt domain object after it has been deleted. Workaround for python's unreliable garbage collection. (rhbz #249094) 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 the 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/RHEA-2007-0637.html |