<p dir="ltr">I was more interested in how the score process would be calculated, the vm-status option considered the VM in a bad state. </p>
<p dir="ltr">I left it for a few minutes and nothing seemed to have changed, I think it relates to hosted engine as virsh requires authentication. Should I still open a bz?</p>
<p dir="ltr">Cheers,<br>
Andrew.</p>
<div class="gmail_quote">On Jan 20, 2014 7:48 PM, "Dafna Ron" <<a href="mailto:dron@redhat.com">dron@redhat.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am not sure this is a hosted engine question as much as a qemu question.<br>
qemu-kvm will not support auto start of vm's after EIO because of remote possibility of corruption.<br>
<br>
On 01/20/2014 05:46 AM, Andrew Lau wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
Quick question, in the scenario eg. the NFS server becomes unreachable and the hosted-engine goes into a paused state. Will other hosts attempt to bring it back up? 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 <<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>><u></u>><br>
*To: *"users" <<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>
*Sent: *Saturday, January 18, 2014 3:20:22 PM<br>
*Subject: *Re: [Users] Issues starting hosted 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> <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 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 "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> <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 managed to step<br>
past the initial bug with the hosted-engine-setup but<br>
appear to have run into another show stopper.<br>
<br>
I ran through the install process successfully up to<br>
the stage where it completed and the engine VM was to<br>
be shutdown. (The engine has already been installed on<br>
the VM and the host has been connected to the engine).<br>
<br>
The issue starts here that the host finds itself not<br>
able to start the VM up again.<br>
<br>
VDSM Logs: <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.. when I<br>
restart the agent I can see the score drop to 0 after<br>
3 boot attempts. The interesting thing seems to be in<br>
the VDSM Logs "'Virtual machine does not 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>
<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><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><br>
</blockquote>
<br>
<br>
-- <br>
Dafna Ron<br>
</blockquote></div>