[ovirt-users] upgrade 3.5 to 3.6 auto import storage domain failed

Резников А.А. reznikov_aa at soskol.com
Tue Mar 14 08:40:34 UTC 2017


Hi list!

During the upgrade ovirt from 3.5 to 3.6, I get errors:
"VDSM command failed: Can not acquire host id: 
(u'8905c9ac-d892-478d-8346-63b8fa1c5763 ', SanlockException (22,' 
Sanlock lockspace add failure ',' Invalid argument '))",
"Failed to attach Storage Domain hosted_storage to Data Center Default. 
(User: SYSTEM)",
"Failed to import the Hosted Engine Storage Domain".

Thus in my data storage nfs OVF_STORE disks do not appear.

The following messages appear in vdsm.log:

Thread-2806 :: DEBUG :: 2017-03-14 10: 40: 29,569 :: task :: 827 :: 
Storage.TaskManager.Task: :( resourceAcquired) Task = 
`cd294427-d6fa-454b-9289-6660ad228c8f`: : _resourcesAcquired: 
Storage.8905c9ac-d8
92-478d-8346-63b8fa1c5763 (shared)
Thread-2806 :: DEBUG :: 2017-03-14 10: 40: 29,569 :: task :: 993 :: 
Storage.TaskManager.Task :: (_ decref) Task = 
`cd294427-d6fa-454b-9289-6660ad228c8f`: : Ref 1 aborting False
Thread-2806 :: ERROR :: 2017-03-14 10: 40: 29,569 :: task :: 866 :: 
Storage.TaskManager.Task :: (_ setError) Task = 
`cd294427-d6fa-454b-9289-6660ad228c8f`: : Unexpected error
Traceback (most recent last call last):
   File "/usr/share/vdsm/storage/task.py", line 873, in _run
     Return fn (* args, ** kargs)
   File "/usr/share/vdsm/logUtils.py", line 49, in wrapper
     Res = f (* args, ** kwargs)
   File "/usr/share/vdsm/storage/hsm.py", line 3315, in getImagesList
     Images = dom.getAllImages ()
   File "/usr/share/vdsm/storage/fileSD.py", line 373, in getAllImages
     Self.getPools () [0],
IndexError: list index out of range
Thread-2806 :: DEBUG :: 2017-03-14 10: 40: 29,569 :: task :: 885 :: 
Storage.TaskManager.Task :: (_ run) Task = 
`cd294427-d6fa-454b-9289-6660ad228c8f`: : Task._run: 
cd294427-d6fa-454b-9289-6660ad228c8f ('8
905c9ac-d892-478d-8346-63b8fa1c5763 ',) {} failed - stopping task
Thread-2806 :: DEBUG :: 2017-03-14 10: 40: 29,570 :: task :: 1246 :: 
Storage.TaskManager.Task: :( stop) Task = 
`cd294427-d6fa-454b-9289-6660ad228c8f`: : Stopping in state preparing 
(force False)
Thread-2806 :: DEBUG :: 2017-03-14 10: 40: 29,570 :: task :: 993 :: 
Storage.TaskManager.Task :: (_ decref) Task = 
`cd294427-d6fa-454b-9289-6660ad228c8f`: : Ref 1 aborting True
Thread-2806 :: INFO :: 2017-03-14 10: 40: 29,570 :: task :: 1171 :: 
Storage.TaskManager.Task: :( prepare) Task = 
`cd294427-d6fa-454b-9289-6660ad228c8f`: : Aborting: Task is aborted: 
u'list index out of r
Ange '- code 100
Thread-2806 :: DEBUG :: 2017-03-14 10: 40: 29,570 :: task :: 1176 :: 
Storage.TaskManager.Task: :( prepare) Task = 
`cd294427-d6fa-454b-9289-6660ad228c8f`: : Prepare: aborted: list index 
out of range
Thread-2806 :: DEBUG :: 2017-03-14 10: 40: 29,570 :: task :: 993 :: 
Storage.TaskManager.Task :: (_ decref) Task = 
`cd294427-d6fa-454b-9289-6660ad228c8f`: : Ref 0 aborting True
Thread-2806 :: DEBUG :: 2017-03-14 10: 40: 29,570 :: task :: 928 :: 
Storage.TaskManager.Task :: (_ doAbort) Task = 
`cd294427-d6fa-454b-9289-6660ad228c8f`: : Task._doAbort: force False
Thread-2806 :: DEBUG :: 2017-03-14 10: 40: 29,571 :: resourceManager :: 
980 :: Storage.ResourceManager.Owner: :( cancelAll) Owner.cancelAll 
requests {}
Thread-2806 :: DEBUG :: 2017-03-14 10: 40: 29,571 :: task :: 595 :: 
Storage.TaskManager.Task :: (_ updateState) Task = 
`cd294427-d6fa-454b-9289-6660ad228c8f`: : Moving from state preparing -> 
state aborti
Ng
Thread-2806 :: DEBUG :: 2017-03-14 10: 40: 29,571 :: task :: 550 :: 
Storage.TaskManager.Task :: (__ state_aborting) Task = 
`cd294427-d6fa-454b-9289-6660ad228c8f`: : _aborting: recover policy none
Thread-2806 :: DEBUG :: 2017-03-14 10: 40: 29,571 :: task :: 595 :: 
Storage.TaskManager.Task :: (_ updateState) Task = 
`cd294427-d6fa-454b-9289-6660ad228c8f`: : Moving from state aborting -> 
state failed
Thread-2806 :: DEBUG :: 2017-03-14 10: 40: 29,571 :: resourceManager :: 
943 :: Storage.ResourceManager.Owner: :( releaseAll) Owner.releaseAll 
requests {} resources {'Storage.8905c9ac-d892 -478d-8346-6
3b8fa1c5763 ': <ResourceRef' 
Storage.8905c9ac-d892-478d-8346-63b8fa1c5763 ', isValid:' True 'obj:' 
None '>}
Thread-2806 :: DEBUG :: 2017-03-14 10: 40: 29,571 :: resourceManager :: 
980 :: Storage.ResourceManager.Owner: :( cancelAll) Owner.cancelAll 
requests {}
Thread-2806 :: DEBUG :: 2017-03-14 10: 40: 29,572 :: resourceManager :: 
619 :: Storage.ResourceManager: :( releaseResource) Trying to release 
resource 'Storage.8905c9ac-d892-478d-8346-63b8fa1c5763 '
Thread-2806 :: DEBUG :: 2017-03-14 10: 40: 29,572 :: resourceManager :: 
638 :: Storage.ResourceManager: :( releaseResource) Released resource 
'Storage.8905c9ac-d892-478d-8346-63b8fa1c5763' ( 0 active
Users)
Thread-2806 :: DEBUG :: 2017-03-14 10: 40: 29,572 :: resourceManager :: 
644 :: Storage.ResourceManager: :( releaseResource) Resource 
'Storage.8905c9ac-d892-478d-8346-63b8fa1c5763' is free , Finding ou
T if anyone is waiting for it.
Thread-2806 :: DEBUG :: 2017-03-14 10: 40: 29,572 :: resourceManager :: 
652 :: Storage.ResourceManager: :( releaseResource) 
Storage.8905c9ac-d892-478d-8346 -63b8fa1c576
3 ', Clearing records.


Does anyone have any idea how this can be fixed?

Thanks, Alex.




More information about the Users mailing list