Atiqul-Islam opened a new issue, #7178:
URL: https://github.com/apache/cloudstack/issues/7178
##### ISSUE TYPE
* Bug Report
##### COMPONENT NAME
~~~
Advanced Zone with Security Groups setup
~~~
##### CLOUDSTACK VERSION
~~~
4.17.2
~~~
##### CONFIGURATION
~~~
Zone:
IPV4 DNS: 8.8.8.8
Internal DNS: 10.4.1.1
Pysical Network 1:
Management Traffic: cloudbr0
Guest Traffic: cloudbr1
Pod:
Gateway: 10.4.1.1
Netmask: 255.255.0.0
IP Range: 10.4.2.1 to 10.4.2.255
Guest Traffic:
Gateway: 10.6.1.1
Netmask: 255.255.0.0
IP Range 10.6.2.1 to 10.6.2.255
Host:
IP: 10.4.1.20
User: root
Password: password
Tag: h1
~~~
##### OS / ENVIRONMENT
Ubuntu 22.04 server with two network bridge cloudbr0 and cloudbr1
##### SUMMARY
Apache CloudStack v4.17.2
I am trying to setup CloudStack Advance Zone with security groups.
I have two network bridges cloudbr0 (10.4.1.1/16) and cloudbr1
(10.6.1.1/16). I am using cloudbr0 for Management Network and cloudbr1 for the
Guest Network.
However, the zone creation keeps failing adding host with the error message
- failed to add host as resource already exists as LibvirtComputingResource.
For some reason it seems like CloudStack is trying to add the same host
twice.
##### STEPS TO REPRODUCE
Configuring CloudStack Advance Zene with security group on Ubuntu 22.04
server
##### EXPECTED RESULTS
Successfully create advance zone with security group.
##### ACTUAL RESULTS
Host setup fails with the following error:
Could not add host at [http://10.4.1.20] with zone [1], pod [1] and cluster
[1] due to: [ can't setup agent, due to
com.cloud.utils.exception.CloudRuntimeException: Skipping host 10.4.1.20
because 2f02300b-d9bf-3229-acb8-21054c500f47 is already in the database for
resource 2f02300b-d9bf-3229-acb8-21054c500f47-LibvirtComputingResource with ID
86f5dcd2-9d6e-444e-b0df-e0dcb1509699 - Skipping host 10.4.1.20 because
2f02300b-d9bf-3229-acb8-21054c500f47 is already in the database for resource
2f02300b-d9bf-3229-acb8-21054c500f47-LibvirtComputingResource with ID
86f5dcd2-9d6e-444e-b0df-e0dcb1509699].
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]