upgrade 3.5 to 3.6 auto import storage domain failed

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.

14.03.2017 11:40, Резников А.А. пишет:
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
3 ', Clearing records.
Does anyone have any idea how this can be fixed?
Thanks, Alex.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Any body help me? Thanks, Alex.

On Wed, Mar 15, 2017 at 6:24 AM, Резников А.А. <reznikov_aa@soskol.com> wrote:
14.03.2017 11:40, Резников А.А. пишет:
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
3 ', Clearing records.
Does anyone have any idea how this can be fixed?
Thanks, Alex.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Any body help me?
It was an old bug but it should be fine now: https://bugzilla.redhat.com/show_bug.cgi?id=1276650 Could you please report the version of ovirt-hosted-engine-ha and vdsm you are currently using?
Thanks, Alex.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

This is a multi-part message in MIME format. --------------0DBE0DA754A9C7A61F86E3EE Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 15.03.2017 10:35, Simone Tiraboschi пишет:
On Wed, Mar 15, 2017 at 6:24 AM, Резников А.А. <reznikov_aa@soskol.com <mailto:reznikov_aa@soskol.com>> wrote:
14.03.2017 11:40, Резников А.А. пишет:
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 <tel:2017-03-14%2010>: 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 <tel:2017-03-14%2010>: 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 <tel:2017-03-14%2010>: 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
3 ', Clearing records.
Does anyone have any idea how this can be fixed?
Thanks, Alex.
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
Any body help me?
It was an old bug but it should be fine now: https://bugzilla.redhat.com/show_bug.cgi?id=1276650
Could you please report the version of ovirt-hosted-engine-ha and vdsm you are currently using?
Thanks, Alex.
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
On all host: ovirt-hosted-engine-ha-1.3.5.7-1.el7.centos.noarch vdsm-4.17.32-1.el7.noarch and CentOS Linux release 7.3.1611 (Core) Thanks, Alex. -- С уважением, Резников Алексей инженер-программист ООО "ГорПТУс", группа компаний Осколтелеком web: fly.soskol.ru email: reznikov_aa@soskol.com тел. +7(4725)40-16-77 --------------0DBE0DA754A9C7A61F86E3EE Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">15.03.2017 10:35, Simone Tiraboschi пишет:<br> </div> <blockquote cite="mid:CAN8-ONqKXoGz-4JFDhcZd+i25b5GweGOS-jhdGe02U21e9H2vA@mail.gmail.com" type="cite"> <div dir="ltr"><br> <div class="gmail_extra"><br> <div class="gmail_quote">On Wed, Mar 15, 2017 at 6:24 AM, Резников А.А. <span dir="ltr"><<a moz-do-not-send="true" href="mailto:reznikov_aa@soskol.com" target="_blank">reznikov_aa@soskol.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">14.03.2017 11:40, Резников А.А. пишет:<span><br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> Hi list!<br> <br> During the upgrade ovirt from 3.5 to 3.6, I get errors:<br> "VDSM command failed: Can not acquire host id: (u'8905c9ac-d892-478d-8346-63b<wbr>8fa1c5763 ', SanlockException (22,' Sanlock lockspace add failure ',' Invalid argument '))",<br> "Failed to attach Storage Domain hosted_storage to Data Center Default. (User: SYSTEM)",<br> "Failed to import the Hosted Engine Storage Domain".<br> <br> Thus in my data storage nfs OVF_STORE disks do not appear.<br> <br> The following messages appear in vdsm.log:<br> <br> Thread-2806 :: DEBUG :: <a moz-do-not-send="true" href="tel:2017-03-14%2010" value="+12017031410" target="_blank">2017-03-14 10</a>: 40: 29,569 :: task :: 827 :: Storage.TaskManager.Task: :( resourceAcquired) Task = `cd294427-d6fa-454b-9289-6660a<wbr>d228c8f`: : _resourcesAcquired: Storage.8905c9ac-d8<br> 92-478d-8346-63b8fa1c5763 (shared)<br> Thread-2806 :: DEBUG :: <a moz-do-not-send="true" href="tel:2017-03-14%2010" value="+12017031410" target="_blank">2017-03-14 10</a>: 40: 29,569 :: task :: 993 :: Storage.TaskManager.Task :: (_ decref) Task = `cd294427-d6fa-454b-9289-6660a<wbr>d228c8f`: : Ref 1 aborting False<br> Thread-2806 :: ERROR :: <a moz-do-not-send="true" href="tel:2017-03-14%2010" value="+12017031410" target="_blank">2017-03-14 10</a>: 40: 29,569 :: task :: 866 :: Storage.TaskManager.Task :: (_ setError) Task = `cd294427-d6fa-454b-9289-6660a<wbr>d228c8f`: : Unexpected error<br> Traceback (most recent last call last):<br> File "/usr/share/vdsm/storage/task.<wbr>py", line 873, in _run<br> Return fn (* args, ** kargs)<br> File "/usr/share/vdsm/logUtils.py", line 49, in wrapper<br> Res = f (* args, ** kwargs)<br> File "/usr/share/vdsm/storage/hsm.p<wbr>y", line 3315, in getImagesList<br> Images = dom.getAllImages ()<br> File "/usr/share/vdsm/storage/fileS<wbr>D.py", line 373, in getAllImages<br> Self.getPools () [0],<br> IndexError: list index out of range<br> </blockquote> <br> </span><span> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> 3 ', Clearing records.<br> <br> <br> Does anyone have any idea how this can be fixed?<br> <br> Thanks, Alex.<br> <br> <br> ______________________________<wbr>_________________<br> Users mailing list<br> <a moz-do-not-send="true" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br> <a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br> <br> </blockquote> <br> </span> Any body help me? <div class="gmail-m_-6230801975017782559HOEnZb"> <div class="gmail-m_-6230801975017782559h5"><br> </div> </div> </blockquote> <div><br> </div> <div>It was an old bug but it should be fine now:</div> <div><a moz-do-not-send="true" href="https://bugzilla.redhat.com/show_bug.cgi?id=1276650">https://bugzilla.redhat.com/show_bug.cgi?id=1276650</a><br> </div> <div><br> </div> <div>Could you please report the version of ovirt-hosted-engine-ha and vdsm you are currently using?</div> <div> </div> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <div class="gmail-m_-6230801975017782559HOEnZb"> <div class="gmail-m_-6230801975017782559h5"> <br> Thanks, Alex.<br> <br> ______________________________<wbr>_________________<br> Users mailing list<br> <a moz-do-not-send="true" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br> <a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br> </div> </div> </blockquote> </div> <br> </div> </div> </blockquote> <br> <p>On all host: <br> ovirt-hosted-engine-ha-1.3.5.7-1.el7.centos.noarch<br> vdsm-4.17.32-1.el7.noarch<br> and CentOS Linux release 7.3.1611 (Core)</p> <p> Thanks, Alex.</p> <pre class="moz-signature" cols="72">-- С уважением, Резников Алексей инженер-программист ООО "ГорПТУс", группа компаний Осколтелеком web: fly.soskol.ru email: <a class="moz-txt-link-abbreviated" href="mailto:reznikov_aa@soskol.com">reznikov_aa@soskol.com</a> тел. +7(4725)40-16-77 </pre> </body> </html> --------------0DBE0DA754A9C7A61F86E3EE--

This is a multi-part message in MIME format. --------------EB88C35ACFED9199A284E601 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 15.03.2017 14:17, Резников А.А. пишет:
15.03.2017 10:35, Simone Tiraboschi пишет:
On Wed, Mar 15, 2017 at 6:24 AM, Резников А.А. <reznikov_aa@soskol.com <mailto:reznikov_aa@soskol.com>> wrote:
14.03.2017 11:40, Резников А.А. пишет:
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 <tel:2017-03-14%2010>: 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 <tel:2017-03-14%2010>: 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 <tel:2017-03-14%2010>: 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
3 ', Clearing records.
Does anyone have any idea how this can be fixed?
Thanks, Alex.
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
Any body help me?
It was an old bug but it should be fine now: https://bugzilla.redhat.com/show_bug.cgi?id=1276650
Could you please report the version of ovirt-hosted-engine-ha and vdsm you are currently using?
Thanks, Alex.
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
On all host: ovirt-hosted-engine-ha-1.3.5.7-1.el7.centos.noarch vdsm-4.17.32-1.el7.noarch and CentOS Linux release 7.3.1611 (Core)
Thanks, Alex.
how to fix this bug? Thanks, Alex. --------------EB88C35ACFED9199A284E601 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">15.03.2017 14:17, Резников А.А. пишет:<br> </div> <blockquote cite="mid:f6a1661b-0096-c369-509d-3d07b8a7d3ab@soskol.com" type="cite"> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <div class="moz-cite-prefix">15.03.2017 10:35, Simone Tiraboschi пишет:<br> </div> <blockquote cite="mid:CAN8-ONqKXoGz-4JFDhcZd+i25b5GweGOS-jhdGe02U21e9H2vA@mail.gmail.com" type="cite"> <div dir="ltr"><br> <div class="gmail_extra"><br> <div class="gmail_quote">On Wed, Mar 15, 2017 at 6:24 AM, Резников А.А. <span dir="ltr"><<a moz-do-not-send="true" href="mailto:reznikov_aa@soskol.com" target="_blank">reznikov_aa@soskol.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">14.03.2017 11:40, Резников А.А. пишет:<span><br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> Hi list!<br> <br> During the upgrade ovirt from 3.5 to 3.6, I get errors:<br> "VDSM command failed: Can not acquire host id: (u'8905c9ac-d892-478d-8346-63b<wbr>8fa1c5763 ', SanlockException (22,' Sanlock lockspace add failure ',' Invalid argument '))",<br> "Failed to attach Storage Domain hosted_storage to Data Center Default. (User: SYSTEM)",<br> "Failed to import the Hosted Engine Storage Domain".<br> <br> Thus in my data storage nfs OVF_STORE disks do not appear.<br> <br> The following messages appear in vdsm.log:<br> <br> Thread-2806 :: DEBUG :: <a moz-do-not-send="true" href="tel:2017-03-14%2010" value="+12017031410" target="_blank">2017-03-14 10</a>: 40: 29,569 :: task :: 827 :: Storage.TaskManager.Task: :( resourceAcquired) Task = `cd294427-d6fa-454b-9289-6660a<wbr>d228c8f`: : _resourcesAcquired: Storage.8905c9ac-d8<br> 92-478d-8346-63b8fa1c5763 (shared)<br> Thread-2806 :: DEBUG :: <a moz-do-not-send="true" href="tel:2017-03-14%2010" value="+12017031410" target="_blank">2017-03-14 10</a>: 40: 29,569 :: task :: 993 :: Storage.TaskManager.Task :: (_ decref) Task = `cd294427-d6fa-454b-9289-6660a<wbr>d228c8f`: : Ref 1 aborting False<br> Thread-2806 :: ERROR :: <a moz-do-not-send="true" href="tel:2017-03-14%2010" value="+12017031410" target="_blank">2017-03-14 10</a>: 40: 29,569 :: task :: 866 :: Storage.TaskManager.Task :: (_ setError) Task = `cd294427-d6fa-454b-9289-6660a<wbr>d228c8f`: : Unexpected error<br> Traceback (most recent last call last):<br> File "/usr/share/vdsm/storage/task.<wbr>py", line 873, in _run<br> Return fn (* args, ** kargs)<br> File "/usr/share/vdsm/logUtils.py", line 49, in wrapper<br> Res = f (* args, ** kwargs)<br> File "/usr/share/vdsm/storage/hsm.p<wbr>y", line 3315, in getImagesList<br> Images = dom.getAllImages ()<br> File "/usr/share/vdsm/storage/fileS<wbr>D.py", line 373, in getAllImages<br> Self.getPools () [0],<br> IndexError: list index out of range<br> </blockquote> <br> </span><span> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> 3 ', Clearing records.<br> <br> <br> Does anyone have any idea how this can be fixed?<br> <br> Thanks, Alex.<br> <br> <br> ______________________________<wbr>_________________<br> Users mailing list<br> <a moz-do-not-send="true" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br> <a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br> <br> </blockquote> <br> </span> Any body help me? <div class="gmail-m_-6230801975017782559HOEnZb"> <div class="gmail-m_-6230801975017782559h5"><br> </div> </div> </blockquote> <div><br> </div> <div>It was an old bug but it should be fine now:</div> <div><a moz-do-not-send="true" href="https://bugzilla.redhat.com/show_bug.cgi?id=1276650">https://bugzilla.redhat.com/show_bug.cgi?id=1276650</a><br> </div> <div><br> </div> <div>Could you please report the version of ovirt-hosted-engine-ha and vdsm you are currently using?</div> <div> </div> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <div class="gmail-m_-6230801975017782559HOEnZb"> <div class="gmail-m_-6230801975017782559h5"> <br> Thanks, Alex.<br> <br> ______________________________<wbr>_________________<br> Users mailing list<br> <a moz-do-not-send="true" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br> <a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br> </div> </div> </blockquote> </div> <br> </div> </div> </blockquote> <br> <p>On all host: <br> ovirt-hosted-engine-ha-1.3.5.7-1.el7.centos.noarch<br> vdsm-4.17.32-1.el7.noarch<br> and CentOS Linux release 7.3.1611 (Core)</p> <p> Thanks, Alex.</p> </blockquote> <br> how to fix this bug?<br> <br> Thanks, Alex.<br> </body> </html> --------------EB88C35ACFED9199A284E601--

On Thu, Mar 16, 2017 at 9:45 AM, Резников А.А. <reznikov_aa@soskol.com> wrote:
15.03.2017 14:17, Резников А.А. пишет:
15.03.2017 10:35, Simone Tiraboschi пишет:
On Wed, Mar 15, 2017 at 6:24 AM, Резников А.А. <reznikov_aa@soskol.com> wrote:
14.03.2017 11:40, Резников А.А. пишет:
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
3 ', Clearing records.
Does anyone have any idea how this can be fixed?
Thanks, Alex.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Any body help me?
It was an old bug but it should be fine now: https://bugzilla.redhat.com/show_bug.cgi?id=1276650
Could you please report the version of ovirt-hosted-engine-ha and vdsm you are currently using?
Thanks, Alex.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
On all host: ovirt-hosted-engine-ha-1.3.5.7-1.el7.centos.noarch vdsm-4.17.32-1.el7.noarch and CentOS Linux release 7.3.1611 (Core)
Thanks, Alex.
how to fix this bug?
Could you please execute this command on the engine VM sudo -u postgres psql engine -c "SELECT vds_spm_id_map.vds_spm_id, vds.vds_name FROM vds_spm_id_map, vds WHERE vds_spm_id_map.vds_id = vds.vds_id;" and ensure that, on all your hosted-engine host, the spm_id values you see there matches the value you get with grep host_id /etc/ovirt-hosted-engine/hosted-engine.conf
Thanks, Alex.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

This is a multi-part message in MIME format. --------------B946F2B5809DC350D65CF743 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 16.03.2017 12:05, Simone Tiraboschi пишет:
grep host_id /etc/ovirt-hosted-engine/hosted-engine.conf
vds_spm_id | vds_name ------------+------------------ 1 | h1new.lan 2 | h2new.lan [root@h1 /]# grep host_id /etc/ovirt-hosted-engine/hosted-engine.conf host_id=3 [root@h2 /]# grep host_id /etc/ovirt-hosted-engine/hosted-engine.conf host_id=4 /Funny, the host id does not match./ It seems I understand what wrong. In the past, I had two hosts of the cluster with id 1 and 2, after i delete them. Simon, what is the correct decision? Change vds_spm_id in the engine base or fix host_id in "/etc/ovirt-hosted-engine/hosted-engine.conf"? Thanks, Alex. --------------B946F2B5809DC350D65CF743 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">16.03.2017 12:05, Simone Tiraboschi пишет:<br> </div> <blockquote cite="mid:CAN8-ONrPsF4g=82sZbeH92dmN_sZHQ8FFJOSR6i0eGq9HLMa7w@mail.gmail.com" type="cite">grep host_id /etc/ovirt-hosted-engine/hosted-engine.conf</blockquote> <br> <p><br> </p> <p> vds_spm_id | vds_name <br> ------------+------------------<br> 1 | h1new.lan<br> 2 | h2new.lan<br> </p> <p>[root@h1 /]# grep host_id /etc/ovirt-hosted-engine/hosted-engine.conf<br> host_id=3<br> </p> <p>[root@h2 /]# grep host_id /etc/ovirt-hosted-engine/hosted-engine.conf<br> host_id=4<br> </p> <p><i>Funny, the host id does not match.</i><br> </p> <p>It seems I understand what wrong. In the past, I had two hosts of the cluster with id 1 and 2, after i delete them.<br> Simon, what is the correct decision? Change vds_spm_id in the engine base or fix host_id in "/etc/ovirt-hosted-engine/hosted-engine.conf"?<br> </p> <p>Thanks, Alex.<br> </p> </body> </html> --------------B946F2B5809DC350D65CF743--

On Thu, Mar 16, 2017 at 11:33 AM, Резников А.А. <reznikov_aa@soskol.com> wrote:
16.03.2017 12:05, Simone Tiraboschi пишет:
grep host_id /etc/ovirt-hosted-engine/hosted-engine.conf
vds_spm_id | vds_name ------------+------------------ 1 | h1new.lan 2 | h2new.lan
[root@h1 /]# grep host_id /etc/ovirt-hosted-engine/hosted-engine.conf host_id=3
[root@h2 /]# grep host_id /etc/ovirt-hosted-engine/hosted-engine.conf host_id=4
*Funny, the host id does not match.*
It seems I understand what wrong. In the past, I had two hosts of the cluster with id 1 and 2, after i delete them. Simon, what is the correct decision? Change vds_spm_id in the engine base or fix host_id in "/etc/ovirt-hosted-engine/hosted-engine.conf"?
It's really the same, probably it's easier to edit /etc/ovirt-hosted-engine/hosted-engine.conf on the two hosts since it's just a text file. Please take care that you have to stop all the monitoring domain task in vdsm and remove all the existing sanlock locks. Probably the easiest option is to set the host (you can do it one host at at time keeping running VMs include the engine one on the other) in maintenance mode from the engine, edit /etc/ovirt-hosted-engine/hosted-engine.conf to reflect the spm_id you have in the engine DB and then reboot the host to ensure that all the locks are gone. Since 4.0 we cannot hit this kind of issue anymore since the hosted-engine hosts (but the bootstrap one) should be deployed from the engine and this ensure that the spm_id is always in sync.
Thanks, Alex.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (2)
-
Simone Tiraboschi
-
Резников А.А.