Bug 890492 - newly defined network is not marked as persistent
Summary: newly defined network is not marked as persistent
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2012-12-27 09:27 UTC by Dan Kenigsberg
Modified: 2013-01-30 14:39 UTC (History)
12 users (show)

Fixed In Version: libvirt-1.0.1-6.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-01-30 14:39:44 UTC
Type: Bug

Attachments (Terms of Use)

Description Dan Kenigsberg 2012-12-27 09:27:08 UTC
Description of problem:

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
 net = conn.networkDefineXML(netXml)
 print net.isPersistent()
# net.destroy()
# net.undefine()
Actual results:
net.isPersistent() is reported as false.

Expected results:
net.isPersistent() is True

Additional info:

Comment 1 Osier Yang 2012-12-28 04:39:56 UTC
See https://www.redhat.com/archives/libvir-list/2012-December/msg01367.html,
actually we have more problems than this bug exposes.

Comment 2 Laine Stump 2013-01-18 19:08:08 UTC
I believe this upstream patch fixes the problem:

commit bb19491cf5e3b78f2d72bbcbcc06e985d29b7f4b
Author: Peter Krempa <pkrempa@redhat.com>
Date:   Fri Jan 11 11:10:34 2013 +0100

    network: bridge: Fix regression when defining persistent networks
    Commit 0211fd6e04cdc402da20818df54299c6ded3d3cb introduced regression
    where newly defined networks were not made persistent.
    This patch makes the network persistent on each successful definition.

Comment 3 Cole Robinson 2013-01-27 20:42:42 UTC
New libvirt release is scheduled for end of the month and it will promptly end up in rawhide, so just closing this as UPSTREAM

Comment 4 Dan Kenigsberg 2013-01-28 07:53:35 UTC
Would you please fill in the "Fixed In Version:" field, so we can require the package when it is ready?

Comment 5 Cole Robinson 2013-01-28 15:23:23 UTC
Sorry I didn't realize you guys actually have process around Fedora bugs. I'll reopen and close it when the build actually goes out.

Comment 6 Cole Robinson 2013-01-30 14:39:44 UTC
Fixed in libvirt-1.0.1-6.fc19

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