Bug 857367

Summary: destroy default virtual network throw error in libvirtd.log
Product: Red Hat Enterprise Linux 6 Reporter: yanbing du <ydu>
Component: libvirtAssignee: Martin Kletzander <mkletzan>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 6.4CC: acathrow, dyasny, dyuan, mzhan, rwu, whuang
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: libvirt-0.10.2-1.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 07:23:57 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 yanbing du 2012-09-14 08:53:15 UTC
Description of problem:
When destroy libvirt default virtual network, there's 2 error message loged libvirtd.log.


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

How reproducible:
1.Destroy the default virtual network 
# virsh net-list
Name                 State      Autostart
-----------------------------------------
default              active     yes  
# virsh net-destroy default
Network default destroyed

2. Check the libvirtd.log
------
2012-09-14 08:36:37.665+0000: 7575: info : libvirt version: 0.10.1, package: 2.el6 (Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>, 2012-09-13-00:00:13, x86-009.build.bos.redhat.com)
2012-09-14 08:36:37.665+0000: 7575: error : virCommandWait:2332 : internal error Child process (/sbin/tc qdisc del dev virbr0 root) unexpected exit status 2: RTNETLINK answers: No such file or directory

2012-09-14 08:36:37.670+0000: 7575: error : virCommandWait:2332 : internal error Child process (/sbin/tc qdisc del dev virbr0 ingress) unexpected exit status 2: RTNETLINK answers: Invalid argument
------

  
Actual results:
2 error messages logged.

Expected results:
No such error.

Additional info:

Comment 2 Min Zhan 2012-09-14 09:28:32 UTC
BTW, The version is libvirt-0.10.1-2.el6.x86_64.

Comment 3 Martin Kletzander 2012-09-18 15:09:30 UTC
Moving to POST:

commit 2f678bb10faccba30319488420c586b6a5436f94
Author: Martin Kletzander <mkletzan>
Date:   Tue Sep 18 12:01:18 2012 +0200

    virNetDevBandwidthClear: Improve error handling

Comment 4 yanbing du 2012-09-25 07:43:12 UTC
Test with libvirt-0.10.2-1.el6.x86_64, bug fixed.
When destroy the default network, no such errors in libvirtd.log.

Comment 5 errata-xmlrpc 2013-02-21 07:23:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0276.html