Discussion:
[ovirt-users] Hosted Engine won't start, how to debug?
Thomas Klute
2018-04-13 09:26:32 UTC
Permalink
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 engine vm.conf does not contain any
graphics device.

Before trying to reinstall, we'd like to recover and debug what is going on.
We mounted a Centos7 install .iso and started the VM using
hosted-engine --vm-start
--vm-conf=/var/run/ovirt-hosted-engine-ha/vm-custom.conf
But we still have to problem, that the serial console does not show
anything and there is no way to connect using VNC.

So, what is the recommended way to move forward in such situation?
IMHO the classical way would be to add a graphics device and connect via
VNC?
I did not use the serial console much, up to now. Should the serial
console show any output during boot?

Thanks for your help,
 Thomas
--
________________________________________________________________________

Dipl.-Inform. Thomas Klute ***@ingenit.com
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund www.ingenit.com

Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
Martin Sivak
2018-04-13 12:07:09 UTC
Permalink
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):
https://www.ovirt.org/documentation/how-to/hosted-engine/#handle-engine-vm-boot-problems

Best regards

--
Martin Sivak
SLA / oVirt
Post by 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 engine vm.conf does not contain any
graphics device.
Before trying to reinstall, we'd like to recover and debug what is going on.
We mounted a Centos7 install .iso and started the VM using
hosted-engine --vm-start
--vm-conf=/var/run/ovirt-hosted-engine-ha/vm-custom.conf
But we still have to problem, that the serial console does not show
anything and there is no way to connect using VNC.
So, what is the recommended way to move forward in such situation?
IMHO the classical way would be to add a graphics device and connect via
VNC?
I did not use the serial console much, up to now. Should the serial
console show any output during boot?
Thanks for your help,
Thomas
--
________________________________________________________________________
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund www.ingenit.com
Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
_______________________________________________
Users mailing list
http://lists.ovirt.org/mailman/listinfo/users
Thomas Klute
2018-04-13 12:35:20 UTC
Permalink
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 devices configured

Furthermore, there is nothing listening on port 5900 after that.
The HostedEngine qemu process shows a " -display none " as parameter and
I have no idea where this can be changed.

I already created a /var/run/ovirt-hosted-engine-ha/vm-custom.conf
containing:
display=vnc
kvmEnable=true

But nothing changed.
I also edited the HostedEngine VM config using virsh and added a vnc
display:
/usr/bin/virsh -c
qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf edit
HostedEngine

    <graphics type='vnc' port='12355' autoport='no' listen='0.0.0.0'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='qxl' ram='65536' vram='65536' vgamem='16384'
heads='1' primary='yes'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07'
function='0x0'/>
    </video>

But there is still "display none" passed as command line parameter to
qemu and thus, I suppose, there's no display.

Any help is appreciated, thanks,
Thomas
Post by 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
https://www.ovirt.org/documentation/how-to/hosted-engine/#handle-engine-vm-boot-problems
Best regards
--
Martin Sivak
SLA / oVirt
Post by 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 engine vm.conf does not contain any
graphics device.
Before trying to reinstall, we'd like to recover and debug what is going on.
We mounted a Centos7 install .iso and started the VM using
hosted-engine --vm-start
--vm-conf=/var/run/ovirt-hosted-engine-ha/vm-custom.conf
But we still have to problem, that the serial console does not show
anything and there is no way to connect using VNC.
So, what is the recommended way to move forward in such situation?
IMHO the classical way would be to add a graphics device and connect via
VNC?
I did not use the serial console much, up to now. Should the serial
console show any output during boot?
Thanks for your help,
Thomas
--
________________________________________________________________________
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund www.ingenit.com
Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
_______________________________________________
Users mailing list
http://lists.ovirt.org/mailman/listinfo/users
Sollten noch Fragen offen sein, stehen wir Ihnen natürlich jederzeit
gerne zur Verfügung.

Mit Grüßen aus Dortmund,
Thomas Klute
--
________________________________________________________________________

Dipl.-Inform. Thomas Klute ***@ingenit.com
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund www.ingenit.com

Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
Martin Sivak
2018-04-13 12:56:59 UTC
Permalink
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 the VNC approach again.

Best regards

Martin Sivak
Post by 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.
hosted-engine --add-console-password
no graphics devices configured
Furthermore, there is nothing listening on port 5900 after that.
The HostedEngine qemu process shows a " -display none " as parameter and
I have no idea where this can be changed.
I already created a /var/run/ovirt-hosted-engine-ha/vm-custom.conf
display=vnc
kvmEnable=true
But nothing changed.
I also edited the HostedEngine VM config using virsh and added a vnc
/usr/bin/virsh -c
qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf edit
HostedEngine
<graphics type='vnc' port='12355' autoport='no' listen='0.0.0.0'>
<listen type='address' address='0.0.0.0'/>
</graphics>
<video>
<model type='qxl' ram='65536' vram='65536' vgamem='16384'
heads='1' primary='yes'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07'
function='0x0'/>
</video>
But there is still "display none" passed as command line parameter to
qemu and thus, I suppose, there's no display.
Any help is appreciated, thanks,
Thomas
Post by 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
https://www.ovirt.org/documentation/how-to/hosted-engine/#handle-engine-vm-boot-problems
Best regards
--
Martin Sivak
SLA / oVirt
Post by 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 engine vm.conf does not contain any
graphics device.
Before trying to reinstall, we'd like to recover and debug what is going on.
We mounted a Centos7 install .iso and started the VM using
hosted-engine --vm-start
--vm-conf=/var/run/ovirt-hosted-engine-ha/vm-custom.conf
But we still have to problem, that the serial console does not show
anything and there is no way to connect using VNC.
So, what is the recommended way to move forward in such situation?
IMHO the classical way would be to add a graphics device and connect via
VNC?
I did not use the serial console much, up to now. Should the serial
console show any output during boot?
Thanks for your help,
Thomas
--
________________________________________________________________________
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund www.ingenit.com
Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
_______________________________________________
Users mailing list
http://lists.ovirt.org/mailman/listinfo/users
Sollten noch Fragen offen sein, stehen wir Ihnen natürlich jederzeit
gerne zur Verfügung.
Mit Grüßen aus Dortmund,
Thomas Klute
--
________________________________________________________________________
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund www.ingenit.com
Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
Thomas Klute
2018-04-13 15:13:57 UTC
Permalink
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 - compared to a bare metal setup with display
and keyboard.
Wouldn't it be a good idea to have the vnc device in the config by default?

Best regards,
 Thomas
Post by Martin Sivak
You need to be in global maintenance, but I think you already know that.
devices={device:vnc,type:graphics,deviceId:f1d0394e-b077-4ea6-99e5-b9b6b8fe073c,address:None}
Then restart the VM using hosted-engine commands and try the VNC approach again.
Best regards
Martin Sivak
Post by 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.
hosted-engine --add-console-password
no graphics devices configured
Furthermore, there is nothing listening on port 5900 after that.
The HostedEngine qemu process shows a " -display none " as parameter and
I have no idea where this can be changed.
I already created a /var/run/ovirt-hosted-engine-ha/vm-custom.conf
display=vnc
kvmEnable=true
But nothing changed.
I also edited the HostedEngine VM config using virsh and added a vnc
/usr/bin/virsh -c
qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf edit
HostedEngine
<graphics type='vnc' port='12355' autoport='no' listen='0.0.0.0'>
<listen type='address' address='0.0.0.0'/>
</graphics>
<video>
<model type='qxl' ram='65536' vram='65536' vgamem='16384'
heads='1' primary='yes'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07'
function='0x0'/>
</video>
But there is still "display none" passed as command line parameter to
qemu and thus, I suppose, there's no display.
Any help is appreciated, thanks,
Thomas
Post by 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
https://www.ovirt.org/documentation/how-to/hosted-engine/#handle-engine-vm-boot-problems
Best regards
--
Martin Sivak
SLA / oVirt
Post by 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 engine vm.conf does not contain any
graphics device.
Before trying to reinstall, we'd like to recover and debug what is going on.
We mounted a Centos7 install .iso and started the VM using
hosted-engine --vm-start
--vm-conf=/var/run/ovirt-hosted-engine-ha/vm-custom.conf
But we still have to problem, that the serial console does not show
anything and there is no way to connect using VNC.
So, what is the recommended way to move forward in such situation?
IMHO the classical way would be to add a graphics device and connect via
VNC?
I did not use the serial console much, up to now. Should the serial
console show any output during boot?
Thanks for your help,
Thomas
--
________________________________________________________________________
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund www.ingenit.com
Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
_______________________________________________
Users mailing list
http://lists.ovirt.org/mailman/listinfo/users
Sollten noch Fragen offen sein, stehen wir Ihnen natürlich jederzeit
gerne zur Verfügung.
Mit Grüßen aus Dortmund,
Thomas Klute
--
________________________________________________________________________
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund www.ingenit.com
Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
Sollten noch Fragen offen sein, stehen wir Ihnen natürlich jederzeit
gerne zur Verfügung.

Mit Grüßen aus Dortmund,
Thomas Klute
--
________________________________________________________________________

Dipl.-Inform. Thomas Klute ***@ingenit.com
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund www.ingenit.com

Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
Martin Sivak
2018-04-14 11:47:22 UTC
Permalink
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
Post by 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 - compared to a bare metal setup with display
and keyboard.
Wouldn't it be a good idea to have the vnc device in the config by default?
Best regards,
Thomas
Post by Martin Sivak
You need to be in global maintenance, but I think you already know that.
devices={device:vnc,type:graphics,deviceId:f1d0394e-b077-4ea6-99e5-b9b6b8fe073c,address:None}
Then restart the VM using hosted-engine commands and try the VNC approach again.
Best regards
Martin Sivak
Post by 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.
hosted-engine --add-console-password
no graphics devices configured
Furthermore, there is nothing listening on port 5900 after that.
The HostedEngine qemu process shows a " -display none " as parameter and
I have no idea where this can be changed.
I already created a /var/run/ovirt-hosted-engine-ha/vm-custom.conf
display=vnc
kvmEnable=true
But nothing changed.
I also edited the HostedEngine VM config using virsh and added a vnc
/usr/bin/virsh -c
qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf edit
HostedEngine
<graphics type='vnc' port='12355' autoport='no' listen='0.0.0.0'>
<listen type='address' address='0.0.0.0'/>
</graphics>
<video>
<model type='qxl' ram='65536' vram='65536' vgamem='16384'
heads='1' primary='yes'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07'
function='0x0'/>
</video>
But there is still "display none" passed as command line parameter to
qemu and thus, I suppose, there's no display.
Any help is appreciated, thanks,
Thomas
Post by 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
https://www.ovirt.org/documentation/how-to/hosted-engine/#handle-engine-vm-boot-problems
Best regards
--
Martin Sivak
SLA / oVirt
Post by 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 engine vm.conf does not contain any
graphics device.
Before trying to reinstall, we'd like to recover and debug what is going on.
We mounted a Centos7 install .iso and started the VM using
hosted-engine --vm-start
--vm-conf=/var/run/ovirt-hosted-engine-ha/vm-custom.conf
But we still have to problem, that the serial console does not show
anything and there is no way to connect using VNC.
So, what is the recommended way to move forward in such situation?
IMHO the classical way would be to add a graphics device and connect via
VNC?
I did not use the serial console much, up to now. Should the serial
console show any output during boot?
Thanks for your help,
Thomas
--
________________________________________________________________________
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund www.ingenit.com
Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
_______________________________________________
Users mailing list
http://lists.ovirt.org/mailman/listinfo/users
Sollten noch Fragen offen sein, stehen wir Ihnen natürlich jederzeit
gerne zur Verfügung.
Mit Grüßen aus Dortmund,
Thomas Klute
--
________________________________________________________________________
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund www.ingenit.com
Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
Sollten noch Fragen offen sein, stehen wir Ihnen natürlich jederzeit
gerne zur Verfügung.
Mit Grüßen aus Dortmund,
Thomas Klute
--
________________________________________________________________________
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund www.ingenit.com
Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
Thomas Klute
2018-04-16 07:59:34 UTC
Permalink
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
Post by 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
Post by 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 - compared to a bare metal setup with display
and keyboard.
Wouldn't it be a good idea to have the vnc device in the config by default?
Best regards,
Thomas
Post by Martin Sivak
You need to be in global maintenance, but I think you already know that.
devices={device:vnc,type:graphics,deviceId:f1d0394e-b077-4ea6-99e5-b9b6b8fe073c,address:None}
Then restart the VM using hosted-engine commands and try the VNC approach again.
Best regards
Martin Sivak
Post by 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.
hosted-engine --add-console-password
no graphics devices configured
Furthermore, there is nothing listening on port 5900 after that.
The HostedEngine qemu process shows a " -display none " as parameter and
I have no idea where this can be changed.
I already created a /var/run/ovirt-hosted-engine-ha/vm-custom.conf
display=vnc
kvmEnable=true
But nothing changed.
I also edited the HostedEngine VM config using virsh and added a vnc
/usr/bin/virsh -c
qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf edit
HostedEngine
<graphics type='vnc' port='12355' autoport='no' listen='0.0.0.0'>
<listen type='address' address='0.0.0.0'/>
</graphics>
<video>
<model type='qxl' ram='65536' vram='65536' vgamem='16384'
heads='1' primary='yes'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07'
function='0x0'/>
</video>
But there is still "display none" passed as command line parameter to
qemu and thus, I suppose, there's no display.
Any help is appreciated, thanks,
Thomas
Post by 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
https://www.ovirt.org/documentation/how-to/hosted-engine/#handle-engine-vm-boot-problems
Best regards
--
Martin Sivak
SLA / oVirt
Post by 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 engine vm.conf does not contain any
graphics device.
Before trying to reinstall, we'd like to recover and debug what is going on.
We mounted a Centos7 install .iso and started the VM using
hosted-engine --vm-start
--vm-conf=/var/run/ovirt-hosted-engine-ha/vm-custom.conf
But we still have to problem, that the serial console does not show
anything and there is no way to connect using VNC.
So, what is the recommended way to move forward in such situation?
IMHO the classical way would be to add a graphics device and connect via
VNC?
I did not use the serial console much, up to now. Should the serial
console show any output during boot?
Thanks for your help,
Thomas
--
________________________________________________________________________
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund www.ingenit.com
Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
_______________________________________________
Users mailing list
http://lists.ovirt.org/mailman/listinfo/users
Sollten noch Fragen offen sein, stehen wir Ihnen natürlich jederzeit
gerne zur Verfügung.
Mit Grüßen aus Dortmund,
Thomas Klute
--
________________________________________________________________________
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund www.ingenit.com
Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
Sollten noch Fragen offen sein, stehen wir Ihnen natürlich jederzeit
gerne zur Verfügung.
Mit Grüßen aus Dortmund,
Thomas Klute
--
________________________________________________________________________
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund www.ingenit.com
Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
Sollten noch Fragen offen sein, stehen wir Ihnen natürlich jederzeit
gerne zur Verfügung.

Mit Grüßen aus Dortmund,
Thomas Klute
--
________________________________________________________________________

Dipl.-Inform. Thomas Klute ***@ingenit.com
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund www.ingenit.com

Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
Simone Tiraboschi
2018-04-16 08:04:03 UTC
Permalink
Post by 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.
graphical_console parameter has been introduced in ovirt_vms ansible module
just since ansible 2.5.
http://docs.ansible.com/ansible/latest/modules/ovirt_vms_module.html#ovirt-vms

Anso so we have to consume it as well.

I just opened https://bugzilla.redhat.com/show_bug.cgi?id=1567772
to track it.
Post by Martin Sivak
Best regards
Martin Sivak
Post by 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 - compared to a bare metal setup with display
and keyboard.
Wouldn't it be a good idea to have the vnc device in the config by
default?
Post by Thomas Klute
Best regards,
Thomas
Post by Martin Sivak
You need to be in global maintenance, but I think you already know that.
devices={device:vnc,type:graphics,deviceId:f1d0394e-
b077-4ea6-99e5-b9b6b8fe073c,address:None}
Post by Thomas Klute
Post by Martin Sivak
Then restart the VM using hosted-engine commands and try the VNC
approach again.
Post by Thomas Klute
Post by Martin Sivak
Best regards
Martin Sivak
Post by 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.
hosted-engine --add-console-password
no graphics devices configured
Furthermore, there is nothing listening on port 5900 after that.
The HostedEngine qemu process shows a " -display none " as parameter
and
Post by Thomas Klute
Post by Martin Sivak
Post by Thomas Klute
I have no idea where this can be changed.
I already created a /var/run/ovirt-hosted-engine-ha/vm-custom.conf
display=vnc
kvmEnable=true
But nothing changed.
I also edited the HostedEngine VM config using virsh and added a vnc
/usr/bin/virsh -c
qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf edit
HostedEngine
<graphics type='vnc' port='12355' autoport='no' listen='0.0.0.0'>
<listen type='address' address='0.0.0.0'/>
</graphics>
<video>
<model type='qxl' ram='65536' vram='65536' vgamem='16384'
heads='1' primary='yes'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07'
function='0x0'/>
</video>
But there is still "display none" passed as command line parameter to
qemu and thus, I suppose, there's no display.
Any help is appreciated, thanks,
Thomas
Post by 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
https://www.ovirt.org/documentation/how-to/hosted-
engine/#handle-engine-vm-boot-problems
Post by Thomas Klute
Post by Martin Sivak
Post by Thomas Klute
Post by Martin Sivak
Best regards
--
Martin Sivak
SLA / oVirt
Post by Thomas Klute
Dear oVirt Team,
after trying to reboot a hosted engine setup on oVirt 4.2 the VM
won't
Post by Thomas Klute
Post by Martin Sivak
Post by Thomas Klute
Post by Martin Sivak
Post by Thomas Klute
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
Post by Thomas Klute
Post by Martin Sivak
Post by Thomas Klute
Post by Martin Sivak
Post by Thomas Klute
characters typed)
- VNC / Spice because the hosted engine vm.conf does not contain any
graphics device.
Before trying to reinstall, we'd like to recover and debug what is
going on.
Post by Thomas Klute
Post by Martin Sivak
Post by Thomas Klute
Post by Martin Sivak
Post by Thomas Klute
We mounted a Centos7 install .iso and started the VM using
hosted-engine --vm-start
--vm-conf=/var/run/ovirt-hosted-engine-ha/vm-custom.conf
But we still have to problem, that the serial console does not show
anything and there is no way to connect using VNC.
So, what is the recommended way to move forward in such situation?
IMHO the classical way would be to add a graphics device and connect
via
Post by Thomas Klute
Post by Martin Sivak
Post by Thomas Klute
Post by Martin Sivak
Post by Thomas Klute
VNC?
I did not use the serial console much, up to now. Should the serial
console show any output during boot?
Thanks for your help,
Thomas
--
____________________________________________________________
____________
Post by Thomas Klute
Post by Martin Sivak
Post by Thomas Klute
Post by Martin Sivak
Post by Thomas Klute
Dipl.-Inform. Thomas Klute
GeschÀftsfÌhrer / CEO
------------------------------------------------------------
----------
Post by Thomas Klute
Post by Martin Sivak
Post by Thomas Klute
Post by Martin Sivak
Post by Thomas Klute
ingenit GmbH & Co. KG Tel. +49 (0)231 58
698-120
Post by Thomas Klute
Post by Martin Sivak
Post by Thomas Klute
Post by Martin Sivak
Post by Thomas Klute
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58
698-121
Post by Thomas Klute
Post by Martin Sivak
Post by Thomas Klute
Post by Martin Sivak
Post by Thomas Klute
D-44227 Dortmund
www.ingenit.com
Post by Thomas Klute
Post by Martin Sivak
Post by Thomas Klute
Post by Martin Sivak
Post by Thomas Klute
Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
____________________________________________________________
____________
Post by Thomas Klute
Post by Martin Sivak
Post by Thomas Klute
Post by Martin Sivak
Post by Thomas Klute
_______________________________________________
Users mailing list
http://lists.ovirt.org/mailman/listinfo/users
Sollten noch Fragen offen sein, stehen wir Ihnen natÃŒrlich jederzeit
gerne zur VerfÃŒgung.
Mit GrÌßen aus Dortmund,
Thomas Klute
--
____________________________________________________________
____________
Post by Thomas Klute
Post by Martin Sivak
Post by Thomas Klute
Dipl.-Inform. Thomas Klute
GeschÀftsfÌhrer / CEO
------------------------------------------------------------
----------
Post by Thomas Klute
Post by Martin Sivak
Post by Thomas Klute
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund
www.ingenit.com
Post by Thomas Klute
Post by Martin Sivak
Post by Thomas Klute
Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
____________________________________________________________
____________
Post by Thomas Klute
Sollten noch Fragen offen sein, stehen wir Ihnen natÃŒrlich jederzeit
gerne zur VerfÃŒgung.
Mit GrÌßen aus Dortmund,
Thomas Klute
--
________________________________________________________________________
GeschÀftsfÌhrer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund www.ingenit.com
Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
_______________________________________________
Users mailing list
http://lists.ovirt.org/mailman/listinfo/users
Martin Sivak
2018-04-16 08:11:31 UTC
Permalink
Hi,
Post by Simone Tiraboschi
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
Post by Simone Tiraboschi
Post by 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.
graphical_console parameter has been introduced in ovirt_vms ansible module
just since ansible 2.5.
http://docs.ansible.com/ansible/latest/modules/ovirt_vms_module.html#ovirt-vms
Anso so we have to consume it as well.
I just opened https://bugzilla.redhat.com/show_bug.cgi?id=1567772
to track it.
Post by Martin Sivak
Best regards
Martin Sivak
Post by 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 - compared to a bare metal setup with display
and keyboard.
Wouldn't it be a good idea to have the vnc device in the config by default?
Best regards,
Thomas
Post by Martin Sivak
You need to be in global maintenance, but I think you already know that.
devices={device:vnc,type:graphics,deviceId:f1d0394e-b077-4ea6-99e5-b9b6b8fe073c,address:None}
Then restart the VM using hosted-engine commands and try the VNC approach again.
Best regards
Martin Sivak
Post by 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.
hosted-engine --add-console-password
no graphics devices configured
Furthermore, there is nothing listening on port 5900 after that.
The HostedEngine qemu process shows a " -display none " as parameter and
I have no idea where this can be changed.
I already created a /var/run/ovirt-hosted-engine-ha/vm-custom.conf
display=vnc
kvmEnable=true
But nothing changed.
I also edited the HostedEngine VM config using virsh and added a vnc
/usr/bin/virsh -c
qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf edit
HostedEngine
<graphics type='vnc' port='12355' autoport='no' listen='0.0.0.0'>
<listen type='address' address='0.0.0.0'/>
</graphics>
<video>
<model type='qxl' ram='65536' vram='65536' vgamem='16384'
heads='1' primary='yes'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07'
function='0x0'/>
</video>
But there is still "display none" passed as command line parameter to
qemu and thus, I suppose, there's no display.
Any help is appreciated, thanks,
Thomas
Post by 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
https://www.ovirt.org/documentation/how-to/hosted-engine/#handle-engine-vm-boot-problems
Best regards
--
Martin Sivak
SLA / oVirt
Post by 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 engine vm.conf does not contain any
graphics device.
Before trying to reinstall, we'd like to recover and debug what is going on.
We mounted a Centos7 install .iso and started the VM using
hosted-engine --vm-start
--vm-conf=/var/run/ovirt-hosted-engine-ha/vm-custom.conf
But we still have to problem, that the serial console does not show
anything and there is no way to connect using VNC.
So, what is the recommended way to move forward in such situation?
IMHO the classical way would be to add a graphics device and connect via
VNC?
I did not use the serial console much, up to now. Should the serial
console show any output during boot?
Thanks for your help,
Thomas
--
________________________________________________________________________
Dipl.-Inform. Thomas Klute
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund
www.ingenit.com
Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
_______________________________________________
Users mailing list
http://lists.ovirt.org/mailman/listinfo/users
Sollten noch Fragen offen sein, stehen wir Ihnen natürlich jederzeit
gerne zur Verfügung.
Mit Grüßen aus Dortmund,
Thomas Klute
--
________________________________________________________________________
Dipl.-Inform. Thomas Klute
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund
www.ingenit.com
Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
Sollten noch Fragen offen sein, stehen wir Ihnen natürlich jederzeit
gerne zur Verfügung.
Mit Grüßen aus Dortmund,
Thomas Klute
--
________________________________________________________________________
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund www.ingenit.com
Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
_______________________________________________
Users mailing list
http://lists.ovirt.org/mailman/listinfo/users
Thomas Klute
2018-04-23 13:45:32 UTC
Permalink
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 config file (it seems to be
overwritten after a few seconds - I suppose it's copied from somewhere?)

Thanks,
Thomas
Post by 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
Post by 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 - compared to a bare metal setup with display
and keyboard.
Wouldn't it be a good idea to have the vnc device in the config by default?
Best regards,
Thomas
Post by Martin Sivak
You need to be in global maintenance, but I think you already know that.
devices={device:vnc,type:graphics,deviceId:f1d0394e-b077-4ea6-99e5-b9b6b8fe073c,address:None}
Then restart the VM using hosted-engine commands and try the VNC approach again.
Best regards
Martin Sivak
Post by 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.
hosted-engine --add-console-password
no graphics devices configured
Furthermore, there is nothing listening on port 5900 after that.
The HostedEngine qemu process shows a " -display none " as parameter and
I have no idea where this can be changed.
I already created a /var/run/ovirt-hosted-engine-ha/vm-custom.conf
display=vnc
kvmEnable=true
But nothing changed.
I also edited the HostedEngine VM config using virsh and added a vnc
/usr/bin/virsh -c
qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf edit
HostedEngine
<graphics type='vnc' port='12355' autoport='no' listen='0.0.0.0'>
<listen type='address' address='0.0.0.0'/>
</graphics>
<video>
<model type='qxl' ram='65536' vram='65536' vgamem='16384'
heads='1' primary='yes'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07'
function='0x0'/>
</video>
But there is still "display none" passed as command line parameter to
qemu and thus, I suppose, there's no display.
Any help is appreciated, thanks,
Thomas
Post by 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
https://www.ovirt.org/documentation/how-to/hosted-engine/#handle-engine-vm-boot-problems
Best regards
--
Martin Sivak
SLA / oVirt
Post by 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 engine vm.conf does not contain any
graphics device.
Before trying to reinstall, we'd like to recover and debug what is going on.
We mounted a Centos7 install .iso and started the VM using
hosted-engine --vm-start
--vm-conf=/var/run/ovirt-hosted-engine-ha/vm-custom.conf
But we still have to problem, that the serial console does not show
anything and there is no way to connect using VNC.
So, what is the recommended way to move forward in such situation?
IMHO the classical way would be to add a graphics device and connect via
VNC?
I did not use the serial console much, up to now. Should the serial
console show any output during boot?
Thanks for your help,
Thomas
--
________________________________________________________________________
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund www.ingenit.com
Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
_______________________________________________
Users mailing list
http://lists.ovirt.org/mailman/listinfo/users
Sollten noch Fragen offen sein, stehen wir Ihnen natürlich jederzeit
gerne zur Verfügung.
Mit Grüßen aus Dortmund,
Thomas Klute
--
________________________________________________________________________
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund www.ingenit.com
Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
Sollten noch Fragen offen sein, stehen wir Ihnen natürlich jederzeit
gerne zur Verfügung.
Mit Grüßen aus Dortmund,
Thomas Klute
--
________________________________________________________________________
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund www.ingenit.com
Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
Sollten noch Fragen offen sein, stehen wir Ihnen natürlich jederzeit
gerne zur Verfügung.

Mit Grüßen aus Dortmund,
Thomas Klute
--
________________________________________________________________________

Dipl.-Inform. Thomas Klute ***@ingenit.com
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund www.ingenit.com

Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
Martin Sivak
2018-04-23 14:37:19 UTC
Permalink
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 allow that
atm, but we might.

If that is not allowed, then you will have to edit the DB. The best
way would be to change the vm_static table's origin (should be 6 -
managed hosted engine) field to 3 - ovirt. The webadmin will then
allow you to edit the VM fully. Then change the origin back to 6. All
that for a VM with vm_name = "HostedEngine".

So the fallback procedure for a default install of webadmin (the
database name = engine):

- put hosted engine into global maintenance
- ssh into the engine VM
- sudo -i -u postgres
- psql engine -c "UPDATE vm_static SET origin=3 WHERE vm_name='HostedEngine'"
- edit the VM in webadmin (it should lose its crown status after a
while) and add VNC
- psql engine -c "UPDATE vm_static SET origin=6 WHERE vm_name='HostedEngine'"
- remove global maintenance

All usual disclaimers apply. I recommend backup if it is a production
environment and I can only propose this because I used it repeatedly
during development tests. But production use is on your own risk.

Best regards

Martin Sivak
Post by Thomas Klute
Dear Martin,
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 config file (it seems to be
overwritten after a few seconds - I suppose it's copied from somewhere?)
Thanks,
Thomas
Post by 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
Post by 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 - compared to a bare metal setup with display
and keyboard.
Wouldn't it be a good idea to have the vnc device in the config by default?
Best regards,
Thomas
Post by Martin Sivak
You need to be in global maintenance, but I think you already know that.
devices={device:vnc,type:graphics,deviceId:f1d0394e-b077-4ea6-99e5-b9b6b8fe073c,address:None}
Then restart the VM using hosted-engine commands and try the VNC approach again.
Best regards
Martin Sivak
Post by 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.
hosted-engine --add-console-password
no graphics devices configured
Furthermore, there is nothing listening on port 5900 after that.
The HostedEngine qemu process shows a " -display none " as parameter and
I have no idea where this can be changed.
I already created a /var/run/ovirt-hosted-engine-ha/vm-custom.conf
display=vnc
kvmEnable=true
But nothing changed.
I also edited the HostedEngine VM config using virsh and added a vnc
/usr/bin/virsh -c
qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf edit
HostedEngine
<graphics type='vnc' port='12355' autoport='no' listen='0.0.0.0'>
<listen type='address' address='0.0.0.0'/>
</graphics>
<video>
<model type='qxl' ram='65536' vram='65536' vgamem='16384'
heads='1' primary='yes'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07'
function='0x0'/>
</video>
But there is still "display none" passed as command line parameter to
qemu and thus, I suppose, there's no display.
Any help is appreciated, thanks,
Thomas
Post by 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
https://www.ovirt.org/documentation/how-to/hosted-engine/#handle-engine-vm-boot-problems
Best regards
--
Martin Sivak
SLA / oVirt
Post by 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 engine vm.conf does not contain any
graphics device.
Before trying to reinstall, we'd like to recover and debug what is going on.
We mounted a Centos7 install .iso and started the VM using
hosted-engine --vm-start
--vm-conf=/var/run/ovirt-hosted-engine-ha/vm-custom.conf
But we still have to problem, that the serial console does not show
anything and there is no way to connect using VNC.
So, what is the recommended way to move forward in such situation?
IMHO the classical way would be to add a graphics device and connect via
VNC?
I did not use the serial console much, up to now. Should the serial
console show any output during boot?
Thanks for your help,
Thomas
--
________________________________________________________________________
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund www.ingenit.com
Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
_______________________________________________
Users mailing list
http://lists.ovirt.org/mailman/listinfo/users
Sollten noch Fragen offen sein, stehen wir Ihnen natürlich jederzeit
gerne zur Verfügung.
Mit Grüßen aus Dortmund,
Thomas Klute
--
________________________________________________________________________
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund www.ingenit.com
Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
Sollten noch Fragen offen sein, stehen wir Ihnen natürlich jederzeit
gerne zur Verfügung.
Mit Grüßen aus Dortmund,
Thomas Klute
--
________________________________________________________________________
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund www.ingenit.com
Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
Sollten noch Fragen offen sein, stehen wir Ihnen natürlich jederzeit
gerne zur Verfügung.
Mit Grüßen aus Dortmund,
Thomas Klute
--
________________________________________________________________________
Geschäftsführer / CEO
----------------------------------------------------------------------
ingenit GmbH & Co. KG Tel. +49 (0)231 58 698-120
Emil-Figge-Strasse 76-80 Fax. +49 (0)231 58 698-121
D-44227 Dortmund www.ingenit.com
Registergericht: Amtsgericht Dortmund, HRA 13 914
Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________
Loading...