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" <sbathe@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 |
00000000-0000-0000-0000-000000000000 |  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