Bug 669748 - VDSM installation should remove the default libvirt network
Summary: VDSM installation should remove the default libvirt network
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vdsm
Version: 6.1
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: Igor Lvovsky
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-14 16:01 UTC by Andrew Cathrow
Modified: 2016-04-18 06:37 UTC (History)
13 users (show)

Fixed In Version: vdsm-4.9-52.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-19 15:21:50 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Andrew Cathrow 2011-01-14 16:01:04 UTC
When VDSM is installed it should remove libvirt's default network.
We do not want to have another bridge with a configured IP address, dnsmasq etc


Question : Should we also delete/remove any other libvirt managed networks or just leave this to documentation?

Comment 1 Dan Kenigsberg 2011-01-15 16:17:41 UTC
On Sat, Jan 15, 2011 at 12:59:24AM +0200, Barak Azulay wrote:
> Danken don't forget to think about RHEVH as well ... the code that does the 
> removal should probably reside in bootstrap/registration

Comment 2 Alan Pevec 2011-02-08 17:09:11 UTC
> > Danken don't forget to think about RHEVH as well ...

/etc/libvirt/qemu/networks/autostart/default.xml is removed in rhevh image
i.e. default libvirt network is not undefined but it won't start automatically with libvirtd.

Comment 3 Dan Kenigsberg 2011-02-27 21:55:24 UTC
(In reply to comment #2)
> /etc/libvirt/qemu/networks/autostart/default.xml is removed 

Mimicking this on RHEL when vdsm is installed/first run sound fine.



(In reply to comment #0)
> Question : Should we also delete/remove any other libvirt managed networks or
> just leave this to documentation?

I guess we should not. If someone went into the trouble of defining a network via libvirt, let's hope he knows what he's doing and not ruin his work.

Comment 4 Ortal 2011-03-09 09:44:19 UTC
According to comment 3: 
Checked on vdsm version: vdsm-4.9-52.el6.x86_64 /etc/libvirt/qemu/networks/autostart/default.xml still exists.

Comment 5 Alan Pevec 2011-03-09 13:58:45 UTC
(In reply to comment #4)
> /etc/libvirt/qemu/networks/autostart/default.xml still exists.

How does that make it VERIFIED then? Summary says it should be removed.

Comment 6 Ortal 2011-03-09 14:18:16 UTC
Alan,
default.xml file will be exist until the next reboot (after rebooting the machine the file was removed)
virbr0  interface is no longer exist after rebooting the machine.

thx

Comment 7 Ortal 2011-03-09 14:18:51 UTC
Checked also on: vdsm-4.9-53.el6.x86_64


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