Re: [ovirt-users] missing hvc0 device on hosted engine

2017-02-13 Thread Francesco Romani

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 
>
>  
>
> 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

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] missing hvc0 device on hosted engine

2017-02-07 Thread Martin Sivak
> since the 4.1 upgrade the console button in the toolbar for the hosted engine 
> is dimmed in the
> GUI. That is still the case. Is that expected behavior with 4.1 or is there 
> some other issue
> going on?
>
> Also, when I use the command "ssh -t -p  ovirt-vmconsole@engine," I get a 
> menu of VMs that
> I can choose from and get a serial console to them. That option has never 
> worked for the hosted
> engine. The engine shows up as a menu item but selecting it yields a socket 
> error. This works
> successfully on the other VMs.

Honestly, I have no idea here. I do not think we ever supported those
for hosted engine and the ssh console I hear the first time about. I
opened a bug so we can properly investigated it:

https://bugzilla.redhat.com/show_bug.cgi?id=1420115

Best regards

Martin

On Tue, Feb 7, 2017 at 8:17 PM, Berger, Sandy  wrote:
> Thank you for your response. I installed the ovirt-hosted-engine-ha and 
> ovirt-hosted-engine-setup RPMs from the snapshot link you sent me onto the 
> two hosts that can host the engine. I re-ran engine-setup on the engine just 
> in case and rebooted the two hosts capable of hosting the engine and the 
> engine itself. I am now able to run the "hosted-engine --console" command 
> successfully but since the 4.1 upgrade the console button in the toolbar for 
> the hosted engine is dimmed in the GUI. That is still the case. Is that 
> expected behavior with 4.1 or is there some other issue going on?
>
> Also, when I use the command "ssh -t -p  ovirt-vmconsole@engine," I get a 
> menu of VMs that I can choose from and get a serial console to them. That 
> option has never worked for the hosted engine. The engine shows up as a menu 
> item but selecting it yields a socket error. This works successfully on the 
> other VMs.
>
> Thanks!
> --Sandy
>
> -Original Message-
> From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
> Martin Sivak
> Sent: Monday, February 06, 2017 4:21 PM
> To: users@ovirt.org
> Subject: Re: [ovirt-users] missing hvc0 device on hosted engine
>
> Hi,
>
> we know about this and we already pushed patches that should resolve
> this issue in 4.1.1 (one was merged today in fact).
>
> We track the issue here:
> https://bugzilla.redhat.com/show_bug.cgi?id=1364132 and the patch that
> should resolve it is here: https://gerrit.ovirt.org/#/c/71472/
>
> Applying the change manually or waiting for a new snapshot package in
> http://resources.ovirt.org/pub/ovirt-4.1-snapshot/rpm//noarch/
> might help you in the meantime.
>
> Best regards
>
> --
> Martin Sivak
> SLA / oVirt
>
>
> On Mon, Feb 6, 2017 at 8: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 
>>
>>
>>
>> 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?
>>
>>
>>
>> Thank you,
>>
>>
>>
>> Sandy Berger
>>
>>
>>
>> Follow Us: Facebook | Twitter | LinkedIn | YouTube
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> Follow Us: Facebook<http://www.qg.com/social1> | 
> Twitter<http://www.qg.com/social2> | LinkedIn<http://www.qg.com/social3> | 
> YouTube<http://www.qg.com/social4>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] missing hvc0 device on hosted engine

2017-02-07 Thread Berger, Sandy
Thank you for your response. I installed the ovirt-hosted-engine-ha and 
ovirt-hosted-engine-setup RPMs from the snapshot link you sent me onto the two 
hosts that can host the engine. I re-ran engine-setup on the engine just in 
case and rebooted the two hosts capable of hosting the engine and the engine 
itself. I am now able to run the "hosted-engine --console" command successfully 
but since the 4.1 upgrade the console button in the toolbar for the hosted 
engine is dimmed in the GUI. That is still the case. Is that expected behavior 
with 4.1 or is there some other issue going on?

Also, when I use the command "ssh -t -p  ovirt-vmconsole@engine," I get a 
menu of VMs that I can choose from and get a serial console to them. That 
option has never worked for the hosted engine. The engine shows up as a menu 
item but selecting it yields a socket error. This works successfully on the 
other VMs.

Thanks!
--Sandy

-Original Message-
From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Martin Sivak
Sent: Monday, February 06, 2017 4:21 PM
To: users@ovirt.org
Subject: Re: [ovirt-users] missing hvc0 device on hosted engine

Hi,

we know about this and we already pushed patches that should resolve
this issue in 4.1.1 (one was merged today in fact).

We track the issue here:
https://bugzilla.redhat.com/show_bug.cgi?id=1364132 and the patch that
should resolve it is here: https://gerrit.ovirt.org/#/c/71472/

Applying the change manually or waiting for a new snapshot package in
http://resources.ovirt.org/pub/ovirt-4.1-snapshot/rpm//noarch/
might help you in the meantime.

Best regards

--
Martin Sivak
SLA / oVirt


On Mon, Feb 6, 2017 at 8: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 
>
>
>
> 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?
>
>
>
> Thank you,
>
>
>
> Sandy Berger
>
>
>
> Follow Us: Facebook | Twitter | LinkedIn | YouTube
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
Follow Us: Facebook<http://www.qg.com/social1> | 
Twitter<http://www.qg.com/social2> | LinkedIn<http://www.qg.com/social3> | 
YouTube<http://www.qg.com/social4>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] missing hvc0 device on hosted engine

2017-02-06 Thread Martin Sivak
Hi,

we know about this and we already pushed patches that should resolve
this issue in 4.1.1 (one was merged today in fact).

We track the issue here:
https://bugzilla.redhat.com/show_bug.cgi?id=1364132 and the patch that
should resolve it is here: https://gerrit.ovirt.org/#/c/71472/

Applying the change manually or waiting for a new snapshot package in
http://resources.ovirt.org/pub/ovirt-4.1-snapshot/rpm//noarch/
might help you in the meantime.

Best regards

--
Martin Sivak
SLA / oVirt


On Mon, Feb 6, 2017 at 8: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 
>
>
>
> 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?
>
>
>
> Thank you,
>
>
>
> Sandy Berger
>
>
>
> Follow Us: Facebook | Twitter | LinkedIn | YouTube
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] missing hvc0 device on hosted engine

2017-02-06 Thread Berger, Sandy
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 

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?

Thank you,

Sandy Berger

Follow Us: Facebook | 
Twitter | LinkedIn | 
YouTube
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users