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.
Uh oh!
There was an error while loading. Please reload this page.
-
problem
Summary:
When adding a second KVM host with identical bridge and VLAN configuration to an existing zone, CloudStack fails to create a VNet interface, throwing an error due to an invalid bridge name.
versions
Environment:
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
Agent log from new host shows:
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
... line 59: /proc/sys/net/ipv6/conf/brens1f0np0-1996/disable_ipv6: No such file or directory
Cannot find device "brens1f0np0-1996"
Failed to create br: brens1f0np0-1996
Root Cause
The bridge name brens1f0np0-1996 exceeds the 15-character IFNAMSIZ limit imposed by the Linux kernel.
Resulting bridge creation fails due to invalid interface name.
Expected Behavior
CloudStack should:
Generate compliant bridge names (≤15 characters).
OR pre-validate final bridge names before attempting creation.
OR use a shortened/hashed format (e.g., brv1996, brg123, etc.)
Temporary Workaround
Renaming physical interfaces to shorter names (e.g., eth0) avoids name length issues — but this is not sustainable or ideal in managed deployments.
Suggested Fix
Update the BridgeVifDriver or modifyvlan.sh logic to:
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.
All reactions