<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="GENERATOR" content="GtkHTML/4.6.4">
</head>
<body>
mån 2013-11-04 klockan 07:53 -0500 skrev Eli Mesika:
<blockquote type="CITE">
<pre>

----- Original Message -----
<font color="#737373">&gt; From: &quot;Karli Sjöberg&quot; &lt;<a href="mailto:Karli.Sjoberg@slu.se">Karli.Sjoberg@slu.se</a>&gt;</font>
<font color="#737373">&gt; To: &quot;Eli Mesika&quot; &lt;<a href="mailto:emesika@redhat.com">emesika@redhat.com</a>&gt;</font>
<font color="#737373">&gt; Cc: &quot;<a href="mailto:Users@ovirt.org">Users@ovirt.org</a>&quot; &lt;<a href="mailto:users@ovirt.org">users@ovirt.org</a>&gt;</font>
<font color="#737373">&gt; Sent: Monday, November 4, 2013 1:11:14 PM</font>
<font color="#737373">&gt; Subject: Re: [Users] Cannot delete a template</font>
<font color="#737373">&gt; </font>
<font color="#737373">&gt; mån 2013-11-04 klockan 06:06 -0500 skrev Eli Mesika:</font>
<font color="#737373">&gt; </font>
<font color="#737373">&gt; </font>
<font color="#737373">&gt; </font>
<font color="#737373">&gt; ----- Original Message -----</font>
<font color="#737373">&gt; &gt; From: &quot;Karli Sjöberg&quot; &lt;<a href="mailto:Karli.Sjoberg@slu.se">Karli.Sjoberg@slu.se</a>&lt;<a href="mailto:Karli.Sjoberg@slu.se">mailto:Karli.Sjoberg@slu.se</a>&gt;&gt;</font>
<font color="#737373">&gt; &gt; To: &quot;Eli Mesika&quot; &lt;<a href="mailto:emesika@redhat.com">emesika@redhat.com</a>&lt;<a href="mailto:emesika@redhat.com">mailto:emesika@redhat.com</a>&gt;&gt;</font>
<font color="#737373">&gt; &gt; Cc: &quot;<a href="mailto:Users@ovirt.org">Users@ovirt.org</a>&lt;<a href="mailto:Users@ovirt.org">mailto:Users@ovirt.org</a>&gt;&quot;</font>
<font color="#737373">&gt; &gt; &lt;<a href="mailto:users@ovirt.org">users@ovirt.org</a>&lt;<a href="mailto:users@ovirt.org">mailto:users@ovirt.org</a>&gt;&gt;</font>
<font color="#737373">&gt; &gt; Sent: Monday, November 4, 2013 1:00:46 PM</font>
<font color="#737373">&gt; &gt; Subject: Re: [Users] Cannot delete a template</font>
<font color="#737373">&gt; &gt;</font>
<font color="#737373">&gt; &gt; mån 2013-11-04 klockan 05:56 -0500 skrev Eli Mesika:</font>
<font color="#737373">&gt; &gt;</font>
<font color="#737373">&gt; &gt;</font>
<font color="#737373">&gt; &gt;</font>
<font color="#737373">&gt; &gt; ----- Original Message -----</font>
<font color="#737373">&gt; &gt; &gt; From: &quot;Karli Sjöberg&quot;</font>
<font color="#737373">&gt; &gt; &gt; &lt;<a href="mailto:Karli.Sjoberg@slu.se">Karli.Sjoberg@slu.se</a>&lt;<a href="mailto:Karli.Sjoberg@slu.se">mailto:Karli.Sjoberg@slu.se</a>&gt;&lt;<a href="mailto:Karli.Sjoberg@slu.se">mailto:Karli.Sjoberg@slu.se</a>&gt;&gt;</font>
<font color="#737373">&gt; &gt; &gt; To: &quot;<a href="mailto:Users@ovirt.org">Users@ovirt.org</a>&lt;<a href="mailto:Users@ovirt.org">mailto:Users@ovirt.org</a>&gt;&lt;<a href="mailto:Users@ovirt.org">mailto:Users@ovirt.org</a>&gt;&quot;</font>
<font color="#737373">&gt; &gt; &gt; &lt;<a href="mailto:users@ovirt.org">users@ovirt.org</a>&lt;<a href="mailto:users@ovirt.org">mailto:users@ovirt.org</a>&gt;&lt;<a href="mailto:users@ovirt.org">mailto:users@ovirt.org</a>&gt;&gt;</font>
<font color="#737373">&gt; &gt; &gt; Sent: Monday, November 4, 2013 9:08:19 AM</font>
<font color="#737373">&gt; &gt; &gt; Subject: [Users] Cannot delete a template</font>
<font color="#737373">&gt; &gt; &gt;</font>
<font color="#737373">&gt; &gt; &gt; Hi!</font>
<font color="#737373">&gt; &gt; &gt;</font>
<font color="#737373">&gt; &gt; &gt; I´m trying to delete an old template (NFS Datastore) but engine won´t let</font>
<font color="#737373">&gt; &gt; &gt; me.</font>
<font color="#737373">&gt; &gt; &gt; Here´s the relevant part of SPM´s vdsmd.log:</font>
<font color="#737373">&gt; &gt;</font>
<font color="#737373">&gt; &gt; Did you notice that VDSM claims that the volume is shared :</font>
<font color="#737373">&gt; &gt;</font>
<font color="#737373">&gt; &gt; CannotDeleteSharedVolume: Shared Volume cannot be deleted: (&quot;Cannot delete</font>
<font color="#737373">&gt; &gt; shared image ae73b435-2935-4e9f-9269-c6c8fad2cf38. ......</font>
<font color="#737373">&gt; &gt;</font>
<font color="#737373">&gt; &gt;</font>
<font color="#737373">&gt; &gt; Yes I noticed that but I don´t even know what that means, betting that´s a</font>
<font color="#737373">&gt; &gt; bad thing? How do I change that, I found no toggle of that in Template -&gt;</font>
<font color="#737373">&gt; &gt; Edit, or looking at it through Disk?</font>
<font color="#737373">&gt; </font>
<font color="#737373">&gt; Do you have any VMs that were created from this old template ,</font>
<font color="#737373">&gt; You can see that when you select a template from the web-admin UI ...</font>
<font color="#737373">&gt; </font>
<font color="#737373">&gt; </font>
<font color="#737373">&gt; I go for Templates, click on the problematic one, click subtab Virtual</font>
<font color="#737373">&gt; Machines and:</font>
<font color="#737373">&gt; No Virtual Machines to display</font>
<font color="#737373">&gt; </font>
<font color="#737373">&gt; So no, there shouldn´t be anything holding it.</font>

can you paste here the result of the following query 

psql -U &lt;db_user&gt; -c &quot;select * from vm_images_view where image_guid = 'ae73b435-2935-4e9f-9269-c6c8fad2cf38';&quot; &lt;db_name&gt;
</pre>
</blockquote>
<br>
No problemo:<br>
# psql -U engine -c &quot;select * from vm_images_view where image_guid = 'ae73b435-2935-4e9f-9269-c6c8fad2cf38';&quot; engine<br>
storage_id | storage_path | storage_name | storage_pool_id | image_guid | creation_date | actual_size | read_rate | read_latency_seconds | write_latency_seconds | flush_latency_second<br>
s | write_rate | size | it_guid | description | parentid | imagestatus | lastmodified | app_list | vm_snapshot_id | volume_type | image_group_id | active | volume_format | disk_interfa<br>
ce | boot | wipe_after_delete | propagate_errors | entity_type | number_of_vms | vm_names | quota_id | quota_name | quota_enforcement_type | disk_id | disk_alias | disk_description | s<br>
hareable <br>
------------&#43;--------------&#43;--------------&#43;-----------------&#43;------------&#43;---------------&#43;-------------&#43;-----------&#43;----------------------&#43;-----------------------&#43;---------------------<br>
--&#43;------------&#43;------&#43;---------&#43;-------------&#43;----------&#43;-------------&#43;--------------&#43;----------&#43;----------------&#43;-------------&#43;----------------&#43;--------&#43;---------------&#43;-------------<br>
---&#43;------&#43;-------------------&#43;------------------&#43;-------------&#43;---------------&#43;----------&#43;----------&#43;------------&#43;------------------------&#43;---------&#43;------------&#43;------------------&#43;--<br>
---------<br>
(0 rows)<br>
<br>
<br>
<blockquote type="CITE">
<pre>


<font color="#737373">&gt; </font>
<font color="#737373">&gt; </font>
<font color="#737373">&gt; </font>
<font color="#737373">&gt; </font>
<font color="#737373">&gt; &gt;</font>
<font color="#737373">&gt; &gt;</font>
<font color="#737373">&gt; &gt;</font>
<font color="#737373">&gt; &gt;</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,269::BindingXMLRPC::161::vds::(wrapper) [130.238.96.66]</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,270::task::568::TaskManager.Task::(_updateState)</font>
<font color="#737373">&gt; &gt; &gt; Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::moving from state init -&gt;</font>
<font color="#737373">&gt; &gt; &gt; state</font>
<font color="#737373">&gt; &gt; &gt; preparing</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::INFO::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,270::logUtils::41::dispatcher::(wrapper) Run and protect:</font>
<font color="#737373">&gt; &gt; &gt; deleteImage(sdUUID='f231d176-a11a-47a8-84e7-12bfa9095bdd',</font>
<font color="#737373">&gt; &gt; &gt; spUUID='8b70c99d-50f2-4a30-9214-c51ef20cb48a',</font>
<font color="#737373">&gt; &gt; &gt; imgUUID='ae73b435-2935-4e9f-9269-c6c8fad2cf38', postZero='false',</font>
<font color="#737373">&gt; &gt; &gt; force='false')</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::INFO::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,270::fileSD::302::Storage.StorageDomain::(validate)</font>
<font color="#737373">&gt; &gt; &gt; sdUUID=f231d176-a11a-47a8-84e7-12bfa9095bdd</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,279::persistentDict::234::Storage.PersistentDict::(refresh) read</font>
<font color="#737373">&gt; &gt; &gt; lines (FileMetadataRW)=['CLASS=Data', 'DESCRIPTION=ZFS2-1_DS1_Data',</font>
<font color="#737373">&gt; &gt; &gt; 'IOOPTIMEOUTSEC=10', 'LEASERETRIES=3', 'LEASETIMESEC=60', 'LOCKPOLICY=',</font>
<font color="#737373">&gt; &gt; &gt; 'LOCKRENEWALINTERVALSEC=5', 'MASTER_VERSION=902',</font>
<font color="#737373">&gt; &gt; &gt; 'POOL_DESCRIPTION=C4241',</font>
<font color="#737373">&gt; &gt; &gt; 'POOL_DOMAINS=773370d4-be5d-43d8-95cd-ffd3a6a5b1c8:Active,50aba7a1-bbc1-4eca-8480-45ec37b64e63:Active,4f46680f-a70d-4846-bfc3-9318ce7d4d6d:Active,f231d176-a11a-47a8-84e7-12bfa9095bdd:Active',</font>
<font color="#737373">&gt; &gt; &gt; 'POOL_SPM_ID=-1', 'POOL_SPM_LVER=-1',</font>
<font color="#737373">&gt; &gt; &gt; 'POOL_UUID=8b70c99d-50f2-4a30-9214-c51ef20cb48a',</font>
<font color="#737373">&gt; &gt; &gt; 'REMOTE_PATH=hostnfs5-ua.sto.slu.se:/export/ds1/data', 'ROLE=Master',</font>
<font color="#737373">&gt; &gt; &gt; 'SDUUID=f231d176-a11a-47a8-84e7-12bfa9095bdd', 'TYPE=NFS', 'VERSION=3',</font>
<font color="#737373">&gt; &gt; &gt; '_SHA_CKSUM=de1b77f5912e94052c4fbd21299f44a6498275d9']</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,280::resourceManager::190::ResourceManager.Request::(__init__)</font>
<font color="#737373">&gt; &gt; &gt; ResName=`Storage.ae73b435-2935-4e9f-9269-c6c8fad2cf38`ReqID=`e412eadc-5af7-426f-94f9-4d52783614e7`::Request</font>
<font color="#737373">&gt; &gt; &gt; was made in '/usr/share/vdsm/storage/resourceManager.py' line '189' at</font>
<font color="#737373">&gt; &gt; &gt; '__init__'</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,280::resourceManager::504::ResourceManager::(registerResource)</font>
<font color="#737373">&gt; &gt; &gt; Trying to register resource</font>
<font color="#737373">&gt; &gt; &gt; 'Storage.ae73b435-2935-4e9f-9269-c6c8fad2cf38'</font>
<font color="#737373">&gt; &gt; &gt; for lock type 'exclusive'</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,281::resourceManager::547::ResourceManager::(registerResource)</font>
<font color="#737373">&gt; &gt; &gt; Resource 'Storage.ae73b435-2935-4e9f-9269-c6c8fad2cf38' is free. Now</font>
<font color="#737373">&gt; &gt; &gt; locking</font>
<font color="#737373">&gt; &gt; &gt; as 'exclusive' (1 active user)</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,281::resourceManager::227::ResourceManager.Request::(grant)</font>
<font color="#737373">&gt; &gt; &gt; ResName=`Storage.ae73b435-2935-4e9f-9269-c6c8fad2cf38`ReqID=`e412eadc-5af7-426f-94f9-4d52783614e7`::Granted</font>
<font color="#737373">&gt; &gt; &gt; request</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,281::task::794::TaskManager.Task::(resourceAcquired)</font>
<font color="#737373">&gt; &gt; &gt; Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::_resourcesAcquired:</font>
<font color="#737373">&gt; &gt; &gt; Storage.ae73b435-2935-4e9f-9269-c6c8fad2cf38 (exclusive)</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,281::task::957::TaskManager.Task::(_decref)</font>
<font color="#737373">&gt; &gt; &gt; Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::ref 1 aborting False</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,282::resourceManager::190::ResourceManager.Request::(__init__)</font>
<font color="#737373">&gt; &gt; &gt; ResName=`Storage.f231d176-a11a-47a8-84e7-12bfa9095bdd`ReqID=`544caeb2-9d61-42e4-9fc7-1f7811700f4b`::Request</font>
<font color="#737373">&gt; &gt; &gt; was made in '/usr/share/vdsm/storage/resourceManager.py' line '189' at</font>
<font color="#737373">&gt; &gt; &gt; '__init__'</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,282::resourceManager::504::ResourceManager::(registerResource)</font>
<font color="#737373">&gt; &gt; &gt; Trying to register resource</font>
<font color="#737373">&gt; &gt; &gt; 'Storage.f231d176-a11a-47a8-84e7-12bfa9095bdd'</font>
<font color="#737373">&gt; &gt; &gt; for lock type 'shared'</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,282::resourceManager::547::ResourceManager::(registerResource)</font>
<font color="#737373">&gt; &gt; &gt; Resource 'Storage.f231d176-a11a-47a8-84e7-12bfa9095bdd' is free. Now</font>
<font color="#737373">&gt; &gt; &gt; locking</font>
<font color="#737373">&gt; &gt; &gt; as 'shared' (1 active user)</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,283::resourceManager::227::ResourceManager.Request::(grant)</font>
<font color="#737373">&gt; &gt; &gt; ResName=`Storage.f231d176-a11a-47a8-84e7-12bfa9095bdd`ReqID=`544caeb2-9d61-42e4-9fc7-1f7811700f4b`::Granted</font>
<font color="#737373">&gt; &gt; &gt; request</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,283::task::794::TaskManager.Task::(resourceAcquired)</font>
<font color="#737373">&gt; &gt; &gt; Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::_resourcesAcquired:</font>
<font color="#737373">&gt; &gt; &gt; Storage.f231d176-a11a-47a8-84e7-12bfa9095bdd (shared)</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,283::task::957::TaskManager.Task::(_decref)</font>
<font color="#737373">&gt; &gt; &gt; Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::ref 1 aborting False</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::ERROR::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,313::task::833::TaskManager.Task::(_setError)</font>
<font color="#737373">&gt; &gt; &gt; Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::Unexpected error</font>
<font color="#737373">&gt; &gt; &gt; Traceback (most recent call last):</font>
<font color="#737373">&gt; &gt; &gt; File &quot;/usr/share/vdsm/storage/task.py&quot;, line 840, in _run</font>
<font color="#737373">&gt; &gt; &gt; return fn(*args, **kargs)</font>
<font color="#737373">&gt; &gt; &gt; File &quot;/usr/share/vdsm/logUtils.py&quot;, line 42, in wrapper</font>
<font color="#737373">&gt; &gt; &gt; res = f(*args, **kwargs)</font>
<font color="#737373">&gt; &gt; &gt; File &quot;/usr/share/vdsm/storage/hsm.py&quot;, line 1451, in deleteImage</font>
<font color="#737373">&gt; &gt; &gt; volsByImg))</font>
<font color="#737373">&gt; &gt; &gt; CannotDeleteSharedVolume: Shared Volume cannot be deleted: (&quot;Cannot</font>
<font color="#737373">&gt; &gt; &gt; delete</font>
<font color="#737373">&gt; &gt; &gt; shared image ae73b435-2935-4e9f-9269-c6c8fad2cf38. volImgs:</font>
<font color="#737373">&gt; &gt; &gt; {'711b744a-763b-43b3-ab7b-22e83e946d3a':</font>
<font color="#737373">&gt; &gt; &gt; ImgsPar(imgs=('ae73b435-2935-4e9f-9269-c6c8fad2cf38',</font>
<font color="#737373">&gt; &gt; &gt; '7dd3c35f-8ed0-45ad-a726-b05b4e9abb74',</font>
<font color="#737373">&gt; &gt; &gt; '230589b8-dff3-4fb0-884f-9db9a47c07ec',</font>
<font color="#737373">&gt; &gt; &gt; '34b09185-16ae-4572-8d52-9952eb8e05fb',</font>
<font color="#737373">&gt; &gt; &gt; '672dcf0a-cb31-4dc6-810c-8ff4cd5dcd0d',</font>
<font color="#737373">&gt; &gt; &gt; '958f2901-1a7e-4baf-bd1e-ee4d330c2006',</font>
<font color="#737373">&gt; &gt; &gt; '4a8860b4-f400-4615-b641-c74bb495230f',</font>
<font color="#737373">&gt; &gt; &gt; '4e2a0c92-859e-4743-a96a-b525a9bfa546',</font>
<font color="#737373">&gt; &gt; &gt; '97d119a6-ee8d-4c12-ab7d-ba51522a4d27',</font>
<font color="#737373">&gt; &gt; &gt; 'cd9e401e-c149-4cf0-934b-be060ec0532d',</font>
<font color="#737373">&gt; &gt; &gt; '991efa47-5e52-4b93-a70b-067e827acbed',</font>
<font color="#737373">&gt; &gt; &gt; '50c0ebd7-7219-4972-9cf4-62281a81f857',</font>
<font color="#737373">&gt; &gt; &gt; '0fb579aa-ee73-4ced-ae3d-005f12594fb6',</font>
<font color="#737373">&gt; &gt; &gt; 'c50a5f9f-0693-47b8-aed9-45a8b308adaf',</font>
<font color="#737373">&gt; &gt; &gt; 'cec48065-742a-4ce8-90ea-c09d9e66083e',</font>
<font color="#737373">&gt; &gt; &gt; 'ac2d33a0-76b2-4b50-b7d3-337cc4d4dc00',</font>
<font color="#737373">&gt; &gt; &gt; '15703619-8013-4af9-a6cf-59c53142206c',</font>
<font color="#737373">&gt; &gt; &gt; 'd5c28f70-950c-4b3d-8b9b-dec358f8760f',</font>
<font color="#737373">&gt; &gt; &gt; '4fcece59-2ea3-4691-88c9-e248554c43fe',</font>
<font color="#737373">&gt; &gt; &gt; '53691576-41d2-4865-9cbf-de0c39f063db',</font>
<font color="#737373">&gt; &gt; &gt; 'f6bb39c1-3f35-4236-ae82-29bb8bf44d75'),</font>
<font color="#737373">&gt; &gt; &gt; parent='00000000-0000-0000-0000-000000000000')}&quot;,)</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,320::task::852::TaskManager.Task::(_run)</font>
<font color="#737373">&gt; &gt; &gt; Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::Task._run:</font>
<font color="#737373">&gt; &gt; &gt; 78b8f42d-14cd-48e2-9e3e-61a6610c9f66</font>
<font color="#737373">&gt; &gt; &gt; ('f231d176-a11a-47a8-84e7-12bfa9095bdd',</font>
<font color="#737373">&gt; &gt; &gt; '8b70c99d-50f2-4a30-9214-c51ef20cb48a',</font>
<font color="#737373">&gt; &gt; &gt; 'ae73b435-2935-4e9f-9269-c6c8fad2cf38', 'false', 'false') {} failed -</font>
<font color="#737373">&gt; &gt; &gt; stopping task</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,320::task::1177::TaskManager.Task::(stop)</font>
<font color="#737373">&gt; &gt; &gt; Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::stopping in state preparing</font>
<font color="#737373">&gt; &gt; &gt; (force False)</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,320::task::957::TaskManager.Task::(_decref)</font>
<font color="#737373">&gt; &gt; &gt; Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::ref 1 aborting True</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::INFO::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,320::task::1134::TaskManager.Task::(prepare)</font>
<font color="#737373">&gt; &gt; &gt; Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::aborting: Task is aborted:</font>
<font color="#737373">&gt; &gt; &gt; 'Shared Volume cannot be deleted' - code 223</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,321::task::1139::TaskManager.Task::(prepare)</font>
<font color="#737373">&gt; &gt; &gt; Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::Prepare: aborted: Shared</font>
<font color="#737373">&gt; &gt; &gt; Volume</font>
<font color="#737373">&gt; &gt; &gt; cannot be deleted</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,321::task::957::TaskManager.Task::(_decref)</font>
<font color="#737373">&gt; &gt; &gt; Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::ref 0 aborting True</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,321::task::892::TaskManager.Task::(_doAbort)</font>
<font color="#737373">&gt; &gt; &gt; Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::Task._doAbort: force False</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,321::resourceManager::864::ResourceManager.Owner::(cancelAll)</font>
<font color="#737373">&gt; &gt; &gt; Owner.cancelAll requests {}</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,321::task::568::TaskManager.Task::(_updateState)</font>
<font color="#737373">&gt; &gt; &gt; Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::moving from state preparing</font>
<font color="#737373">&gt; &gt; &gt; -&gt;</font>
<font color="#737373">&gt; &gt; &gt; state aborting</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,322::task::523::TaskManager.Task::(__state_aborting)</font>
<font color="#737373">&gt; &gt; &gt; Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::_aborting: recover policy</font>
<font color="#737373">&gt; &gt; &gt; none</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,322::task::568::TaskManager.Task::(_updateState)</font>
<font color="#737373">&gt; &gt; &gt; Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::moving from state aborting</font>
<font color="#737373">&gt; &gt; &gt; -&gt;</font>
<font color="#737373">&gt; &gt; &gt; state failed</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,322::resourceManager::830::ResourceManager.Owner::(releaseAll)</font>
<font color="#737373">&gt; &gt; &gt; Owner.releaseAll requests {} resources</font>
<font color="#737373">&gt; &gt; &gt; {'Storage.f231d176-a11a-47a8-84e7-12bfa9095bdd': &lt; ResourceRef</font>
<font color="#737373">&gt; &gt; &gt; 'Storage.f231d176-a11a-47a8-84e7-12bfa9095bdd', isValid: 'True' obj:</font>
<font color="#737373">&gt; &gt; &gt; 'None'&gt;, 'Storage.ae73b435-2935-4e9f-9269-c6c8fad2cf38': &lt; ResourceRef</font>
<font color="#737373">&gt; &gt; &gt; 'Storage.ae73b435-2935-4e9f-9269-c6c8fad2cf38', isValid: 'True' obj:</font>
<font color="#737373">&gt; &gt; &gt; 'None'&gt;}</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,322::resourceManager::864::ResourceManager.Owner::(cancelAll)</font>
<font color="#737373">&gt; &gt; &gt; Owner.cancelAll requests {}</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,323::resourceManager::557::ResourceManager::(releaseResource)</font>
<font color="#737373">&gt; &gt; &gt; Trying to release resource 'Storage.f231d176-a11a-47a8-84e7-12bfa9095bdd'</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,323::resourceManager::573::ResourceManager::(releaseResource)</font>
<font color="#737373">&gt; &gt; &gt; Released resource 'Storage.f231d176-a11a-47a8-84e7-12bfa9095bdd' (0</font>
<font color="#737373">&gt; &gt; &gt; active</font>
<font color="#737373">&gt; &gt; &gt; users)</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,323::resourceManager::578::ResourceManager::(releaseResource)</font>
<font color="#737373">&gt; &gt; &gt; Resource 'Storage.f231d176-a11a-47a8-84e7-12bfa9095bdd' is free, finding</font>
<font color="#737373">&gt; &gt; &gt; out</font>
<font color="#737373">&gt; &gt; &gt; if anyone is waiting for it.</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,323::resourceManager::585::ResourceManager::(releaseResource) No</font>
<font color="#737373">&gt; &gt; &gt; one is waiting for resource</font>
<font color="#737373">&gt; &gt; &gt; 'Storage.f231d176-a11a-47a8-84e7-12bfa9095bdd',</font>
<font color="#737373">&gt; &gt; &gt; Clearing records.</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,323::resourceManager::557::ResourceManager::(releaseResource)</font>
<font color="#737373">&gt; &gt; &gt; Trying to release resource 'Storage.ae73b435-2935-4e9f-9269-c6c8fad2cf38'</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,324::resourceManager::573::ResourceManager::(releaseResource)</font>
<font color="#737373">&gt; &gt; &gt; Released resource 'Storage.ae73b435-2935-4e9f-9269-c6c8fad2cf38' (0</font>
<font color="#737373">&gt; &gt; &gt; active</font>
<font color="#737373">&gt; &gt; &gt; users)</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,324::resourceManager::578::ResourceManager::(releaseResource)</font>
<font color="#737373">&gt; &gt; &gt; Resource 'Storage.ae73b435-2935-4e9f-9269-c6c8fad2cf38' is free, finding</font>
<font color="#737373">&gt; &gt; &gt; out</font>
<font color="#737373">&gt; &gt; &gt; if anyone is waiting for it.</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,324::resourceManager::585::ResourceManager::(releaseResource) No</font>
<font color="#737373">&gt; &gt; &gt; one is waiting for resource</font>
<font color="#737373">&gt; &gt; &gt; 'Storage.ae73b435-2935-4e9f-9269-c6c8fad2cf38',</font>
<font color="#737373">&gt; &gt; &gt; Clearing records.</font>
<font color="#737373">&gt; &gt; &gt; Thread-304915::ERROR::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,324::dispatcher::67::Storage.Dispatcher.Protect::(run)</font>
<font color="#737373">&gt; &gt; &gt; {'status':</font>
<font color="#737373">&gt; &gt; &gt; {'message': 'Shared Volume cannot be deleted: (&quot;Cannot delete shared</font>
<font color="#737373">&gt; &gt; &gt; image</font>
<font color="#737373">&gt; &gt; &gt; ae73b435-2935-4e9f-9269-c6c8fad2cf38. volImgs:</font>
<font color="#737373">&gt; &gt; &gt; {\'711b744a-763b-43b3-ab7b-22e83e946d3a\':</font>
<font color="#737373">&gt; &gt; &gt; ImgsPar(imgs=(\'ae73b435-2935-4e9f-9269-c6c8fad2cf38\',</font>
<font color="#737373">&gt; &gt; &gt; \'7dd3c35f-8ed0-45ad-a726-b05b4e9abb74\',</font>
<font color="#737373">&gt; &gt; &gt; \'230589b8-dff3-4fb0-884f-9db9a47c07ec\',</font>
<font color="#737373">&gt; &gt; &gt; \'34b09185-16ae-4572-8d52-9952eb8e05fb\',</font>
<font color="#737373">&gt; &gt; &gt; \'672dcf0a-cb31-4dc6-810c-8ff4cd5dcd0d\',</font>
<font color="#737373">&gt; &gt; &gt; \'958f2901-1a7e-4baf-bd1e-ee4d330c2006\',</font>
<font color="#737373">&gt; &gt; &gt; \'4a8860b4-f400-4615-b641-c74bb495230f\',</font>
<font color="#737373">&gt; &gt; &gt; \'4e2a0c92-859e-4743-a96a-b525a9bfa546\',</font>
<font color="#737373">&gt; &gt; &gt; \'97d119a6-ee8d-4c12-ab7d-ba51522a4d27\',</font>
<font color="#737373">&gt; &gt; &gt; \'cd9e401e-c149-4cf0-934b-be060ec0532d\',</font>
<font color="#737373">&gt; &gt; &gt; \'991efa47-5e52-4b93-a70b-067e827acbed\',</font>
<font color="#737373">&gt; &gt; &gt; \'50c0ebd7-7219-4972-9cf4-62281a81f857\',</font>
<font color="#737373">&gt; &gt; &gt; \'0fb579aa-ee73-4ced-ae3d-005f12594fb6\',</font>
<font color="#737373">&gt; &gt; &gt; \'c50a5f9f-0693-47b8-aed9-45a8b308adaf\',</font>
<font color="#737373">&gt; &gt; &gt; \'cec48065-742a-4ce8-90ea-c09d9e66083e\',</font>
<font color="#737373">&gt; &gt; &gt; \'ac2d33a0-76b2-4b50-b7d3-337cc4d4dc00\',</font>
<font color="#737373">&gt; &gt; &gt; \'15703619-8013-4af9-a6cf-59c53142206c\',</font>
<font color="#737373">&gt; &gt; &gt; \'d5c28f70-950c-4b3d-8b9b-dec358f8760f\',</font>
<font color="#737373">&gt; &gt; &gt; \'4fcece59-2ea3-4691-88c9-e248554c43fe\',</font>
<font color="#737373">&gt; &gt; &gt; \'53691576-41d2-4865-9cbf-de0c39f063db\',</font>
<font color="#737373">&gt; &gt; &gt; \'f6bb39c1-3f35-4236-ae82-29bb8bf44d75\'),</font>
<font color="#737373">&gt; &gt; &gt; parent=\'00000000-0000-0000-0000-000000000000\')}&quot;,)', 'code': 223}}</font>
<font color="#737373">&gt; &gt; &gt; Thread-304917::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,869::BindingXMLRPC::161::vds::(wrapper) [130.238.96.66]</font>
<font color="#737373">&gt; &gt; &gt; Thread-304917::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,870::task::568::TaskManager.Task::(_updateState)</font>
<font color="#737373">&gt; &gt; &gt; Task=`f32c1aed-5857-4dfc-90be-8d2f3a4186da`::moving from state init -&gt;</font>
<font color="#737373">&gt; &gt; &gt; state</font>
<font color="#737373">&gt; &gt; &gt; preparing</font>
<font color="#737373">&gt; &gt; &gt; Thread-304917::INFO::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,870::logUtils::41::dispatcher::(wrapper) Run and protect:</font>
<font color="#737373">&gt; &gt; &gt; getSpmStatus(spUUID='8b70c99d-50f2-4a30-9214-c51ef20cb48a', options=None)</font>
<font color="#737373">&gt; &gt; &gt; Thread-304917::INFO::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,870::logUtils::44::dispatcher::(wrapper) Run and protect:</font>
<font color="#737373">&gt; &gt; &gt; getSpmStatus, Return response: {'spm_st': {'spmId': 2, 'spmStatus':</font>
<font color="#737373">&gt; &gt; &gt; 'SPM',</font>
<font color="#737373">&gt; &gt; &gt; 'spmLver': 72}}</font>
<font color="#737373">&gt; &gt; &gt; Thread-304917::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,870::task::1151::TaskManager.Task::(prepare)</font>
<font color="#737373">&gt; &gt; &gt; Task=`f32c1aed-5857-4dfc-90be-8d2f3a4186da`::finished: {'spm_st':</font>
<font color="#737373">&gt; &gt; &gt; {'spmId':</font>
<font color="#737373">&gt; &gt; &gt; 2, 'spmStatus': 'SPM', 'spmLver': 72}}</font>
<font color="#737373">&gt; &gt; &gt; Thread-304917::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,871::task::568::TaskManager.Task::(_updateState)</font>
<font color="#737373">&gt; &gt; &gt; Task=`f32c1aed-5857-4dfc-90be-8d2f3a4186da`::moving from state preparing</font>
<font color="#737373">&gt; &gt; &gt; -&gt;</font>
<font color="#737373">&gt; &gt; &gt; state finished</font>
<font color="#737373">&gt; &gt; &gt; Thread-304917::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,871::resourceManager::830::ResourceManager.Owner::(releaseAll)</font>
<font color="#737373">&gt; &gt; &gt; Owner.releaseAll requests {} resources {}</font>
<font color="#737373">&gt; &gt; &gt; Thread-304917::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,871::resourceManager::864::ResourceManager.Owner::(cancelAll)</font>
<font color="#737373">&gt; &gt; &gt; Owner.cancelAll requests {}</font>
<font color="#737373">&gt; &gt; &gt; Thread-304917::DEBUG::2013-11-04</font>
<font color="#737373">&gt; &gt; &gt; 07:51:56,871::task::957::TaskManager.Task::(_decref)</font>
<font color="#737373">&gt; &gt; &gt; Task=`f32c1aed-5857-4dfc-90be-8d2f3a4186da`::ref 0 aborting False</font>
<font color="#737373">&gt; &gt; &gt;</font>
<font color="#737373">&gt; &gt; &gt; And here´s how it looks like from the storage side:</font>
<font color="#737373">&gt; &gt; &gt; # ls -lah</font>
<font color="#737373">&gt; &gt; &gt; /export/ds1/data/f231d176-a11a-47a8-84e7-12bfa9095bdd/images/ae73b435-2935-4e9f-9269-c6c8fad2cf38/</font>
<font color="#737373">&gt; &gt; &gt; total 243</font>
<font color="#737373">&gt; &gt; &gt; drwxr-xr-x&#43; 2 36 36 5B Aug 14 07:22 .</font>
<font color="#737373">&gt; &gt; &gt; drwxr-xr-x&#43; 67 36 36 67B Oct 28 15:41 ..</font>
<font color="#737373">&gt; &gt; &gt; -rw-rw-r--&#43; 21 36 36 40G Sep 27 2012 711b744a-763b-43b3-ab7b-22e83e946d3a</font>
<font color="#737373">&gt; &gt; &gt; -rw-rw-r--&#43; 21 36 36 1.0M Aug 14 07:22</font>
<font color="#737373">&gt; &gt; &gt; 711b744a-763b-43b3-ab7b-22e83e946d3a.lease</font>
<font color="#737373">&gt; &gt; &gt; -rw-rw-r--&#43; 21 36 36 270B Sep 27 2012</font>
<font color="#737373">&gt; &gt; &gt; 711b744a-763b-43b3-ab7b-22e83e946d3a.meta</font>
<font color="#737373">&gt; &gt; &gt;</font>
<font color="#737373">&gt; &gt; &gt; Any thoughts on how I could get rid of this thing?</font>
<font color="#737373">&gt; &gt; &gt;</font>
<font color="#737373">&gt; &gt; &gt;</font>
<font color="#737373">&gt; &gt; &gt;       --</font>
<font color="#737373">&gt; &gt; &gt;</font>
<font color="#737373">&gt; &gt; &gt; Med Vänliga Hälsningar</font>
<font color="#737373">&gt; &gt; &gt; -------------------------------------------------------------------------------</font>
<font color="#737373">&gt; &gt; &gt; Karli Sjöberg</font>
<font color="#737373">&gt; &gt; &gt; Swedish University of Agricultural Sciences</font>
<font color="#737373">&gt; &gt; &gt; Box 7079 (Visiting Address Kronåsvägen 8)</font>
<font color="#737373">&gt; &gt; &gt; S-750 07 Uppsala, Sweden</font>
<font color="#737373">&gt; &gt; &gt; Phone: &#43;46-(0)18-67 15 66</font>
<font color="#737373">&gt; &gt; &gt; <a href="mailto:karli.sjoberg@slu.se">karli.sjoberg@slu.se</a>&lt;<a href="mailto:karli.sjoberg@slu.se">mailto:karli.sjoberg@slu.se</a>&gt;&lt;<a href="mailto:karli.sjoberg@slu.se">mailto:karli.sjoberg@slu.se</a>&gt;</font>
<font color="#737373">&gt; &gt; &gt;</font>
<font color="#737373">&gt; &gt; &gt; _______________________________________________</font>
<font color="#737373">&gt; &gt; &gt; Users mailing list</font>
<font color="#737373">&gt; &gt; &gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a>&lt;<a href="mailto:Users@ovirt.org">mailto:Users@ovirt.org</a>&gt;&lt;<a href="mailto:Users@ovirt.org">mailto:Users@ovirt.org</a>&gt;</font>
<font color="#737373">&gt; &gt; &gt; <a href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a></font>
<font color="#737373">&gt; &gt; &gt;</font>
<font color="#737373">&gt; &gt;</font>
<font color="#737373">&gt; &gt;</font>
<font color="#737373">&gt; &gt; --</font>
<font color="#737373">&gt; &gt;</font>
<font color="#737373">&gt; &gt; Med Vänliga Hälsningar</font>
<font color="#737373">&gt; &gt; -------------------------------------------------------------------------------</font>
<font color="#737373">&gt; &gt; Karli Sjöberg</font>
<font color="#737373">&gt; &gt; Swedish University of Agricultural Sciences</font>
<font color="#737373">&gt; &gt; Box 7079 (Visiting Address Kronåsvägen 8)</font>
<font color="#737373">&gt; &gt; S-750 07 Uppsala, Sweden</font>
<font color="#737373">&gt; &gt; Phone:  &#43;46-(0)18-67 15 66</font>
<font color="#737373">&gt; &gt; <a href="mailto:karli.sjoberg@slu.se">karli.sjoberg@slu.se</a>&lt;<a href="mailto:karli.sjoberg@slu.se">mailto:karli.sjoberg@slu.se</a>&gt;&lt;<a href="mailto:karli.sjoberg@adm.slu.se">mailto:karli.sjoberg@adm.slu.se</a>&gt;</font>
<font color="#737373">&gt; &gt;</font>
<font color="#737373">&gt; </font>
<font color="#737373">&gt; </font>
<font color="#737373">&gt; --</font>
<font color="#737373">&gt; </font>
<font color="#737373">&gt; Med Vänliga Hälsningar</font>
<font color="#737373">&gt; -------------------------------------------------------------------------------</font>
<font color="#737373">&gt; Karli Sjöberg</font>
<font color="#737373">&gt; Swedish University of Agricultural Sciences</font>
<font color="#737373">&gt; Box 7079 (Visiting Address Kronåsvägen 8)</font>
<font color="#737373">&gt; S-750 07 Uppsala, Sweden</font>
<font color="#737373">&gt; Phone:  &#43;46-(0)18-67 15 66</font>
<font color="#737373">&gt; <a href="mailto:karli.sjoberg@slu.se">karli.sjoberg@slu.se</a>&lt;<a href="mailto:karli.sjoberg@adm.slu.se">mailto:karli.sjoberg@adm.slu.se</a>&gt;</font>
<font color="#737373">&gt; </font>
</pre>
</blockquote>
<br>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td>-- <br>
<br>
Med Vänliga Hälsningar<br>
-------------------------------------------------------------------------------<br>
Karli Sjöberg<br>
Swedish University of Agricultural Sciences<br>
Box 7079 (Visiting Address Kronåsvägen 8)<br>
S-750 07 Uppsala, Sweden<br>
Phone: &nbsp;&#43;46-(0)18-67 15 66<br>
<a href="mailto:karli.sjoberg@adm.slu.se">karli.sjoberg@slu.se</a> </td>
</tr>
</tbody>
</table>
</body>
</html>