Bugzilla – Bug 1149881
unable to create macvlan nics in LXD container profile on tumbleweed
Last modified: 2019-09-07 21:49:18 UTC
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 Build Identifier: I can create a container using lxd with a bridged nic just fine. However, if I use a macvlan nic profile, I get an error saying ``` LXC is missing one or more API extensions: network_ipvlan, network_l2proxy, network_gateway_device_route. ``` Apparently this is a problem that comes up from having lxd 3.13 without having liblxc 3.1.1. https://discuss.linuxcontainers.org/t/lxd-issue-overriding-ipv4-address-from-eth0-profile/4767/7 https://discuss.linuxcontainers.org/t/lxd-issue-overriding-ipv4-address-from-eth0-profile/4767/8 Reproducible: Always Steps to Reproduce: 1. lxc profile copy default test_profile 2. lxc profile edit test_profile 3. change nictype under an interface (eth0 in my case) to macvlan from bridged 3. lxc launch -p test_profile ubuntu: test Actual Results: I get an error message stating ``` LXC is missing one or more API extensions: network_ipvlan, network_l2proxy, network_gateway_device_route ``` and no container is created Expected Results: container should be created with the macvlan nic type.