Installation issue

This is a multi-part message in MIME format. --------------020601050302020801060104 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi there I am trying to setup ovirt 3.5 as per J. Brooks' instructions for an hosted engine. I skipped the Gluster part as I use NFS. However, I fail with 'Sanlock lockspace add failure'. What does this mean ? What did I do wrong ? Thanks ! P [ INFO ] Stage: Setup validation --== CONFIGURATION PREVIEW ==-- Bridge interface : em1 Engine FQDN : manager.dummy.fr Bridge name : ovirtmgmt SSH daemon port : 22 Firewall manager : iptables Gateway address : 192.168.1.1 Host name for web application : hosted_engine_1 Host ID : 1 Image alias : hosted_engine Image size GB : 25 Storage connection : nfs.jakobi.fr:/var/nfs Console type : vnc Memory size MB : 4096 MAC address : 00:16:3e:58:1f:d1 Boot type : cdrom Number of CPUs : 2 ISO image (for cdrom boot) : /tmp/CentOS-6.6-x86_64-minimal.iso CPU Type : model_SandyBridge Please confirm installation settings (Yes, No)[Yes]: [ INFO ] Stage: Transaction setup [ INFO ] Stage: Misc configuration [ INFO ] Stage: Package installation [ INFO ] Stage: Misc configuration [ INFO ] Configuring libvirt [ INFO ] Configuring VDSM [ INFO ] Starting vdsmd [ INFO ] Waiting for VDSM hardware info [ INFO ] Configuring the management bridge [ INFO ] Creating Storage Domain [ INFO ] Creating Storage Pool *[ ERROR ] Failed to execute stage 'Misc configuration': Cannot acquire host id: ('1bf0dbdb-fc1d-4b7f-8198-e946bd47e2d8', SanlockException(-203, 'Sanlock lockspace add failure', 'Sanlock exception'))* [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20150206093147.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination -- Pascal Jakobi <mailto:pascal.jakobi@gmail.com> 116 rue de Stalingrad 93100 Montreuil, France Tel : +33 6 87 47 58 19 --------------020601050302020801060104 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> </head> <body text="#000000" bgcolor="#FFFFFF"> Hi there<br> I am trying to setup ovirt 3.5 as per J. Brooks' instructions for an hosted engine.<br> I skipped the Gluster part as I use NFS.<br> However, I fail with 'Sanlock lockspace add failure'.<br> What does this mean ? What did I do wrong ?<br> <br> Thanks !<br> P<br> <br> [ INFO ] Stage: Setup validation<br> <br> --== CONFIGURATION PREVIEW ==--<br> <br> Bridge interface : em1<br> Engine FQDN : manager.dummy.fr<br> Bridge name : ovirtmgmt<br> SSH daemon port : 22<br> Firewall manager : iptables<br> Gateway address : 192.168.1.1<br> Host name for web application : hosted_engine_1<br> Host ID : 1<br> Image alias : hosted_engine<br> Image size GB : 25<br> Storage connection : nfs.jakobi.fr:/var/nfs<br> Console type : vnc<br> Memory size MB : 4096<br> MAC address : 00:16:3e:58:1f:d1<br> Boot type : cdrom<br> Number of CPUs : 2<br> ISO image (for cdrom boot) : /tmp/CentOS-6.6-x86_64-minimal.iso<br> CPU Type : model_SandyBridge<br> <br> Please confirm installation settings (Yes, No)[Yes]: <br> [ INFO ] Stage: Transaction setup<br> [ INFO ] Stage: Misc configuration<br> [ INFO ] Stage: Package installation<br> [ INFO ] Stage: Misc configuration<br> [ INFO ] Configuring libvirt<br> [ INFO ] Configuring VDSM<br> [ INFO ] Starting vdsmd<br> [ INFO ] Waiting for VDSM hardware info<br> [ INFO ] Configuring the management bridge<br> [ INFO ] Creating Storage Domain<br> [ INFO ] Creating Storage Pool<br> <b>[ ERROR ] Failed to execute stage 'Misc configuration': Cannot acquire host id: ('1bf0dbdb-fc1d-4b7f-8198-e946bd47e2d8', SanlockException(-203, 'Sanlock lockspace add failure', 'Sanlock exception'))</b><br> [ INFO ] Stage: Clean up<br> [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20150206093147.conf'<br> [ INFO ] Stage: Pre-termination<br> [ INFO ] Stage: Termination<br> <br> <div class="moz-signature">-- <br> <a href="mailto:pascal.jakobi@gmail.com">Pascal Jakobi</a> <br> 116 rue de Stalingrad <br> 93100 Montreuil, France <br> Tel : +33 6 87 47 58 19</div> </body> </html> --------------020601050302020801060104--

----- Original Message -----
From: "Pascal Jakobi" <pascal.jakobi@gmail.com> To: users@ovirt.org Sent: Friday, February 6, 2015 9:39:13 AM Subject: [ovirt-users] Installation issue
Hi there I am trying to setup ovirt 3.5 as per J. Brooks' instructions for an hosted engine. I skipped the Gluster part as I use NFS. However, I fail with 'Sanlock lockspace add failure'. What does this mean ? What did I do wrong ?
Hi Pascal, can you please check SELinux audit logs with ausearch -m avc in the past we had some issue with selinux which result in similar behaviors.
Thanks ! P
[ INFO ] Stage: Setup validation
--== CONFIGURATION PREVIEW ==--
Bridge interface : em1 Engine FQDN : manager.dummy.fr Bridge name : ovirtmgmt SSH daemon port : 22 Firewall manager : iptables Gateway address : 192.168.1.1 Host name for web application : hosted_engine_1 Host ID : 1 Image alias : hosted_engine Image size GB : 25 Storage connection : nfs.jakobi.fr:/var/nfs Console type : vnc Memory size MB : 4096 MAC address : 00:16:3e:58:1f:d1 Boot type : cdrom Number of CPUs : 2 ISO image (for cdrom boot) : /tmp/CentOS-6.6-x86_64-minimal.iso CPU Type : model_SandyBridge
Please confirm installation settings (Yes, No)[Yes]: [ INFO ] Stage: Transaction setup [ INFO ] Stage: Misc configuration [ INFO ] Stage: Package installation [ INFO ] Stage: Misc configuration [ INFO ] Configuring libvirt [ INFO ] Configuring VDSM [ INFO ] Starting vdsmd [ INFO ] Waiting for VDSM hardware info [ INFO ] Configuring the management bridge [ INFO ] Creating Storage Domain [ INFO ] Creating Storage Pool [ ERROR ] Failed to execute stage 'Misc configuration': Cannot acquire host id: ('1bf0dbdb-fc1d-4b7f-8198-e946bd47e2d8', SanlockException(-203, 'Sanlock lockspace add failure', 'Sanlock exception')) [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20150206093147.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination
-- Pascal Jakobi 116 rue de Stalingrad 93100 Montreuil, France Tel : +33 6 87 47 58 19
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

This is a multi-part message in MIME format. --------------060000070408020904030605 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sorry for the delay : [root@lab1 ~]# ausearch -m avc <no matches> [root@lab1 ~]# However, SELinux is enforced. Will check what happens when disabled. On 02/06/2015 10:25 AM, Simone Tiraboschi wrote:
----- Original Message -----
From: "Pascal Jakobi" <pascal.jakobi@gmail.com> To: users@ovirt.org Sent: Friday, February 6, 2015 9:39:13 AM Subject: [ovirt-users] Installation issue
Hi there I am trying to setup ovirt 3.5 as per J. Brooks' instructions for an hosted engine. I skipped the Gluster part as I use NFS. However, I fail with 'Sanlock lockspace add failure'. What does this mean ? What did I do wrong ? Hi Pascal, can you please check SELinux audit logs with ausearch -m avc in the past we had some issue with selinux which result in similar behaviors.
Thanks ! P
[ INFO ] Stage: Setup validation
--== CONFIGURATION PREVIEW ==--
Bridge interface : em1 Engine FQDN : manager.dummy.fr Bridge name : ovirtmgmt SSH daemon port : 22 Firewall manager : iptables Gateway address : 192.168.1.1 Host name for web application : hosted_engine_1 Host ID : 1 Image alias : hosted_engine Image size GB : 25 Storage connection : nfs.jakobi.fr:/var/nfs Console type : vnc Memory size MB : 4096 MAC address : 00:16:3e:58:1f:d1 Boot type : cdrom Number of CPUs : 2 ISO image (for cdrom boot) : /tmp/CentOS-6.6-x86_64-minimal.iso CPU Type : model_SandyBridge
Please confirm installation settings (Yes, No)[Yes]: [ INFO ] Stage: Transaction setup [ INFO ] Stage: Misc configuration [ INFO ] Stage: Package installation [ INFO ] Stage: Misc configuration [ INFO ] Configuring libvirt [ INFO ] Configuring VDSM [ INFO ] Starting vdsmd [ INFO ] Waiting for VDSM hardware info [ INFO ] Configuring the management bridge [ INFO ] Creating Storage Domain [ INFO ] Creating Storage Pool [ ERROR ] Failed to execute stage 'Misc configuration': Cannot acquire host id: ('1bf0dbdb-fc1d-4b7f-8198-e946bd47e2d8', SanlockException(-203, 'Sanlock lockspace add failure', 'Sanlock exception')) [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20150206093147.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination
-- Pascal Jakobi 116 rue de Stalingrad 93100 Montreuil, France Tel : +33 6 87 47 58 19
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Pascal Jakobi <mailto:pascal.jakobi@gmail.com> 116 rue de Stalingrad 93100 Montreuil, France Tel : +33 6 87 47 58 19 --------------060000070408020904030605 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 text="#000000" bgcolor="#FFFFFF"> Sorry for the delay :<br> <big><tt>[root@lab1 ~]# ausearch -m avc</tt><tt><br> </tt><tt><no matches></tt><tt><br> </tt><tt>[root@lab1 ~]# </tt></big><br> <br> However, SELinux is enforced. <br> Will check what happens when disabled.<br> <br> <div class="moz-cite-prefix">On 02/06/2015 10:25 AM, Simone Tiraboschi wrote:<br> </div> <blockquote cite="mid:1056234482.8336450.1423214708506.JavaMail.zimbra@redhat.com" type="cite"> <pre wrap=""> ----- Original Message ----- </pre> <blockquote type="cite"> <pre wrap="">From: "Pascal Jakobi" <a class="moz-txt-link-rfc2396E" href="mailto:pascal.jakobi@gmail.com"><pascal.jakobi@gmail.com></a> To: <a class="moz-txt-link-abbreviated" href="mailto:users@ovirt.org">users@ovirt.org</a> Sent: Friday, February 6, 2015 9:39:13 AM Subject: [ovirt-users] Installation issue Hi there I am trying to setup ovirt 3.5 as per J. Brooks' instructions for an hosted engine. I skipped the Gluster part as I use NFS. However, I fail with 'Sanlock lockspace add failure'. What does this mean ? What did I do wrong ? </pre> </blockquote> <pre wrap=""> Hi Pascal, can you please check SELinux audit logs with ausearch -m avc in the past we had some issue with selinux which result in similar behaviors. </pre> <blockquote type="cite"> <pre wrap="">Thanks ! P [ INFO ] Stage: Setup validation --== CONFIGURATION PREVIEW ==-- Bridge interface : em1 Engine FQDN : manager.dummy.fr Bridge name : ovirtmgmt SSH daemon port : 22 Firewall manager : iptables Gateway address : 192.168.1.1 Host name for web application : hosted_engine_1 Host ID : 1 Image alias : hosted_engine Image size GB : 25 Storage connection : nfs.jakobi.fr:/var/nfs Console type : vnc Memory size MB : 4096 MAC address : 00:16:3e:58:1f:d1 Boot type : cdrom Number of CPUs : 2 ISO image (for cdrom boot) : /tmp/CentOS-6.6-x86_64-minimal.iso CPU Type : model_SandyBridge Please confirm installation settings (Yes, No)[Yes]: [ INFO ] Stage: Transaction setup [ INFO ] Stage: Misc configuration [ INFO ] Stage: Package installation [ INFO ] Stage: Misc configuration [ INFO ] Configuring libvirt [ INFO ] Configuring VDSM [ INFO ] Starting vdsmd [ INFO ] Waiting for VDSM hardware info [ INFO ] Configuring the management bridge [ INFO ] Creating Storage Domain [ INFO ] Creating Storage Pool [ ERROR ] Failed to execute stage 'Misc configuration': Cannot acquire host id: ('1bf0dbdb-fc1d-4b7f-8198-e946bd47e2d8', SanlockException(-203, 'Sanlock lockspace add failure', 'Sanlock exception')) [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20150206093147.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination -- Pascal Jakobi 116 rue de Stalingrad 93100 Montreuil, France Tel : +33 6 87 47 58 19 _______________________________________________ Users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> </blockquote> <br> <div class="moz-signature">-- <br> <a href="mailto:pascal.jakobi@gmail.com">Pascal Jakobi</a> <br> 116 rue de Stalingrad <br> 93100 Montreuil, France <br> Tel : +33 6 87 47 58 19</div> </body> </html> --------------060000070408020904030605--
participants (2)
-
Pascal Jakobi
-
Simone Tiraboschi