[
https://issues.apache.org/jira/browse/CLOUDSTACK-3152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sateesh Chodapuneedi updated CLOUDSTACK-3152:
---------------------------------------------
Assignee: Sateesh Chodapuneedi
Description:
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.
was:
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.
Work around is to remove Vmware DC from zone and try to add cluster again.
Summary: addVmwareDc API call fails if called more than once to add
same VMware DC to same cloudstack zone. (was: [UI] Add cluster form in zone
wizard calls addVmwareDc API again upon failure in addCluster API call.)
> 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: UI
> Affects Versions: 4.2.0
> Reporter: Sateesh Chodapuneedi
> Assignee: Sateesh Chodapuneedi
>
> 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