Bug 503481
Summary: | Errors reported after setting network bridge autostart for second time. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Edward Wang <edwang> |
Component: | libvirt | Assignee: | Daniel Berrangé <berrange> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.4 | CC: | berrange, llim, nzhang, veillard, virt-maint, xen-maint, yshao |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-09-02 09:21:28 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: |
Description
Edward Wang
2009-06-01 09:50:48 UTC
Hmm, 'net-create' creates a transient guest, so libvirt should never have let you set the autostart flag in the first place. Sounds like a missing check in the autostart method impl. Since libvirt ald has a slot, proposed to 5.4 for now. Please feel to move to 5.5 if you feel its not appropriate. libvirt-0.6.3-4.el5 has been built in dist-5E-qu-candidate with the patch, Daniel [root@dhcp-66-70-85 ~]# virsh net-list Name State Autostart ----------------------------------------- default active yes [root@dhcp-66-70-85 ~]# virsh net-edit default Network default XML configuration not changed. [root@dhcp-66-70-85 ~]# virsh net-create network.xml Network virnet1 created from network.xml [root@dhcp-66-70-85 ~]# virsh net-list Name State Autostart ----------------------------------------- default active yes virnet1 active no [root@dhcp-66-70-85 ~]# virsh net-autostart virnet1 error: failed to mark network virnet1 as autostarted error: internal error cannot set autostart for transient network [root@dhcp-66-70-85 ~]# rpm -q libvirt libvirt-0.6.3-4.el5 This bug has been verified with libvirt 0.6.3-4 on RHEL-5.4. Already added check in the autostart method. Fixed. 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/RHEA-2009-1269.html |