Error creating VLAN #10190
-
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATIONOS / ENVIRONMENTSUMMARYSTEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
|
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 4 replies
-
Thanks for opening your first issue here! Be sure to follow the issue template! |
Beta Was this translation helpful? Give feedback.
-
@miloserdoff can you add some more information, please? What ui-function or API are you using? Did you convert a disk image to a template or upload a template, etc? Do you see just this WARN message or are there more relevant log messages? |
Beta Was this translation helpful? Give feedback.
-
@miloserdoff |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply. I'm using a pre-built CentOS image, but it's not the image itself. My Cloudstack Agent log file is throwing an error, as I understand it, when trying to create a virtual router. 2024-11-08 08:34:24,675 WARN [resource.wrapper.LibvirtStartCommandWrapper] (agentRequest-Handler-1:null) (logid:cbb2042c) InternalErrorException I also attach the output of the "ip a" command to demonstrate the network configuration 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 |
Beta Was this translation helpful? Give feedback.
-
@miloserdoff Could you try changing the interface names to enp1, enx0 ? |
Beta Was this translation helpful? Give feedback.
-
@rajujith Hello. I changed the interface names and decided to look at the Cloudstack Agent log. It gave me an error: com.cloud.exception.InternalErrorException: Failed to create vnet 805: Cannot find device "br-805" /usr/share/cloudstack-common/scripts/vm/network/vnet/modifyvlan.sh: line 37: /proc/sys/net/ipv6/conf/br-805.805/disable_ipv6: No such file or directory Cannot find device "br-805.805" Failed to create vlan 805 on pif: br-805. |
Beta Was this translation helpful? Give feedback.
-
@miloserdoff can you check for any stale bridge configurations on the host and fix them?
the -p should be passed with the physical interface name but in your log, its having a bridge interface.
|
Beta Was this translation helpful? Give feedback.
-
maybe there is no physical nic associated to the bridge ? |
Beta Was this translation helpful? Give feedback.
-
Hello, I got the same issue (fresh I fixed it by renaming interfaces. |
Beta Was this translation helpful? Give feedback.
-
How did you change the interface name? for me after changing interface name its getting new error. Ubuntu 22.04.
|
Beta Was this translation helpful? Give feedback.
-
@aki-luxor here are some places you can cross-check.
|
Beta Was this translation helpful? Give feedback.
Hello,
I got the same issue (fresh
4.20.0
cloudstack installation).This comes from the name of the interface that is too long. Linux interfaces should be 15 characters maximum. That is why the ip command is failing in the cloudstack script.
In this case
enp129s0f1np1.761
is 17 characters.I fixed it by renaming interfaces.