Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 669748

Summary: VDSM installation should remove the default libvirt network
Product: Red Hat Enterprise Linux 6 Reporter: Andrew Cathrow <acathrow>
Component: vdsmAssignee: Igor Lvovsky <ilvovsky>
Status: CLOSED CURRENTRELEASE QA Contact: yeylon <yeylon>
Severity: medium Docs Contact:
Priority: low    
Version: 6.1CC: abaron, apevec, bazulay, cshao, danken, gouyang, iheim, lpeer, moli, ogvura, rbalakri, srevivo, ycui
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: vdsm-4.9-52.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-19 15:21:50 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 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