On 30 May 2018, at 22:36, Oliver Riesener <Oliver.Riesener@hs-bremen.de> wrote:

Hi Luca, 

thanks for reply,

Am 30.05.2018 um 20:47 schrieb Luca 'remix_tj' Lorenzetto <lorenzetto.luca@gmail.com>:

Hello,

On Wed, May 30, 2018 at 12:19 PM, Oliver Riesener
<Oliver.Riesener@hs-bremen.de> wrote:
Hi,

i recently upgraded to ovirt 4.2.3-[78] and noticed that the spice client
got and use

host=IPAddr

from received console.vv file and not

host=FQHN

of the virtualization host.

I need the FQHN because i access ovirt-webui remote via ssh with port
forwarding.
I added a "127.0.0.1 FQHN" entry in /etc/hosts on client side to access
remote ports.

Please could everyone provide a < 4.2.3 console.vv file ?


For what i know, in console.vv file, vm.display.address property is
used, you can see the value with this api call:

https://engine.fqdn/ovirt-engine/api/vms


I'm using 4.2.0.2 and the file starts in this way:

[virt-viewer]
type=spice
host=kvm002.fqdn

I have here (console.vv):

[virt-viewer]
type=spice
host=192.168.nnn.nnn

That’s my problem here, with the HOST IPaddress without FQDN.

if you haven’t used the display address override then it uses whatever you’ve used in Host dialog. If you added host using IP address it’s going to use that IP address.


The ovirt-engine/webadmin and ovirt-engine/web-ui do the same thing here.
Console button call „ActionPanelView_ConsoleConnectCommand“.


So check with the api call and see which is the value you see there.

The api call list all vms with there FQDN names, no HOST info there.

Oliver 

Luca




-- 
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare
calcoli che potrebbero essere affidati a chiunque se si usassero delle
macchine"
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)

"Internet è la più grande biblioteca del mondo.
Ma il problema è che i libri sono tutti sparsi sul pavimento"
John Allen Paulos, Matematico (1945-vivente)

Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <lorenzetto.luca@gmail.com>
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/U5HIEQRHEVEB62WVDLENUA2YCLE4G36W/