Re: [I] Error creating VLAN [cloudstack]

2025-01-15 Thread via GitHub


DaanHoogland closed issue #9905: Error creating VLAN
URL: https://github.com/apache/cloudstack/issues/9905


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Error creating VLAN [cloudstack]

2025-01-14 Thread via GitHub


rajujith commented on issue #9905:
URL: https://github.com/apache/cloudstack/issues/9905#issuecomment-2591612628

   @aki-luxor here are some places you can cross-check.
   - agent.properties file on the KVM host containing information on the 
bridges used for the cloudstack zone. path: 
/etc/cloudstack/agent/agent.properties
   - The current bridge configuration on the KVM host.
   - netplan configuration
   - CloudStack zone traffic labels for KVM


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Error creating VLAN [cloudstack]

2025-01-14 Thread via GitHub


aki-luxor commented on issue #9905:
URL: https://github.com/apache/cloudstack/issues/9905#issuecomment-2591118973

   > 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.
   
   How did you change the interface name? for me after changing interface name 
its getting new error. Ubuntu 22.04. 
   
   ` Pool-196:[ctx-57c05f18]) (logid:5feaecac) Failed to handle host 
connection: com.cloud.exception.ConnectionException: Incorrect Network setup on 
agent, Reinitialize agent after network names are setup, details : Can not find 
network: br1
   `


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Error creating VLAN [cloudstack]

2024-11-12 Thread via GitHub


weizhouapache commented on issue #9905:
URL: https://github.com/apache/cloudstack/issues/9905#issuecomment-2469928544

   > @miloserdoff can you check for any stale bridge configurations on the host 
and fix them? Below is an example that works properly :
   > 
   > `/usr/share/cloudstack-common/scripts/vm/network/vnet/modifyvlan.sh -v 
1556 -p eth1 -b breth1-1556 -o add`
   > 
   > the -p should be passed with the physical interface name but in your log, 
its having a bridge interface.
   > 
   > `"Usage: %s: -o (add | delete) -v  -p  -b  
-d (true | false)\n"`
   
   maybe there is no physical nic associated to the bridge ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Error creating VLAN [cloudstack]

2024-11-11 Thread via GitHub


rajujith commented on issue #9905:
URL: https://github.com/apache/cloudstack/issues/9905#issuecomment-2469604210

   @miloserdoff can you check for any stale bridge configurations on the host 
and fix them? 
   Below is an example that works properly : 
   
   `/usr/share/cloudstack-common/scripts/vm/network/vnet/modifyvlan.sh -v 1556 
-p eth1 -b breth1-1556 -o add`
   
   the -p should be passed with the physical interface name but in your log, 
its having a bridge interface. 
   
   `"Usage: %s: -o (add | delete) -v  -p  -b  -d 
(true | false)\n"`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Error creating VLAN [cloudstack]

2024-11-11 Thread via GitHub


miloserdoff commented on issue #9905:
URL: https://github.com/apache/cloudstack/issues/9905#issuecomment-2468019551

   @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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Error creating VLAN [cloudstack]

2024-11-10 Thread via GitHub


rajujith commented on issue #9905:
URL: https://github.com/apache/cloudstack/issues/9905#issuecomment-2467245195

   @miloserdoff Could you try changing the interface names to enp1, enx0 ? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Error creating VLAN [cloudstack]

2024-11-08 Thread via GitHub


miloserdoff commented on issue #9905:
URL: https://github.com/apache/cloudstack/issues/9905#issuecomment-2464215538

   @weizhouapache @DaanHoogland 
   
   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
   com.cloud.exception.InternalErrorException: Failed to create vnet 761: 
Error: argument "enp129s0f1np1.761" is wrong: "name" not a valid 
ifname/usr/share/cloudstack-common/scripts/vm/network/vnet/modifyvlan.sh: line 
37: /proc/sys/net/ipv6
   /conf/enp129s0f1np1.761/disable_ipv6: No such file or directoryCannot find 
device "enp129s0f1np1.761"Failed to create vlan 761 on pif: enp129s0f1np1.
at 
com.cloud.hypervisor.kvm.resource.BridgeVifDriver.createVnet(BridgeVifDriver.java:320)
at 
com.cloud.hypervisor.kvm.resource.BridgeVifDriver.createVnetBr(BridgeVifDriver.java:302)
at 
com.cloud.hypervisor.kvm.resource.BridgeVifDriver.plug(BridgeVifDriver.java:222)
at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.createVif(LibvirtComputingResource.java:3277)
at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.createVifs(LibvirtComputingResource.java:2891)
at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStartCommandWrapper.execute(LibvirtStartCommandWrapper.java:84)
at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStartCommandWrapper.execute(LibvirtStartCommandWrapper.java:49)
at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1869)
at com.cloud.agent.Agent.processRequest(Agent.java:663)
at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1086)
at com.cloud.utils.nio.Task.call(Task.java:83)
at com.cloud.utils.nio.Task.call(Task.java:29)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
   
   I also attach the output of the "ip a" command to demonstrate the network 
configuration
   
   1: lo:  mtu 65536 qdisc noqueue state UNKNOWN group 
default qlen 1000
   link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
   inet 127.0.0.1/8 scope host lo
   valid_lft forever preferred_lft forever
   inet6 ::1/128 scope host
   valid_lft forever preferred_lft forever
   2: enxbe3af2b6059f:  mtu 1500 qdisc noop state DOWN 
group default qlen 1000
   link/ether be:3a:f2:b6:05:9f brd ff:ff:ff:ff:ff:ff
   3: enp129s0f0np0:  mtu 1500 qdisc noop state DOWN group 
default qlen 1000
link/ether 7c:c2:55:32:00:90 brd ff:ff:ff:ff:ff:ff
   4: enp129s0f1np1:  mtu 1500 qdisc mq master 
cloudbr0 state UP group default qlen 1000
link/ether 7c:c2:55:32:00:91 brd ff:ff:ff:ff:ff:ff
   5: cloudbr0:  mtu 1500 qdisc noqueue state 
UP group default qlen 1000
link/ether 42:c1:eb:1f:33:33 brd ff:ff:ff:ff:ff:ff
inet 192.168.127.57/24 brd 192.168.127.255 scope global cloudbr0
valid_lft forever preferred_lft forever
inet6 fe80::40c1:ebff:fe1f:/64 scope link
valid_lft forever preferred_lft forever
   6: cloud0:  mtu 1500 qdisc noqueue state UP 
group default qlen 1000
link/ether 82:8d:f9:c3:b0:e0 brd ff:ff:ff:ff:ff:ff
inet 169.254.0.1/16 scope global cloud0
valid_lft forever preferred_lft forever
inet6 fe80::808d:f9ff:fec3:b0e0/64 scope link
valid_lft forever preferred_lft forever
   8: vnet0:  mtu 1500 qdisc noqueue master 
cloud0 state UNKNOWN group default qlen 1000
link/ether fe:00:a9:fe:ec:24 brd ff:ff:ff:ff:ff:ff
inet6 fe80::fc00:a9ff:fefe:ec24/64 scope link
valid_lft forever preferred_lft forever
   10: vnet3:  mtu 1500 qdisc noqueue master 
cloudbr0 state UNKNOWN group default qlen 1000
link/ether fe:00:91:00:00:06 brd ff:ff:ff:ff:ff:ff
inet6 fe80::fc00:91ff:fe00:6/64 scope link
valid_lft forever preferred_lft forever
   11: vnet5:  mtu 1500 qdisc noqueue master 
cloudbr0 state UNKNOWN group default qlen 1000
link/ether fe:00:b6:00:00:0c brd ff:ff:ff:ff:ff:ff
inet6 fe80::fc00:b6ff:fe00:c/64 scope link
valid_lft forever preferred_lft forever
   13: vnet6:  mtu 1500 qdisc noqueue master 
cloud0 state UNKNOWN group default qlen 1000
link/ether fe:00:a9:fe:3f:52 brd ff:ff:ff:ff:ff:ff
inet6 fe80::fc00:a9ff:fefe:3f52/64 scope link
valid_lft forever preferred_lft forever


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to th

Re: [I] Error creating VLAN [cloudstack]

2024-11-08 Thread via GitHub


weizhouapache commented on issue #9905:
URL: https://github.com/apache/cloudstack/issues/9905#issuecomment-2464181131

   @miloserdoff 
   can you share the full agent.log around it ?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Error creating VLAN [cloudstack]

2024-11-08 Thread via GitHub


DaanHoogland commented on issue #9905:
URL: https://github.com/apache/cloudstack/issues/9905#issuecomment-2464124063

   @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?
   .
   thanks,


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Error creating VLAN [cloudstack]

2024-11-07 Thread via GitHub


boring-cyborg[bot] commented on issue #9905:
URL: https://github.com/apache/cloudstack/issues/9905#issuecomment-2463912626

   Thanks for opening your first issue here! Be sure to follow the issue 
template!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org