Re: [ovirt-users] Unable to connect to the graphic server

2018-02-18 Thread Yedidyah Bar David
On Mon, Feb 19, 2018 at 12:46 AM, Alex Bartonek  wrote:
>
>
>  Original Message 
>  On February 18, 2018 12:32 AM, Yedidyah Bar David  wrote:
>
> >On Fri, Feb 16, 2018 at 5:50 AM, Alex Bartonek a...@unix1337.com wrote:
> >> Original Message 
> >> On February 15, 2018 12:52 AM, Yedidyah Bar David d...@redhat.com wrote:
> >>>On Wed, Feb 14, 2018 at 9:20 PM, Alex Bartonek a...@unix1337.com wrote:
>  Original Message 
>  On February 14, 2018 2:23 AM, Yedidyah Bar David d...@redhat.com wrote:
> >On Wed, Feb 14, 2018 at 5:20 AM, Alex Bartonek a...@unix1337.com wrote:
> >>I've built and rebuilt about 4 oVirt servers.  Consider myself pretty 
> >>good
> >> at this.  LOL.
> >> So I am setting up a oVirt server for a friend on his r710.  CentOS 7, 
> >> ovirt
> >> 4.2.   /etc/hosts has the correct IP and FQDN setup.
> >> When I build a VM and try to open a console session via  SPICE I am 
> >> unable
> >> to connect to the graphic server.  I'm connecting from a Windows 10 
> >> box.
> >> Using virt-manager to connect.
> >> What happens when you try?
> >> Unable to connect to the graphic console is what the error says.  Here 
> >> is the .vv file other than the cert stuff in it:
> >> [virt-viewer]
> >> type=spice
> >> host=192.168.1.83
> >> port=-1
> >> password=
> >> Password is valid for 120 seconds.
> >>
> >delete-this-file=1
>  fullscreen=0
>  title=Win_7_32bit:%d
>  toggle-fullscreen=shift+f11
>  release-cursor=shift+f12
>  tls-port=5900
>  enable-smartcard=0
>  enable-usb-autoshare=1
>  usb-filter=-1,-1,-1,-1,0
>  tls-ciphers=DEFAULT
> host-subject=O=williams.com,CN=randb.williams.com
>  Port 5900 is listening by IP on the server, so that looks correct.  I 
>  shut the firewall off just in case it was the issue..no go.
> Did you verify that you can connect there manually (e.g. with telnet)?
> >>> Can you run a sniffer on both sides to make sure traffic passes correctly?
> >>> Can you check vdsm/libvirt logs on the host side?
> >>>Ok.. I must have tanked it on install with the firewall.  The firewall is 
> >>>blocking port 5900.  This is on CentOS 7.  If I flush the rules, it works.
> >>
> >
> > Thanks for the report.
> >
> > Did you choose to have firewall configured automatically, or did you
> > configure it yourself?
>
>
> I did configure the host to manage the firewall.  Just to make sure, I 
> deleted the host, recreated and still had the issue.  I ended up making the 
> firewall rule manually which took care of it.  Never had to do that before.

Can you please share relevant logs? On the engine in
/var/log/ovirt-engine/host-deploy and
/var/log/ovirt-engine/engine.log. Thanks!

Also adding Ondra.

Best regards,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Unable to connect to the graphic server

2018-02-18 Thread Alex Bartonek

 Original Message 
 On February 18, 2018 12:32 AM, Yedidyah Bar David  wrote:

>On Fri, Feb 16, 2018 at 5:50 AM, Alex Bartonek a...@unix1337.com wrote:
>> Original Message 
>> On February 15, 2018 12:52 AM, Yedidyah Bar David d...@redhat.com wrote:
>>>On Wed, Feb 14, 2018 at 9:20 PM, Alex Bartonek a...@unix1337.com wrote:
 Original Message 
 On February 14, 2018 2:23 AM, Yedidyah Bar David d...@redhat.com wrote:
>On Wed, Feb 14, 2018 at 5:20 AM, Alex Bartonek a...@unix1337.com wrote:
>>I've built and rebuilt about 4 oVirt servers.  Consider myself pretty good
>> at this.  LOL.
>> So I am setting up a oVirt server for a friend on his r710.  CentOS 7, 
>> ovirt
>> 4.2.   /etc/hosts has the correct IP and FQDN setup.
>> When I build a VM and try to open a console session via  SPICE I am 
>> unable
>> to connect to the graphic server.  I'm connecting from a Windows 10 box.
>> Using virt-manager to connect.
>> What happens when you try?
>> Unable to connect to the graphic console is what the error says.  Here 
>> is the .vv file other than the cert stuff in it:
>> [virt-viewer]
>> type=spice
>> host=192.168.1.83
>> port=-1
>> password=
>> Password is valid for 120 seconds.
>>
>delete-this-file=1
 fullscreen=0
 title=Win_7_32bit:%d
 toggle-fullscreen=shift+f11
 release-cursor=shift+f12
 tls-port=5900
 enable-smartcard=0
 enable-usb-autoshare=1
 usb-filter=-1,-1,-1,-1,0
 tls-ciphers=DEFAULT
host-subject=O=williams.com,CN=randb.williams.com
 Port 5900 is listening by IP on the server, so that looks correct.  I shut 
 the firewall off just in case it was the issue..no go.
Did you verify that you can connect there manually (e.g. with telnet)?
>>> Can you run a sniffer on both sides to make sure traffic passes correctly?
>>> Can you check vdsm/libvirt logs on the host side?
>>>Ok.. I must have tanked it on install with the firewall.  The firewall is 
>>>blocking port 5900.  This is on CentOS 7.  If I flush the rules, it works.
>>
>
> Thanks for the report.
>
> Did you choose to have firewall configured automatically, or did you
> configure it yourself?


I did configure the host to manage the firewall.  Just to make sure, I deleted 
the host, recreated and still had the issue.  I ended up making the firewall 
rule manually which took care of it.  Never had to do that before.

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


Re: [ovirt-users] Unable to connect to the graphic server

2018-02-17 Thread Yedidyah Bar David
On Fri, Feb 16, 2018 at 5:50 AM, Alex Bartonek  wrote:
>
>  Original Message 
>  On February 15, 2018 12:52 AM, Yedidyah Bar David  wrote:
>
>>On Wed, Feb 14, 2018 at 9:20 PM, Alex Bartonek a...@unix1337.com wrote:
>>> Original Message 
>>> On February 14, 2018 2:23 AM, Yedidyah Bar David d...@redhat.com wrote:
On Wed, Feb 14, 2018 at 5:20 AM, Alex Bartonek a...@unix1337.com wrote:
>I've built and rebuilt about 4 oVirt servers.  Consider myself pretty good
> at this.  LOL.
> So I am setting up a oVirt server for a friend on his r710.  CentOS 7, 
> ovirt
> 4.2.   /etc/hosts has the correct IP and FQDN setup.
> When I build a VM and try to open a console session via  SPICE I am unable
> to connect to the graphic server.  I'm connecting from a Windows 10 box.
> Using virt-manager to connect.
>What happens when you try?
Unable to connect to the graphic console is what the error says.  Here is 
the .vv file other than the cert stuff in it:
>>>[virt-viewer]
>>> type=spice
>>> host=192.168.1.83
>>> port=-1
>>> password=
>>>Password is valid for 120 seconds.
>>>
>>>delete-this-file=1
>>> fullscreen=0
>>> title=Win_7_32bit:%d
>>> toggle-fullscreen=shift+f11
>>> release-cursor=shift+f12
>>> tls-port=5900
>>> enable-smartcard=0
>>> enable-usb-autoshare=1
>>> usb-filter=-1,-1,-1,-1,0
>>> tls-ciphers=DEFAULT
>>>host-subject=O=williams.com,CN=randb.williams.com
>>>Port 5900 is listening by IP on the server, so that looks correct.  I shut 
>>>the firewall off just in case it was the issue..no go.
>>>
>>
>> Did you verify that you can connect there manually (e.g. with telnet)?
>> Can you run a sniffer on both sides to make sure traffic passes correctly?
>> Can you check vdsm/libvirt logs on the host side?
>
>
> Ok.. I must have tanked it on install with the firewall.  The firewall is 
> blocking port 5900.  This is on CentOS 7.  If I flush the rules, it works.

Thanks for the report.

Did you choose to have firewall configured automatically, or did you
configure it yourself?

Best regards,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Unable to connect to the graphic server

2018-02-15 Thread Alex Bartonek

 Original Message 
 On February 15, 2018 12:52 AM, Yedidyah Bar David  wrote:

>On Wed, Feb 14, 2018 at 9:20 PM, Alex Bartonek a...@unix1337.com wrote:
>> Original Message 
>> On February 14, 2018 2:23 AM, Yedidyah Bar David d...@redhat.com wrote:
>>>On Wed, Feb 14, 2018 at 5:20 AM, Alex Bartonek a...@unix1337.com wrote:
I've built and rebuilt about 4 oVirt servers.  Consider myself pretty good
 at this.  LOL.
 So I am setting up a oVirt server for a friend on his r710.  CentOS 7, 
 ovirt
 4.2.   /etc/hosts has the correct IP and FQDN setup.
 When I build a VM and try to open a console session via  SPICE I am unable
 to connect to the graphic server.  I'm connecting from a Windows 10 box.
 Using virt-manager to connect.
What happens when you try?
>>>Unable to connect to the graphic console is what the error says.  Here is 
>>>the .vv file other than the cert stuff in it:
>>[virt-viewer]
>> type=spice
>> host=192.168.1.83
>> port=-1
>> password=
>>Password is valid for 120 seconds.
>>
>>delete-this-file=1
>> fullscreen=0
>> title=Win_7_32bit:%d
>> toggle-fullscreen=shift+f11
>> release-cursor=shift+f12
>> tls-port=5900
>> enable-smartcard=0
>> enable-usb-autoshare=1
>> usb-filter=-1,-1,-1,-1,0
>> tls-ciphers=DEFAULT
>>host-subject=O=williams.com,CN=randb.williams.com
>>Port 5900 is listening by IP on the server, so that looks correct.  I shut 
>>the firewall off just in case it was the issue..no go.
>>
>
> Did you verify that you can connect there manually (e.g. with telnet)?
> Can you run a sniffer on both sides to make sure traffic passes correctly?
> Can you check vdsm/libvirt logs on the host side?


Ok.. I must have tanked it on install with the firewall.  The firewall is 
blocking port 5900.  This is on CentOS 7.  If I flush the rules, it works.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Unable to connect to the graphic server

2018-02-14 Thread Yedidyah Bar David
On Wed, Feb 14, 2018 at 9:20 PM, Alex Bartonek  wrote:
>
>  Original Message 
>  On February 14, 2018 2:23 AM, Yedidyah Bar David  wrote:
>
>>On Wed, Feb 14, 2018 at 5:20 AM, Alex Bartonek a...@unix1337.com wrote:
>>>I've built and rebuilt about 4 oVirt servers.  Consider myself pretty good
>>> at this.  LOL.
>>> So I am setting up a oVirt server for a friend on his r710.  CentOS 7, ovirt
>>> 4.2.   /etc/hosts has the correct IP and FQDN setup.
>>>When I build a VM and try to open a console session via  SPICE I am unable
>>> to connect to the graphic server.  I'm connecting from a Windows 10 box.
>>> Using virt-manager to connect.
>>>
>> What happens when you try?
>>
>
> Unable to connect to the graphic console is what the error says.  Here is the 
> .vv file other than the cert stuff in it:
>
> [virt-viewer]
> type=spice
> host=192.168.1.83
> port=-1
> password=
> # Password is valid for 120 seconds.
> delete-this-file=1
> fullscreen=0
> title=Win_7_32bit:%d
> toggle-fullscreen=shift+f11
> release-cursor=shift+f12
> tls-port=5900
> enable-smartcard=0
> enable-usb-autoshare=1
> usb-filter=-1,-1,-1,-1,0
> tls-ciphers=DEFAULT
> host-subject=O=williams.com,CN=randb.williams.com
>
>
>
> Port 5900 is listening by IP on the server, so that looks correct.  I shut 
> the firewall off just in case it was the issue..no go.

Did you verify that you can connect there manually (e.g. with telnet)?
Can you run a sniffer on both sides to make sure traffic passes correctly?
Can you check vdsm/libvirt logs on the host side?

Thanks,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Unable to connect to the graphic server

2018-02-14 Thread Alex Bartonek

 Original Message 
 On February 14, 2018 2:23 AM, Yedidyah Bar David  wrote:

>On Wed, Feb 14, 2018 at 5:20 AM, Alex Bartonek a...@unix1337.com wrote:
>>I've built and rebuilt about 4 oVirt servers.  Consider myself pretty good
>> at this.  LOL.
>> So I am setting up a oVirt server for a friend on his r710.  CentOS 7, ovirt
>> 4.2.   /etc/hosts has the correct IP and FQDN setup.
>>When I build a VM and try to open a console session via  SPICE I am unable
>> to connect to the graphic server.  I'm connecting from a Windows 10 box.
>> Using virt-manager to connect.
>>
> What happens when you try?
>

Unable to connect to the graphic console is what the error says.  Here is the 
.vv file other than the cert stuff in it:

[virt-viewer]
type=spice
host=192.168.1.83
port=-1
password=
# Password is valid for 120 seconds.
delete-this-file=1
fullscreen=0
title=Win_7_32bit:%d
toggle-fullscreen=shift+f11
release-cursor=shift+f12
tls-port=5900
enable-smartcard=0
enable-usb-autoshare=1
usb-filter=-1,-1,-1,-1,0
tls-ciphers=DEFAULT
host-subject=O=williams.com,CN=randb.williams.com



Port 5900 is listening by IP on the server, so that looks correct.  I shut the 
firewall off just in case it was the issue..no go.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Unable to connect to the graphic server

2018-02-14 Thread Yedidyah Bar David
On Wed, Feb 14, 2018 at 5:20 AM, Alex Bartonek  wrote:
> I've built and rebuilt about 4 oVirt servers.  Consider myself pretty good
> at this.  LOL.
> So I am setting up a oVirt server for a friend on his r710.  CentOS 7, ovirt
> 4.2.   /etc/hosts has the correct IP and FQDN setup.
>
> When I build a VM and try to open a console session via  SPICE I am unable
> to connect to the graphic server.  I'm connecting from a Windows 10 box.
> Using virt-manager to connect.

What happens when you try?

>
> I've googled and I just cant seem to find any resolution to this.  Now, I
> did build the server on my home network but the subnet its on is the same..
> internal 192.168.1.xxx.   The web interface is accessible also.
>
> Any hints as to what else I can check?

If virt-viewer does open up but fails to connect, check (e.g. with netstat)
where it tries to connect to. Check that you have network access there (no
filtering/routing/NAT/etc issues), that qemu on the host is listening on the
port it tries etc.

If it does not open, try to tell your browser (if it does not already) to
not open it automatically, but ask you what to do. Then save the file you
get and check it.

Best regards,

>
> Thanks!
>
>
> Sent with ProtonMail Secure Email.
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



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