[Users] Ovirt 3.3 removing disk failure

Saša Friedrich sasa.friedrich at bitlab.si
Wed Nov 13 10:10:58 UTC 2013


Just for test I enabled "ovirt-updates-testing" and "ovirt-nightly" 
repos. Did yum update and error is still there.

I created new virtual disk and then tried to delete it... same error!

Is there a way to remove disk manualy? I can mount gluster volume and 
delete the disk. But what about db in engine? Which records should I 
remove (by hand)?


tnx



Dne 12. 11. 2013 21:19, piše Saša Friedrich:
> What I found so far...
>
> Function returning error is getDomPath in 
> "/usr/share/vdsm/storage/fileSD.py":
>
> def getDomPath(sdUUID):
>     pattern = os.path.join(sd.StorageDomain.storage_repository,
>                            sd.DOMAIN_MNT_POINT, '*', sdUUID)
>     # Warning! You need a global proc pool big as the number of NFS 
> domains.
>     domPaths = getProcPool().glob.glob(pattern)
>     if len(domPaths) == 0:
>         raise se.StorageDomainDoesNotExist(sdUUID)
>     elif len(domPaths) > 1:
>         raise se.StorageDomainLayoutError(sdUUID)
>     else:
>         return domPaths[0]
>
>
> When I click remove disk in engine, variable "pattern" gets 
> "/rhev/data-center/mnt/*/2799e01b-6e6e-4f3b-8cfe-779928ae9941", and 
> "domPaths" is empty
>
>
>
>
> Dne 12. 11. 2013 20:18, piše Saša Friedrich:
>> After I changed the log level of vdsm I found the error:
>>
>> Thread-5180::ERROR::2013-11-12 
>> 19:44:21,433::task::850::TaskManager.Task::(_setError) 
>> Task=`42a933fa-97f1-4260-8bc5-86c057dc8184`::Unexpected error
>> Traceback (most recent call last):
>>   File "/usr/share/vdsm/storage/task.py", line 857, in _run
>>     return fn(*args, **kargs)
>>   File "/usr/share/vdsm/logUtils.py", line 45, in wrapper
>>     res = f(*args, **kwargs)
>>   File "/usr/share/vdsm/storage/hsm.py", line 1529, in deleteImage
>>     dom.deleteImage(sdUUID, imgUUID, volsByImg)
>>   File "/usr/share/vdsm/storage/fileSD.py", line 342, in deleteImage
>>     currImgDir = getImagePath(sdUUID, imgUUID)
>>   File "/usr/share/vdsm/storage/fileSD.py", line 97, in getImagePath
>>     return os.path.join(getDomPath(sdUUID), 'images', imgUUID)
>>   File "/usr/share/vdsm/storage/fileSD.py", line 89, in getDomPath
>>     raise se.StorageDomainDoesNotExist(sdUUID)
>> StorageDomainDoesNotExist: Storage domain does not exist: 
>> ('2799e01b-6e6e-4f3b-8cfe-779928ae9941',)
>> Thread-5180::ERROR::2013-11-12 
>> 19:44:21,435::dispatcher::67::Storage.Dispatcher.Protect::(run) 
>> {'status': {'message': "Storage domain does not exist: 
>> ('2799e01b-6e6e-4f3b-8cfe-779928ae9941',)", 'code': 358}}
>>
>>
>> And this happens only when I want to delete virtual disk. VM alone 
>> works fine.
>>
>> Any clue?
>>
>>
>> tnx
>>
>>
>> Dne 12. 11. 2013 15:54, piše Saša Friedrich:
>>> When I try to remove viritual disk from ovirt engine I get error 
>>> "User admin at internal finished removing disk test_vm with storage 
>>> failure in domain DATA_DOMAIN."
>>>
>>> VM itself was running fine with no errors.
>>>
>>> DATA_DOMAIN is GlusterFS replicated volume (on ovirt host).
>>>
>>> ovirt engine comp (fc19)
>>> ovirt-engine.noarch               3.3.0.1-1.fc19
>>>
>>> ovirt host (fc19)
>>> vdsm.x86_64                            4.12.1-4.fc19
>>> vdsm-gluster.noarch                    4.12.1-4.fc19
>>> glusterfs-server.x86_64                3.4.1-1.fc19
>>>
>>>
>>> tnx for help
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20131113/f8c6e15e/attachment-0001.html>


More information about the Users mailing list