[
https://issues.apache.org/jira/browse/CLOUDSTACK-3460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13748181#comment-13748181
]
angeline shen commented on CLOUDSTACK-3460:
-------------------------------------------
MS 10.223.195.52 build 479
host ESXi 5.0 datacenter=d2 vcenter=10.223.52.60 clustername=bug3460
Add vmware cluster without specifying vCenter Host & vCenter Datacenter
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%2Fbug3460&clustername=10.223.52.60%2Fd2%2Fbug3460&response=json&sessionkey=U79S5CY%2BrSDOBkvCTHsZOXReEQU%3D
{ "addclusterresponse" :
{"uuidList":[],"errorcode":530,"cserrorcode":9999,"errortext":"Unable to add
the external cluster"} }
> [UI][Vmware] In AddCluster dialog, If optional fields are not filled seeing
> error "Your host and/or path is wrong. Make sure it's of the format
> http://hostname/path"
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-3460
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3460
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: API
> Affects Versions: 4.2.0
> Reporter: Sateesh Chodapuneedi
> Assignee: Jessica Wang
> Fix For: 4.2.0
>
>
> In AddCluster dialog box, if user doesn't fill the optional fields "vCenter
> host" & "vCenter datacenter" then addCluster operation fails & we get a popup
> with following message "Your host and/or path is wrong. Make sure it's of the
> format http://hostname/path"
> Observed the url sent to server from UI. The problem is with parameter "url"
> The parameter is looking below,
> url=http:////cluster_name
> It should have been as follows,
> url=http://vCenter_host/datacenter_name/cluster_name.
> ALong with url parameter, clustername parameter is constructed by UI. This
> also need to be taken care of.
> So vCenter_host & datacenter_name are missing from url. These 2 values could
> be retrieved from database given a zoneId using listVmwareDcs API call.
> Because a VMware DC is already associated with that zone, if the details
> (vCenter host & vCenter datacenter) are not provided by user, we have to
> retrieve from backend/database and construct the url.
--
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