Net Creation Fails on Second KVM Host Due to Invalid Bridge Name Format #11148
-
problemSummary: versionsEnvironment: CloudStack Version: [e.g., 4.20.0.0] Hypervisor: KVM Host OS: Ubuntu 24.04 (or your exact OS) Network Setup: cloudbr0: Management (Access) cloudbr1: Guest (VLAN-aware, native + trunked VLANs) cloudbr3: Public (VLAN-aware, trunked, tagged at ACS level) The steps to reproduce the bug
What to do about it?Observed Behavior Execution of process for command [.../modifyvlan.sh -v 1996 -p ens1f0np0 -b brens1f0np0-1996 -o add ] failed. Error: argument "brens1f0np0-1996" is wrong: "name" not a valid ifname Root Cause Expected Behavior Temporary Workaround Suggested Fix Enforce safe-length bridge names Apply a safe naming convention that avoids appending full interface names + VLAN IDs blindly |
Beta Was this translation helpful? Give feedback.
Replies: 12 comments
-
also experiencing this issue, the vnet name needs to be reduced durting creation |
Beta Was this translation helpful? Give feedback.
-
i changed the name of the ETH and it worked.. also you can use bonds till this is rectified. |
Beta Was this translation helpful? Give feedback.
-
i renamed the interface in netplan which worked ok. I also updated the bridgeto use the new name but when creating an instance it fails saying cloudbr1 doesnt exist although is does exist. |
Beta Was this translation helpful? Give feedback.
-
can you share your ifconfig? |
Beta Was this translation helpful? Give feedback.
-
sure, so enp11s0f0np0 is the issue, i had cloudbr1 bridged to it, as you can see below ive commented out the original nic and created a new one called csguest1 and set the mac address of enp11s0f0np0 to it. i can see the new nic and also cloudbr1 but CS says its cannot find cloudbr1 ;enp11s0f0np0: csguest1:
|
Beta Was this translation helpful? Give feedback.
-
can you share agent.log? |
Beta Was this translation helpful? Give feedback.
-
heres the error on the management server 2025-06-04 14:13:52,604 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (AgentConnectTaskPool-929:[ctx-59eab096]) (logid:bde67321) Notifying other nodes of to disconnect on the KVM host we can see the network does exist 4: csguest1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master cloudbr1 state UP group default qlen 1000 8: cloudbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 |
Beta Was this translation helpful? Give feedback.
-
@itobin the supported physical interface names are
|
Beta Was this translation helpful? Give feedback.
-
that was it, i renamed the nic to enp10gb1 and now the VMs start :) thanks for the help with it both of you. One other question, assuming the long naming problems gets fixed, will this cause a problem if we rename the nics back to the defaults? I guess for existing VMs |
Beta Was this translation helpful? Give feedback.
-
you might better keep both names (original and alias) |
Beta Was this translation helpful? Give feedback.
-
We encountered the same issue described in the linked thread, with an identical environment, host OS, and network setup. The suggested workaround worked for us, so we're sharing our configuration below as a reference for others:
Important note: Recommendation: Additionally: |
Beta Was this translation helpful? Give feedback.
-
thanks @daviftorres for the sharing in our testing environments, we use |
Beta Was this translation helpful? Give feedback.
We encountered the same issue described in the linked thread, with an identical environment, host OS, and network setup. The suggested workaround worked for us, so we're sharing our configuration below as a reference for others: