cloudstack icon indicating copy to clipboard operation
cloudstack copied to clipboard

[Help] How to add vmware dc to cloudstack's zone?

Open cnsunfocus opened this issue 2 years ago • 5 comments

ISSUE TYPE
  • Other
COMPONENT NAME

UI

CLOUDSTACK VERSION

4.18.0.0


##### CONFIGURATION
NA


##### OS / ENVIRONMENT
centos7


##### SUMMARY



##### STEPS TO REPRODUCE
1. I build the cloudstack  from the source with " ./package.sh  --distribution centos7 --pack noredist" and install it.
2. Add a zone  with wizard.


##### EXPECTED RESULTS
Add a vmware cluster to cloudstack

##### ACTUAL RESULTS
The error log:
![image](https://user-images.githubusercontent.com/3301715/233241402-4e8f57da-1243-46f8-91cd-4895a981265a.png)
and the input parameter:
![1681957579681](https://user-images.githubusercontent.com/3301715/233241907-e1b6c0f1-818a-4498-bd2f-04d4b93a753a.png)


I can not find the operation to "Add VMware DC to zone" described here [Mapping model for CloudStack zone and Vmware datacenter](https://cwiki.apache.org/confluence/display/CLOUDSTACK/Mapping+model+for+CloudStack+zone+and+Vmware+datacenter)

cnsunfocus avatar Apr 20 '23 02:04 cnsunfocus

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

boring-cyborg[bot] avatar Apr 20 '23 02:04 boring-cyborg[bot]

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

cnsunfocus avatar Apr 20 '23 02:04 cnsunfocus

@cnsunfocus did you not add your VMware cluster while adding the zone using zone deployment wizard? Or did you not use UI for creating the zone?

You may have to use addVmwareDc API https://cloudstack.apache.org/api/apidocs-4.18/apis/addVmwareDc.html to add your VMware DC to your zone in ^^ case

shwstppr avatar Apr 20 '23 07:04 shwstppr

@cnsunfocus did you not add your VMware cluster while adding the zone using zone deployment wizard? Or did you not use UI for creating the zone?

You may have to use addVmwareDc API https://cloudstack.apache.org/api/apidocs-4.18/apis/addVmwareDc.html to add your VMware DC to your zone in ^^ case

Sorry , the screenshot are lost after update.

I use the wizard to add zone and vcenter , but there is an error after "Lanuch zone" and in the management-server.log is the error too. And I checked the url referred in the log, and got a 404 error. I build the cloudstack with vmware sdk 8.0 , and the vcenter I used is 6.5. 7957799fa0efba7bc0d35e81d129895

image

cnsunfocus avatar Apr 20 '23 11:04 cnsunfocus

@cnsunfocus did you not add your VMware cluster while adding the zone using zone deployment wizard? Or did you not use UI for creating the zone? You may have to use addVmwareDc API https://cloudstack.apache.org/api/apidocs-4.18/apis/addVmwareDc.html to add your VMware DC to your zone in ^^ case

Sorry , the screenshot are lost after update.

I use the wizard to add zone and vcenter , but there is an error after "Lanuch zone" and in the management-server.log is the error too. And I checked the url referred in the log, and got a 404 error. I build the cloudstack with vmware sdk 8.0 , and the vcenter I used is 6.5. 7957799fa0efba7bc0d35e81d129895

image

@cnsunfocus can you verify if VCSA is up and services are running ?

curl https://10.21.70.114/sdk/vimService.wsdl --insecure

weizhouapache avatar May 05 '23 09:05 weizhouapache