Bug 974454

Summary: uninstall of libvirt doesnt destry virbr0
Product: [Fedora] Fedora Reporter: Mohammed Arafa <bugzilla>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: berrange, clalancette, dallan, itamar, jforbes, jyang, kchamart, laine, libvirt-maint, veillard
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-18 13:10:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mohammed Arafa 2013-06-14 08:26:36 UTC
Description of problem:
uninstall of libvirt doesnt destry virbr0

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


How reproducible:
everytime

Steps to Reproduce:
1.yum erase libvirt*
2.ifconfig | grep virbr0
3.

Actual results:
virbr0 found

Expected results:
virbr0 not found

Additional info:

Comment 1 Laine Stump 2013-06-14 15:00:25 UTC
Just as libvirt can be stopped and restarted while a guest is running with no disruption to the guest or networks, it can also be uninstalled and reinstalled while there are guests running with no disruption. Doing a forced delete of the bridges that had been created by libvirt would cause that latter convenience functionality to break.

Note that once the host is rebooted, the bridge device will no longer exist.

I'm inclined to close this as WONTFIX, but want to see some other opinions first.

Comment 2 Kashyap Chamarthy 2013-06-15 08:08:32 UTC
(In reply to Laine Stump from comment #1)
> Just as libvirt can be stopped and restarted while a guest is running with
> no disruption to the guest or networks, it can also be uninstalled and
> reinstalled while there are guests running with no disruption. Doing a
> forced delete of the bridges that had been created by libvirt would cause
> that latter convenience functionality to break.
> 
> Note that once the host is rebooted, the bridge device will no longer exist.
> 
> I'm inclined to close this as WONTFIX, but want to see some other opinions
> first.

Agreed with the above comment. FWIW, I've did many re-installs where the default bridge device (virbr0) was still up, and guests were running.

Comment 3 Dave Allan 2013-06-18 13:10:40 UTC
(In reply to Laine Stump from comment #1)
> Just as libvirt can be stopped and restarted while a guest is running with
> no disruption to the guest or networks, it can also be uninstalled and
> reinstalled while there are guests running with no disruption. Doing a
> forced delete of the bridges that had been created by libvirt would cause
> that latter convenience functionality to break.
> 
> Note that once the host is rebooted, the bridge device will no longer exist.
> 
> I'm inclined to close this as WONTFIX, but want to see some other opinions
> first.

I agree that this is behavior by design and shouldn't be changed.  As you point out, the bridge will disappear when the host is rebooted, so it's not left around permanently.