You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@kiranchavala I think it shsouldn't be a problem to have resources with the same name. In some cases it is even harmful if we cannot; If users cannot see each others resources they should not get a hint that the other have a resource by a name by refusing it. There can always also be users that see both.
In addition to the security implications of not allowing it, we'll also have a backwards compatability issue if we refuse it.
ISSUE TYPE
Enhancement/Improvement request
COMPONENT NAME
Component: UI/API/
CLOUDSTACK VERSION
Cloudstack version 4.18
SUMMARY
Cloudstack should not allow to create resources with same name
Currently, Cloudstack doesn't allow to creation of the following resources with the same name
vm name, ssh key pairs, User-data, affinity groups, Instance groups, projects, accounts, Domains , users , Roles , Vpn users.
For example, for vm-name it throws the following exception
But Cloudstack allows the creation of the following resources with the same name
volume, snapshot, template/Iso, Networks, VPC, Service offerings, Kubernetes cluster
To maintain consistency across we should not allow to create the resources if there are already active resources with the same name
It will help the admin/user to manage the resources better
Expected behaviour
Cloudstack should validate the resource name before creating them.
It should check if any existing active resources are present before creating them.
If they are present , cloudstack should throw a popup
The text was updated successfully, but these errors were encountered: