[libvirt-users] Centos 7.1.1503 + libvirt 1.2.14 = broken direct network mode
mxs kolo
kolomaxes at gmail.com
Wed Apr 8 14:57:13 UTC 2015
> And all was fine, before I accidentally upgraded Centos to 7.1.1503
> After upgrade LXC can't start with diagnostic:
> [root at node14 ~]# virsh start test1
> error: Failed to start domain test1
> error: internal error: guest failed to start: internal error: Child
> process (ip link set macvlan0 netns 25263) unexpected exit status 2:
> RTNETLINK answers: Invalid argument
>
> I reinstall libvirt 1.2.14, but catch same error.
> If someone will experience in solving this problem - it will be
> interesting to hear about.
If I correct understand libvirt logic, libvirt make next operations
with "ip" utility (depend from lxc config):
1) # ip link add link br0 name macvlan0 address 00:11:11:11:11:11
type macvlan mode bridge
2) # ip link set macvlan0 netns 1234
where 1234 - pid of lxc initd process
3) inside lxc - #ip link set dev macvlan0 name eth0
If manualy run this sequence of command, we failed on step 2).
And it's work on Centos 7.0.1406
>
> b.r.
> Maxim Kozin
>
More information about the libvirt-users
mailing list