[Users] Cannot delete VM from export domain
When I try to remove an VM i the export domain via oVirt GUI I got VM XXX was removed from export. When I check the NFS-export directory the VM-image is deleted but in the GUI it's still listed. It happens all the time and now I ended upp with 12 listed VMs in the export domain. Regards Ricky 0xB88C0B63.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Cannot delete VM
On Sun, Mar 25, 2012 at 3:23 PM, Dan Kenigsberg dan...@redhat.com wrote: I do not understand yet why deleteImage fails for you. Which Vdsm version are you using? Dan. Sorry for late reply. I had oVirt 2.2.3 installed vial the ISO on the host. Thanks Saurabh ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Cannot delete VM
On Mon, Mar 19, 2012 at 05:25:35PM +0530, Saurabh Bathe wrote: Hi, I installed ovirt on F16 following the installation doc. The installation was a breeze and was also able to add a ovirt-node via the web console. I created a VM on the host (using a local storage domain on the same host). But I cannot delete the VM now, either via the webadmin console (which says Browser Firefox version 10 is currently not supported) or via the cli. The webadmin console says Failed to remove VM test (User: admin@internal).). Attaching vdsm.log snippet from ovirt-node. It says Thread-207010::ERROR::2012-03-19 11:42:02,591::dispatcher::90::Storage.Dispatcher.Protect::(run) {'status': {'message': Volume does not exist: ('c0cbe099-aa2d-444e-a734-1de7d9171498',), 'code': 201}} But I can see the file is present on the file system. [root@ovirt-node ~]# find /data -name 'c0cbe099-aa2d-444e-a734-1de7d9171498*'/data/images/rhev/ff81a0d4-b132-4d9b-972a-1a75319fd061/images/c0219347-b425-4ee6-a6e1-c0fdd1a8a71d/c0cbe099-aa2d-444e-a734-1de7d9171498 /data/images/rhev/ff81a0d4-b132-4d9b-972a-1a75319fd061/images/c0219347-b425-4ee6-a6e1-c0fdd1a8a71d/c0cbe099-aa2d-444e-a734-1de7d9171498.meta I do not understand yet why deleteImage fails for you. Which Vdsm version are you using? Dan. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Cannot delete VM
I had the same problem on my nfs server I had to manually delete then I could delete the vm. Once I can replicate the problem I will email again. I have not yet been able to replicate. Dk On Mar 19, 2012 7:55 AM, Saurabh Bathe sba...@gmail.com wrote: Hi, I installed ovirt on F16 following the installation doc. The installation was a breeze and was also able to add a ovirt-node via the web console. I created a VM on the host (using a local storage domain on the same host). But I cannot delete the VM now, either via the webadmin console (which says Browser Firefox version 10 is currently not supported) or via the cli. The webadmin console says Failed to remove VM test (User: admin@internal).). Attaching vdsm.log snippet from ovirt-node. It says Thread-207010::ERROR::2012-03-19 11:42:02,591::dispatcher::90::Storage.Dispatcher.Protect::(run) {'status': {'message': Volume does not exist: ('c0cbe099-aa2d-444e-a734-1de7d9171498',), 'code': 201}} But I can see the file is present on the file system. [root@ovirt-node ~]# find /data -name 'c0cbe099-aa2d-444e-a734-1de7d9171498*'/data/images/rhev/ff81a0d4-b132-4d9b-972a-1a75319fd061/images/c0219347-b425-4ee6-a6e1-c0fdd1a8a71d/c0cbe099-aa2d-444e-a734-1de7d9171498 /data/images/rhev/ff81a0d4-b132-4d9b-972a-1a75319fd061/images/c0219347-b425-4ee6-a6e1-c0fdd1a8a71d/c0cbe099-aa2d-444e-a734-1de7d9171498.meta Also, running psql engine -c SELECT * from vm_static where vm_name ilike 'test'; on the ovirt-manager returns: vm_guid| vm_name | mem_size_mb | vmt_guid | os | description | vd s_group_id | domain | creation_date | num_of_monitors | is_initialized | is_auto_suspend | num_of_sockets | cpu_per_socket | usb_policy | time_zone | is_stateless | fail_back | _create_date | _update_date | dedicated_vm_for_vds | auto_startup | vm_type | hypervisor_type | operation_mode | nice_level | default_boot_sequence | default_displ ay_type | priority | iso_path | origin | initrd_url | kernel_url | kernel_params | migration_support | userdefined_properties | predefin ed_properties | min_allocated_mem | entity_type | child_count | template_status --+-+-+--++-+--- ---++---+-++-++- ---++---+--+---+--+- -+--+--+-+-+++---+-- +--+--++++---+---++- --+---+-+-+- 53bd1fc6-fc8c-4aef-bfdc-f1b44401ebb2 | test| 512 | ---- | 5 | test| 65929e5a-6f5d- 11e1-afba-5bd150f3c89a || 2012-03-16 17:25:33.023+05:30 | 1 | t | f | 1 | 1 | 0 | | f| f | 2012-03-16 17:25:33.024255+05:30 | 2012-03-16 17:39:17.316538+05:30 | | f| 1 | 0 | 0 | 0 |11 | 1 |1 | | 3 ||| | 0 || | 341 | VM | 0 | (1 row) Please help. -- --- Thanks Saurabh Bathe +91 9422785635 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Cannot delete VM
Hi, I installed ovirt on F16 following the installation doc. The installation was a breeze and was also able to add a ovirt-node via the web console. I created a VM on the host (using a local storage domain on the same host). But I cannot delete the VM now, either via the webadmin console (which says Browser Firefox version 10 is currently not supported) or via the cli. The webadmin console says Failed to remove VM test (User: admin@internal).). Attaching vdsm.log snippet from ovirt-node. It says Thread-207010::ERROR::2012-03-19 11:42:02,591::dispatcher::90::Storage.Dispatcher.Protect::(run) {'status': {'message': Volume does not exist: ('c0cbe099-aa2d-444e-a734-1de7d9171498',), 'code': 201}} But I can see the file is present on the file system. [root@ovirt-node ~]# find /data -name 'c0cbe099-aa2d-444e-a734-1de7d9171498*'/data/images/rhev/ff81a0d4-b132-4d9b-972a-1a75319fd061/images/c0219347-b425-4ee6-a6e1-c0fdd1a8a71d/c0cbe099-aa2d-444e-a734-1de7d9171498 /data/images/rhev/ff81a0d4-b132-4d9b-972a-1a75319fd061/images/c0219347-b425-4ee6-a6e1-c0fdd1a8a71d/c0cbe099-aa2d-444e-a734-1de7d9171498.meta Also, running psql engine -c SELECT * from vm_static where vm_name ilike 'test'; on the ovirt-manager returns: vm_guid| vm_name | mem_size_mb | vmt_guid | os | description | vd s_group_id | domain | creation_date | num_of_monitors | is_initialized | is_auto_suspend | num_of_sockets | cpu_per_socket | usb_policy | time_zone | is_stateless | fail_back | _create_date | _update_date | dedicated_vm_for_vds | auto_startup | vm_type | hypervisor_type | operation_mode | nice_level | default_boot_sequence | default_displ ay_type | priority | iso_path | origin | initrd_url | kernel_url | kernel_params | migration_support | userdefined_properties | predefin ed_properties | min_allocated_mem | entity_type | child_count | template_status --+-+-+--++-+--- ---++---+-++-++- ---++---+--+---+--+- -+--+--+-+-+++---+-- +--+--++++---+---++- --+---+-+-+- 53bd1fc6-fc8c-4aef-bfdc-f1b44401ebb2 | test| 512 | ---- | 5 | test| 65929e5a-6f5d- 11e1-afba-5bd150f3c89a || 2012-03-16 17:25:33.023+05:30 | 1 | t | f | 1 | 1 | 0 | | f| f | 2012-03-16 17:25:33.024255+05:30 | 2012-03-16 17:39:17.316538+05:30 | | f| 1 | 0 | 0 | 0 |11 | 1 |1 | | 3 ||| | 0 || | 341 | VM | 0 | (1 row) Please help. -- --- Thanks Saurabh Bathe +91 9422785635 Thread-207004::DEBUG::2012-03-19 11:42:00,118::task::588::TaskManager.Task::(_updateState) Task=`2400e6bd-8315-4739-bffd-dd2e2ce279fb`::moving from state init - state preparing Thread-207004::INFO::2012-03-19 11:42:00,118::logUtils::37::dispatcher::(wrapper) Run and protect: repoStats(options=None) Thread-207004::INFO::2012-03-19 11:42:00,119::logUtils::39::dispatcher::(wrapper) Run and protect: repoStats, Return response: {'ff81a0d4-b132-4d9b-972a-1a75319fd061': {'delay': '0.00105905532837', 'lastCheck': 1332157311.048554, 'code': 0, 'valid': True}} Thread-207004::DEBUG::2012-03-19 11:42:00,120::task::1174::TaskManager.Task::(prepare) Task=`2400e6bd-8315-4739-bffd-dd2e2ce279fb`::finished: {'ff81a0d4-b132-4d9b-972a-1a75319fd061': {'delay': '0.00105905532837', 'lastCheck': 1332157311.048554, 'code': 0, 'valid': True}} Thread-207004::DEBUG::2012-03-19 11:42:00,120::task::588::TaskManager.Task::(_updateState) Task=`2400e6bd-8315-4739-bffd-dd2e2ce279fb`::moving from state preparing - state finished Thread-207004::DEBUG::2012-03-19 11:42:00,120::resourceManager::806::ResourceManager.Owner::(releaseAll) Owner.releaseAll requests {} resources {} Thread-207004::DEBUG::2012-03-19 11:42:00,121::resourceManager::841::ResourceManager.Owner::(cancelAll) Owner.cancelAll requests {} Thread-207004::DEBUG::2012-03-19 11:42:00,121::task::980::TaskManager.Task::(_decref) Task=`2400e6bd-8315-4739-bffd-dd2e2ce279fb`::ref 0 aborting False