<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">It was paused due to the connection loss to the NFS server, I would assume once the connection is restored it could attempt to restore it? But I can try dig up the vdsm logs if you want, they would only be a few hours old</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I think having an option like --vm-resume would at least hide the reason of having to dig into virsh and messing with authentication at the very least. </div>
<div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 20, 2014 at 9:23 PM, Dafna Ron <span dir="ltr"><<a href="mailto:dron@redhat.com" target="_blank">dron@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
the question is what was the vm paused on... this can be found in the qemu vm log.<br>
if the vm is paused it will not be auto started - so I am not sure what you expect to change? virsh requires authentication regardless to hosted engine :)<br>
Leonid, did you do any testing there?<div class="im"><br>
<br>
On 01/20/2014 10:13 AM, Andrew Lau wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
I have opened this BZ 1055461 anyway just in case<br>
<br>
<br></div><div class="im">
On Mon, Jan 20, 2014 at 8:33 PM, Andrew Lau <<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a> <mailto:<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a>><u></u>> wrote:<br>
<br>
I was more interested in how the score process would be<br>
calculated, the vm-status option considered the VM in a bad state.<br>
<br>
I left it for a few minutes and nothing seemed to have changed, I<br>
think it relates to hosted engine as virsh requires<br>
authentication. Should I still open a bz?<br>
<br>
Cheers,<br>
Andrew.<br>
<br>
On Jan 20, 2014 7:48 PM, "Dafna Ron" <<a href="mailto:dron@redhat.com" target="_blank">dron@redhat.com</a><br></div><div class="im">
<mailto:<a href="mailto:dron@redhat.com" target="_blank">dron@redhat.com</a>>> wrote:<br>
<br>
I am not sure this is a hosted engine question as much as a<br>
qemu question.<br>
qemu-kvm will not support auto start of vm's after EIO because<br>
of remote possibility of corruption.<br>
<br>
On 01/20/2014 05:46 AM, Andrew Lau wrote:<br>
<br>
Hi,<br>
<br>
Quick question, in the scenario eg. the NFS server becomes<br>
unreachable and the hosted-engine goes into a paused<br>
state. Will other hosts attempt to bring it back up?<br>
Should there be a command eg. hosted-engine --vm-resume ?<br>
<br>
When this happened, I manually forced it to resume using virsh<br>
<br>
<br>
On Sun, Jan 19, 2014 at 7:21 PM, Yedidyah Bar David<br>
<<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a> <mailto:<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>><br></div><div class="im">
<mailto:<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a> <mailto:<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>>>> wrote:<br>
<br>
Thanks a lot for your efforts and the report!<br>
-- Didi<br>
<br>
------------------------------<u></u>------------------------------<u></u>------------<br>
<br>
*From: *"Andrew Lau" <<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a><br>
<mailto:<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a>><br></div>
<mailto:<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a><div class="im"><br>
<mailto:<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a>><u></u>>><br>
*To: *"users" <<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a><br></div>
<mailto:<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>> <mailto:<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a><div class="im"><br>
<mailto:<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>>>><br>
*Sent: *Saturday, January 18, 2014 3:20:22 PM<br>
*Subject: *Re: [Users] Issues starting hosted<br>
engine VM<br>
<br>
<br>
I believe I found the issue and have reported it here<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1055059" target="_blank">https://bugzilla.redhat.com/<u></u>show_bug.cgi?id=1055059</a><br>
<br>
On Sat, Jan 18, 2014 at 11:33 PM, Andrew Lau<br>
<<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a><br>
<mailto:<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a>><br></div>
<mailto:<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a><div class="im"><br>
<mailto:<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a>><u></u>>> wrote:<br>
<br>
The interesting thing - trying it with the<br>
paused option<br>
vdsm seems to create the VM<br>
<br>
hosted-engine --vm-start-paused<br>
<br>
vdsm.log <a href="http://www.fpaste.org/69604/13900482/" target="_blank">http://www.fpaste.org/69604/<u></u>13900482/</a><br>
<br>
But I'm not sure how to then proceed to<br>
"resume" it.<br>
<br>
On Sat, Jan 18, 2014 at 10:23 PM, Andrew Lau<br>
<<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a><br>
<mailto:<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a>><br></div>
<mailto:<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a><div><div class="h5"><br>
<mailto:<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a>><u></u>>> wrote:<br>
<br>
Hi,<br>
<br>
With the great help from sbonazzo, I<br>
managed to step<br>
past the initial bug with the<br>
hosted-engine-setup but<br>
appear to have run into another show stopper.<br>
<br>
I ran through the install process<br>
successfully up to<br>
the stage where it completed and the<br>
engine VM was to<br>
be shutdown. (The engine has already been<br>
installed on<br>
the VM and the host has been connected to<br>
the engine).<br>
<br>
The issue starts here that the host finds<br>
itself not<br>
able to start the VM up again.<br>
<br>
VDSM Logs:<br>
<a href="http://www.fpaste.org/69592/00427141/" target="_blank">http://www.fpaste.org/69592/<u></u>00427141/</a><br>
ovirt-hosted-engine-ha agent.log<br>
<a href="http://www.fpaste.org/69595/43609139/" target="_blank">http://www.fpaste.org/69595/<u></u>43609139/</a><br>
<br>
It seems to keep failing to start the VM..<br>
when I<br>
restart the agent I can see the score drop<br>
to 0 after<br>
3 boot attempts. The interesting thing<br>
seems to be in<br>
the VDSM Logs "'Virtual machine does not<br>
exist',<br>
'code': 1}}"<br>
<br>
I'm not sure where else to look. Suggestions?<br>
<br>
Cheers,<br>
<br>
Andrew<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>><br></div></div>
<mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>>><div class="im"><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><br>
<br>
<br>
<br>
<br>
-- Didi<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><br>
<br>
<br>
<br></div>
-- Dafna Ron<br>
<br>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
-- <br>
Dafna Ron<br>
</font></span></blockquote></div><br></div></div>