[lxc-devel] lxc-1.0.0 reboot error
Serge Hallyn
serge.hallyn at ubuntu.com
Thu Feb 27 01:42:49 UTC 2014
Quoting Vitaly Lavrov (vel21ripn at gmail.com):
> But there is a more difficult problem.
>
> Function lxc_rename_phys_nics_on_shutdown() does not always work as it should.
>
> ------
> lxc-start 1393409939.368 INFO lxc_conf - running to reset 1 nic names
> lxc-start 1393409939.368 WARN lxc_conf - resetting nic 3 to eth2 failed: No such device
> ------
>
> I added a wait loop and debug printing and that's what got:
> -----
> lxc-start 1393433485.531 INFO lxc_conf - running to reset 1 nic names
> lxc-start 1393433485.532 WARN lxc_conf - resetting nic 3 to eth2 failed: 'No such device', delay 1ms
...
> lxc-start 1393433485.545 WARN lxc_conf - resetting nic 3 to eth2 failed: 'No such device', delay 13ms
> lxc-start 1393433485.562 INFO lxc_conf - resetting nic 3 to eth2, delay 14ms
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> If you wait 12-20 ms renaming network interface works.
> The same problem with vlan interface.
Ugh. Yes. We're waiting for the kernel to move the device back to our
namespace. Not sure how best to handle that.
-serge
More information about the lxc-devel
mailing list