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
{{ message }}
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.
invoke vmdkops_admin tenant ls to verify tenants correctly or not
rename one of the tenant with the existing tenant name i.e. invoke vmdkops_admin.py tenant update --name T1 --new-name T2 where as T2 is already present in the system
on ESX
[root@sc-rdops-vm10-dhcp-36-198:~] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py tenant ls
Uuid Name Description Default_datastore VM_list
------------------------------------ -------- ------------------------ ----------------- --------------
11111111-1111-1111-1111-111111111111 _DEFAULT This is a default tenant vsanDatastore
c308b6a2-1b00-450a-bb95-275b958ffde7 T1 vsanDatastore
42b1a76c-65df-4cf6-b18d-9dd17b684a9b T2 vsanDatastore vmFolderPhoton
[root@sc-rdops-vm10-dhcp-36-198:~] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py tenant ls
Uuid Name Description Default_datastore VM_list
------------------------------------ -------- ------------------------ ----------------- --------------
11111111-1111-1111-1111-111111111111 _DEFAULT This is a default tenant vsanDatastore
c308b6a2-1b00-450a-bb95-275b958ffde7 T1 vsanDatastore
42b1a76c-65df-4cf6-b18d-9dd17b684a9b T2 vsanDatastore vmFolderPhoton
[root@sc-rdops-vm10-dhcp-36-198:~] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py tenant update --name T1 --new-name T2
Tenant T1 already exists
[root@sc-rdops-vm10-dhcp-36-198:~] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py status
Version: 0.12.3f64805-0.0.1
Status: Running
Pid: 1321926
The text was updated successfully, but these errors were encountered:
msterin
changed the title
Getting misleading error message while renaming the tenant with a name which is already present in the inventory
Misleading error message while renaming a tenant to a name which already exists
Mar 7, 2017
/usr/lib/vmware/vmdkops/bin/vmdkops_admin.py vmgroup ls
Uuid Name Description Default_datastore VM_list
11111111-1111-1111-1111-111111111111 _DEFAULT This is a default vmgroup _VM_DS
05c0d4b2-9066-4945-bdd4-50d91fe3a554 user_tenant_2 _VM_DS
e180f3bf-9609-405a-ab93-735fed311a2c user_tenant_1 _VM_DS
Steps to reproduce:
vmdkops_admin tenant ls
to verify tenants correctly or notvmdkops_admin.py tenant update --name T1 --new-name T2
where asT2
is already present in the systemon ESX
The text was updated successfully, but these errors were encountered: