[ovirt-users] missing hvc0 device on hosted engine

Francesco Romani fromani at redhat.com
Mon Feb 13 12:02:31 UTC 2017


On 02/06/2017 08:14 PM, Berger, Sandy wrote:
>
> I’ve been running oVirt 4.0.x for a while now and upgraded the engine
> and hosts to 4.1. Sometimes, on both 4.0 and 4.1, trying to run the
> “hosted-engine –console” command gives the following results:
>
>  
>
> The engine VM is running on this host
>
> Connected to domain HostedEngine
>
> Escape character is ^]
>
> error: internal error: cannot find character device <null>
>
>  
>
> Once this starts occurring, it never works again.
>
>  
>
> When this happens I note that the hvc0 device does not exist in /dev
> and therefore there is no getty process running for that device. I
> notice that the “Enable VirtIO serial console” box is not checked on
> the hosted engine VM but when I check it and click OK it’s unchecked
> again when I open up the edit window again.
>
>  
>
> How do I get console control back from my oVirt hosts?
>

Hi,

it is strongly recommended to use ttyS0 (legacy serial driver emulation)
and not hvc0 (newer virtio serial driver) because we had reports
of kernel panics (!!!!) using the new driver.
We are going to re-evaluate this setting for 4.2.0, and, perhaps, later
4.1.z, but for 4.1.0 this is still valid.

In terms of Vm configuration, the console device should have the
"consoleType" = "serial" setting.

This is the default Engine sends.

Not sure what HE is doing here, not if you fix it manually.

-- 
Francesco Romani
Red Hat Engineering Virtualization R & D
IRC: fromani

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170213/c36577c3/attachment.html>


More information about the Users mailing list