cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angeline shen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-3152) addVmwareDc API call fails if called more than once to add same VMware DC to same cloudstack zone.
Date Thu, 22 Aug 2013 04:51:51 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-3152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13747236#comment-13747236
] 

angeline shen commented on CLOUDSTACK-3152:
-------------------------------------------

MS     10.223.195.52   campo ACS 4.2  build 479


http://10.223.195.52:8080/client/api?command=addCluster&zoneId=62606da9-0bf1-4d43-a432-08b795da4bbe&hypervisor=VMware&clustertype=ExternalManaged&podId=2780d7eb-6ab0-4081-aac8-b37135607dd1&username=Administrator&password=Password2&publicvswitchtype=vmwaredvs&guestvswitchtype=vmwaredvs&url=http%3A%2F%2F10.223.52.60%2Fd2%2Fc1&clustername=10.223.52.60%2Fd2%2Fc1&response=json&sessionkey=GDv5y2JfK3jmSssDc0nMMvRbJ2w%3D

{ "addclusterresponse" : {"uuidList":[{"uuid":"2780d7eb-6ab0-4081-aac8-b37135607dd1","description":"podId"},{"uuid":"62606da9-0bf1-4d43-a432-08b795da4bbe","description":"dcId"}],"errorcode":530,"cserrorcode":4250,"errortext":"Unable
to create cluster 10.223.52.60/d2/c1 in pod and data center with specified ids"} }
                
> addVmwareDc API call fails if called more than once to add same VMware DC to same cloudstack
zone.
> --------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3152
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3152
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: VMware
>    Affects Versions: 4.2.0
>            Reporter: Sateesh Chodapuneedi
>            Assignee: Sateesh Chodapuneedi
>             Fix For: 4.2.0
>
>
> This can be fixed by making addVmwareDC API return success if it is detected that VMware
DC and Cloudstack zone specified in paramters are already associated with each other.
> Add cluster page of zone wizard calls 2 APIs.
> 1) addVmwareDc
> 2) addCluster
> If call to addVmwareDc succeeds then UI proceeds to make a call to addCluster. If this
call fails then "Fix errors" takes user to addCluster page of zone wizard again.
> Again UI calls both the APIs. But this time addVmwareDc returns failure saying 
> "Something went wrong; please correct the following: Zone 1 is already associated with
a VMware datacenter.". If we goto "Fix errors" the process continues and user will be stuck
in infinite loop.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message