virbr0 not created at startup

Bug #922628 reported by Serge Hallyn
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

This could be the cause of bug 918807 - or it could be unrelated.

Normally virbr0 is created on my laptop at boot. This morning it wasn't, and /var/log/libvirt/libvirtd.log showed:

2012-01-27 08:06:52.402+0000: 1788: info : libvirt version: 0.9.8
2012-01-27 08:06:52.402+0000: 1788: error : virCommandWait:2192 : internal error Child process (/sbin/iptables --table nat --insert POSTROUTING --source 192.168.122.0/24 ! --destination 192.168.122.0/24 --jump MASQUERADE) status unexpected: exit status 4
2012-01-27 08:06:52.498+0000: 1788: error : networkAddMasqueradingIptablesRules:961 : failed to add iptables rule to enable masquerading

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Assuming -4 is meant to be -EINTR, should iptables have tried to restart? Should libvirt retry on -EINTR?

Changed in libvirt (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Haven't seen this again. marking invalid.

Changed in libvirt (Ubuntu):
status: New → Invalid
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

This bug has been sighted by lynxman, so I'm marking it confirmed.

He kindly gave me access to the VM to try to debug. The version of libvirt he had installed was 0.9.8-2ubuntu13.

When I tried to add some debugging and rebuilt, the symptom went away.

When I took the 0.9.8-2ubuntu13 sources and simply rebuilt those with no changes, the symptom went away!

Each time, if i re-installed the packages from /var/cache/apt/archives, the symptom would come back.

When I installed the .ddebs from the archive, the symptom went away.

I confirmed the sha1sums for the versions in /var/cache/apt/archives were correct.

Changed in libvirt (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Brought the issue up at the mailing list here: https://www.redhat.com/archives/libvir-list/2012-March/msg00733.html

Changed in libvirt (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.