Failed to attach vif after container is rebooted on dashboard.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova-docker |
New
|
Undecided
|
Unassigned |
Bug Description
Setup info:
1 controller node + 2 network nodes + 6 compute nodes
Reproduce steps:
1. Create 10 tenants, 6 containers in each tenant.
2. Associate floatingip to 60 containers. All containers can be accessed via floatingip.
3. On dashboard, restart all these 60 containers tenant by tenant.
4. After containers are up, try to access all containers through floatingip. 4 of them can't be accessed.
Login these 4 containers on compute nodes, found that there's no network interface attached to these 4 containes. Take one container of example:
root@quasarsdnv
root@instance-
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
root@instance-
<<<<<<<<< only loopback interface, no network interface.
Check nova log, it says " Failed to attach vif":
2015-11-13 01:25:56.087 37642 INFO nova.compute.
2015-11-13 01:25:59.076 37642 ERROR novadocker.
2015-11-13 01:25:59.076 37642 TRACE novadocker.
2015-11-13 01:25:59.076 37642 TRACE novadocker.
2015-11-13 01:25:59.076 37642 TRACE novadocker.
2015-11-13 01:25:59.076 37642 TRACE novadocker.
2015-11-13 01:25:59.076 37642 TRACE novadocker.
2015-11-13 01:25:59.076 37642 TRACE novadocker.
2015-11-13 01:25:59.076 37642 TRACE novadocker.
2015-11-13 01:25:59.076 37642 TRACE novadocker.
2015-11-13 01:25:59.076 37642 TRACE novadocker.
2015-11-13 01:25:59.076 37642 TRACE novadocker.
2015-11-13 01:25:59.076 37642 TRACE novadocker.
2015-11-13 01:25:59.076 37642 TRACE novadocker.
2015-11-13 01:25:59.076 37642 TRACE novadocker.