Adding new ESX cluster allows for operator to enter data in immutable fields
ISSUE TYPE
- Enhancement Request
COMPONENT NAME
UI
CLOUDSTACK VERSION
4.17.2
OS / ENVIRONMENT
ESX
SUMMARY
A Cloudstack Zone is associated to a single vCenter, ACS holds the details for vCenter IP, username and password in its database. When adding a new cluster to a pod the dialog allows for an end user to enter the following non mandatory fields: vCenter Host vCenter Username vCenter password vCenter datacenter
If this information is not entered the information in the database is used. If the operator tries to enter a different vCenter host and credentials, then the operation fails with an error message telling the user to make sure the cluster being added belongs to the correct vCenter and VMWare DC
If no different values can be used, then the fields shouldn't be displayed. The presence of this fields leads to an operator to think that multiple vCenters are supported
STEPS TO REPRODUCE
In the UI navigate to Infrastructure->Pods
Add new POD
Select Hypervisor = VMware
EXPECTED RESULTS
For immutable fields to not being shown as mutable.
ACTUAL RESULTS
Immutable fields are shown as mutable to the operator
@alexandremattioli is this just the UI or also the API? (also I would also argue it might be a bug, but I don´t fully understand the issue, yet)
@alexandremattioli
do you mean that we should not allow to add another vmware cluster, if the zone already has a vmware cluster ?
@weizhouapache definitely should allow for more clusters. The issue is that the UI asks for information that it shoudn't. @DaanHoogland I'm not sure if that's also the case for the API. I can show you the UI issue if you want.