Skip to content

Adding new ESX cluster allows for operator to enter data in immutable fields #6923

Closed
@alexandremattioli

Description

@alexandremattioli
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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions