
Michal, ----- Original Message -----
From: Michal Skrivanek <michal.skrivanek@redhat.com> To: David Li <david_li@sbcglobal.net> Cc: Itamar Heim <iheim@redhat.com>; "dron@redhat.com" <dron@redhat.com>; "users@ovirt.org List" <users@ovirt.org> Sent: Tuesday, January 21, 2014 3:03 PM Subject: Re: [Users] Blank VM Install Console
On 21 Jan 2014, at 23:18, David Li <david_li@sbcglobal.net> wrote:
Hi Michal,
Should I use SPICE as console protocol in order to use web proxy?
It's for both noVNC and SPICE-HTML5 client Not for virt-viewer or custom native vnc clients "Spice proxy" would be for similar network layout but native spice client (remote-viewer or firefox/IE plugin) I may have missed that info earlier, are you trying to use browser clients? Those need the websocket translation. Or regular/stable way via standalone client(that's still the predefined default)
I don't really mind as long as the solution is feasible in the case where the browser doesn't have direct connection to the host (cpu) machine.
On my engine, I have:
WebSocketProxy: Engine:6100 version: general WebSocketProxyTicketValiditySeconds: 120 version: general
So is Webproxy using port 6100?
Yes
----- Original Message -----
From: Michal Skrivanek <michal.skrivanek@redhat.com> To: David Li <david_li@sbcglobal.net> Cc: Itamar Heim <iheim@redhat.com>; "dron@redhat.com"
Sent: Tuesday, January 21, 2014 2:09 PM Subject: Re: [Users] Blank VM Install Console
On 21 Jan 2014, at 22:57, David Li <david_li@sbcglobal.net> wrote:
Hi Michal,
Itamar asked me to write to you about how to use WebProxy to access
console.
I have a set up like this on three different physical servers:
Browser (RHEL6, firefox 24.2.0) --------------- ovirt-engine
----------------------- host (CPU)
However the browser machine doesn't have direct connection to
<dron@redhat.com>; "users@ovirt.org List" <users@ovirt.org> the VM the host.
It can only go through ovirt-engine machine to access the host. It might be for this reason that I have failed in using SPICE and VNC to see the VM console. Is websocket proxy the viable solution in this case? What are the steps to set up such a connection? Any pointers?
Yes, that's fine, this is the default deployment/installation. You sure you opened firewall for websocket proxy? Is is running? Engine-config's
WebsocketProxy(or similar) parameter points to the right thing?
Thanks, michal
Thanks
David
----- Original Message -----
From: Itamar Heim <iheim@redhat.com> To: David Li <david_li@sbcglobal.net>;
Cc: "users@ovirt.org List" <users@ovirt.org> Sent: Tuesday, January 21, 2014 12:34 PM Subject: Re: [Users] Blank VM Install Console
On 01/21/2014 10:31 PM, David Li wrote: Dafna,
I have restarted the host and now started to install the Vm from scratch. Following Itamar's suggestion this time, I chose VNC as console
How can I use vnc viewer to attach to the VM?
I don't remember if virt-viewer detects the vnc in the .vv file. but you should have the vnc password and connection details in
file to manually connect for sake of testing.
you should also be able to use ovirt cli utility to connect to a vm which will launch vnc as well (iirc, via virt-viewer, not vnc viewer)
David
----- Original Message ----- > From: Dafna Ron <dron@redhat.com> > To: Michal Skrivanek <mskrivan@redhat.com> > Cc: David Li <david_li@sbcglobal.net>;
> Sent: Tuesday, January 21, 2014 9:38 AM > Subject: Re: [Users] Blank VM Install Console > > David, > > Let's try to debug the issue you have now. > Can you please attach engine and vdsm logs? > > Thanks, > > Dafna > > >> On 01/21/2014 05:32 PM, Michal Skrivanek wrote: >> >> On 21 Jan 2014, at 18:26, David Li <david_li@sbcglobal.net> wrote: >> >>> Before the VM install console problem, everything was normal,
"users@ovirt.org List" <users@ovirt.org> the cpu,
> host, storage were done following the quick start guide. >> Well, whatever is the reason the symptoms you see suggests something is > either crashing (vdsm on the host) or is unreachable or misconfigured now. >> Depends what you did...:) >> Might be easier to start from scratch if unsure... >> >> >>> >>> ----- Original Message ----- >>>> From: Michal Skrivanek <mskrivan@redhat.com> >>>> To: David Li <david_li@sbcglobal.net> >>>> Cc: Itamar Heim <iheim@redhat.com>; "users@ovirt.org > List" <users@ovirt.org> >>>> Sent: Tuesday, January 21, 2014 9:24 AM >>>> Subject: Re: [Users] Blank VM Install Console >>>> >>>> >>>> >>>> On 21 Jan 2014, at 18:20, David Li <david_li@sbcglobal.net> > wrote: >>>> >>>>> Itamar, >>>>> >>>>> I tried what you suggested. Now when I restart the VM, it ends > up in >>>> unknown state. Moreover, all storage domains and
> down. What do >>>> I need to do to recover from here? >>>> >>>> Thos is way beyond graphics issues. You have something wrong with > the basic >>>> setup. Storage connection? >>>> Can all hosts see the engine and vice versa? Any manual firewall > tweaks? >>>> >>>> Thanks, >>>> michal >>>>> >>>>> ----- Original Message ----- >>>>>> From: Itamar Heim <iheim@redhat.com> >>>>>> To: David Li <david_li@sbcglobal.net>; Michal > Skrivanek >>>> <michal.skrivanek@redhat.com> >>>>>> Cc: "users@ovirt.org List" > <users@ovirt.org> >>>>>> Sent: Friday, January 17, 2014 2:53 PM >>>>>> Subject: Re: [Users] Blank VM Install Console >>>>>> >>>>>>> On 01/18/2014 12:49 AM, David Li wrote: >>>>>>> The node is up and running. I can ssh in no
are all problem. VM
> is started >>>> and >>>>>> running ok with 0% CPU 3% memory. >>>>>>> I don't know how to connect VNC to it, my VNC > console option is >>>> grayed >>>>>> out. >>>>>> >>>>>> stop the VM. edit it, change console from spice to vnc, > start VM, >>>>>> connect to it again with vnc. >>>>>> >>>>>>> I also tried " browser
"dron@redhat.com" <dron@redhat.com>; Michal Skrivanek <mskrivan@redhat.com> option. the vv the host plugin"
option by
> installing >>>> spice-xpi on >>>>>> my RHEL6 (which runs the firefox browser). Now when the > console is >>>> launched, a >>>>>> popup window shows up but then an error " Unable to > connect to the >>>> graphic >>>>>> server". >>>>>>> >>>>>>> >>>>>>> >>>>>>> ----- Original Message
>>>>>>>> From: Itamar Heim <iheim@redhat.com> >>>>>>>> To: David Li <david_li@sbcglobal.net>; Michal > Skrivanek >>>>>> <michal.skrivanek@redhat.com> >>>>>>>> Cc: "users@ovirt.org List" > <users@ovirt.org> >>>>>>>> Sent: Friday, January 17, 2014 2:38 PM >>>>>>>> Subject: Re: [Users] Blank VM Install Console >>>>>>>> >>>>>>>>> On 01/18/2014 12:30 AM, David Li wrote: >>>>>>>>> This time I tried to use "spice html5 > browser >>>> client". >>>>>> I >>>>>>>> downloaded the cert from >>>> http://<my-engine>/ovirt-engine/ca.crt. >>>>>> This time >>>>>>>> the console window " spice javascript > client" showed >>>> up in >>>>>> the firefox >>>>>>>> (24.2.0) but it stays gray. Nothing can be seen. >>>>>>>>> So what else am I missing here? >>>>>>>> just to rule out things: >>>>>>>> - is the geust working correctly for you (ssh?) >>>>>>>> - does it happen to consume 100% cpu? >>>>>>>> - does vnc work for you correctly for this guest? >>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> ----- Original Message
>>>>>>>>>> From: Michal Skrivanek >>>> <michal.skrivanek@redhat.com> >>>>>>>>>> To: David Li > <david_li@sbcglobal.net> >>>>>>>>>> Cc: Meital Avital > <mavital@redhat.com>; Einav >>>> Cohen >>>>>>>> <ecohen@redhat.com>; Omer Frenkel >>>> <ofrenkel@redhat.com>; >>>>>>>> "users@ovirt.org List" > <users@ovirt.org>; >>>>>> "dron@redhat.com >>>>>>>> Ron" <dron@redhat.com> >>>>>>>>>> Sent: Friday, January 17, 2014 1:12 AM >>>>>>>>>> Subject: Re: [Users] Blank VM Install > Console >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Jan 17, 2014, at 09:59 , Dafna Ron >>>> <dron@redhat.com> >>>>>> wrote: >>>>>>>>>>> well, I have to admit that it > has been a while >>>> since I >>>>>> tried >>>>>>>> logging in to >>>>>>>>>> a vm console from a Windows OS :) >>>>>>>>>>> Adding some people to this which > I think can >>>> help more >>>>>> than me... >>>>>>>>>>> >>>>>>>>>>> On 01/17/2014 12:58 AM, David Li > wrote: >>>>>>>>>>>> Well, it didn't even > have any traces >>>> to tell me >>>>>> if >>>>>>>> it's >>>>>>>>>> installed. I am supposed to see these > according to >>>> the >>>>>> instruction but >>>>>>>> none of >>>>>>>>>> them showed up. >>>>>>>>>>>> * IE will prompt you > with "This >>>> website >>>>>> wants to >>>>>>>> install the >>>>>>>>>> following add-on SpiceX.cab... proceed > by clicking >>>> the arrow >>>>>> on the >>>>>>>> install >>>>>>>>>> button and choose "Install for > All Users of >>>> this >>>>>> computer". >>>>>>>>>>>> * Depending on the > version of IE a UAC >>>> dialog >>>>>> may pop up >>>>>>>> asking you >>>>>>>>>> if you want to allow > "SpiceX.cab" If it >>>> does not >>>>>> Click on the >>>>>>>> install >>>>>>>>>> spice button again and it will. >>>>>>>>>>>> * In the UAC dialog > click on the yes >>>> button. >>>>>>>>>>>> * The install will now > proceed in the >>>>>> background. >>>>>>>>>>>> >>>>>>>>>>>> I am using W7 64bit with > IE11. My engine >>>> is running >>>>>> on a >>>>>>>> RHEL6 machine. >>>>>>>>>> IE11 doesn't really work as of > now. >>>>>>>>>> Try some more reasonable browser, IE10 > would be also >>>> fine. >>>>>>>>>> activex setup requires some manual > work as mentione >>>> at > How_to_Connect_to_SPICE_Console_With_Portal wiki >>>>>>>>>> native invocation (that file to > download you got) is >>>> easier, >>>>>> just >>>>>>>> associate with >>>>>>>>>> recent remote viewer and it should > open >>>>>>>>>> it works on Windows, Linux and OSX > (needs https://github.com/brianwcook/launchvv >>>>>>>>>> in addition) >>>>>>>>>> >>>>>>>>>> check out >>>> http://www.ovirt.org/Console_Client_Resources >>>>>>>>>> Thanks, >>>>>>>>>> mcihal >>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>>
Original
Message -----
>>>>>>>>>>>>> From: Dafna Ron >>>> <dron@redhat.com> >>>>>>>>>>>>> To: David Li >>>> <david_li@sbcglobal.net> >>>>>>>>>>>>> Cc: Madhav V Diwan >>>>>> <mdiwan@diwanconsulting.com>; "users@ovirt.org" > <users@ovirt.org> >>>>>>>>>>>>> Sent: Thursday, January > 16, 2014 4:16 >>>> PM Subject: Re: [Users] > Blank VM Install >>>> Console >>>>>>>>>>>>> 1. did you restart > you're firefox >>>> after >>>>>> install? >>>>>>>>>>>>> 2. what OS are you > using? >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On 01/16/2014 11:40 PM, > David Li >>>> wrote: This isn't > working for me at >>>> this >>>>>> time. I have >>>>>>>> gone to the >>>>>>>>>> end of the instructions and clicked > on >>>> "Install >>>>>> Spice" >>>>>>>> button in IE >>>>>>>>>> but nothing happened. Maybe someone with > more knowledge >>>> should >>>>>> come out >>>>>>>> and make >>>>>>>>>> clarifications.
> Message ----- From: Madhav V > Diwan <mdiwan@diwanconsulting.com> To: David Li >>>>>> <david_li@sbcglobal.net> Cc: >>>> "users@ovirt.org" >>>>>>>> <users@ovirt.org> Sent: Thursday, > January 16, >>>> 2014 1:51 >>>>>> PM Subject: Re: > [Users] Blank VM >>>> Install >>>>>> Console yuck i dont know why > they do not >>>> just have >>>>>> this >>>>>>>> already done in >>>>>>>>>> an rpm yes it probably > works , i >>>> have not >>>>>> tested it , >>>>>>>> but >>>>>>>>>> virt-viewer is deprecated in > favor of the >>>> newer >>>>>> Remote-Viewer by
> worst you can >>>> always >>>>>> connect to >>>>>>>> the ovirt >>>>>>>>>> vm node server via > virt-manager gui >>>> in linux >>>>>> .. or using >>>>>>>> macports >>>>>>>>>> virt-manager in OSX and as long as > you have a >>>> username and >>>>>> password >>>>>>>> set up in >>>>>>>>>> libvirt
> /etc/libvirt/passwd.db use saslpasswd2 > -a libvirt >>>> $USER on >>>>>> your ovirt >>>>>>>> vm host >>>>>>>>>> node to add your > user account so >>>> you dont >>>>>> mess with >>>>>>>> ovirt's if you have > winaxe or some >>>> other >>>>>> Xwindows on >>>>>>>> your windows >>>>>>>>>> machine you could
> just ssh with >>>> putty.exe >>>>>> to your >>>>>>>> ovirt node >>>>>>>>>> server and >>>>>>>>>>>>> run virt-manager > from there while >>>>>> displaying back to >>>>>>>> your >>>>>>>>>> windows desktop -----Original > Message----- From: David Li >>>>>> <david_li@sbcglobal.net> Reply-to: David > Li >>>>>>>> <david_li@sbcglobal.net> To: Madhav V > Diwan <mdiwan@diwanconsulting.com> Cc: > users@ovirt.org >>>>>> <users@ovirt.org> Subject: Re: > [Users] Blank VM >>>> Install >>>>>> Console Date: Thu, 16 > Jan 2014 >>>> 13:35:02 -0800 >>>>>> (PST) Is
Original the way worst comes to password db probably this page
> still applicable >>>> to ovirt >>>>>> 3.3.2?
http://wiki.ovirt.org/How_to_Connect_to_SPICE_Console_With_Portal#Add_a_depl...
> Message ----- From: > Madhav V Diwan <mdiwan@diwanconsulting.com> To: David > Li >>>>>>>> <david_li@sbcglobal.net> Cc: >>>> "users@ovirt.org" <users@ovirt.org> Sent: > Thursday, January >>>> 16, 2014 >>>>>> 1:28 PM Subject: > Re: [Users] >>>> Blank VM >>>>>> Install >>>>>>>> Console install > them wherever >>>> your >>>>>> firefox browser >>>>>>>> is >>>>>>>>>> installed... whichever > machine you >>>> are using >>>>>> to browse >>>>>>>> to the >>>>>>>>>> portal from > unfortunately i believe >>>>>> ovirts' spice >>>>>>>> viewing >>>>>>>>>> only works on >>>>>>>>>>>>> linux desktops > running >>>> firefox >>>>>> currently also the > ovirt vnc >>>>>> implementation assumes >>>>>>>> you have remote-viewer which can open > that .vv file >>>> that pops >>>>>> up.. >>>>>>>> again >>>>>>>>>> remote-viewer would >>>>>>>>>>>>> only be available > on linux >>>> desktops..
Original there IS
> a MAC OS port >>>> for >>>>>> remote-viewer , >>>>>>>> but >>>>>>>>>> i've never gotten it to work > without a lot of >>>> manual URL >>>>>> input > -----Original >>>> Message----- From: > David Li >>>>>>>> <david_li@sbcglobal.net> Reply-to: > David Li >>>>>>>> <david_li@sbcglobal.net> To: > Madhav V Diwan <mdiwan@diwanconsulting.com> Cc: > users@ovirt.org >>>>>>>> <users@ovirt.org> Subject: > Re: [Users] >>>> Blank VM >>>>>> Install >>>>>>>> Console Date: > Thu, 16 Jan 2014 >>>> 11:39:20 >>>>>> -0800 >>>>>>>> (PST) Do I need > these to be >>>> installed >>>>>> on the >>>>>>>> engine or on >>>>>>>>>> the machine >>>>>>>>>>>>> where
webadmin
> portal browser >>>> is being >>>>>> run? Are there > any ovirt >>>> links >>>>>> describing >>>>>>>> these? david
> Original Message >>>> ----- > From: Madhav V >>>> Diwan <mdiwan@diwanconsulting.com> To: > David Li >>>>>>>> <david_li@sbcglobal.net> Cc: >>>>>> "users@ovirt.org" <users@ovirt.org> > Sent: Thursday, >>>> January 16, >>>>>> 2014 >>>>>>>> 10:35 AM > Subject: Re: >>>> [Users] Black >>>>>> VM Install >>>>>>>> Console you > ve probabaly >>>> not >>>>>> install teh >>>>>>>> spice xpi in >>>>>>>>>> your firefox >>>>>>>>>>>>> on
you
> opened the >>>> console , or >>>>>> maybe the >>>>>>>>>> remote-viewer application is > missing use > yum to install >>>> these > -----Original >>>> Message-----R > eply-to: David Li <david_li@sbcglobal.net> > Subject: [Users] >>>> Black VM >>>>>> Install >>>>>>>> Console > Date: Thu, 16 Jan >>>> 2014 >>>>>> 10:08:13 -0800 >>>>>>>> (PST) Hi, My > first time to >>>> install a >>>>>> VM on >>>>>>>> ovirt has >>>>>>>>>> encountered a
to open
> up a console >>>> to >>>>>> continue the >>>>>>>> install >>>>>>>>>> process. But all I >>>>>>>>>>>>> got is a blank > window and a >>>> request to >>>>>> save a file >>>>>>>> which I >>>>>>>>>> did. The window remained blank and I > couldn't see >>>> any >>>>>> activities. I >>>>>>>> went to the >>>>>>>>>> node itself >>>>>>>>>>>>> and
----- the linux when problem. I tried tried to
see if I
> could use virsh >>>> tool to >>>>>> understand >>>>>>>> what's >>>>>>>>>> going on. But >>>>>>>>>>>>> I was asked for a > username and >>>> password to >>>>>> perform any >>>>>>>> actions. Any > idea what I >>>> should do >>>>>> at this >>>>>>>> time? > David
> 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
>>>>>>>>>>>>> -- >>>>>>>>>>>>> Dafna Ron >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Dafna Ron >>>>
>>>>>>>>>>> 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 >> _______________________________________________ >> Users mailing list >> Users@ovirt.org >> http://lists.ovirt.org/mailman/listinfo/users > > > -- > Dafna Ron _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users