[Users] invalid vgs

Maor Lipchuk mlipchuk at redhat.com
Thu Aug 8 09:40:47 EDT 2013


Hi Yaniv, perhaps you got an idea why user gets a failure in VDSM while
removing a disk.

It appears that we got general exception while executing deleteImage on
the disk (See following log at [1] which is part of
http://pastebin.com/KQ9mtn53)

[1]
Thread-628497::ERROR::2013-08-08
10:07:17,083::task::853::TaskManager.Task::(_setError)
Task=`09001f2c-032b-4419-bf8e-74c1ea256a85`::Unexpected error
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/task.py", line 861, in _run
    return fn(*args, **kargs)
  File "/usr/share/vdsm/logUtils.py", line 38, in wrapper
    res = f(*args, **kwargs)
  File "/usr/share/vdsm/storage/hsm.py", line 1284, in deleteImage
    misc.parseBool(postZero), misc.parseBool(force))
  File "/usr/share/vdsm/storage/securable.py", line 63, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/share/vdsm/storage/sp.py", line 1721, in deleteImage
    allVols = dom.getAllVolumes()
  File "/usr/share/vdsm/storage/blockSD.py", line 869, in getAllVolumes
    return getAllVolumes(self.sdUUID)
  File "/usr/share/vdsm/storage/blockSD.py", line 168, in getAllVolumes
    and vImg not in res[vPar]['imgs']:
KeyError: '63650a24-7e83-4c0a-851d-0ce9869a294d'
Thread-628497::DEBUG::2013-08-08
10:07:17,083::task::872::TaskManager.Task::(_run) Task=`09001f2c-032b-4419-

thanks,
Maor

On 08/08/2013 04:16 PM, Eduardo Ramos wrote:
> Good day!
> 
> The 'select' returns 0 registers. Without 'where' clause, it returns the
> three domains that I have.
> 
> When I tried remove a disk, it failed. Follow the logs of engine and spm:
> 
> ENGINE
> http://pastebin.com/aFMvC5tN
> 
> SPM
> http://pastebin.com/KQ9mtn53
> 
> Thanks for helping me.
> 
> On 08/08/2013 09:52 AM, Maor Lipchuk wrote:
>> Hi Eduardo SPM log with the engine log could be good enough, I will
>> appreciate if you can please attach them.
>> What does "SELECT * FROM storage_domains where id =
>> '0226b818-59a6-41bc-8590-91f520aa7859'" gives you?
>>
>> Regards,
>> Maor
>>
>> On 08/06/2013 05:58 PM, Eduardo Ramos wrote:
>>> Hi Maor,
>>>
>>> I have 16 machines as hosts and 1 as engine. It's a lot of log to send.
>>> Looking at my messages log of SPM, I see this each 10 seconds:
>>>
>>> Aug  6 11:52:06 darwin vdsm Storage.LVM WARNING lvm vgs failed: 5 [] [' 
>>> Volume group "0226b818-59a6-41bc-8590-91f520aa7859" not found']
>>> Aug  6 11:52:06 darwin vdsm Storage.StoragePool WARNING Could not get
>>> full domain information, it is probably unavailable#012Traceback (most
>>> recent call last):#012  File "/usr/share/vdsm/storage/sp.py", line 1368,
>>> in getInfo#012    dom = sdCache.produce(item)#012  File
>>> "/usr/share/vdsm/storage/sdc.py", line 93, in produce#012    dom =
>>> self._findDomain(sdUUID)#012  File "/usr/share/vdsm/storage/sdc.py",
>>> line 118, in _findDomain#012 raise
>>> se.StorageDomainDoesNotExist(sdUUID)#012StorageDomainDoesNotExist:
>>> Storage domain does not exist: (u'0226b818-59a6-41bc-8590-91f520aa7859',)
>>>
>>> But I actually don't have any 0226b818-59a6-41bc-8590-91f520aa7859
>>> storage domain. Doing a 'grep' in a database dump, I found this UUID in
>>> the log related with a export storage domain, that was removed one year
>>> ago!
>>>
>>> So, from where SPM is getting this UUID and why it's trying to get
>>> information from it?
>>>
>>> Thanks.
>>>
>>> On 07/30/2013 04:25 AM, Maor Lipchuk wrote:
>>>> Hi Eduardo,
>>>> Can u please also add the engine log and the full VDSM log (if you have
>>>> other hosts then please add their vdsm.log as well)
>>>>
>>>> Thanks.
>>>> Maor
>>>>
>>>> On 07/29/2013 11:10 PM, Eduardo Ramos wrote:
>>>>> Hi all!
>>>>>
>>>>> My SPM has logging such a strange message on vdsm.log. I tries to get
>>>>> information from a VG that doesn't exist. In fact, I don't know where it
>>>>> got the id " 0226b818-59a6-41bc-8590-91f520aa7859". The log of vdsm can
>>>>> be read here: http://pastebin.com/mZcSLzxi
>>>>>
>>>>> Could anybody help me?
>>>>>
>>>>> Thanks.
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> Users at ovirt.org
>>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>>
>>>
> 



More information about the Users mailing list