PenningLabs / lxconsole

LXD Graphical Web Console
GNU Affero General Public License v3.0
161 stars 19 forks source link

"Invalid value for network "test" option "parent": Required value" (incus) #11

Closed marcus-j-davies closed 10 months ago

marcus-j-davies commented 10 months ago

Hello,

Before I begin, this is great work - kudos to you! I was using your php version, but seems to not support incus

so switched to the python version This maybe incus related (I think more users will be making the switch)

But adding a macvlan, I get the below.

Screenshot 2024-01-08 at 20 48 08

via cli is fine:

Attached to vLan 30

root@rpi5:~# incus network create vLan30 --type macvlan parent=eth0 vlan=30
Network vLan30 created
root@rpi5:~# 

Attached to Native Network

root@rpi5:~# incus network create Native --type macvlan parent=eth0
Network Native created
root@rpi5:~# 
matthewalanpenning commented 10 months ago

Thanks for finding this. I found the issue in my code when creating the network and it affects both incus and lxd. I will get this patched and out in the next update.

matthewalanpenning commented 10 months ago

Just pushed version 0.4.3 and it should take care of the issue.