<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi,</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">
That bug seems to be private :(</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I'm interested also to hear about this feature, as with 3.3.2 I had my gluster vms go into paused state quite a few times and they actually couldn't be resumed at all, they needed to be forced off and back on.</div>
<div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 20, 2014 at 10:13 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">
interesting... :) so this is now configurable...<br>
what happens if qemu fails to start the vm (this happens sometimes - mostly on file type storage). do we have a re-try or a specific error telling the use that the activation failed and manual intervention is required?<div class="HOEnZb">
<div class="h5"><br>
<br>
<br>
On 01/20/2014 11:02 AM, Leonid Natapov wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
All vms. Check this PRD: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=723055" target="_blank">https://bugzilla.redhat.com/<u></u>show_bug.cgi?id=723055</a><br>
<br>
<br>
----- Original Message -----<br>
From: "Dafna Ron" <<a href="mailto:dron@redhat.com" target="_blank">dron@redhat.com</a>><br>
To: "Leonid Natapov" <<a href="mailto:lnatapov@redhat.com" target="_blank">lnatapov@redhat.com</a>><br>
Cc: "Andrew Lau" <<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a>>, "Yedidyah Bar David" <<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>>, "users" <<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>><br>
Sent: Monday, January 20, 2014 12:44:46 PM<br>
Subject: Re: [Users] Issues starting hosted engine VM<br>
<br>
On 01/20/2014 10:38 AM, Leonid Natapov wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
1.hosted-engine --vm-start should start engine vm. There was no problem with it when I tested it.<br>
2.hosted-engine --vm-start-paused was added for the case when something is wrong with engine vm and it can't start and requires user intervention. For example in case of kernel panic.<br>
User can start engine vm in paused mode ,connect to it and try to fix the problem by booting in single user mode ,etc.<br>
3.When the connectivity to shared storage is lost engine vm becomes paused. VM should be automatically unpaused after connectivity resumes (we introduced this feature in 3.3) but in case of NFS it could take quite time.so may be we should add something like --vm-resume in order to resume<br>
</blockquote>
Are we talking only on the hosted engine vm or all other vm's? if I have<br>
other vm's they will also stop, will they be auto started as well?<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
the engine vm manually.<br>
<br>
Thanks,<br>
Leonid.<br>
<br>
<br>
----- Original Message -----<br>
From: "Andrew Lau" <<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a>><br>
To: <a href="mailto:dron@redhat.com" target="_blank">dron@redhat.com</a><br>
Cc: "Leonid Natapov" <<a href="mailto:lnatapov@redhat.com" target="_blank">lnatapov@redhat.com</a>>, "Yedidyah Bar David" <<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>>, "users" <<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>><br>
Sent: Monday, January 20, 2014 12:28:15 PM<br>
Subject: Re: [Users] Issues starting hosted engine VM<br>
<br>
It was paused due to the connection loss to the NFS server, I would assume<br>
once the connection is restored it could attempt to restore it? But I can<br>
try dig up the vdsm logs if you want, they would only be a few hours old<br>
<br>
I think having an option like --vm-resume would at least hide the reason of<br>
having to dig into virsh and messing with authentication at the very least.<br>
<br>
On Mon, Jan 20, 2014 at 9:23 PM, Dafna Ron <<a href="mailto:dron@redhat.com" target="_blank">dron@redhat.com</a>> wrote:<br>
<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<br>
vm log.<br>
if the vm is paused it will not be auto started - so I am not sure what<br>
you expect to change? virsh requires authentication regardless to hosted<br>
engine :)<br>
Leonid, did you do any testing there?<br>
<br>
<br>
On 01/20/2014 10:13 AM, Andrew Lau wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have opened this BZ 1055461 anyway just in case<br>
<br>
<br>
On Mon, Jan 20, 2014 at 8:33 PM, Andrew Lau <<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a><mailto:<br>
<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a>>> 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>
<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>
<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>
------------------------------<br>
------------------------------<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>
<mailto:<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a><br>
<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>
<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><br>
<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>
<mailto:<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a><br>
<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>
<mailto:<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a><br>
<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>
<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>>><br>
<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>
-- Dafna Ron<br>
<br>
<br>
<br>
</blockquote>
--<br>
Dafna Ron<br>
<br>
</blockquote></blockquote>
<br>
</blockquote>
<br>
<br>
-- <br>
Dafna Ron<br>
</div></div></blockquote></div><br></div></div>