This is a multi-part message in MIME format.
--------------97603545FA3E5AEFEB71090E
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit
On 02/06/2017 08:14 PM, Berger, Sandy wrote:
Ive 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 its 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
--------------97603545FA3E5AEFEB71090E
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 02/06/2017 08:14 PM, Berger, Sandy
wrote:<br>
</div>
<blockquote
cite="mid:DM5PR05MB3161434BD7A421FDC8D5FBCAD5400@DM5PR05MB3161.namprd05.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Ive 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:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span
style="font-family:"Courier
New"">The engine VM is running on this
host<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Courier
New"">Connected to domain
HostedEngine<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Courier
New"">Escape character is
^]<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Courier
New"">error: internal error: cannot find character
device <null><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Once this starts occurring, it never works
again.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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 its unchecked again when
I open up the edit window again.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">How do I get console control back from my
oVirt hosts?<o:p></o:p></p>
</div>
</blockquote>
<br>
Hi, <br>
<br>
it is strongly recommended to use ttyS0 (legacy serial driver
emulation) and not hvc0 (newer virtio serial driver) because we had
reports<br>
of kernel panics (!!!!) using the new driver.<br>
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.<br>
<br>
In terms of Vm configuration, the console device should have the
"consoleType" = "serial" setting.<br>
<br>
This is the default Engine sends.<br>
<br>
Not sure what HE is doing here, not if you fix it manually.<br>
<br>
<pre class="moz-signature" cols="72">--
Francesco Romani
Red Hat Engineering Virtualization R & D
IRC: fromani</pre>
</body>
</html>
--------------97603545FA3E5AEFEB71090E--