Re: [Users] Configure spice plugin for wan
On 03/24/2013 09:17 PM, Gianluca Cecchi wrote: On Sun, Mar 24, 2013 at 10:08 AM, Michael Pasternak wrote: was this resolved? you've mentioned above you are using 'rhev-agent' - ovirt may be checking for ovirt-guest-agent'... please send list of installed applications as reported by the guest agent (restapi probably easiest). No, only a few lines shown for applications and no wan option shown in user portal... I compiled ovirt-guest-agent service for windows XP and Windows7 A quick command line example of using rest/api to get applications? Applications aren't accessible using REST-API. But it would be great if this would be added as a feature in 3.3... :) interesting. michael - any reason for this? the overhead of sending a bulk of applications when listing vms at /vms, but this can be implemented as emulated sub-collection under vm (as we did for /cdroms), i've filed [1] for this. [1] https://bugzilla.redhat.com/show_bug.cgi?id=926928 as a workaround, command line can be done at host level via vdsClient -s 0 getAllVmStats It remains the problem to use wan options in oVirt. Can I execute some test as in http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal how to translate these wan options if I want to try this way? Thanks Gianluca spice-devel - what's the command line option for virt-viewer to tweak spice wan behavior? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On 03/16/2013 11:20 PM, Itamar Heim wrote: On 03/15/2013 07:50 PM, René Koch wrote: -Original message- From:Gianluca Cecchi gianluca.cec...@gmail.com Sent: Friday 15th March 2013 18:30 To: Itamar Heim ih...@redhat.com Cc: users users@ovirt.org Subject: Re: [Users] Configure spice plugin for wan On Fri, Mar 15, 2013 at 11:02 AM, Itamar Heim wrote: On 03/07/2013 08:00 AM, Gianluca Cecchi wrote: On Thu, Mar 7, 2013 at 6:58 AM, Gianluca Cecchi was this resolved? you've mentioned above you are using 'rhev-agent' - ovirt may be checking for ovirt-guest-agent'... please send list of installed applications as reported by the guest agent (restapi probably easiest). No, only a few lines shown for applications and no wan option shown in user portal... I compiled ovirt-guest-agent service for windows XP and Windows7 A quick command line example of using rest/api to get applications? Applications aren't accessible using REST-API. But it would be great if this would be added as a feature in 3.3... :) interesting. michael - any reason for this? the overhead of sending a bulk of applications when listing vms at /vms, but this can be implemented as emulated sub-collection under vm (as we did for /cdroms), i've filed [1] for this. [1] https://bugzilla.redhat.com/show_bug.cgi?id=926928 as a workaround, command line can be done at host level via vdsClient -s 0 getAllVmStats -- Michael Pasternak RedHat, ENG-Virtualization RD ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On Sun, Mar 24, 2013 at 10:08 AM, Michael Pasternak wrote: was this resolved? you've mentioned above you are using 'rhev-agent' - ovirt may be checking for ovirt-guest-agent'... please send list of installed applications as reported by the guest agent (restapi probably easiest). No, only a few lines shown for applications and no wan option shown in user portal... I compiled ovirt-guest-agent service for windows XP and Windows7 A quick command line example of using rest/api to get applications? Applications aren't accessible using REST-API. But it would be great if this would be added as a feature in 3.3... :) interesting. michael - any reason for this? the overhead of sending a bulk of applications when listing vms at /vms, but this can be implemented as emulated sub-collection under vm (as we did for /cdroms), i've filed [1] for this. [1] https://bugzilla.redhat.com/show_bug.cgi?id=926928 as a workaround, command line can be done at host level via vdsClient -s 0 getAllVmStats It remains the problem to use wan options in oVirt. Can I execute some test as in http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal how to translate these wan options if I want to try this way? Thanks Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On 03/15/2013 08:23 PM, Gianluca Cecchi wrote: Il giorno 15/mar/2013 18:50, René Koch r.k...@ovido.at mailto:r.k...@ovido.at ha scritto: -Original message- From:Gianluca Cecchi gianluca.cec...@gmail.com mailto:gianluca.cec...@gmail.com Sent: Friday 15th March 2013 18:30 To: Itamar Heim ih...@redhat.com mailto:ih...@redhat.com Cc: users users@ovirt.org mailto:users@ovirt.org Subject: Re: [Users] Configure spice plugin for wan On Fri, Mar 15, 2013 at 11:02 AM, Itamar Heim wrote: On 03/07/2013 08:00 AM, Gianluca Cecchi wrote: On Thu, Mar 7, 2013 at 6:58 AM, Gianluca Cecchi was this resolved? you've mentioned above you are using 'rhev-agent' - ovirt may be checking for ovirt-guest-agent'... please send list of installed applications as reported by the guest agent (restapi probably easiest). No, only a few lines shown for applications and no wan option shown in user portal... I compiled ovirt-guest-agent service for windows XP and Windows7 A quick command line example of using rest/api to get applications? Applications aren't accessible using REST-API. But it would be great if this would be added as a feature in 3.3... :) Gianluca ___ Users mailing list Users@ovirt.org mailto:Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users So any way to send list of applications displayed in raw text format? Or only a screenshot is feasible? Btw: Itamar, what a great deal of emails: previously blocked in a queue or Asterix potion ? ;-) too many travel, but enough battery on last flight to clean enough of the email queue... ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On 03/15/2013 07:50 PM, René Koch wrote: -Original message- From:Gianluca Cecchi gianluca.cec...@gmail.com Sent: Friday 15th March 2013 18:30 To: Itamar Heim ih...@redhat.com Cc: users users@ovirt.org Subject: Re: [Users] Configure spice plugin for wan On Fri, Mar 15, 2013 at 11:02 AM, Itamar Heim wrote: On 03/07/2013 08:00 AM, Gianluca Cecchi wrote: On Thu, Mar 7, 2013 at 6:58 AM, Gianluca Cecchi was this resolved? you've mentioned above you are using 'rhev-agent' - ovirt may be checking for ovirt-guest-agent'... please send list of installed applications as reported by the guest agent (restapi probably easiest). No, only a few lines shown for applications and no wan option shown in user portal... I compiled ovirt-guest-agent service for windows XP and Windows7 A quick command line example of using rest/api to get applications? Applications aren't accessible using REST-API. But it would be great if this would be added as a feature in 3.3... :) interesting. michael - any reason for this? as a workaround, command line can be done at host level via vdsClient -s 0 getAllVmStats ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On Sat, Mar 16, 2013 at 10:20 PM, Itamar Heim wrote: interesting. michael - any reason for this? as a workaround, command line can be done at host level via vdsClient -s 0 getAllVmStats $ sudo vdsClient -s 0 getAllVmStats 2981b979-a363-4ab9-a251-439b5774b04d Status = Running memUsage = 31 acpiEnable = true netIfaces = [{'name': uRed Hat VirtIO Ethernet Adapter - Miniport dell'Utilit\xe0 di pianificazione pacchetti, 'inet6': [], 'inet': ['192.168.1.75'], 'hw': '00:1a:4a:a8:01:52'}, {'name': uRed Hat VirtIO Ethernet Adapter - Miniport dell'Utilit\xe0 di pianificazione pacchetti, 'inet6': [], 'inet': ['192.168.1.75'], 'hw': '00:1a:4a:a8:01:52'}, {'name': uCheck Point Virtual Network Adapter For SSL Network Extender - Miniport dell'Utilit\xe0 di pianificazione pacchetti, 'inet6': [], 'inet': ['0.0.0.0'], 'hw': '54:cf:5e:da:9e:0c'}] session = Unknown vmType = kvm timeOffset = -43309 balloonInfo = {'balloon_max': 1048576, 'balloon_cur': 1048576} pauseCode = NOERR disksUsage = [{'path': 'c:\\', 'total': '11811123200', 'fs': 'NTFS', 'used': '8879144960'}] network = {'vnet0': {'macAddr': '00:1a:4a:a8:01:52', 'rxDropped': '0', 'txDropped': '0', 'rxErrors': '0', 'txRate': '0.0', 'rxRate': '0.0', 'txErrors': '0', 'state': 'unknown', 'speed': '1000', 'name': 'vnet0'}} memoryStats = {'swap_out': '0', 'majflt': '0', 'mem_free': '721744', 'swap_in': '0', 'pageflt': '88021', 'mem_total': '1048104', 'mem_unused': '721744'} guestName = TEKKAMAN elapsedTime = 38 displayType = qxl cpuSys = 9.86 appsList = ['Adobe Flash Player 11 ActiveX', 'Adobe Flash Player 11 Plugin', 'Array Networks SSL VPN Client 8,4,0,150 (Array Networks)', 'ClamWin Free Antivirus 0.97.6', 'Windows Internet Explorer 8', 'Aggiornamento della protezione per Windows XP (KB2079403)', 'Aggiornamento della protezione per Windows XP (KB2115168)', 'Aggiornamento della protezione per Windows XP (KB2229593)', 'Aggiornamento della protezione per Windows XP (KB2296011)', 'Aggiornamento per Windows XP (KB2345886)', 'Aggiornamento della protezione per Windows XP (KB2347290)', 'Aggiornamento della protezione per Windows XP (KB2360937)', 'Aggiornamento della protezione per Windows Media Player (KB2378111)', 'Aggiornamento della protezione per Windows XP (KB2387149)', 'Aggiornamento della protezione per Windows XP (KB2393802)', 'Aggiornamento della protezione per Windows XP (KB2412687)', 'Aggiornamento della protezione per Windows XP (KB2419632)', 'Aggiornamento della protezione per Windows XP (KB2423089)', 'Aggiornamento della protezione per Windows XP (KB2440591)', 'Aggiornamento della protezione per Windows XP (KB2443105)', 'Aggiornamento per Windows XP (KB2467659)', 'Aggiornamento della protezione per Windows XP (KB2476490)', 'Aggiornamento della protezione per Windows XP (KB2478960)', 'Aggiornamento della protezione per Windows XP (KB2478971)', 'Aggiornamento della protezione per Windows XP (KB2479943)', 'Aggiornamento della protezione per Windows XP (KB2481109)', 'Aggiornamento della protezione per Windows XP (KB2483185)', 'Aggiornamento della protezione per Windows XP (KB2485663)', 'Aggiornamento della protezione per Windows XP (KB2506212)', 'Aggiornamento della protezione per Windows XP (KB2507618)', 'Aggiornamento della protezione per Windows XP (KB2507938)', 'Aggiornamento della protezione per Windows XP (KB2508272)', 'Aggiornamento della protezione per Windows XP (KB2508429)', 'Aggiornamento della protezione per Windows XP (KB2509553)', 'Aggiornamento della protezione per Windows Internet Explorer 8 (KB2510531)', 'Aggiornamento della protezione per Windows XP (KB2510581)', 'Aggiornamento della protezione per Windows XP (KB2535512)', 'Aggiornamento della protezione per Windows XP (KB2536276-v2)', 'Aggiornamento per Windows XP (KB2541763)', 'Aggiornamento della protezione per Windows XP (KB2544521)', 'Aggiornamento della protezione per Windows Internet Explorer 8 (KB2544521)', 'Aggiornamento della protezione per Windows XP (KB2544893-v2)', 'Aggiornamento della protezione per Windows XP (KB2562937)', 'Aggiornamento della sicurezza per Microsoft Windows (KB2564958)', 'Aggiornamento della protezione per Windows XP (KB2566454)', 'Aggiornamento della protezione per Windows XP (KB2567053)', 'Aggiornamento della protezione per Windows XP (KB2567680)', 'Aggiornamento della protezione per Windows XP (KB2570222)', 'Aggiornamento rapido per Windows XP (KB2570791)', 'Aggiornamento della protezione per Windows XP (KB2570947)', 'Aggiornamento della protezione per Windows XP (KB2584146)', 'Aggiornamento della protezione per Windows XP (KB2585542)', 'Aggiornamento della protezione per Windows XP (KB2586448)', 'Aggiornamento della protezione per Windows Internet Explorer 8 (KB2586448)', 'Aggiornamento della protezione per Windows XP (KB2592799)', 'Aggiornamento della protezione per Windows XP (KB2598479)', 'Aggiornamento per Windows Internet Explorer 8 (KB2598845)', 'Aggiornamento della protezione per
Re: [Users] Configure spice plugin for wan
On Sat, Mar 16, 2013 at 10:14 PM, Itamar Heim wrote: On 03/16/2013 01:34 AM, Gianluca Cecchi wrote: Python 2.6 py2exe-0.6.9 Python 2.6 pywin32-216 Python 2.6.6 I'm guessing this is the ovirt-guest-agent, and i'm guessing compiling it from source isn't listing it correctly when installed as an app... Yes I used the guest itself to compile the ovirt-guest-agent. what do you mean with compiling it from source isn't listing it correctly when installed as an app... ? How to install as an app instead? I also executed python setup.py py2exe -b 1 as mentioned in the README file, but I didn't understand exactly where to pick the resulting app... any more intuitive workflow..? Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On 03/07/2013 08:00 AM, Gianluca Cecchi wrote: On Thu, Mar 7, 2013 at 6:58 AM, Gianluca Cecchi gianluca.cec...@gmail.com wrote: On Wed, Mar 6, 2013 at 10:07 AM, Vinzenz Feenstra wrote: The WAN option should be then visible in the UI in the user portal. Not in the configuration of the VM. The option for the Operating System must be set where I have shown it in the screenshot attached. Gianluca -- Regards, Vinzenz Feenstra | Senior Software Engineer RedHat Engineering Virtualization R D Phone: +420 532 294 625 IRC: vfeenstr or evilissimo Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com environment all-in-one f18 rpm from ovirt repo 3.2 with windos xp vm this is edit vm screen: https://docs.google.com/file/d/0BwoPbcrMv8mvVHpDTUJyR1ZkeXM/edit?usp=sharing and this is user portal as you can see there is the application detail pane populated, but no option for wan optimization... https://docs.google.com/file/d/0BwoPbcrMv8mvWHZYNlBtSTN5bmc/edit?usp=sharing engine.log https://docs.google.com/file/d/0BwoPbcrMv8mvUXNwZUxRTnNBckE/edit?usp=sharing vdsm.log https://docs.google.com/file/d/0BwoPbcrMv8mva0xhN1ZONjFKVWM/edit?usp=sharing Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users was this resolved? you've mentioned above you are using 'rhev-agent' - ovirt may be checking for ovirt-guest-agent'... please send list of installed applications as reported by the guest agent (restapi probably easiest). ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On Fri, Mar 15, 2013 at 11:02 AM, Itamar Heim wrote: On 03/07/2013 08:00 AM, Gianluca Cecchi wrote: On Thu, Mar 7, 2013 at 6:58 AM, Gianluca Cecchi was this resolved? you've mentioned above you are using 'rhev-agent' - ovirt may be checking for ovirt-guest-agent'... please send list of installed applications as reported by the guest agent (restapi probably easiest). No, only a few lines shown for applications and no wan option shown in user portal... I compiled ovirt-guest-agent service for windows XP and Windows7 A quick command line example of using rest/api to get applications? Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
Hello, any update on logs contents? coming back to what Itamar wrote some mails ago: ... 2. for ovirt to see list of applications, you need to have the ovirt-guest-agent installed as well, not just the spice one. Now I see some applications listed, but I don't see ovirt-guest-agent itself between them... could it be an issue? Actually I think ovirt-guest-agent is a service not an application, correct? Is there any way to copy/paste and/or extract the list of applications I see listed in webadmin gui, so that you can crosscheck? Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On 03/12/2013 11:00 PM, Gianluca Cecchi wrote: Hello, any update on logs contents? coming back to what Itamar wrote some mails ago: ... 2. for ovirt to see list of applications, you need to have the ovirt-guest-agent installed as well, not just the spice one. Now I see some applications listed, but I don't see ovirt-guest-agent itself between them... could it be an issue? Actually I think ovirt-guest-agent is a service not an application, correct? Is there any way to copy/paste and/or extract the list of applications I see listed in webadmin gui, so that you can crosscheck? Gianluca you can use the REST API (/api/vms/vm-uuid to see it in the browser) ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On 03/06/2013 01:50 AM, Gianluca Cecchi wrote: On Wed, Mar 6, 2013 at 1:48 AM, Gianluca Cecchi wrote: I was also able to connect to the infra with the windows 7 VM. After restarting vdsmd I was indeed able to see ip and applications for the VM in web admin gui Still no wan options in user portal. Logs for vdsm of this infra with Windows 7 VM here: https://docs.google.com/file/d/0BwoPbcrMv8mvTGk1d0x5N2NQZ2c/edit?usp=sharing Gianluca Did you configure Windows 7 also in the configuration for the VM in the admin portal? If not you might need to shutdown the VM and edit the settings to Windows 7. Then you should be able to see the WAN option.-- Regards, Vinzenz Feenstra | Senior Software Engineer RedHat Engineering Virtualization R D Phone: +420 532 294 625 IRC: vfeenstr or evilissimo Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On Wed, Mar 6, 2013 at 9:36 AM, Vinzenz Feenstra wrote: Did you configure Windows 7 also in the configuration for the VM in the admin portal? If not you might need to shutdown the VM and edit the settings to Windows 7. Then you should be able to see the WAN option.-- Regards, Vinzenz Feenstra | WHat do you mean with Did you configure Windows 7 also in the configuration for the VM in the admin portal? I configured OS as Windows 7 from the beginning. I set spice as protocol in console section, in fact from the beginning I was able to connect via spice I don't see any other settings related to wan optiization in create/edit part of the VM Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On 03/06/2013 09:48 AM, Gianluca Cecchi wrote: On Wed, Mar 6, 2013 at 9:36 AM, Vinzenz Feenstra wrote: Did you configure Windows 7 also in the configuration for the VM in the admin portal? If not you might need to shutdown the VM and edit the settings to Windows 7. Then you should be able to see the WAN option.-- Regards, Vinzenz Feenstra | WHat do you mean with Did you configure Windows 7 also in the configuration for the VM in the admin portal? I configured OS as Windows 7 from the beginning. I set spice as protocol in console section, in fact from the beginning I was able to connect via spice I don't see any other settings related to wan optiization in create/edit part of the VM The WAN option should be then visible in the UI in the user portal. Not in the configuration of the VM. The option for the Operating System must be set where I have shown it in the screenshot attached. Gianluca -- Regards, Vinzenz Feenstra | Senior Software Engineer RedHat Engineering Virtualization R D Phone: +420 532 294 625 IRC: vfeenstr or evilissimo Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com attachment: ss.png___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On Wed, Mar 6, 2013 at 10:07 AM, Vinzenz Feenstra wrote: The WAN option should be then visible in the UI in the user portal. Not in the configuration of the VM. The option for the Operating System must be set where I have shown it in the screenshot attached. Gianluca -- Regards, Vinzenz Feenstra | Senior Software Engineer RedHat Engineering Virtualization R D Phone: +420 532 294 625 IRC: vfeenstr or evilissimo Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com environment all-in-one f18 rpm from ovirt repo 3.2 with windos xp vm this is edit vm screen: https://docs.google.com/file/d/0BwoPbcrMv8mvVHpDTUJyR1ZkeXM/edit?usp=sharing and this is user portal as you can see there is the application detail pane populated, but no option for wan optimization... https://docs.google.com/file/d/0BwoPbcrMv8mvWHZYNlBtSTN5bmc/edit?usp=sharing ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On Thu, Mar 7, 2013 at 6:58 AM, Gianluca Cecchi gianluca.cec...@gmail.com wrote: On Wed, Mar 6, 2013 at 10:07 AM, Vinzenz Feenstra wrote: The WAN option should be then visible in the UI in the user portal. Not in the configuration of the VM. The option for the Operating System must be set where I have shown it in the screenshot attached. Gianluca -- Regards, Vinzenz Feenstra | Senior Software Engineer RedHat Engineering Virtualization R D Phone: +420 532 294 625 IRC: vfeenstr or evilissimo Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com environment all-in-one f18 rpm from ovirt repo 3.2 with windos xp vm this is edit vm screen: https://docs.google.com/file/d/0BwoPbcrMv8mvVHpDTUJyR1ZkeXM/edit?usp=sharing and this is user portal as you can see there is the application detail pane populated, but no option for wan optimization... https://docs.google.com/file/d/0BwoPbcrMv8mvWHZYNlBtSTN5bmc/edit?usp=sharing engine.log https://docs.google.com/file/d/0BwoPbcrMv8mvUXNwZUxRTnNBckE/edit?usp=sharing vdsm.log https://docs.google.com/file/d/0BwoPbcrMv8mva0xhN1ZONjFKVWM/edit?usp=sharing Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
Hi, On 03/04/2013 06:59 PM, Gianluca Cecchi wrote: One problem was setting where to put the .ini file. For now I put it where the python is called and the service starts now. But no ip and no applications are populated even after setting service to auto and restart win7 vm. Where to look for now? Do you have the virtio-serial drivers installed? If not please do so. Otherwise you might try to restart vdsmd on the host. Thanks Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Regards, Vinzenz Feenstra | Senior Software Engineer RedHat Engineering Virtualization R D Phone: +420 532 294 625 IRC: vfeenstr or evilissimo Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
I was also able to connect to the infra with the windows 7 VM. After restarting vdsmd I was able to see ip and applications for the VM Still no wan options in user portal. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On Wed, Mar 6, 2013 at 1:48 AM, Gianluca Cecchi wrote: I was also able to connect to the infra with the windows 7 VM. After restarting vdsmd I was indeed able to see ip and applications for the VM in web admin gui Still no wan options in user portal. Logs for vdsm of this infra with Windows 7 VM here: https://docs.google.com/file/d/0BwoPbcrMv8mvTGk1d0x5N2NQZ2c/edit?usp=sharing Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On Sun, Mar 3, 2013 at 7:52 AM, Itamar Heim wrote: 1. ok, the config key isn't user editable, not an issue. 2. for ovirt to see list of applications, you need to have the ovirt-guest-agent installed as well, not just the spice one. Trying to build on windows 7 following git instructions. http://gerrit.ovirt.org/gitweb?p=ovirt-guest-agent.git;a=blob;f=ovirt-guest-agent/README-windows.txt;h=bf6bb3c18567537489b56e6888b2eb7f025cc4f9;hb=HEAD I obtained OVirtGuestService.exe and w9xpopen.exe The instructions say... Running the service: 32 33 34 python OVirtGuestService.py -install 35 net start OVirtGuestService 36 37 Building executable file: 38 - 39 40 python setup.py py2exe -b 1 I don't understand how to match the instructions with what I got... Can anyone help in this? Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On Mon, Mar 4, 2013 at 4:37 PM, Gianluca Cecchi wrote: On Sun, Mar 3, 2013 at 7:52 AM, Itamar Heim wrote: 1. ok, the config key isn't user editable, not an issue. 2. for ovirt to see list of applications, you need to have the ovirt-guest-agent installed as well, not just the spice one. Trying to build on windows 7 following git instructions. http://gerrit.ovirt.org/gitweb?p=ovirt-guest-agent.git;a=blob;f=ovirt-guest-agent/README-windows.txt;h=bf6bb3c18567537489b56e6888b2eb7f025cc4f9;hb=HEAD I obtained OVirtGuestService.exe and w9xpopen.exe The instructions say... Running the service: 32 33 34 python OVirtGuestService.py -install 35 net start OVirtGuestService 36 37 Building executable file: 38 - 39 40 python setup.py py2exe -b 1 I don't understand how to match the instructions with what I got... Can anyone help in this? Gianluca So I have to simply run what is written: - Opening a console window as administrator: C:\ python OVirtGuestService.py install Installing service OVirtGuestService Service installed - Tryng to start the installed service C:\ net start OVirtGuestService The OVirt Guest Agent Service service is starting. The OVirt Guest Agent Service service could not be started. A service specific error occurred: 1. More help is available by typing NET HELPMSG 3547. but nothing interesting with NET HELPMSG 3547 for debugging... Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
One problem was setting where to put the .ini file. For now I put it where the python is called and the service starts now. But no ip and no applications are populated even after setting service to auto and restart win7 vm. Where to look for now? Thanks Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On 03/04/2013 07:59 PM, Gianluca Cecchi wrote: One problem was setting where to put the .ini file. For now I put it where the python is called and the service starts now. But no ip and no applications are populated even after setting service to auto and restart win7 vm. Where to look for now? Thanks Gianluca guest agent and vdsm log ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On Wed, Feb 27, 2013 at 3:03 PM, Itamar Heim wrote: this should work for ovirt as well, the check is only that there is no driver: // If it is not windows or SPICE guest agent is not installed, make sure the WAN options are disabled. if (!getEntity().getvm_os().isWindows() || getEntity().getSpiceDriverVersion() == null) { getspice().setIsWanOptionsEnabled(false); } Sorry for the late feedback. and the driver name is based on ConfigValues.SpiceDriverNameInGuest, so please check the value you have there and compare to the name in the guest. How can I check it? On guest side or engine/host side? In the mean time I found a bug in spice-guest-tools-0.3.exe in my opinion. See this screenshot: https://docs.google.com/file/d/0BwoPbcrMv8mvSWx3OGZMUEFVckE/edit?usp=sharing I ran installation from c:\temp and it seems it configured the service as starting from C:\temp\vdagent-win32_2024\vdagent_x86 so that if I clean my c:\temp dir I loose the agent and service... I'm going to post this to spice-devel mailing list to have some information Where are they supposed to install themselves? Versions of agent and services are here: https://docs.google.com/file/d/0BwoPbcrMv8mvQUVyWFpnLXRHcjA/edit?usp=sharing But I have not understood how to check and compare, sorry Can you explain if I have to run any query in engine db or run any command to get these values? Thanks Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On 02/03/2013 12:51, Gianluca Cecchi wrote: On Sat, Mar 2, 2013 at 11:23 AM, Gianluca Cecchi wrote: In the mean time I found a bug in spice-guest-tools-0.3.exe in my opinion. See this screenshot: https://docs.google.com/file/d/0BwoPbcrMv8mvSWx3OGZMUEFVckE/edit?usp=sharing the important part is the name of the installed app under application list. user portal will only see it if you have the guest agent installed (which you can validate by checking what you see under the webadmin, standing on the VM, looking at the application list). for name of config value: engine-config -g SpiceDriverNameInGuest I ran installation from c:\temp and it seems it configured the service as starting from C:\temp\vdagent-win32_2024\vdagent_x86 so that if I clean my c:\temp dir I loose the agent and service... I'm going to post this to spice-devel mailing list to have some information Where are they supposed to install themselves? This was my fault as this vm was imported and had already an old agent used in Qemu/KVM before. When I ran spice-guest-tools I thought it would have overwritten the old ones... but it had not. So I deleted the service with sc command, reboot and reinstall spice guest tools, then shutdown and power on again Now I have this for agent version and location tha seems good: https://docs.google.com/file/d/0BwoPbcrMv8mvQkdzSVl3TDBjT0E/edit?usp=sharing But I still have no option for wan optimization in user portal The qemu command line generated when I power on the VM, if it can be of any help, is this: qemu 21145 1 7 11:41 ?00:00:39 /usr/bin/qemu-kvm -name winxp_clone -S -M pc-0.14 -cpu Opteron_G3 -enable-kvm -m 1024 -smp 1,sockets=1,cores=1,threads=1 -uuid 2981b979-a363-4ab9-a251-439b5774b04d -smbios type=1,manufacturer=oVirt,product=oVirt Node,version=18-1,serial=E0E1001E-8C00-002A-6F9A-90E6BAC9F1E1,uuid=2981b979-a363-4ab9-a251-439b5774b04d -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/winxp_clone.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=2013-03-02T23:43:40,driftfix=slew -no-shutdown -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x5.0x7 -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2 -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1 -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x7 -drive if=none,id=drive-ide0-1-0,readonly=on,format=raw,serial= -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive file=/rhev/data-center/65c9777e-23f1-4f04-8cea-e7c8871dc88b/0a8035e6-e41d-40ff-a154-e0a374f264b2/images/75c54716-5222-4ad6-91f2-8b312eacc4b4/201a3f12-4b58-49a1-8748-5d5782175e28,if=none,id=drive-virtio-disk0,format=raw,serial=75c54716-5222-4ad6-91f2-8b312eacc4b4,cache=none,werror=stop,rerror=stop,aio=threads -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=27,id=hostnet0,vhost=on,vhostfd=28 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=00:1a:4a:a8:01:52,bus=pci.0,addr=0x3 -chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/winxp_clone.com.redhat.rhevm.vdsm,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm -chardev socket,id=charchannel1,path=/var/lib/libvirt/qemu/channels/winxp_clone.org.qemu.guest_agent.0,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest_agent.0 -chardev spicevmc,id=charchannel2,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=3,chardev=charchannel2,id=channel2,name=com.redhat.spice.0 -spice port=5900,tls-port=5901,addr=0,x509-dir=/etc/pki/vdsm/libvirt-spice,tls-channel=main,tls-channel=display,tls-channel=inputs,tls-channel=cursor,tls-channel=playback,tls-channel=record,tls-channel=smartcard,tls-channel=usbredir -k en-us -vga qxl -global qxl-vga.vram_size=67108864 -device AC97,id=sound0,bus=pci.0,addr=0x4 -chardev spicevmc,id=charredir0,name=usbredir -device usb-redir,chardev=charredir0,id=redir0 -chardev spicevmc,id=charredir1,name=usbredir -device usb-redir,chardev=charredir1,id=redir1 -chardev spicevmc,id=charredir2,name=usbredir -device usb-redir,chardev=charredir2,id=redir2 -chardev spicevmc,id=charredir3,name=usbredir -device usb-redir,chardev=charredir3,id=redir3 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x8 Thanks, Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On Sat, Mar 2, 2013 at 9:03 PM, Itamar Heim wrote: the important part is the name of the installed app under application list. user portal will only see it if you have the guest agent installed (which you can validate by checking what you see under the webadmin, standing on the VM, looking at the application list). for name of config value: engine-config -g SpiceDriverNameInGuest I begin to think something essential for this is missing in oVirt. From when I started testing oVirt, I never found anything in applications part of details pane for a VM. This in VMs with Windows XP, Windows 7 and Linux too (tried Fedora and CentOS). See this image for this windows xp. https://docs.google.com/file/d/0BwoPbcrMv8mvWHF6WDgtMEF5Wms/edit?usp=sharing Possibly the free agent is not capable to get the list of applications installed and pass to webadmin gui Or there is another component to install/enable that is not inside the spice-guest-tools-0.3.exe... And also, in my engine that is 3.2 stable from f18 ovirt repo I don't have this kind of key at all... [root@tekkaman ~]# engine-config -g SpiceDriverNameInGuest Error fetching SpiceDriverNameInGuest value: no such entry. Please verify key name and property file support. The available ones are here: [root@tekkaman ~]# engine-config -l | grep -i spice WANDisableEffects: Disabled WAN Effects value to send to the SPICE console (Value Type: StringMultiple) WANColorDepth: WAN Color Depth value to send to the SPICE console (Value Type: Integer) EnableSpiceRootCertificateValidation: Enable Spice Root Certification Validation (Value Type: String) SpiceReleaseCursorKeys: Keyboard keys combination that causes the mouse cursor to be released from its grab on SPICE (Value Type: String) SpiceSecureChannels: SPICE Secure Channels (Value Type: StringMultiple) SpiceToggleFullScreenKeys: Keyboard keys combination that toggles the full-screen state of SPICE client window (Value Type: String) SpiceUsbAutoShare: Enable USB devices sharing by default in SPICE (Value Type: String) SSLEnabled: SPICE SSL Enabled (Value Type: String) [root@tekkaman ~]# engine-config -a | grep -i spice EnableSpiceRootCertificateValidation: true version: general SpiceReleaseCursorKeys: shift+f12 version: general SpiceSecureChannels: smain,sinputs version: 3.0 SpiceSecureChannels: smain,sinputs,scursor,splayback,srecord,sdisplay,susbredir,ssmartcard version: 3.1 SpiceSecureChannels: smain,sinputs,scursor,splayback,srecord,sdisplay,susbredir,ssmartcard version: 3.2 SpiceToggleFullScreenKeys: shift+f11 version: general SpiceUsbAutoShare: true version: general So the question is if I can add this key you referred and in that case then how to get list of applications transmitted to web admin gui. Thanks for your time Itamar. Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On 03/03/2013 00:53, Gianluca Cecchi wrote: On Sat, Mar 2, 2013 at 9:03 PM, Itamar Heim wrote: the important part is the name of the installed app under application list. user portal will only see it if you have the guest agent installed (which you can validate by checking what you see under the webadmin, standing on the VM, looking at the application list). for name of config value: engine-config -g SpiceDriverNameInGuest I begin to think something essential for this is missing in oVirt. From when I started testing oVirt, I never found anything in applications part of details pane for a VM. This in VMs with Windows XP, Windows 7 and Linux too (tried Fedora and CentOS). See this image for this windows xp. https://docs.google.com/file/d/0BwoPbcrMv8mvWHF6WDgtMEF5Wms/edit?usp=sharing Possibly the free agent is not capable to get the list of applications installed and pass to webadmin gui Or there is another component to install/enable that is not inside the spice-guest-tools-0.3.exe... And also, in my engine that is 3.2 stable from f18 ovirt repo I don't have this kind of key at all... [root@tekkaman ~]# engine-config -g SpiceDriverNameInGuest Error fetching SpiceDriverNameInGuest value: no such entry. Please verify key name and property file support. The available ones are here: [root@tekkaman ~]# engine-config -l | grep -i spice WANDisableEffects: Disabled WAN Effects value to send to the SPICE console (Value Type: StringMultiple) WANColorDepth: WAN Color Depth value to send to the SPICE console (Value Type: Integer) EnableSpiceRootCertificateValidation: Enable Spice Root Certification Validation (Value Type: String) SpiceReleaseCursorKeys: Keyboard keys combination that causes the mouse cursor to be released from its grab on SPICE (Value Type: String) SpiceSecureChannels: SPICE Secure Channels (Value Type: StringMultiple) SpiceToggleFullScreenKeys: Keyboard keys combination that toggles the full-screen state of SPICE client window (Value Type: String) SpiceUsbAutoShare: Enable USB devices sharing by default in SPICE (Value Type: String) SSLEnabled: SPICE SSL Enabled (Value Type: String) [root@tekkaman ~]# engine-config -a | grep -i spice EnableSpiceRootCertificateValidation: true version: general SpiceReleaseCursorKeys: shift+f12 version: general SpiceSecureChannels: smain,sinputs version: 3.0 SpiceSecureChannels: smain,sinputs,scursor,splayback,srecord,sdisplay,susbredir,ssmartcard version: 3.1 SpiceSecureChannels: smain,sinputs,scursor,splayback,srecord,sdisplay,susbredir,ssmartcard version: 3.2 SpiceToggleFullScreenKeys: shift+f11 version: general SpiceUsbAutoShare: true version: general So the question is if I can add this key you referred and in that case then how to get list of applications transmitted to web admin gui. Thanks for your time Itamar. Gianluca 1. ok, the config key isn't user editable, not an issue. 2. for ovirt to see list of applications, you need to have the ovirt-guest-agent installed as well, not just the spice one. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On Tue, Feb 26, 2013 at 4:34 PM, Itamar Heim wrote: userportal: spice client properties Added the Enable WAN Options checkbox to the edit console popup. It is visible, when all of the following conditions are met: - the selected VM is a windows VM - the spice is available - the spice radio button is selected - the spice guest agent is installed on the VM If the above conditions are met, and the checkbox is checked, the WANDisableEffects and WANColorDepth from the vdc_options table are set to the spice plugin as the DisableEffects and ColorDepth properties. In other case, nothing is set to the DisableEffects and ColorDepth properties. In my case - the selected VM is a windows VM -- OK - the spice is available -- OK - the spice radio button is selected -- OK - the spice guest agent is installed on the VM here on oVirt we don't have the proprietary spice guest agent but spice-guest-tools-0.3.exe that install several things and also spice guest agent (cut and paste works for example) Can we say OK also to the latest point or do I need anything only present in proprietary agent package? In the first case it is a sort of bug (for example the check for agent needs to be changed...?), in the second one ok, I have understood the reason. Thanks, Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On 27/02/2013 15:19, Gianluca Cecchi wrote: On Tue, Feb 26, 2013 at 4:34 PM, Itamar Heim wrote: userportal: spice client properties Added the Enable WAN Options checkbox to the edit console popup. It is visible, when all of the following conditions are met: - the selected VM is a windows VM - the spice is available - the spice radio button is selected - the spice guest agent is installed on the VM If the above conditions are met, and the checkbox is checked, the WANDisableEffects and WANColorDepth from the vdc_options table are set to the spice plugin as the DisableEffects and ColorDepth properties. In other case, nothing is set to the DisableEffects and ColorDepth properties. In my case - the selected VM is a windows VM -- OK - the spice is available -- OK - the spice radio button is selected -- OK - the spice guest agent is installed on the VM here on oVirt we don't have the proprietary spice guest agent but spice-guest-tools-0.3.exe that install several things and also spice guest agent (cut and paste works for example) Can we say OK also to the latest point or do I need anything only present in proprietary agent package? In the first case it is a sort of bug (for example the check for agent needs to be changed...?), in the second one ok, I have understood the reason. Thanks, Gianluca this should work for ovirt as well, the check is only that there is no driver: // If it is not windows or SPICE guest agent is not installed, make sure the WAN options are disabled. if (!getEntity().getvm_os().isWindows() || getEntity().getSpiceDriverVersion() == null) { getspice().setIsWanOptionsEnabled(false); } and the driver name is based on ConfigValues.SpiceDriverNameInGuest, so please check the value you have there and compare to the name in the guest. public static void UpdateVmGuestAgentVersion(final VM vm) { if (vm.getAppList() != null) { final String[] parts = vm.getAppList().split([,], -1); if (parts != null parts.length != 0) { final String agentAppName = Config.String GetValue(ConfigValues.AgentAppName); final MapString, String spiceDriversInGuest = Config.MapString, String GetValue(ConfigValues.SpiceDriverNameInGuest); final String spiceDriverInGuest = spiceDriversInGuest.get(ObjectUtils.toString(vm.getOs().getOsType()).toLowerCase()); for (final String part : parts) { if (StringUtils.containsIgnoreCase(part, agentAppName)) { vm.setGuestAgentVersion(GetApplicationVersion(part, agentAppName)); } if (StringUtils.containsIgnoreCase(part, spiceDriverInGuest)) { vm.setSpiceDriverVersion(GetApplicationVersion(part, spiceDriverInGuest)); } } } ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Configure spice plugin for wan
I remember someone talking about an option of setting spice to operate over wan, in the sense that this way automatically it would disable effects in windows 7 VM, ecc... I don't remember if this is a VM parameter, hook or other... Or if this is an option available only in RHEV-M Any pointer? Thanks, Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On 26/02/2013 15:13, Gianluca Cecchi wrote: I remember someone talking about an option of setting spice to operate over wan, in the sense that this way automatically it would disable effects in windows 7 VM, ecc... I don't remember if this is a VM parameter, hook or other... Or if this is an option available only in RHEV-M iirc, it's a checkbox in the user portal to pass the wan option flag to spice. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On Tue, Feb 26, 2013 at 2:47 PM, Itamar Heim wrote: On 26/02/2013 15:13, Gianluca Cecchi wrote: I remember someone talking about an option of setting spice to operate over wan, in the sense that this way automatically it would disable effects in windows 7 VM, ecc... I don't remember if this is a VM parameter, hook or other... Or if this is an option available only in RHEV-M iirc, it's a checkbox in the user portal to pass the wan option flag to spice. Thanks for answering. I thought this too, but these are the only options I see in User Portal https://docs.google.com/file/d/0BwoPbcrMv8mvZ1NXVG8yb1VqTkk/edit?usp=sharing Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
Itamar Heim: On 26/02/2013 15:13, Gianluca Cecchi wrote: I remember someone talking about an option of setting spice to operate over wan, in the sense that this way automatically it would disable effects in windows 7 VM, ecc... I don't remember if this is a VM parameter, hook or other... Or if this is an option available only in RHEV-M iirc, it's a checkbox in the user portal to pass the wan option flag to spice. Does this checkbox mean there are some optimization for spice on wan? How does the checkbox affect the remote video stream support? It seems that spice protocol waste many cycles on mjpeg encoding and decoding for video stream. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- --- 舒明 Shu Ming Open Virtualization Engineerning; CSTL, IBM Corp. Tel: 86-10-82451626 Tieline: 9051626 E-mail: shum...@cn.ibm.com or shum...@linux.vnet.ibm.com Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, Beijing 100193, PRC ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Configure spice plugin for wan
On 26/02/2013 15:55, Gianluca Cecchi wrote: On Tue, Feb 26, 2013 at 2:47 PM, Itamar Heim wrote: On 26/02/2013 15:13, Gianluca Cecchi wrote: I remember someone talking about an option of setting spice to operate over wan, in the sense that this way automatically it would disable effects in windows 7 VM, ecc... I don't remember if this is a VM parameter, hook or other... Or if this is an option available only in RHEV-M iirc, it's a checkbox in the user portal to pass the wan option flag to spice. Thanks for answering. I thought this too, but these are the only options I see in User Portal https://docs.google.com/file/d/0BwoPbcrMv8mvZ1NXVG8yb1VqTkk/edit?usp=sharing Gianluca commit ac020ab8229a1edfdb62f69e7bdf01655f70c01b Author: Tomas Jelinek tjeli...@redhat.com Date: Wed May 30 15:14:18 2012 +0200 userportal: spice client properties Added the Enable WAN Options checkbox to the edit console popup. It is visible, when all of the following conditions are met: - the selected VM is a windows VM - the spice is available - the spice radio button is selected - the spice guest agent is installed on the VM If the above conditions are met, and the checkbox is checked, the WANDisableEffects and WANColorDepth from the vdc_options table are set to the spice plugin as the DisableEffects and ColorDepth properties. In other case, nothing is set to the DisableEffects and ColorDepth properties. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users