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.
Issue: User cannot delete a vmgroup if vm from that vmgroup gets deleted
Test steps:
Create a vmgroup and associate vm to it.
Delete the vm that was added to the vmgroup.
Try to remove vm from vmgroup - message Cannot find vm
Try to delete vmgroup - message Cannot delete non-empty vmgroup vmgroup1. Remove VMs from the vmgroup before deleting it.
There should be some way for user to delete a vmgroup if it's vm no longer exists. In current product behavior, there is no way for user to delete it's vmgroup if VMs from that vm group get deleted.
Steps and their output are as follows:
Create a vmgroup and associate VM to it.
[root@sc-rdops-vm10-dhcp-39-239:~] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py vmgroup create --name=vmgroup1 --default-datastore=_VM_DS --vm-list=testVM-33
vmgroup 'vmgroup1' is created. Do not forget to run 'vmgroup vm add' to add vm to vmgroup.
[root@sc-rdops-vm10-dhcp-39-239:~] /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 the default vmgroup _VM_DS
baf91569-a092-44b3-b6de-18677e4091b4 vmgroup1 _VM_DS testVM-33
Deleted the vm that was added to the vmgroup.
Tried removing vm from vmgroup. As expected, operation fail as vm no longer exists.
[root@sc-rdops-vm10-dhcp-39-239:~] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py vmgroup vm rm --name=vmgroup1 --vm-list=testVM-33
Cannot find vm testVM-33
Tried removing vmgroup - could not remove vmgroup as it has vm in it even though that vm is deleted.
[root@sc-rdops-vm10-dhcp-39-239:~] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py vmgroup rm --name=vmgroup1
Cannot delete non-empty vmgroup vmgroup1. Remove VMs from the vmgroup before deleting it.
[root@sc-rdops-vm10-dhcp-39-239:~]
The text was updated successfully, but these errors were encountered:
Issue: User cannot delete a vmgroup if vm from that vmgroup gets deleted
Test steps:
Cannot find vm
Cannot delete non-empty vmgroup vmgroup1. Remove VMs from the vmgroup before deleting it.
There should be some way for user to delete a vmgroup if it's vm no longer exists. In current product behavior, there is no way for user to delete it's vmgroup if VMs from that vm group get deleted.
Steps and their output are as follows:
The text was updated successfully, but these errors were encountered: