
Hi All, I have tried to get a hosted-engine-3.6RC for quite some time now and everytime I run into the same problem: sanlock error 22. (as do more people on this list) This time I decided to cleanup my laptop, remove everything related to hosted-engine (vdsm/sanlock/ovirt/libvirt/qemu) including items in /etc and /var and /lib, even reversed my nic settings. Attached are the logs from boot, both host and engine, until I gave up because I got the same sanlock error. Only thing I forgot is the exact versions of hosted-engine on my host and ovirt-engine in the engine host. My host is F22 fully upgraded, engine is Centos7, no firewalld/iptables and SELinunx is permissive on the host, Enforcing on the engine. Versions are of 1-11-2015 from resources.ovirt.org. I've edited /etc/yum.repos/ovirt-3.6.repo to NOT use the mirrors on both my host and the engine. Setup is that the host exports a couple of NFS (v3) shares for the hosted-engine and for the data/iso/export-domains later on. Anything else I can provide let me know please. Regards, Joop

On Mon, Nov 2, 2015 at 10:57 AM, noc <noc@nieuwland.nl> wrote:
Hi All,
I have tried to get a hosted-engine-3.6RC for quite some time now and everytime I run into the same problem: sanlock error 22. (as do more people on this list)
Sorry, but where you got it from? I was looking at hosted-engine-setup logs and everything seams fine there: 2015-11-01 14:39:44 DEBUG otopi.context context._executeMethod:142 Stage closeup METHOD otopi.plugins.ovirt_hosted_engine_setup.core.misc.Plugin._closeup 2015-11-01 14:39:44 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:219 DIALOG:SEND Hosted Engine successfully set up
This time I decided to cleanup my laptop, remove everything related to hosted-engine (vdsm/sanlock/ovirt/libvirt/qemu) including items in /etc and /var and /lib, even reversed my nic settings.
Attached are the logs from boot, both host and engine, until I gave up because I got the same sanlock error. Only thing I forgot is the exact versions of hosted-engine on my host and ovirt-engine in the engine host. My host is F22 fully upgraded, engine is Centos7, no firewalld/iptables and SELinunx is permissive on the host, Enforcing on the engine. Versions are of 1-11-2015 from resources.ovirt.org. I've edited /etc/yum.repos/ovirt-3.6.repo to NOT use the mirrors on both my host and the engine.
Setup is that the host exports a couple of NFS (v3) shares for the hosted-engine and for the data/iso/export-domains later on.
Anything else I can provide let me know please.
Regards,
Joop
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

This is a multi-part message in MIME format. --------------060800040105000303010802 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit On 2-11-2015 11:17, Simone Tiraboschi wrote:
On Mon, Nov 2, 2015 at 10:57 AM, noc <noc@nieuwland.nl <mailto:noc@nieuwland.nl>> wrote:
Hi All,
I have tried to get a hosted-engine-3.6RC for quite some time now and everytime I run into the same problem: sanlock error 22. (as do more people on this list)
Sorry, but where you got it from?
You probably mean the sanlock error. After installing hosted-engine, which is not a problem, I got to the webui and import the hosted-engine Storage, that is OK too, then I try to activate it and thats where I get the sanlock error. Joop --------------060800040105000303010802 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=windows-1252" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">On 2-11-2015 11:17, Simone Tiraboschi wrote:<br> </div> <blockquote cite="mid:CAN8-ONq-hSXLLDHkmDq=fBn0M6a4vU4C6y4_Sqzr_bLRQXrFwQ@mail.gmail.com" type="cite"> <div dir="ltr"><br> <div class="gmail_extra"><br> <div class="gmail_quote">On Mon, Nov 2, 2015 at 10:57 AM, noc <span dir="ltr"><<a moz-do-not-send="true" href="mailto:noc@nieuwland.nl" target="_blank">noc@nieuwland.nl</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi All,<br> <br> I have tried to get a hosted-engine-3.6RC for quite some time now and<br> everytime I run into the same problem: sanlock error 22.<br> (as do more people on this list)<br> </blockquote> <div><br> </div> <div><br> </div> <div>Sorry, but where you got it from?</div> </div> </div> </div> </blockquote> You probably mean the sanlock error.<br> After installing hosted-engine, which is not a problem, I got to the webui and import the hosted-engine Storage, that is OK too, then I try to activate it and thats where I get the sanlock error.<br> <br> Joop<br> <br> </body> </html> --------------060800040105000303010802--

On Mon, Nov 2, 2015 at 10:57 AM, noc <noc@nieuwland.nl> wrote:
Anything else I can provide let me know please.
Regards,
Joop
Hi Joop, are you able to access the engine console after deploy, using the command hosted-engine --add-console-password=<password> ? Have you configured engine VM with spice or vnc? BTW: is there a way from command line to change console for the sh engine after deploy? Gianluca

This is a multi-part message in MIME format. --------------070700030200060102010104 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit On 2-11-2015 11:18, Gianluca Cecchi wrote:
On Mon, Nov 2, 2015 at 10:57 AM, noc <noc@nieuwland.nl <mailto:noc@nieuwland.nl>> wrote:
Anything else I can provide let me know please.
Regards,
Joop
Hi Joop, are you able to access the engine console after deploy, using the command I have done that in the past but that was 3.5.x. I generally don't need vnc access to the engine since ssh works fine. Whats your use case?
hosted-engine --add-console-password=<password>
? Have you configured engine VM with spice or vnc?
VNC
BTW: is there a way from command line to change console for the sh engine after deploy?
Probably is but the vm.conf has been moved to the storage domain but don't know where, Simone?? Joop --------------070700030200060102010104 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=windows-1252" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">On 2-11-2015 11:18, Gianluca Cecchi wrote:<br> </div> <blockquote cite="mid:CAG2kNCy2SWGTdvUqu+jnu_yBnkB6eT+GVTW+qJ0HBf2xQC2BgQ@mail.gmail.com" type="cite"> <div dir="ltr"> <div class="gmail_extra"> <div class="gmail_quote">On Mon, Nov 2, 2015 at 10:57 AM, noc <span dir="ltr"><<a moz-do-not-send="true" href="mailto:noc@nieuwland.nl" target="_blank">noc@nieuwland.nl</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br> Anything else I can provide let me know please.<br> <br> Regards,<br> <br> Joop<br> <br> </blockquote> </div> <br> </div> <div class="gmail_extra">Hi Joop,</div> <div class="gmail_extra">are you able to access the engine console after deploy, using the command</div> </div> </blockquote> I have done that in the past but that was 3.5.x.<br> I generally don't need vnc access to the engine since ssh works fine.<br> Whats your use case?<br> <br> <blockquote cite="mid:CAG2kNCy2SWGTdvUqu+jnu_yBnkB6eT+GVTW+qJ0HBf2xQC2BgQ@mail.gmail.com" type="cite"> <div dir="ltr"> <div class="gmail_extra"><br> </div> <div class="gmail_extra">hosted-engine --add-console-password=<password><br> </div> <div class="gmail_extra"><br> </div> <div class="gmail_extra">? </div> <div class="gmail_extra">Have you configured engine VM with spice or vnc?</div> <div class="gmail_extra"><br> </div> </div> </blockquote> VNC<br> <br> <blockquote cite="mid:CAG2kNCy2SWGTdvUqu+jnu_yBnkB6eT+GVTW+qJ0HBf2xQC2BgQ@mail.gmail.com" type="cite"> <div dir="ltr"> <div class="gmail_extra">BTW: is there a way from command line to change console for the sh engine after deploy?</div> <br> </div> </blockquote> Probably is but the vm.conf has been moved to the storage domain but don't know where, Simone??<br> <br> Joop<br> <br> </body> </html> --------------070700030200060102010104--

On Mon, Nov 2, 2015 at 11:41 AM, Joop <jvdwege@xs4all.nl> wrote:
On 2-11-2015 11:18, Gianluca Cecchi wrote:
On Mon, Nov 2, 2015 at 10:57 AM, noc <noc@nieuwland.nl> wrote:
Anything else I can provide let me know please.
Regards,
Joop
Hi Joop, are you able to access the engine console after deploy, using the command
I have done that in the past but that was 3.5.x. I generally don't need vnc access to the engine since ssh works fine. Whats your use case?
In case I have to manage situations where I'm not able to access the engine via ssh for any reason but the VM is up, so I need to understand what it is happening with it....

On Mon, Nov 2, 2015 at 11:59 AM, Gianluca Cecchi <gianluca.cecchi@gmail.com> wrote:
On Mon, Nov 2, 2015 at 11:41 AM, Joop <jvdwege@xs4all.nl> wrote:
On 2-11-2015 11:18, Gianluca Cecchi wrote:
On Mon, Nov 2, 2015 at 10:57 AM, noc <noc@nieuwland.nl> wrote:
Anything else I can provide let me know please.
Regards,
Joop
Hi Joop, are you able to access the engine console after deploy, using the command
I have done that in the past but that was 3.5.x. I generally don't need vnc access to the engine since ssh works fine. Whats your use case?
In case I have to manage situations where I'm not able to access the engine via ssh for any reason but the VM is up, so I need to understand what it is happening with it....
I'll try to reproduce to see what is wrong with that.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Mon, Nov 2, 2015 at 11:41 AM, Joop <jvdwege@xs4all.nl> wrote:
On 2-11-2015 11:18, Gianluca Cecchi wrote:
On Mon, Nov 2, 2015 at 10:57 AM, noc <noc@nieuwland.nl> wrote:
Anything else I can provide let me know please.
Regards,
Joop
Hi Joop, are you able to access the engine console after deploy, using the command
I have done that in the past but that was 3.5.x. I generally don't need vnc access to the engine since ssh works fine. Whats your use case?
hosted-engine --add-console-password=<password>
? Have you configured engine VM with spice or vnc?
VNC
BTW: is there a way from command line to change console for the sh engine after deploy?
Probably is but the vm.conf has been moved to the storage domain but don't know where, Simone??
Yes, when we solved the auto-import of the hosted-engine storage domain issue (including the sanlock issue) you will able to edit the engine VM from the engine itself as for regular VMs.
Joop
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

This is a multi-part message in MIME format. --------------030107010701000806090105 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On 2-11-2015 13:23, Simone Tiraboschi wrote:
On Mon, Nov 2, 2015 at 11:41 AM, Joop <jvdwege@xs4all.nl <mailto:jvdwege@xs4all.nl>> wrote:
On 2-11-2015 11:18, Gianluca Cecchi wrote:
On Mon, Nov 2, 2015 at 10:57 AM, noc <noc@nieuwland.nl <mailto:noc@nieuwland.nl>> wrote:
Anything else I can provide let me know please.
Regards,
Joop
Hi Joop, are you able to access the engine console after deploy, using the command
I have done that in the past but that was 3.5.x. I generally don't need vnc access to the engine since ssh works fine. Whats your use case?
hosted-engine --add-console-password=<password>
? Have you configured engine VM with spice or vnc?
VNC
BTW: is there a way from command line to change console for the sh engine after deploy?
Probably is but the vm.conf has been moved to the storage domain but don't know where, Simone??
Yes, when we solved the auto-import of the hosted-engine storage domain issue (including the sanlock issue) you will able to edit the engine VM from the engine itself as for regular VMs.
Got a BZ id that tracks this? Joop --------------030107010701000806090105 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">On 2-11-2015 13:23, Simone Tiraboschi wrote:<br> </div> <blockquote cite="mid:CAN8-ONp62NA5RD3CwznPu6NP9YVQf=6eMonFRezhHLqKZcqmng@mail.gmail.com" type="cite"> <div dir="ltr"><br> <div class="gmail_extra"><br> <div class="gmail_quote">On Mon, Nov 2, 2015 at 11:41 AM, Joop <span dir="ltr"><<a moz-do-not-send="true" href="mailto:jvdwege@xs4all.nl" target="_blank">jvdwege@xs4all.nl</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div bgcolor="#FFFFFF" text="#000000"><span class=""> <div>On 2-11-2015 11:18, Gianluca Cecchi wrote:<br> </div> <blockquote type="cite"> <div dir="ltr"> <div class="gmail_extra"> <div class="gmail_quote">On Mon, Nov 2, 2015 at 10:57 AM, noc <span dir="ltr"><<a moz-do-not-send="true" href="mailto:noc@nieuwland.nl" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:noc@nieuwland.nl">noc@nieuwland.nl</a></a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br> Anything else I can provide let me know please.<br> <br> Regards,<br> <br> Joop<br> <br> </blockquote> </div> <br> </div> <div class="gmail_extra">Hi Joop,</div> <div class="gmail_extra">are you able to access the engine console after deploy, using the command</div> </div> </blockquote> </span> I have done that in the past but that was 3.5.x.<br> I generally don't need vnc access to the engine since ssh works fine.<br> Whats your use case?<span class=""><br> <br> <blockquote type="cite"> <div dir="ltr"> <div class="gmail_extra"><br> </div> <div class="gmail_extra">hosted-engine --add-console-password=<password><br> </div> <div class="gmail_extra"><br> </div> <div class="gmail_extra">? </div> <div class="gmail_extra">Have you configured engine VM with spice or vnc?</div> <div class="gmail_extra"><br> </div> </div> </blockquote> </span> VNC<span class=""><br> <br> <blockquote type="cite"> <div dir="ltr"> <div class="gmail_extra">BTW: is there a way from command line to change console for the sh engine after deploy?</div> <br> </div> </blockquote> </span> Probably is but the vm.conf has been moved to the storage domain but don't know where, Simone??</div> </blockquote> <div><br> </div> <div>Yes, when we solved the auto-import of the hosted-engine storage domain issue (including the sanlock issue) you will able to edit the engine VM from the engine itself as for regular VMs.</div> <div> <br> </div> <br> </div> </div> </div> </blockquote> Got a BZ id that tracks this?<br> <br> Joop<br> <br> </body> </html> --------------030107010701000806090105--

On Mon, Nov 2, 2015 at 1:49 PM, Joop <jvdwege@xs4all.nl> wrote:
On 2-11-2015 13:23, Simone Tiraboschi wrote:
On Mon, Nov 2, 2015 at 11:41 AM, Joop <jvdwege@xs4all.nl> wrote:
On 2-11-2015 11:18, Gianluca Cecchi wrote:
On Mon, Nov 2, 2015 at 10:57 AM, noc < <noc@nieuwland.nl>noc@nieuwland.nl
wrote:
Anything else I can provide let me know please.
Regards,
Joop
Hi Joop, are you able to access the engine console after deploy, using the command
I have done that in the past but that was 3.5.x. I generally don't need vnc access to the engine since ssh works fine. Whats your use case?
hosted-engine --add-console-password=<password>
? Have you configured engine VM with spice or vnc?
VNC
BTW: is there a way from command line to change console for the sh engine after deploy?
Probably is but the vm.conf has been moved to the storage domain but don't know where, Simone??
Yes, when we solved the auto-import of the hosted-engine storage domain issue (including the sanlock issue) you will able to edit the engine VM from the engine itself as for regular VMs.
Got a BZ id that tracks this?
https://bugzilla.redhat.com/show_bug.cgi?id=1269768
Joop
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

This is a multi-part message in MIME format. --------------050505060903000201060205 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit On 2-11-2015 11:18, Gianluca Cecchi wrote:
On Mon, Nov 2, 2015 at 10:57 AM, noc <noc@nieuwland.nl <mailto:noc@nieuwland.nl>> wrote:
Anything else I can provide let me know please.
Regards,
Joop
Hi Joop, are you able to access the engine console after deploy, using the command
hosted-engine --add-console-password=<password>
The correct command is: hosted-engine --add-console-password or hosted-engine --add-console-password --password=testing Then run 'vnc-viewer localhost' and enter the password. I get a console in both cases. Joop --------------050505060903000201060205 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=windows-1252" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">On 2-11-2015 11:18, Gianluca Cecchi wrote:<br> </div> <blockquote cite="mid:CAG2kNCy2SWGTdvUqu+jnu_yBnkB6eT+GVTW+qJ0HBf2xQC2BgQ@mail.gmail.com" type="cite"> <div dir="ltr"> <div class="gmail_extra"> <div class="gmail_quote">On Mon, Nov 2, 2015 at 10:57 AM, noc <span dir="ltr"><<a moz-do-not-send="true" href="mailto:noc@nieuwland.nl" target="_blank">noc@nieuwland.nl</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br> Anything else I can provide let me know please.<br> <br> Regards,<br> <br> Joop<br> <br> </blockquote> </div> <br> </div> <div class="gmail_extra">Hi Joop,</div> <div class="gmail_extra">are you able to access the engine console after deploy, using the command</div> <div class="gmail_extra"><br> </div> <div class="gmail_extra">hosted-engine --add-console-password=<password><br> </div> <div class="gmail_extra"><br> </div> </div> </blockquote> The correct command is: hosted-engine --add-console-password<br> or<br> hosted-engine --add-console-password --password=testing<br> Then run 'vnc-viewer localhost' and enter the password. I get a console in both cases.<br> <br> Joop<br> <br> </body> </html> --------------050505060903000201060205--
participants (4)
-
Gianluca Cecchi
-
Joop
-
noc
-
Simone Tiraboschi