[lxc-users] instantiate_veth: 2669 failed to attach 'vethMU7OO1' to the bridge

Rick Leir rleir at leirtech.com
Sun May 28 17:46:51 UTC 2017


Hi all,

Sorry for being so terse in the last post. It has been a year since I 
used LXC, and everything worked easily then.  Now, with a new Fedora 26 
system, it is not straightforward. How would you troubleshoot this?

Thanks -- Rick

# yum install lxc-templates libvirt
# systemctl enable libvirtd
# systemctl start  libvirtd
# systemctl enable lxc.service
# systemctl start  lxc.service
# brctl show

bridge name    bridge id        STP enabled    interfaces
virbr0        8000.525400c7428b    yes        virbr0-nic
# lxc-checkconfig
<all enabled>

# lxc-create -n crowdsr -t fedora

# lxc-start -n crowdsr -F
lxc-start: conf.c: instantiate_veth: 2669 failed to attach 'vethMU7OO1' 
to the bridge 'lxcbr0': Operation not permitted
lxc-start: conf.c: lxc_create_network: 2962 failed to create netdev
lxc-start: start.c: __lxc_start: 1346 Failed to spawn container "crowdsr".
lxc-start: tools/lxc_start.c: main: 366 The container failed to start. 
lxc-start: tools/lxc_start.c: main: 370 Additional information can be 
obtained by setting the --logfile and --logpriority options.



More information about the lxc-users mailing list