Bug 453009
Summary: | Cannot create new virtual machines in virt-manager | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Casey Dahlin <cdahlin> | ||||
Component: | virt-manager | Assignee: | Daniel Berrangé <berrange> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 9 | CC: | crobinso, hbrock, vanhoof | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-12-01 19:44:37 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: | |||||||
Attachments: |
|
Description
Casey Dahlin
2008-06-26 15:53:25 UTC
Destroy doesn't actually delete a VM, it would be more accurately named 'Force Poweroff'. Did you destroy the vm via the command line or virt-manager? Also the proper way to delete a VM is either the delete button in the manager window of virt-manager or use 'virsh undefine'. So just to be sure, the first install fails, you destroy the vm then delete the config, the hit finish on the still open install screen? I destroyed the vm, and I deleted the config. Sorry to be unclear. On reboot, however, the config was back, as well as a new config which libvirt had claimed to be unsuccessful in creating previously. Ok, it seems what's happening is this: when I click finish, it is in fact creating the virtual machine, but the new config is not showing up in the list, the vnc window is not coming up, and (most oddly) the wizard window is not being closed. Having lost my train of thought during the image creation, I was thinking there was still another step and clicking finish again, which is where the error happens. So the issue is it isn't properly registering when I create a new vm (except for the first time I do it in a sesssion). Simply closing virt-manager and reopening it makes things show up again. Can you attach ~/.virt-manager/virt-manager.log please? Thanks Created attachment 310359 [details]
virt-manager.log
Here you go.
Okay, what you are seeing is a result of a couple libvirt bugs, one of which is fixed upstream but not yet in fedora. Basically if you create a machine, destroy and delete it, then create another machine with the exact same name, crap hits the fan. Reason was that there was a leak in the destroy python bindings that caused libvirt reference counting to go screwy, and the unfixed bug being that libvirt's hash entries should key on uuid and not name. The workaround is to change the name of the second guest, or restart virt-manager in between the two attempts. This is only an issue when using destroy and creating guests with identical names with a persistent hypervisor connection (which virt-manager uses) My guess is the new libvirt release will land in fedora soon which should solve this issue, so we can keep this bug open till then and make sure it is indeed fixed. *** This bug has been marked as a duplicate of bug 453488 *** |