Bug 1149881 - unable to create macvlan nics in LXD container profile on tumbleweed
unable to create macvlan nics in LXD container profile on tumbleweed
Status: NEW
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Containers
Current
x86-64 SUSE Other
: P5 - None : Normal (vote)
: ---
Assigned To: Containers Team
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-09-07 21:49 UTC by Kenneth Steimel
Modified: 2019-09-07 21:49 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Steimel 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.