Skip to content

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

Open

Description

@cnsunfocus
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)

Activity

  1. boring-cyborg commented on Apr 20, 2023

    @boring-cyborg

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

  2. cnsunfocus commented on Apr 20, 2023

    @cnsunfocus
    Author

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

  3. shwstppr commented on Apr 20, 2023

    @shwstppr
    Contributor

    @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

  4. cnsunfocus commented on Apr 20, 2023

    @cnsunfocus
    Author

    @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

  5. weizhouapache commented on May 5, 2023

    @weizhouapache
    Member

    @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

  6. added this to the unplanned milestone on Jun 22, 2023
  7. github-actions commented on Jun 6, 2026

    @github-actions

    This issue is stale because it has been open for 120 days with no activity. It may be removed by administrators of this project at any time. Remove the stale label or comment to request for removal of it to prevent this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions