cloudstack
cloudstack copied to clipboard
[Help] How to add vmware dc to cloudstack's zone?
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:

and the input parameter:

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)
Thanks for opening your first issue here! Be sure to follow the issue template!
Thanks for opening your first issue here! Be sure to follow the issue template! Updated:)
@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
@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
addVmwareDcAPI 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.


@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
addVmwareDcAPI https://cloudstack.apache.org/api/apidocs-4.18/apis/addVmwareDc.html to add your VMware DC to your zone in ^^ caseSorry , 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.
@cnsunfocus can you verify if VCSA is up and services are running ?
curl https://10.21.70.114/sdk/vimService.wsdl --insecure