Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Volumes left in DB while removed from the datastore #1307

Closed
govint opened this issue May 28, 2017 · 1 comment
Closed

Volumes left in DB while removed from the datastore #1307

govint opened this issue May 28, 2017 · 1 comment

Comments

@govint
Copy link
Contributor

govint commented May 28, 2017

While testing vmgroups found that its possible to remove a vmgroup while volumes are in it (without the option to remove volumes) and the volumes are in the DB only after that as below,
[root@localhost:/vmfs/volumes/523c14b7-e5561042-5e2f-002481aaea6c/dockvols] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py volume ls -c volume,vmgroup
Volume VMGroup


default_tenant_vol2 _DEFAULT
VmGroup_volume_4037200794235010051 N/A
VmGroup_volume_3916589616287113937 N/A
VmGroup_volume_605394647632969758 N/A
VmGroup_volume_2775422040480279449 N/A
VmGroup_volume_3510942875414458836 N/A
im-on-test-vmgroup N/A
VmGroup_volume_2775422040480279449 N/A
VmGroup_volume_3510942875414458836 N/A
VmGroup_volume_5577006791947779410 N/A
VmGroup_volume_8674665223082153551 N/A
vmgroup_volume_3510942875414458836 N/A
vmgroup_volume_3510942875414458836 N/A
vmgroup_volume_3510942875414458836 N/A
vmgroup_volume_3510942875414458836 N/A
vmgroup_volume_3510942875414458836 N/A
vmgroup_volume_3510942875414458836 N/A
vmgroup_volume_3510942875414458836 N/A
vmgroup_volume_3510942875414458836 N/A
vmgroup_volume_3510942875414458836 N/A
vmgroup_volume_4037200794235010051 _DEFAULT
vmgroup_volume_3916589616287113937 _DEFAULT
vmgroup_volume_2775422040480279449 _DEFAULT
vmgroup_volume_3510942875414458836 _DEFAULT

These are only in the DB.

/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

@govint
Copy link
Contributor Author

govint commented May 28, 2017

Sorry, wrong issue.

@govint govint closed this as completed May 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant