<!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">> From: "Karli Sjöberg" <<a href="mailto:Karli.Sjoberg@slu.se">Karli.Sjoberg@slu.se</a>></font>
<font color="#737373">> To: "Eli Mesika" <<a href="mailto:emesika@redhat.com">emesika@redhat.com</a>></font>
<font color="#737373">> Cc: "<a href="mailto:Users@ovirt.org">Users@ovirt.org</a>" <<a href="mailto:users@ovirt.org">users@ovirt.org</a>></font>
<font color="#737373">> Sent: Monday, November 4, 2013 1:11:14 PM</font>
<font color="#737373">> Subject: Re: [Users] Cannot delete a template</font>
<font color="#737373">> </font>
<font color="#737373">> mån 2013-11-04 klockan 06:06 -0500 skrev Eli Mesika:</font>
<font color="#737373">> </font>
<font color="#737373">> </font>
<font color="#737373">> </font>
<font color="#737373">> ----- Original Message -----</font>
<font color="#737373">> > From: "Karli Sjöberg" <<a href="mailto:Karli.Sjoberg@slu.se">Karli.Sjoberg@slu.se</a><<a href="mailto:Karli.Sjoberg@slu.se">mailto:Karli.Sjoberg@slu.se</a>>></font>
<font color="#737373">> > To: "Eli Mesika" <<a href="mailto:emesika@redhat.com">emesika@redhat.com</a><<a href="mailto:emesika@redhat.com">mailto:emesika@redhat.com</a>>></font>
<font color="#737373">> > Cc: "<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><<a href="mailto:Users@ovirt.org">mailto:Users@ovirt.org</a>>"</font>
<font color="#737373">> > <<a href="mailto:users@ovirt.org">users@ovirt.org</a><<a href="mailto:users@ovirt.org">mailto:users@ovirt.org</a>>></font>
<font color="#737373">> > Sent: Monday, November 4, 2013 1:00:46 PM</font>
<font color="#737373">> > Subject: Re: [Users] Cannot delete a template</font>
<font color="#737373">> ></font>
<font color="#737373">> > mån 2013-11-04 klockan 05:56 -0500 skrev Eli Mesika:</font>
<font color="#737373">> ></font>
<font color="#737373">> ></font>
<font color="#737373">> ></font>
<font color="#737373">> > ----- Original Message -----</font>
<font color="#737373">> > > From: "Karli Sjöberg"</font>
<font color="#737373">> > > <<a href="mailto:Karli.Sjoberg@slu.se">Karli.Sjoberg@slu.se</a><<a href="mailto:Karli.Sjoberg@slu.se">mailto:Karli.Sjoberg@slu.se</a>><<a href="mailto:Karli.Sjoberg@slu.se">mailto:Karli.Sjoberg@slu.se</a>>></font>
<font color="#737373">> > > To: "<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><<a href="mailto:Users@ovirt.org">mailto:Users@ovirt.org</a>><<a href="mailto:Users@ovirt.org">mailto:Users@ovirt.org</a>>"</font>
<font color="#737373">> > > <<a href="mailto:users@ovirt.org">users@ovirt.org</a><<a href="mailto:users@ovirt.org">mailto:users@ovirt.org</a>><<a href="mailto:users@ovirt.org">mailto:users@ovirt.org</a>>></font>
<font color="#737373">> > > Sent: Monday, November 4, 2013 9:08:19 AM</font>
<font color="#737373">> > > Subject: [Users] Cannot delete a template</font>
<font color="#737373">> > ></font>
<font color="#737373">> > > Hi!</font>
<font color="#737373">> > ></font>
<font color="#737373">> > > I´m trying to delete an old template (NFS Datastore) but engine won´t let</font>
<font color="#737373">> > > me.</font>
<font color="#737373">> > > Here´s the relevant part of SPM´s vdsmd.log:</font>
<font color="#737373">> ></font>
<font color="#737373">> > Did you notice that VDSM claims that the volume is shared :</font>
<font color="#737373">> ></font>
<font color="#737373">> > CannotDeleteSharedVolume: Shared Volume cannot be deleted: ("Cannot delete</font>
<font color="#737373">> > shared image ae73b435-2935-4e9f-9269-c6c8fad2cf38. ......</font>
<font color="#737373">> ></font>
<font color="#737373">> ></font>
<font color="#737373">> > Yes I noticed that but I don´t even know what that means, betting that´s a</font>
<font color="#737373">> > bad thing? How do I change that, I found no toggle of that in Template -></font>
<font color="#737373">> > Edit, or looking at it through Disk?</font>
<font color="#737373">> </font>
<font color="#737373">> Do you have any VMs that were created from this old template ,</font>
<font color="#737373">> You can see that when you select a template from the web-admin UI ...</font>
<font color="#737373">> </font>
<font color="#737373">> </font>
<font color="#737373">> I go for Templates, click on the problematic one, click subtab Virtual</font>
<font color="#737373">> Machines and:</font>
<font color="#737373">> No Virtual Machines to display</font>
<font color="#737373">> </font>
<font color="#737373">> So no, there shouldn´t be anything holding it.</font>
can you paste here the result of the following query
psql -U <db_user> -c "select * from vm_images_view where image_guid = 'ae73b435-2935-4e9f-9269-c6c8fad2cf38';" <db_name>
</pre>
</blockquote>
<br>
No problemo:<br>
# psql -U engine -c "select * from vm_images_view where image_guid = 'ae73b435-2935-4e9f-9269-c6c8fad2cf38';" 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>
------------+--------------+--------------+-----------------+------------+---------------+-------------+-----------+----------------------+-----------------------+---------------------<br>
--+------------+------+---------+-------------+----------+-------------+--------------+----------+----------------+-------------+----------------+--------+---------------+-------------<br>
---+------+-------------------+------------------+-------------+---------------+----------+----------+------------+------------------------+---------+------------+------------------+--<br>
---------<br>
(0 rows)<br>
<br>
<br>
<blockquote type="CITE">
<pre>
<font color="#737373">> </font>
<font color="#737373">> </font>
<font color="#737373">> </font>
<font color="#737373">> </font>
<font color="#737373">> ></font>
<font color="#737373">> ></font>
<font color="#737373">> ></font>
<font color="#737373">> ></font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,269::BindingXMLRPC::161::vds::(wrapper) [130.238.96.66]</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,270::task::568::TaskManager.Task::(_updateState)</font>
<font color="#737373">> > > Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::moving from state init -></font>
<font color="#737373">> > > state</font>
<font color="#737373">> > > preparing</font>
<font color="#737373">> > > Thread-304915::INFO::2013-11-04</font>
<font color="#737373">> > > 07:51:56,270::logUtils::41::dispatcher::(wrapper) Run and protect:</font>
<font color="#737373">> > > deleteImage(sdUUID='f231d176-a11a-47a8-84e7-12bfa9095bdd',</font>
<font color="#737373">> > > spUUID='8b70c99d-50f2-4a30-9214-c51ef20cb48a',</font>
<font color="#737373">> > > imgUUID='ae73b435-2935-4e9f-9269-c6c8fad2cf38', postZero='false',</font>
<font color="#737373">> > > force='false')</font>
<font color="#737373">> > > Thread-304915::INFO::2013-11-04</font>
<font color="#737373">> > > 07:51:56,270::fileSD::302::Storage.StorageDomain::(validate)</font>
<font color="#737373">> > > sdUUID=f231d176-a11a-47a8-84e7-12bfa9095bdd</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,279::persistentDict::234::Storage.PersistentDict::(refresh) read</font>
<font color="#737373">> > > lines (FileMetadataRW)=['CLASS=Data', 'DESCRIPTION=ZFS2-1_DS1_Data',</font>
<font color="#737373">> > > 'IOOPTIMEOUTSEC=10', 'LEASERETRIES=3', 'LEASETIMESEC=60', 'LOCKPOLICY=',</font>
<font color="#737373">> > > 'LOCKRENEWALINTERVALSEC=5', 'MASTER_VERSION=902',</font>
<font color="#737373">> > > 'POOL_DESCRIPTION=C4241',</font>
<font color="#737373">> > > '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">> > > 'POOL_SPM_ID=-1', 'POOL_SPM_LVER=-1',</font>
<font color="#737373">> > > 'POOL_UUID=8b70c99d-50f2-4a30-9214-c51ef20cb48a',</font>
<font color="#737373">> > > 'REMOTE_PATH=hostnfs5-ua.sto.slu.se:/export/ds1/data', 'ROLE=Master',</font>
<font color="#737373">> > > 'SDUUID=f231d176-a11a-47a8-84e7-12bfa9095bdd', 'TYPE=NFS', 'VERSION=3',</font>
<font color="#737373">> > > '_SHA_CKSUM=de1b77f5912e94052c4fbd21299f44a6498275d9']</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,280::resourceManager::190::ResourceManager.Request::(__init__)</font>
<font color="#737373">> > > ResName=`Storage.ae73b435-2935-4e9f-9269-c6c8fad2cf38`ReqID=`e412eadc-5af7-426f-94f9-4d52783614e7`::Request</font>
<font color="#737373">> > > was made in '/usr/share/vdsm/storage/resourceManager.py' line '189' at</font>
<font color="#737373">> > > '__init__'</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,280::resourceManager::504::ResourceManager::(registerResource)</font>
<font color="#737373">> > > Trying to register resource</font>
<font color="#737373">> > > 'Storage.ae73b435-2935-4e9f-9269-c6c8fad2cf38'</font>
<font color="#737373">> > > for lock type 'exclusive'</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,281::resourceManager::547::ResourceManager::(registerResource)</font>
<font color="#737373">> > > Resource 'Storage.ae73b435-2935-4e9f-9269-c6c8fad2cf38' is free. Now</font>
<font color="#737373">> > > locking</font>
<font color="#737373">> > > as 'exclusive' (1 active user)</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,281::resourceManager::227::ResourceManager.Request::(grant)</font>
<font color="#737373">> > > ResName=`Storage.ae73b435-2935-4e9f-9269-c6c8fad2cf38`ReqID=`e412eadc-5af7-426f-94f9-4d52783614e7`::Granted</font>
<font color="#737373">> > > request</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,281::task::794::TaskManager.Task::(resourceAcquired)</font>
<font color="#737373">> > > Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::_resourcesAcquired:</font>
<font color="#737373">> > > Storage.ae73b435-2935-4e9f-9269-c6c8fad2cf38 (exclusive)</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,281::task::957::TaskManager.Task::(_decref)</font>
<font color="#737373">> > > Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::ref 1 aborting False</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,282::resourceManager::190::ResourceManager.Request::(__init__)</font>
<font color="#737373">> > > ResName=`Storage.f231d176-a11a-47a8-84e7-12bfa9095bdd`ReqID=`544caeb2-9d61-42e4-9fc7-1f7811700f4b`::Request</font>
<font color="#737373">> > > was made in '/usr/share/vdsm/storage/resourceManager.py' line '189' at</font>
<font color="#737373">> > > '__init__'</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,282::resourceManager::504::ResourceManager::(registerResource)</font>
<font color="#737373">> > > Trying to register resource</font>
<font color="#737373">> > > 'Storage.f231d176-a11a-47a8-84e7-12bfa9095bdd'</font>
<font color="#737373">> > > for lock type 'shared'</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,282::resourceManager::547::ResourceManager::(registerResource)</font>
<font color="#737373">> > > Resource 'Storage.f231d176-a11a-47a8-84e7-12bfa9095bdd' is free. Now</font>
<font color="#737373">> > > locking</font>
<font color="#737373">> > > as 'shared' (1 active user)</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,283::resourceManager::227::ResourceManager.Request::(grant)</font>
<font color="#737373">> > > ResName=`Storage.f231d176-a11a-47a8-84e7-12bfa9095bdd`ReqID=`544caeb2-9d61-42e4-9fc7-1f7811700f4b`::Granted</font>
<font color="#737373">> > > request</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,283::task::794::TaskManager.Task::(resourceAcquired)</font>
<font color="#737373">> > > Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::_resourcesAcquired:</font>
<font color="#737373">> > > Storage.f231d176-a11a-47a8-84e7-12bfa9095bdd (shared)</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,283::task::957::TaskManager.Task::(_decref)</font>
<font color="#737373">> > > Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::ref 1 aborting False</font>
<font color="#737373">> > > Thread-304915::ERROR::2013-11-04</font>
<font color="#737373">> > > 07:51:56,313::task::833::TaskManager.Task::(_setError)</font>
<font color="#737373">> > > Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::Unexpected error</font>
<font color="#737373">> > > Traceback (most recent call last):</font>
<font color="#737373">> > > File "/usr/share/vdsm/storage/task.py", line 840, in _run</font>
<font color="#737373">> > > return fn(*args, **kargs)</font>
<font color="#737373">> > > File "/usr/share/vdsm/logUtils.py", line 42, in wrapper</font>
<font color="#737373">> > > res = f(*args, **kwargs)</font>
<font color="#737373">> > > File "/usr/share/vdsm/storage/hsm.py", line 1451, in deleteImage</font>
<font color="#737373">> > > volsByImg))</font>
<font color="#737373">> > > CannotDeleteSharedVolume: Shared Volume cannot be deleted: ("Cannot</font>
<font color="#737373">> > > delete</font>
<font color="#737373">> > > shared image ae73b435-2935-4e9f-9269-c6c8fad2cf38. volImgs:</font>
<font color="#737373">> > > {'711b744a-763b-43b3-ab7b-22e83e946d3a':</font>
<font color="#737373">> > > ImgsPar(imgs=('ae73b435-2935-4e9f-9269-c6c8fad2cf38',</font>
<font color="#737373">> > > '7dd3c35f-8ed0-45ad-a726-b05b4e9abb74',</font>
<font color="#737373">> > > '230589b8-dff3-4fb0-884f-9db9a47c07ec',</font>
<font color="#737373">> > > '34b09185-16ae-4572-8d52-9952eb8e05fb',</font>
<font color="#737373">> > > '672dcf0a-cb31-4dc6-810c-8ff4cd5dcd0d',</font>
<font color="#737373">> > > '958f2901-1a7e-4baf-bd1e-ee4d330c2006',</font>
<font color="#737373">> > > '4a8860b4-f400-4615-b641-c74bb495230f',</font>
<font color="#737373">> > > '4e2a0c92-859e-4743-a96a-b525a9bfa546',</font>
<font color="#737373">> > > '97d119a6-ee8d-4c12-ab7d-ba51522a4d27',</font>
<font color="#737373">> > > 'cd9e401e-c149-4cf0-934b-be060ec0532d',</font>
<font color="#737373">> > > '991efa47-5e52-4b93-a70b-067e827acbed',</font>
<font color="#737373">> > > '50c0ebd7-7219-4972-9cf4-62281a81f857',</font>
<font color="#737373">> > > '0fb579aa-ee73-4ced-ae3d-005f12594fb6',</font>
<font color="#737373">> > > 'c50a5f9f-0693-47b8-aed9-45a8b308adaf',</font>
<font color="#737373">> > > 'cec48065-742a-4ce8-90ea-c09d9e66083e',</font>
<font color="#737373">> > > 'ac2d33a0-76b2-4b50-b7d3-337cc4d4dc00',</font>
<font color="#737373">> > > '15703619-8013-4af9-a6cf-59c53142206c',</font>
<font color="#737373">> > > 'd5c28f70-950c-4b3d-8b9b-dec358f8760f',</font>
<font color="#737373">> > > '4fcece59-2ea3-4691-88c9-e248554c43fe',</font>
<font color="#737373">> > > '53691576-41d2-4865-9cbf-de0c39f063db',</font>
<font color="#737373">> > > 'f6bb39c1-3f35-4236-ae82-29bb8bf44d75'),</font>
<font color="#737373">> > > parent='00000000-0000-0000-0000-000000000000')}",)</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,320::task::852::TaskManager.Task::(_run)</font>
<font color="#737373">> > > Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::Task._run:</font>
<font color="#737373">> > > 78b8f42d-14cd-48e2-9e3e-61a6610c9f66</font>
<font color="#737373">> > > ('f231d176-a11a-47a8-84e7-12bfa9095bdd',</font>
<font color="#737373">> > > '8b70c99d-50f2-4a30-9214-c51ef20cb48a',</font>
<font color="#737373">> > > 'ae73b435-2935-4e9f-9269-c6c8fad2cf38', 'false', 'false') {} failed -</font>
<font color="#737373">> > > stopping task</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,320::task::1177::TaskManager.Task::(stop)</font>
<font color="#737373">> > > Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::stopping in state preparing</font>
<font color="#737373">> > > (force False)</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,320::task::957::TaskManager.Task::(_decref)</font>
<font color="#737373">> > > Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::ref 1 aborting True</font>
<font color="#737373">> > > Thread-304915::INFO::2013-11-04</font>
<font color="#737373">> > > 07:51:56,320::task::1134::TaskManager.Task::(prepare)</font>
<font color="#737373">> > > Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::aborting: Task is aborted:</font>
<font color="#737373">> > > 'Shared Volume cannot be deleted' - code 223</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,321::task::1139::TaskManager.Task::(prepare)</font>
<font color="#737373">> > > Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::Prepare: aborted: Shared</font>
<font color="#737373">> > > Volume</font>
<font color="#737373">> > > cannot be deleted</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,321::task::957::TaskManager.Task::(_decref)</font>
<font color="#737373">> > > Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::ref 0 aborting True</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,321::task::892::TaskManager.Task::(_doAbort)</font>
<font color="#737373">> > > Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::Task._doAbort: force False</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,321::resourceManager::864::ResourceManager.Owner::(cancelAll)</font>
<font color="#737373">> > > Owner.cancelAll requests {}</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,321::task::568::TaskManager.Task::(_updateState)</font>
<font color="#737373">> > > Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::moving from state preparing</font>
<font color="#737373">> > > -></font>
<font color="#737373">> > > state aborting</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,322::task::523::TaskManager.Task::(__state_aborting)</font>
<font color="#737373">> > > Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::_aborting: recover policy</font>
<font color="#737373">> > > none</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,322::task::568::TaskManager.Task::(_updateState)</font>
<font color="#737373">> > > Task=`78b8f42d-14cd-48e2-9e3e-61a6610c9f66`::moving from state aborting</font>
<font color="#737373">> > > -></font>
<font color="#737373">> > > state failed</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,322::resourceManager::830::ResourceManager.Owner::(releaseAll)</font>
<font color="#737373">> > > Owner.releaseAll requests {} resources</font>
<font color="#737373">> > > {'Storage.f231d176-a11a-47a8-84e7-12bfa9095bdd': < ResourceRef</font>
<font color="#737373">> > > 'Storage.f231d176-a11a-47a8-84e7-12bfa9095bdd', isValid: 'True' obj:</font>
<font color="#737373">> > > 'None'>, 'Storage.ae73b435-2935-4e9f-9269-c6c8fad2cf38': < ResourceRef</font>
<font color="#737373">> > > 'Storage.ae73b435-2935-4e9f-9269-c6c8fad2cf38', isValid: 'True' obj:</font>
<font color="#737373">> > > 'None'>}</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,322::resourceManager::864::ResourceManager.Owner::(cancelAll)</font>
<font color="#737373">> > > Owner.cancelAll requests {}</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,323::resourceManager::557::ResourceManager::(releaseResource)</font>
<font color="#737373">> > > Trying to release resource 'Storage.f231d176-a11a-47a8-84e7-12bfa9095bdd'</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,323::resourceManager::573::ResourceManager::(releaseResource)</font>
<font color="#737373">> > > Released resource 'Storage.f231d176-a11a-47a8-84e7-12bfa9095bdd' (0</font>
<font color="#737373">> > > active</font>
<font color="#737373">> > > users)</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,323::resourceManager::578::ResourceManager::(releaseResource)</font>
<font color="#737373">> > > Resource 'Storage.f231d176-a11a-47a8-84e7-12bfa9095bdd' is free, finding</font>
<font color="#737373">> > > out</font>
<font color="#737373">> > > if anyone is waiting for it.</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,323::resourceManager::585::ResourceManager::(releaseResource) No</font>
<font color="#737373">> > > one is waiting for resource</font>
<font color="#737373">> > > 'Storage.f231d176-a11a-47a8-84e7-12bfa9095bdd',</font>
<font color="#737373">> > > Clearing records.</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,323::resourceManager::557::ResourceManager::(releaseResource)</font>
<font color="#737373">> > > Trying to release resource 'Storage.ae73b435-2935-4e9f-9269-c6c8fad2cf38'</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,324::resourceManager::573::ResourceManager::(releaseResource)</font>
<font color="#737373">> > > Released resource 'Storage.ae73b435-2935-4e9f-9269-c6c8fad2cf38' (0</font>
<font color="#737373">> > > active</font>
<font color="#737373">> > > users)</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,324::resourceManager::578::ResourceManager::(releaseResource)</font>
<font color="#737373">> > > Resource 'Storage.ae73b435-2935-4e9f-9269-c6c8fad2cf38' is free, finding</font>
<font color="#737373">> > > out</font>
<font color="#737373">> > > if anyone is waiting for it.</font>
<font color="#737373">> > > Thread-304915::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,324::resourceManager::585::ResourceManager::(releaseResource) No</font>
<font color="#737373">> > > one is waiting for resource</font>
<font color="#737373">> > > 'Storage.ae73b435-2935-4e9f-9269-c6c8fad2cf38',</font>
<font color="#737373">> > > Clearing records.</font>
<font color="#737373">> > > Thread-304915::ERROR::2013-11-04</font>
<font color="#737373">> > > 07:51:56,324::dispatcher::67::Storage.Dispatcher.Protect::(run)</font>
<font color="#737373">> > > {'status':</font>
<font color="#737373">> > > {'message': 'Shared Volume cannot be deleted: ("Cannot delete shared</font>
<font color="#737373">> > > image</font>
<font color="#737373">> > > ae73b435-2935-4e9f-9269-c6c8fad2cf38. volImgs:</font>
<font color="#737373">> > > {\'711b744a-763b-43b3-ab7b-22e83e946d3a\':</font>
<font color="#737373">> > > ImgsPar(imgs=(\'ae73b435-2935-4e9f-9269-c6c8fad2cf38\',</font>
<font color="#737373">> > > \'7dd3c35f-8ed0-45ad-a726-b05b4e9abb74\',</font>
<font color="#737373">> > > \'230589b8-dff3-4fb0-884f-9db9a47c07ec\',</font>
<font color="#737373">> > > \'34b09185-16ae-4572-8d52-9952eb8e05fb\',</font>
<font color="#737373">> > > \'672dcf0a-cb31-4dc6-810c-8ff4cd5dcd0d\',</font>
<font color="#737373">> > > \'958f2901-1a7e-4baf-bd1e-ee4d330c2006\',</font>
<font color="#737373">> > > \'4a8860b4-f400-4615-b641-c74bb495230f\',</font>
<font color="#737373">> > > \'4e2a0c92-859e-4743-a96a-b525a9bfa546\',</font>
<font color="#737373">> > > \'97d119a6-ee8d-4c12-ab7d-ba51522a4d27\',</font>
<font color="#737373">> > > \'cd9e401e-c149-4cf0-934b-be060ec0532d\',</font>
<font color="#737373">> > > \'991efa47-5e52-4b93-a70b-067e827acbed\',</font>
<font color="#737373">> > > \'50c0ebd7-7219-4972-9cf4-62281a81f857\',</font>
<font color="#737373">> > > \'0fb579aa-ee73-4ced-ae3d-005f12594fb6\',</font>
<font color="#737373">> > > \'c50a5f9f-0693-47b8-aed9-45a8b308adaf\',</font>
<font color="#737373">> > > \'cec48065-742a-4ce8-90ea-c09d9e66083e\',</font>
<font color="#737373">> > > \'ac2d33a0-76b2-4b50-b7d3-337cc4d4dc00\',</font>
<font color="#737373">> > > \'15703619-8013-4af9-a6cf-59c53142206c\',</font>
<font color="#737373">> > > \'d5c28f70-950c-4b3d-8b9b-dec358f8760f\',</font>
<font color="#737373">> > > \'4fcece59-2ea3-4691-88c9-e248554c43fe\',</font>
<font color="#737373">> > > \'53691576-41d2-4865-9cbf-de0c39f063db\',</font>
<font color="#737373">> > > \'f6bb39c1-3f35-4236-ae82-29bb8bf44d75\'),</font>
<font color="#737373">> > > parent=\'00000000-0000-0000-0000-000000000000\')}",)', 'code': 223}}</font>
<font color="#737373">> > > Thread-304917::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,869::BindingXMLRPC::161::vds::(wrapper) [130.238.96.66]</font>
<font color="#737373">> > > Thread-304917::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,870::task::568::TaskManager.Task::(_updateState)</font>
<font color="#737373">> > > Task=`f32c1aed-5857-4dfc-90be-8d2f3a4186da`::moving from state init -></font>
<font color="#737373">> > > state</font>
<font color="#737373">> > > preparing</font>
<font color="#737373">> > > Thread-304917::INFO::2013-11-04</font>
<font color="#737373">> > > 07:51:56,870::logUtils::41::dispatcher::(wrapper) Run and protect:</font>
<font color="#737373">> > > getSpmStatus(spUUID='8b70c99d-50f2-4a30-9214-c51ef20cb48a', options=None)</font>
<font color="#737373">> > > Thread-304917::INFO::2013-11-04</font>
<font color="#737373">> > > 07:51:56,870::logUtils::44::dispatcher::(wrapper) Run and protect:</font>
<font color="#737373">> > > getSpmStatus, Return response: {'spm_st': {'spmId': 2, 'spmStatus':</font>
<font color="#737373">> > > 'SPM',</font>
<font color="#737373">> > > 'spmLver': 72}}</font>
<font color="#737373">> > > Thread-304917::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,870::task::1151::TaskManager.Task::(prepare)</font>
<font color="#737373">> > > Task=`f32c1aed-5857-4dfc-90be-8d2f3a4186da`::finished: {'spm_st':</font>
<font color="#737373">> > > {'spmId':</font>
<font color="#737373">> > > 2, 'spmStatus': 'SPM', 'spmLver': 72}}</font>
<font color="#737373">> > > Thread-304917::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,871::task::568::TaskManager.Task::(_updateState)</font>
<font color="#737373">> > > Task=`f32c1aed-5857-4dfc-90be-8d2f3a4186da`::moving from state preparing</font>
<font color="#737373">> > > -></font>
<font color="#737373">> > > state finished</font>
<font color="#737373">> > > Thread-304917::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,871::resourceManager::830::ResourceManager.Owner::(releaseAll)</font>
<font color="#737373">> > > Owner.releaseAll requests {} resources {}</font>
<font color="#737373">> > > Thread-304917::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,871::resourceManager::864::ResourceManager.Owner::(cancelAll)</font>
<font color="#737373">> > > Owner.cancelAll requests {}</font>
<font color="#737373">> > > Thread-304917::DEBUG::2013-11-04</font>
<font color="#737373">> > > 07:51:56,871::task::957::TaskManager.Task::(_decref)</font>
<font color="#737373">> > > Task=`f32c1aed-5857-4dfc-90be-8d2f3a4186da`::ref 0 aborting False</font>
<font color="#737373">> > ></font>
<font color="#737373">> > > And here´s how it looks like from the storage side:</font>
<font color="#737373">> > > # ls -lah</font>
<font color="#737373">> > > /export/ds1/data/f231d176-a11a-47a8-84e7-12bfa9095bdd/images/ae73b435-2935-4e9f-9269-c6c8fad2cf38/</font>
<font color="#737373">> > > total 243</font>
<font color="#737373">> > > drwxr-xr-x+ 2 36 36 5B Aug 14 07:22 .</font>
<font color="#737373">> > > drwxr-xr-x+ 67 36 36 67B Oct 28 15:41 ..</font>
<font color="#737373">> > > -rw-rw-r--+ 21 36 36 40G Sep 27 2012 711b744a-763b-43b3-ab7b-22e83e946d3a</font>
<font color="#737373">> > > -rw-rw-r--+ 21 36 36 1.0M Aug 14 07:22</font>
<font color="#737373">> > > 711b744a-763b-43b3-ab7b-22e83e946d3a.lease</font>
<font color="#737373">> > > -rw-rw-r--+ 21 36 36 270B Sep 27 2012</font>
<font color="#737373">> > > 711b744a-763b-43b3-ab7b-22e83e946d3a.meta</font>
<font color="#737373">> > ></font>
<font color="#737373">> > > Any thoughts on how I could get rid of this thing?</font>
<font color="#737373">> > ></font>
<font color="#737373">> > ></font>
<font color="#737373">> > > --</font>
<font color="#737373">> > ></font>
<font color="#737373">> > > Med Vänliga Hälsningar</font>
<font color="#737373">> > > -------------------------------------------------------------------------------</font>
<font color="#737373">> > > Karli Sjöberg</font>
<font color="#737373">> > > Swedish University of Agricultural Sciences</font>
<font color="#737373">> > > Box 7079 (Visiting Address Kronåsvägen 8)</font>
<font color="#737373">> > > S-750 07 Uppsala, Sweden</font>
<font color="#737373">> > > Phone: +46-(0)18-67 15 66</font>
<font color="#737373">> > > <a href="mailto:karli.sjoberg@slu.se">karli.sjoberg@slu.se</a><<a href="mailto:karli.sjoberg@slu.se">mailto:karli.sjoberg@slu.se</a>><<a href="mailto:karli.sjoberg@slu.se">mailto:karli.sjoberg@slu.se</a>></font>
<font color="#737373">> > ></font>
<font color="#737373">> > > _______________________________________________</font>
<font color="#737373">> > > Users mailing list</font>
<font color="#737373">> > > <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><<a href="mailto:Users@ovirt.org">mailto:Users@ovirt.org</a>><<a href="mailto:Users@ovirt.org">mailto:Users@ovirt.org</a>></font>
<font color="#737373">> > > <a href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a></font>
<font color="#737373">> > ></font>
<font color="#737373">> ></font>
<font color="#737373">> ></font>
<font color="#737373">> > --</font>
<font color="#737373">> ></font>
<font color="#737373">> > Med Vänliga Hälsningar</font>
<font color="#737373">> > -------------------------------------------------------------------------------</font>
<font color="#737373">> > Karli Sjöberg</font>
<font color="#737373">> > Swedish University of Agricultural Sciences</font>
<font color="#737373">> > Box 7079 (Visiting Address Kronåsvägen 8)</font>
<font color="#737373">> > S-750 07 Uppsala, Sweden</font>
<font color="#737373">> > Phone: +46-(0)18-67 15 66</font>
<font color="#737373">> > <a href="mailto:karli.sjoberg@slu.se">karli.sjoberg@slu.se</a><<a href="mailto:karli.sjoberg@slu.se">mailto:karli.sjoberg@slu.se</a>><<a href="mailto:karli.sjoberg@adm.slu.se">mailto:karli.sjoberg@adm.slu.se</a>></font>
<font color="#737373">> ></font>
<font color="#737373">> </font>
<font color="#737373">> </font>
<font color="#737373">> --</font>
<font color="#737373">> </font>
<font color="#737373">> Med Vänliga Hälsningar</font>
<font color="#737373">> -------------------------------------------------------------------------------</font>
<font color="#737373">> Karli Sjöberg</font>
<font color="#737373">> Swedish University of Agricultural Sciences</font>
<font color="#737373">> Box 7079 (Visiting Address Kronåsvägen 8)</font>
<font color="#737373">> S-750 07 Uppsala, Sweden</font>
<font color="#737373">> Phone: +46-(0)18-67 15 66</font>
<font color="#737373">> <a href="mailto:karli.sjoberg@slu.se">karli.sjoberg@slu.se</a><<a href="mailto:karli.sjoberg@adm.slu.se">mailto:karli.sjoberg@adm.slu.se</a>></font>
<font color="#737373">> </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: +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>