Re: [ovirt-users] Hosted Engine won't start, how to debug?

2018-04-23 Thread Martin Sivak
Hi, the VM configuration is stored in the engine database and we generate the vm.conf using the data the engine exports. So you are right, we overwrite the file. You might be able to simply edit the VM in the webadmin and enable the VNC (or Spice) console there. I am not entirely sure if we

Re: [ovirt-users] Hosted Engine won't start, how to debug?

2018-04-23 Thread Thomas Klute
Dear Martin, a follow up question regarding this case: we managed to get the hosted engine up and running again, but we'd like to permanently add the missing graphics device to the vm.conf (instead of starting with the vm-custom.conf in case of trouble). How do I add this line to the vm.conf

Re: [ovirt-users] Hosted Engine won't start, how to debug?

2018-04-16 Thread Martin Sivak
Hi, > graphical_console parameter has been introduced in ovirt_vms ansible module > just since ansible 2.5. but that isn't Thomas' case as he has an legacy deployment that was upgraded across versions. This might affect new installs of 4.2 only. Martin On Mon, Apr 16, 2018 at 10:04 AM, Simone

Re: [ovirt-users] Hosted Engine won't start, how to debug?

2018-04-16 Thread Simone Tiraboschi
On Sat, Apr 14, 2018 at 1:47 PM, Martin Sivak wrote: > Hi, > > the vnc device is there by default (I copied it out of my own hosted > engine instance), I do not know why it was missing in your case. > graphical_console parameter has been introduced in ovirt_vms ansible module

Re: [ovirt-users] Hosted Engine won't start, how to debug?

2018-04-16 Thread Thomas Klute
Dear Martin, thanks, ok, good to know. We have a hosted engine that was created on ovirt 3.x and after that has only been updated. Maybe this is the cause. Thanks for your help again. Best regards, Thomas > Hi, > > the vnc device is there by default (I copied it out of my own hosted > engine

Re: [ovirt-users] Hosted Engine won't start, how to debug?

2018-04-14 Thread Martin Sivak
Hi, the vnc device is there by default (I copied it out of my own hosted engine instance), I do not know why it was missing in your case. Best regards Martin Sivak On Fri, Apr 13, 2018 at 5:13 PM, Thomas Klute wrote: > Dear Martin, > > yes, that worked. Thank you so much!!

Re: [ovirt-users] Hosted Engine won't start, how to debug?

2018-04-13 Thread Thomas Klute
Dear Martin, yes, that worked. Thank you so much!! We were able to see that the latest kernel update failed and did not create the initramfs file and thus the boot process failed with a kernel panic. Debugging this problem took us many hours... It felt so complicated to connect a vnc to this vm

Re: [ovirt-users] Hosted Engine won't start, how to debug?

2018-04-13 Thread Martin Sivak
You need to be in global maintenance, but I think you already know that. Then try updating the vm.conf like you already did and add this line: devices={device:vnc,type:graphics,deviceId:f1d0394e-b077-4ea6-99e5-b9b6b8fe073c,address:None} Then restart the VM using hosted-engine commands and try

Re: [ovirt-users] Hosted Engine won't start, how to debug?

2018-04-13 Thread Thomas Klute
Dear Martin, thanks for the feedback. We already read this and tried it. It seems to me that the graphics device was removed from the hosted engine by some ovirt release. If I try to set a console password I see this message: hosted-engine --add-console-password Enter password: no graphics

Re: [ovirt-users] Hosted Engine won't start, how to debug?

2018-04-13 Thread Martin Sivak
Hi, the serial console will show output if the kernel knows to use it. The VNC approach is also possible and I believe we already have a graphical device present. What you are looking for is probably this (VNC method is described there):

[ovirt-users] Hosted Engine won't start, how to debug?

2018-04-13 Thread Thomas Klute
Dear oVirt Team, after trying to reboot a hosted engine setup on oVirt 4.2 the VM won't come up anymore. The qemu-kvm process is there but we're unable to access the VM using - the serial console (simply does not show anything, does not react to characters typed) - VNC / Spice because the hosted