Re: [one-users] vnc via proxy web server
On Thu, 17 Oct 2013 12:48:46 +0200, Wojciech Giel wojciech.g...@cimr.cam.ac.uk wrote: if I configure hypervisors with vnc over ssl (libvirt-vnc) how to marry sunstone proxy vnc with ssl vnc on hypervisor. is it possible with current version of sunstone? websockify has a --ssl-target option which is supposed to handle ssl connection with the target hosts. However the wrapping is basic and does not support any advanced options, to the point it actually does not even seem to force require of a certificate on the other side, nor verifying it, judging from the call to wrap_socket here: https://github.com/kanaka/websockify/blob/b4e0b534d5d04d57265045b4baf49dd81555064b/websockify/websocket.py#L204 and the wrap_socket doc here: http://docs.python.org/2/library/ssl.html So if you want something more ellaborate you may need to customize websockify to fit your needs (seems an easy enough patch) or look for other alternatives. -- Hector Sanjuan @hecsanjuan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Privacy in Sunstone
If you are really worried about privacy you should not let users connect via VNC to the machines, least of all via a web client.VNC is handy to see why a machine doesn't boot and other specific administration tasks, but other than that you may want to have your users ssh into the machines with public-key authentication only.Still... whatever you do... oneadmin runs the cloud. That means the person behind oneadmin can connect to any hypervisor and enter any VM at will and see/log what he/she wants. No real need to use VNC if you are oneadmin and want to see what's going on somewhere.Br, HectorOn Thu, 15 Aug 2013 16:42:18 +0200, Mohammad Fazli Ahmat Jalaluddin fazli.jalalud...@gmail.com wrote:Hi,Thank you for the explanation, but password in UNIX is stored in hashes while password for SPICE or VNC is stored in plaintext.Is there any way to encrypt the password? Thank you.RegardsOn Thu, Aug 15, 2013 at 8:33 PM, Daniel Molina dmol...@opennebula.org wrote: Hi,On 15 August 2013 06:10, Mohammad Fazli Ahmat Jalaluddin fazli.jalalud...@gmail.com wrote: Hi,I just wondering, why OpenNebula admin (oneadmin) can access to all user's VM? If the admin open user's VM VNC, they can see what the users are doing. Is the any way to prevent this? Also, admin can see template details such as PASSWORD for SPICE or VNC even for user's template. The oneadmin account it's like root in UNIX, with this account you have full access to the cloud resources. You can define ACLs and permissions for the rest of users, but oneadmin will ignore these rules. CheersThank you.Regards ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013 -- Daniel MolinaProject EngineerOpenNebula - The Open Source Solution for Data Center Virtualizationwww.OpenNebula.org | dmol...@opennebula.org | @OpenNebula -- Hector Sanjuan@hecsanjuan___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Openenbula not work sunstone
Just in case, check your server time and your computer time are correct. H On Fri, 24 May 2013 08:06:23 +0200, zaitsev zait...@bsu.edu.ru wrote: Installed the latest version of opennebula on Сentos 6.4. I go into the dashboard Sunstone, but when you click on any link throws me back to the page with the authorization. -- Hector Sanjuan @hecsanjuan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Is it possible to have just one compute node?!
Yes it is possible.Also, your frontend node can be your compute node at the same time too.HectorOn Sun, 05 May 2013 12:14:21 +0200, Me OpenN meandopenneb...@gmail.com wrote:Hi,I am wandering if it is possible to setup a basic OpenNebula Cloud with just one Front-end and one Compute node?! Or it should be two or more cluster nodes?! Cheers, Behzad -- Hector Sanjuan@hecsanjuan___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Fwd: [FrOSCon Alumni] Call for Papers FrOSCon 2013
acceptance. We ask all invited speakers to give their final acceptance by this date. August 4rd, 2013 Last date for submitting slides August 24th, 2013 First day of FrOSCon Further information can be found on the web under http://www.froscon.org. Please send questions about the Call for Papers via email to: prog...@froscon.org Contact the organizers via email: cont...@froscon.org Postal address: FrOSCon e.V. c/o Fachhochschule Bonn-Rhein-Sieg 53757 Sankt Augustin Germany # Kids Track / FrogLabs # There will be a separate CfP for the Kids Track, because we invite kids not only as participants this year, but also as instructors. So-called “FrogLabs” address young Open Source fans with playful workshops about the world of computer programming and Open Source software. We will soon publish the Call for Papers for the Frog Labs on http://kids.froscon.org/ -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] No option to add new hosts in Sunstone
Hmm, are your computer and server clocks on the right time?HectorOn Tue, 26 Mar 2013 20:21:16 +0100, Tao Craig t...@leadmesh.com wrote:I am logged in as oneadmin and I am able to create new hosts via the CLI -just not through Sunstone.On Tue, Mar 26, 2013 at 2:59 AM, Daniel Molina dmol...@opennebula.org wrote: Hi, El 25/03/2013 20:23, "Tao Craig" t...@leadmesh.com escribió: Hi all, I just did a fresh install of Opennebula 3.8.3 on CentOS 6.3 (64bit). When I log in to Sunstone however, there is no option to add hosts? Only the refresh and help button exist on this page. ... any ideas? Are you logged in as oneadmin or as a regular user ? Cheers Thanks in advance. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Hector Sanjuan@hecsanjuan___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] No option to add new hosts in Sunstone
:) Yeah this pops up from time to time. Skewed clocks cause the cookie with the user information to be immediately expired and not readable, which is interpreted as 'not being oneadmin' and hides some stuff in the interface.HectorOn Tue, 26 Mar 2013 21:15:15 +0100, Tao Craig t...@leadmesh.com wrote:Wow. Good catch. I just installed ntp and that fixed it.Thanks!On Tue, Mar 26, 2013 at 12:47 PM, Hector Sanjuan li...@convivencial.org wrote: Hmm, are your computer and server clocks on the right time?HectorOn Tue, 26 Mar 2013 20:21:16 +0100, Tao Craig t...@leadmesh.com wrote: I am logged in as oneadmin and I am able to create new hosts via the CLI -just not through Sunstone. On Tue, Mar 26, 2013 at 2:59 AM, Daniel Molina dmol...@opennebula.org wrote: Hi, El 25/03/2013 20:23, "Tao Craig" t...@leadmesh.com escribió: Hi all, I just did a fresh install of Opennebula 3.8.3 on CentOS 6.3 (64bit). When I log in to Sunstone however, there is no option to add hosts? Only the refresh and help button exist on this page. ... any ideas? Are you logged in as oneadmin or as a regular user ? Cheers Thanks in advance. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Hector Sanjuan@hecsanjuan -- Hector Sanjuan@hecsanjuan___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] @sunstone problem VNC error
/vnet?timeout=true HTTP/1.1" 200 649 0.0044Tue Mar 12 17:22:06 2013 [I]: 127.0.0.1 - - [12/Mar/2013 17:22:06] "GET /cluster?timeout=true HTTP/1.1" 200 205 0.0659 Tue Mar 12 17:22:18 2013 [I]: 127.0.0.1 - - [12/Mar/2013 17:22:18] "GET /datastore?timeout=true HTTP/1.1" 200 3228 0.0064Tue Mar 12 17:22:20 2013 [I]: 127.0.0.1 - - [12/Mar/2013 17:22:20] "GET /acl?timeout=true HTTP/1.1" 200 377 0.0040 Tue Mar 12 17:22:26 2013 [I]: 127.0.0.1 - - [12/Mar/2013 17:22:26] "GET /user?timeout=true HTTP/1.1" 200 2056 0.0669Tue Mar 12 17:22:31 2013 [I]: 127.0.0.1 - - [12/Mar/2013 17:22:31] "GET /vm?timeout=true HTTP/1.1" 200 1600 0.0056 Tue Mar 12 17:22:35 2013 [I]: 127.0.0.1 - - [12/Mar/2013 17:22:35] "GET /image?timeout=true HTTP/1.1" 200 935 0.0048Tue Mar 12 17:22:39 2013 [I]: 127.0.0.1 - - [12/Mar/2013 17:22:39] "GET /vmtemplate?timeout=true HTTP/1.1" 200 787 0.0045 Tue Mar 12 17:22:42 2013 [I]: 127.0.0.1 - - [12/Mar/2013 17:22:42] "GET /host?timeout=true HTTP/1.1" 200 1285 0.0051Unable to rectify what exactly is the problem. Plz Help-- Prachi D. -- Hector Sanjuan@hecsanjuan___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Sunstone 3.8.1 image upload issue
HTTP/1.1 200 76267 https://cloud.cesga.es/; Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 193.144.44.178 - - [25/Feb/2013:17:27:12 +0100] GET /datastore?timeout=true HTTP/1.1 200 3587 https://cloud.cesga.es/; Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 193.144.44.178 - - [25/Feb/2013:17:27:18 +0100] GET /vmtemplate?timeout=true HTTP/1.1 200 170052 https://cloud.cesga.es/; Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 193.144.44.178 - - [25/Feb/2013:17:27:19 +0100] GET /acl?timeout=true HTTP/1.1 200 3012 https://cloud.cesga.es/; Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 193.144.44.178 - - [25/Feb/2013:17:27:23 +0100] GET /vnet?timeout=true HTTP/1.1 200 10653 https://cloud.cesga.es/; Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 193.144.44.178 - - [25/Feb/2013:17:27:36 +0100] GET /group?timeout=true HTTP/1.1 200 4028 https://cloud.cesga.es/; Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 193.144.44.178 - - [25/Feb/2013:17:27:36 +0100] GET /user?timeout=true HTTP/1.1 200 25131 https://cloud.cesga.es/; Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 193.144.44.178 - - [25/Feb/2013:17:27:36 +0100] GET /host?timeout=true HTTP/1.1 200 25177 https://cloud.cesga.es/; Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 Cheers and thanks Alvaro ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Hector Sanjuan @hecsanjuan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Sunstone 3.8.1 image upload issue
- - [25/Feb/2013:17:27:36 +0100] GET /group?timeout=true HTTP/1.1 200 4028 https://cloud.cesga.es/; Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 193.144.44.178 - - [25/Feb/2013:17:27:36 +0100] GET /user?timeout=true HTTP/1.1 200 25131 https://cloud.cesga.es/; Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 193.144.44.178 - - [25/Feb/2013:17:27:36 +0100] GET /host?timeout=true HTTP/1.1 200 25177 https://cloud.cesga.es/; Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 Cheers and thanks Alvaro ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Hector Sanjuan @hecsanjuan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Ping vms from the host without being in the same network
When you open a VNC session, you are not openning a connection to the VM but to the hypervisor (host), which acts as vnc server. I suppose that if your VM network isolation is working, you should not be able to ping the VMs unless you put the host on the same network. However you can always add a second network interface to the VMs, and make it part of a second network along with the host. you could also add special rules for this iface to restrict non ICMP traffic etc I suppose. Hector On Wed, 20 Feb 2013 19:31:19 +0100, Streek, Jannik jannik.str...@student.hpi.uni-potsdam.de wrote: Hello everyone, lets say i have a node with two vms on it. The vms are running inside a vlan. Is it possible to somehow ping the vms from the host? I know that usually you would change the network settings of the vms to let them run in the same network as the host, but in my setup that is not really possible. At least the noVNC client seems to have access from the host using Websockets. So i guess it should be generally possible to have access over the ip from the host, without being in the same network? Best Regards thanks in advance Jannik ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Hector Sanjuan @hecsanjuan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Ping vms from the host without being in the same network
Well, judging from this (http://dev.opennebula.org/issues/1691) it seems such option will come in 4.0. At the moment, supposing you have valuable data in the VM image and you cant simply kick up another instance, you would need to set a save as for vm disk, shutdown the vm, register a new VM with the new saved disk and 2 network ifaces and kick up the VM again. Hector On Wed, 20 Feb 2013 20:17:05 +0100, Streek, Jannik jannik.str...@student.hpi.uni-potsdam.de wrote: Hi Hector, thanks! Is it also possible to add+remove the second network interface on-the-fly, so after the vm was started? Best regards Jannik Von: Hector Sanjuan [li...@convivencial.org] Gesendet: Mittwoch, 20. Februar 2013 19:47 An: users@lists.opennebula.org; Streek, Jannik Betreff: Re: [one-users] Ping vms from the host without being in the same network When you open a VNC session, you are not openning a connection to the VM but to the hypervisor (host), which acts as vnc server. I suppose that if your VM network isolation is working, you should not be able to ping the VMs unless you put the host on the same network. However you can always add a second network interface to the VMs, and make it part of a second network along with the host. you could also add special rules for this iface to restrict non ICMP traffic etc I suppose. Hector On Wed, 20 Feb 2013 19:31:19 +0100, Streek, Jannik jannik.str...@student.hpi.uni-potsdam.de wrote: Hello everyone, lets say i have a node with two vms on it. The vms are running inside a vlan. Is it possible to somehow ping the vms from the host? I know that usually you would change the network settings of the vms to let them run in the same network as the host, but in my setup that is not really possible. At least the noVNC client seems to have access from the host using Websockets. So i guess it should be generally possible to have access over the ip from the host, without being in the same network? Best Regards thanks in advance Jannik ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Hector Sanjuan @hecsanjuan -- Hector Sanjuan @hecsanjuan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Run VM
The error is quite clear on the log: Wed Feb 13 12:19:40 2013 [TM][I]: sh: mkswap: not found mkswap is provided by the util-linux package, at least in my case... -- Hector Sanjuan @hecsanjuan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Run VM
mkswap is a system command... which is nowhere to be found in your system it seems... On Tue, 19 Feb 2013 21:14:03 +0100, ahernan...@tesla.cujae.edu.cu wrote: jjjeppp ... but when I run only this command(I run command how oneadmin) /var/lib/one/remotes/tm/ssh/mkswap 512 das-vsilo23.cimex.com.cu:/vmfs/volumes/Gestion_SO/DATASTORE_INVENTADO_POR_MI/0/17/disk.1 17 0 I receive this INFO: mkimage: Making filesystem of 512M and type swap at das-vsilo23.cimex.com.cu:/vmfs/volumes/Gestion_SO/DATASTORE_INVENTADO_POR_MI/0/17/disk.1 ERROR: mkimage: Command export PATH=/usr/sbin:/sbin:$PATH dd if=/dev/zero of=/vmfs/volumes/Gestion_SO/DATASTORE_INVENTADO_POR_MI/0/17/disk.1 bs=1 count=1 seek=512M mkswap /vmfs/volumes/Gestion_SO/DATASTORE_INVENTADO_POR_MI/0/17/disk.1 failed: 1+0 records in 1+0 records out sh: mkswap: not found ERROR MESSAGE --8-- Could not create image /vmfs/volumes/Gestion_SO/DATASTORE_INVENTADO_POR_MI/0/17/disk.1 ERROR MESSAGE --8-- Then I think that is not possible I need to export to bash the mkimage command, because there are many mkimage for diferent methods of Transfer Manger (TM) (ssh, vmfs, share, and others) I NEED A SOLUTION FOR THIS PROBLEM THAT ISN'T EXPORTING mkimage TO THE BASH El 2013-02-19 15:00, Hector Sanjuan escribió: The error is quite clear on the log: Wed Feb 13 12:19:40 2013 [TM][I]: sh: mkswap: not found mkswap is provided by the util-linux package, at least in my case... 48 Aniversario del Instituto Superior Politecnico Jose Antonio Echeverria, Cujae Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu -- Hector Sanjuan @hecsanjuan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Opennebula 3.8.3 - Sunstone is not working correctly
created a host: Host information - Host01 id 0 NameHost01 Cluster - State ERROR IM MAD im_kvm VM MAD vmm_kvm VN MAD dummy Host shares Total Mem 0K Used Mem (real) 0K Used Mem (allocated)0K Total CPU 0 Used CPU (real) 0 Used CPU (allocated)0 Running VMs 0 Host template ERROR MESSAGE Error monitoring host 0 : MONITOR FAILURE 0 - TIMESTAMP Wed Jan 30 14:32:48 2013 a fixed network: Virtual Network 0 information ID 0 NameNetwork Cluster - Owner oneadmin Group oneadmin Bridge vbr1 VLANno Physical device -- VLAN ID -- Permissions Owner um- Group --- Other --- - a ttylinux image: Image ttylinux - kvm information ID 0 Namettylinux - kvm Datastore default Owner oneadmin Group oneadmin TypeOS Register time 10:57:57 01/30/2013 Persistent no Source /var/lib/one/datastores/1/e709ae07335f01fdb1d23730860d07d6 Path/home/chivas/Desktop/ttylinux.img Filesystem type -- Size (Mb) 40 State USED Running #VMS1 Permissions Owner um- Group --- Other --- Image template DEV_PREFIX hd DRIVER raw -- and a template for the virtual machine: Template NAMETemplate01 OS BOOThd ARCHx86_64 DISK IMAGE_UNAME oneadmin IMAGE ttylinux - kvm VCPU1 CPU 0.5 RAW TYPEkvm NIC NETWORK_UNAME oneadmin NETWORK Network MEMORY 2048 GRAPHICS TYPEvnc LISTEN 0.0.0.0 INPUT TYPEmouse BUS usb TEMPLATE_ID 0 --- i built my VM and tryed to deploy the host... he was on error first i enabled him again. Virtual Machine information - one-0 ID 0 Nameone-0 Owner oneadmin Group oneadmin State FAILED LCM State LCM_INIT Host-- Start time 11:05:07 01/30/2013 Deploy ID - Permissions Owner um- Group --- Other --- ** VM template NAMEone-0 OS BOOThd ARCHx86_64 ERROR MESSAGE Error executing image transfer script: Error copying chivas-Aspire-5755G:/var/lib/one/datastores/1/e709ae07335f01fdb1d23730860d07d6 to Host01:/var/lib/one//datastores/0/0/disk.0 TIMESTAMP Wed Jan 30 12:35:11 2013 DISK READONLYNO TARGET hda IMAGE_ID0 DEV_PREFIX hd DATASTORE default TM_MAD shared TYPEFILE SOURCE /var/lib/one/datastores/1/e709ae07335f01fdb1d23730860d07d6 IMAGE_UNAME oneadmin DRIVER raw DISK_ID 0 SAVENO IMAGE ttylinux - kvm DATASTORE_ID1 CLONE YES VMID0 VCPU1 CPU 0.5 RAW TYPEkvm NIC NETWORK_ID 0 NETWORK_UNAME oneadmin BRIDGE vbr1 NETWORK Network IP 192.168.2.100 VLANNO MAC 02:00:c0:a8:02:64 MEMORY 2048 GRAPHICS PORT5900 TYPEvnc LISTEN 0.0.0.0 INPUT TYPEmouse BUS usb TEMPLATE_ID 0 so the error is: MESSAGE Error executing image transfer script: Error copying chivas-Aspire-5755G:/var/lib/one/datastores/1/e709ae07335f01fdb1d23730860d07d6 to Host01:/var/lib/one//datastores/0/0/disk.0 what can i do to fix it? Thanks for the help and greetings Johannes Thomé 48 Aniversario del Instituto Superior Politecnico Jose Antonio Echeverria, Cujae Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu [2] Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu [3] ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org [4] Links: -- [1] http://downloads.opennebula.org/ [2] http://cujae.edu.cu [3] http://www.ecured.cu [4] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org [5] http://www.OpenNebula.org [6] http://twitter.com/opennebula -- Hector Sanjuan @hecsanjuan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Problems with noVNC
Hello,have you run install_novnc.sh after the upgrade?HectorOn Mon, 14 Jan 2013 13:34:03 +0100, Uli ulih...@gmail.com wrote:HelloI am getting some strange behaviour from noVNC since I have upgraded from 3.6 to 3.8.3. I am not sure if it is related to the upgrade. If I enter the ip address then the noVNC links work, if I enter the url then the novnc links don't work I am using https with Apache2 as the SSL capable HTTP Proxy to connect to the website. Any ideas what the problem could be or how I can debug it? The error I get inside the "VNC connection window" is: "Must set host and port" I am also gettin on Sunstone the following error: Error It appears there was a server exception. Please check server's log. - but there seem to be now errors logged in the logs. -- Hector Sanjuan@hecsanjuan___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OpenNebula 3.x vs. puppet 3 (rubygems)
What's the error for ONE not starting? Im not sure how the json gem affects launching of the daemon and the scheduler.. anycase it should work well with the latest json gem.HectorOn Mon, 14 Jan 2013 16:52:42 +0100, Simon Boulet si...@nostalgeek.com wrote:Hi Steven,On Mon, Jan 14, 2013 at 10:18 AM, Steven Timm t...@fnal.gov wrote: Puppet Labs rpm for puppet 3.0.1 has a number of dependencies, one of which is the rubygem-json rpm. This is installing a json gem 1.4.6. OpenNebula, by contrast, prefers its gems to be installed by "gem install" and that process gets you a newer version of json gem 1.7.3.Have you tried running OpenNebula with the 1.4.6 json gem? OpenNebula should work fine with the json gem 1.4.6. In fact, the latest OpenNebula RPMs for CentOS 6 actually installs ruby-json-1.4.6:http://dev.centos.org/centos/6/opennebula/x86_64/ Simon -- Hector Sanjuan@hecsanjuan___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Info on ONE Instance for testing purpose
Which OS are you on? Probably you are missing some dev or some extra xmlrpc packages. This is what I have in Opensuse, probably some of them are not necessary but anyway:$ zypper search xmlrpc | grep "i "i | libxmlrpc++3 | A library implementing XML-based remote procedure calls | package i | libxmlrpc++7 | A library implementing XML-based remote procedure calls | package i | libxmlrpc-c-devel | Development package for xmlrpc-c | package i | libxmlrpc3| A library implementing XML-based remote procedure calls | package i | libxmlrpc_abyss3 | Library implementing XML-based Remote Procedure Calls | package i | libxmlrpc_client++3 | Library implementing XML-based Remote Procedure Calls | package i | libxmlrpc_client++7 | Library implementing XML-based Remote Procedure Calls | package i | libxmlrpc_client3 | Library implementing XML-based Remote Procedure Calls | package i | libxmlrpc_cpp7| Library implementing XML-based Remote Procedure Calls | package i | libxmlrpc_packetsocket7 | Library implementing XML-based Remote Procedure Calls | package i | libxmlrpc_server++3 | Library implementing XML-based Remote Procedure Calls | package i | libxmlrpc_server++7 | Library implementing XML-based Remote Procedure Calls | package i | libxmlrpc_server3 | Library implementing XML-based Remote Procedure Calls | package i | libxmlrpc_server_abyss++3 | Library implementing XML-based Remote Procedure Calls | package i | libxmlrpc_server_abyss++7 | Library implementing XML-based Remote Procedure Calls | package i | libxmlrpc_server_abyss3 | Library implementing XML-based Remote Procedure Calls | package i | libxmlrpc_server_cgi++7 | Library implementing XML-based Remote Procedure Calls | package i | libxmlrpc_server_cgi3 | Library implementing XML-based Remote Procedure Calls | package i | libxmlrpc_server_pstream++7 | Library implementing XML-based Remote Procedure Calls | package i | libxmlrpc_util3 | Library implementing XML-based Remote Procedure Calls | package i | xmlrpc-c | Library implementing XML-based Remote Procedure Calls | package HectorOn Fri, 11 Jan 2013 11:07:37 +0100, Duverne, Cyrille cyrille.duve...@euranova.eu wrote:Hello Hector,Thanks for this, I tried to compile ONE in a self-contained mode.Then I downloaded the tarball in a local directoryUntared itTried to launch : scons -j2And getting an error about can't find xmlrpc libraries.I've downloaded xmlrpc libraries, and I tried to check if everything went well with : xmlrpc-c-config --versionAnd get an answer.Where is the trick ?Thanks in advanceCyD "Imagination is more important than Knowledge" Albert EinsteinMardi 08/01/2013 à 21:25 Hector Sanjuan a écrit: Yes but dont forget that you can make a self-contained installation on a single folder (-d option http://opennebula.org/documentation:rel3.8:compile). So you can have a selfcontained install with sqlite and dummy drivers withing your project, that you can use for testing purposes. Or your tests can install a fresh instance everytime, then you provide the right oned.conf and sqlite file with the initial testing stateHectorOn Tue, 08 Jan 2013 13:02:55 +0100, Duverne, Cyrille cyrille.duve...@euranova.eu wrote:Hello,Thanks a lot Carlos for this.So I still need to install OpenNebula somewhere to be able to simulate the API.Kind regardsCyrilleMardi 08/01/2013 à 12:36 Carlos Martín Sánchez a écrit:Hi,When we don't need to check the interaction with real infrastructure we use the dummy drivers for hosts (im, vmm, network) and datastores (ds tm)$ onehost create dummyhost -i im_dummy -v vmm_dummy -n dummy $ onedatastore show 0...DATASTORE TEMPLATE TM_MAD="dummy" $ onedatastore show 1...DATASTORE TEMPLATE DS_MAD="dummy"TM_MAD="dummy" You may need to uncomment some of them in oned.conf.The drivers can be found in/var/lib/one/remotesRegards--Carlos Martín, MScProject EngineerOpenNebula -The Open-source Solution for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula On Tue, Jan 8, 2013 at 9:36 AM, Duverne, Cyrille cyrille.duve...@euranova.eu wrote: Hello,Do you know if such a thing exists ? If no it could be a great feature to be able to simulate ONE answers to API commands instead of having a full working infrastructure. Do you use a Continuous Integration tool in ONE development ? Do you test all features and builds ?Thanks in advanceC
Re: [one-users] Load balance for sunstone
If your sunstone performs so bad I doubt that is something you can solve by load balancing. Is it running with Webbrick or with thin (i.e. is the thin gem installed?)? I would check gem versions in general... make sure you are running the latest etc. thin can launch several processes too (-s) so you can try using it along with nginx. You can also try proxying with Apache+passenger which will also take care of spanning several processes... Hector On Wed, 09 Jan 2013 11:13:49 +0100, Zeeshan Ali Shah zas...@pdc.kth.se wrote: HI, We are running sunstone as proxy with nginx . during testing with only 2 users the server hanged . nginx was fine but sunstone went belly up (very slow with no error in debug) 1. any way we can increase number of processes for sunstone ? 2. or running sunstone with different ports on same system and load balance them from nginx ? any hint ? Regards Zeeshan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Hector Sanjuan @hecsanjuan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Info on ONE Instance for testing purpose
Yes but dont forget that you can make a self-contained installation on a single folder (-d option http://opennebula.org/documentation:rel3.8:compile). So you can have a selfcontained install with sqlite and dummy drivers withing your project, that you can use for testing purposes. Or your tests can install a fresh instance everytime, then you provide the right oned.conf and sqlite file with the initial testing stateHectorOn Tue, 08 Jan 2013 13:02:55 +0100, Duverne, Cyrille cyrille.duve...@euranova.eu wrote:Hello,Thanks a lot Carlos for this.So I still need to install OpenNebula somewhere to be able to simulate the API.Kind regardsCyrilleMardi 08/01/2013 à 12:36 Carlos Martín Sánchez a écrit:Hi,When we don't need to check the interaction with real infrastructure we use the dummy drivers for hosts (im, vmm, network) and datastores (ds tm)$ onehost create dummyhost -i im_dummy -v vmm_dummy -n dummy $ onedatastore show 0...DATASTORE TEMPLATE TM_MAD="dummy" $ onedatastore show 1...DATASTORE TEMPLATE DS_MAD="dummy"TM_MAD="dummy" You may need to uncomment some of them in oned.conf.The drivers can be found in/var/lib/one/remotesRegards--Carlos Martín, MScProject EngineerOpenNebula -The Open-source Solution for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula On Tue, Jan 8, 2013 at 9:36 AM, Duverne, Cyrille cyrille.duve...@euranova.eu wrote: Hello,Do you know if such a thing exists ? If no it could be a great feature to be able to simulate ONE answers to API commands instead of having a full working infrastructure. Do you use a Continuous Integration tool in ONE development ? Do you test all features and builds ?Thanks in advanceCyrilleMercredi 02/01/2013 à 21:04 Duverne, Cyrille a écrit: Hello,We are creating a new scalable middleware product, and we need to have a fake RPC server for test purpose to launch commands from our continuous integration server. Is there any available on your side ?Thanks in advanceCyrille ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Hector Sanjuan@hecsanjuan___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] TTYlinux will not boot??
00:47:16 2012 [VMM][I]: Driver vmm_kvm loaded.Sun Dec 30 00:47:16 2012 [InM][I]: Loading Information Manager drivers.Sun Dec 30 00:47:16 2012 [InM][I]: Loading driver: im_kvmSun Dec 30 00:47:16 2012 [InM][I]: Driver im_kvm loadedSun Dec 30 00:47:16 2012 [TM][I]: Loading Transfer Manager drivers.Sun Dec 30 00:47:16 2012 [VMM][I]: Loading driver: tm_sshSun Dec 30 00:47:16 2012 [TM][I]: Driver tm_ssh loaded.Sun Dec 30 00:47:16 2012 [HKM][I]: Loading Hook Manager driver.Sun Dec 30 00:47:16 2012 [HKM][I]: Hook Manager loadedSun Dec 30 00:47:43 2012 [ReM][D]: HostPoolInfo method invokedSun Dec 30 00:47:43 2012 [ReM][D]: VirtualMachinePoolInfo method invokedSun Dec 30 15:48:15 2012 [InM][I]: Monitoring host vmhost1 (0)Sun Dec 30 15:48:30 2012 [ReM][D]: HostPoolInfo method invokedSun Dec 30 15:48:31 2012 [ReM][D]: VirtualMachinePoolInfo method invokedSun Dec 30 15:48:45 2012 [InM][I]: Monitoring host vmhost1 (0)Sun Dec 30 15:49:00 2012 [ReM][D]: HostPoolInfo method invokedSun Dec 30 15:49:01 2012 [ReM][D]: VirtualMachinePoolInfo method invokedThanks,Henry. -- Hector Sanjuan@hecsanjuan___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] some questions about lxc surpporting?
Hello,On Sun, 02 Dec 2012 04:26:05 +0100, cmcc.dylan dx10ye...@126.com wrote:Hi, every one! I want to add lxc backend for opennebula, but i meet some questions and hope someone to help me.1. the key point is i need to add a lxc driver like kvm, for example,imitating the directory structure of kvm as follows:# ls var/remotes/vmm/kvmcancel deploy kvmrc migrate migrate_local poll poll_ganglia reboot restore save shutdownBut i don't knonw who call the these scripts, for example where call "deploy" script in opennebula soruce code or in config files.After you have written your scripts, you need to add your drivers to the the oned.conf, just like the vmm_kvm drivers, except these would be vmm_lxc. Make sure your scripts are placed in var/remotes/vmm just like the kvm etc... when start opennebula oned.log should show that these drivers are loaded.When you add new host to opennebula your scripts are copied to the host. When you deploy a virtual machine on that host, Opennebula ssh to the host and call the 'deploy' script some arguments. Same for all the other actions. Documentation about this:http://opennebula.org/documentation:rel3.8:devel-vmmNow the tricky part would be to generate the appropiate lxc.xml for deployment. You would need to set the type attribute in the oned.conf vmm_lxc configuration to XML. The generated opennebula deployment file by opennebula will be simply the opennebula template in XML format. In your deploy script you should translate the information in it to whatever lxc libvirt driver needs.2. I have alreadyvalidate virsh commad is ok. and i can use command as follows to create and operate the lxc instance.a. Deploy: ssh node1 virsh -c lxc:/// create /path-to-xml/lxc.xmlb.virsh -c lxc+ssh://node1 virsh-command lxc_instance_nameBut i know little ruby,someone can give me some advice to help me complete lxc driver for opennebulaYou scripts do not need to be in Ruby per se. You can choose any language of your choice, as long as they can be executed in the remote host and perform the actions you want to perform everything is fine.Perhaps looking at OpenNebula Virtualbox driver helps you to understand: https://github.com/hsanjuan/OneVBox (note that it doesn't use virsh though, but rather interpret the deployment XML file and perform the necessary actions to setup the VM as it indicates)Regards,-- Hector Sanjuan@hecsanjuan___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] novnc session wont start
Sounds like you installed in self contained mode under /usr/share/opennebula? In this case, for the install_novnc.sh script to have worked, ONE_LOCATION needs to be defined and point to your non standard install.HectorOn Fri, 23 Nov 2012 11:24:51 +0100, inferno onre...@gmail.com wrote:Ubuntu 12.04.1 LTS. opennebula installed from tarball package.On Thu, Nov 22, 2012 at 9:45 PM, Hector Sanjuan li...@convivencial.org wrote: Good to hear! What distro are you running and how did you install opennebula? H On Thu, 22 Nov 2012 11:23:45 +0100, inferno onre...@gmail.com wrote: Solved by manually copying files from /usr/lib/one/sunstone/public/vendor/noVNC/include to /usr/share/opennebula/sunstone/public/vendor/noVNC/include On Thu, Nov 22, 2012 at 11:27 AM, inferno onre...@gmail.com wrote: Hi, thank you for answering. I'm running opennebula 3.8.1. Tried latest install script for novnc, but the problem persists. Thu Nov 22 11:13:55 2012 [I]: Starting VNC proxy: python /usr/share/one/websockify/websocketproxy.py --target-config=/var/lib/one/sunstone_vnc_tokens 29876 Thu Nov 22 11:13:56 2012 [I]: 172.16.41.237 - - [22/Nov/2012 11:13:56] "GET /image?timeout=true HTTP/1.1" 401 - 0.0162 Thu Nov 22 11:13:56 2012 [I]: 172.16.41.237 - - [22/Nov/2012 11:13:56] "GET /login HTTP/1.1" 200 2050 0.0299 Thu Nov 22 11:14:00 2012 [I]: 172.16.41.237 - - [22/Nov/2012 11:14:00] "POST /login HTTP/1.1" 204 - 0.1504 Thu Nov 22 11:14:00 2012 [I]: 172.16.41.237 - - [22/Nov/2012 11:14:00] "GET / HTTP/1.1" 200 5487 0.0961 Thu Nov 22 11:14:00 2012 [I]: 172.16.41.237 - - [22/Nov/2012 11:14:00] "GET /vendor/noVNC/include/vnc.js HTTP/1.1" 404 467 0.0037 Thu Nov 22 11:14:02 2012 [I]: 172.16.41.237 - - [22/Nov/2012 11:14:02] "GET /config HTTP/1.1" 200 143 0.0037 Thu Nov 22 11:14:02 2012 [I]: 172.16.41.237 - - [22/Nov/2012 11:14:02] "GET /user?timeout=false HTTP/1.1" 200 903 0.1412 Thu Nov 22 11:14:02 2012 [I]: 172.16.41.237 - - [22/Nov/2012 11:14:02] "GET /group?timeout=false HTTP/1.1" 200 585 0.0136 Thu Nov 22 11:14:02 2012 [I]: 172.16.41.237 - - [22/Nov/2012 11:14:02] "GET /acl?timeout=false HTTP/1.1" 200 541 0.0128 Thu Nov 22 11:14:02 2012 [I]: 172.16.41.237 - - [22/Nov/2012 11:14:02] "GET /vm?timeout=false HTTP/1.1" 200 5340 0.0235 Thu Nov 22 11:14:02 2012 [I]: 172.16.41.237 - - [22/Nov/2012 11:14:02] "GET /vmtemplate?timeout=false HTTP/1.1" 200 3159 0.0187 Thu Nov 22 11:14:02 2012 [I]: 172.16.41.237 - - [22/Nov/2012 11:14:02] "GET /image?timeout=false HTTP/1.1" 200 2084 0.0080 Thu Nov 22 11:14:02 2012 [I]: 172.16.41.237 - - [22/Nov/2012 11:14:02] "GET /cluster?timeout=false HTTP/1.1" 200 278 0.0065 Thu Nov 22 11:14:02 2012 [I]: 172.16.41.237 - - [22/Nov/2012 11:14:02] "GET /host?timeout=false HTTP/1.1" 200 1195 0.0074 Thu Nov 22 11:14:02 2012 [I]: 172.16.41.237 - - [22/Nov/2012 11:14:02] "GET /datastore?timeout=false HTTP/1.1" 200 2498 0.0089 Thu Nov 22 11:14:02 2012 [I]: 172.16.41.237 - - [22/Nov/2012 11:14:02] "GET /vnet?timeout=false HTTP/1.1" 200 648 0.0072 Thu Nov 22 11:14:03 2012 [I]: 172.16.41.237 - - [22/Nov/2012 11:14:03] "GET /marketplace?timeout=false HTTP/1.1" 200 25633 0.8489 Thu Nov 22 11:14:07 2012 [I]: 172.16.41.237 - - [22/Nov/2012 11:14:07] "POST /vm/57/startvnc HTTP/1.1" 200 47 0.0183 Thu Nov 22 11:14:09 2012 [I]: 172.16.41.237 - - [22/Nov/2012 11:14:09] "POST /vm/58/startvnc HTTP/1.1" 200 48 0.0191 On Wed, Nov 14, 2012 at 9:36 PM, Hector Sanjuan li...@convivencial.org wrote: Hello, which opennebula version are you running? If 3.8, I think you need to rerun install_novnc.sh. Otherwise you need download the latest install_novnc.sh[1], replace the current one and rerun it as well. [1] http://dev.opennebula.org/projects/opennebula/repository/revisions/master/entry/share/install_novnc.sh --Hector Sanjuan @hecsanjuan _______ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Hector Sanjuan @hecsanjuan -- Hector Sanjuan@hecsanjuan___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Gettng 404 in noVNC after upgrade to 3.8.1
Hello,did you check all causes of problems in http://opennebula.org/documentation:rel3.8:sunstone#vnc_troubleshootingIf so please do the last step and send full sunstone logs. Thanks,HectorOn Thu, 22 Nov 2012 18:16:06 +0100, Rodolfo Conte Brufatto rcbrufa...@gmail.com wrote:BW, is it needed to manually copy anything in that directory? as for the previous installation i have it in rub/cloud/ui...On Thu, Nov 22, 2012 at 3:14 PM, Rodolfo Conte Brufatto rcbrufa...@gmail.com wrote: Solved it, i was messing with permission on some dirs and got that.I removed /usr/lib/one/sunstone/public/vendor/noVNC for testing purposes, and noticed that i was not reinstalled after i ran the install script again. Now i am getting error 1006.Any advice?CheersOn Thu, Nov 22, 2012 at 3:00 PM, Rodolfo Conte Brufatto rcbrufa...@gmail.com wrote: Hello everyone,I had a minor issue after the upgrade to 3.8.1 regarding noVNC. sunstone.log shows:Thu Nov 22 14:57:22 2012 [I]: x - - [22/Nov/2012 14:57:22] "GET /vendor/noVNC/include/input.js HTTP/1.1" 404 484 0.0014 Thu Nov 22 14:57:22 2012 [I]: x - - [22/Nov/2012 14:57:22] "GET /vendor/noVNC/include/rfb.js HTTP/1.1" 404 482 0.0012I tried reinstalling using the install script again, but got the same status. Any advice?Cheers-- Have you tried turning it off and on again? -- Have you tried turning it off and on again? -- Have you tried turning it off and on again? -- Hector Sanjuan@hecsanjuan___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Gettng 404 in noVNC after upgrade to 3.8.1
Hello,the .js files for noVNC are placed in two places:/usr/lib/one/sunstone/public/vendor/noVNC/include (for sunstone UI)/usr/lib/one/ruby/cloud/occi/ui/public/vendor/noVNC/include (for selfservice UI)The creation of the noVNC folder etc is taken care of by the install_novnc.sh script (sorry, forgot to tell you that you must rerun this script after upgrade). Apart from these considerations, if it is working for you, I guess it is fine, unless you have done something strange between your old and new installsRegards,HectorOn Thu, 22 Nov 2012 22:48:47 +0100, Rodolfo Conte Brufatto rcbrufa...@gmail.com wrote:Hello Hector,Thanks for the quick response. Actually I did some mess with permissions ( I am re-checking and hardening the whole env).After the upgrade some other directories were set back to default owner/permissions. Last doubt is: do I need to recreate /usr/lib/one/sunstone/public/vendor/noVNC again? Since i checked that /usr/lib/one/ruby has the same directory structure.BTW, it is working now!Cheers On Thu, Nov 22, 2012 at 5:45 PM, Hector Sanjuan li...@convivencial.org wrote: Hello,did you check all causes of problems in http://opennebula.org/documentation:rel3.8:sunstone#vnc_troubleshooting If so please do the last step and send full sunstone logs. Thanks,HectorOn Thu, 22 Nov 2012 18:16:06 +0100, Rodolfo Conte Brufatto rcbrufa...@gmail.com wrote: BW, is it needed to manually copy anything in that directory? as for the previous installation i have it in rub/cloud/ui... On Thu, Nov 22, 2012 at 3:14 PM, Rodolfo Conte Brufatto rcbrufa...@gmail.com wrote: Solved it, i was messing with permission on some dirs and got that.I removed /usr/lib/one/sunstone/public/vendor/noVNC for testing purposes, and noticed that i was not reinstalled after i ran the install script again. Now i am getting error 1006.Any advice?CheersOn Thu, Nov 22, 2012 at 3:00 PM, Rodolfo Conte Brufatto rcbrufa...@gmail.com wrote: Hello everyone,I had a minor issue after the upgrade to 3.8.1 regarding noVNC. sunstone.log shows:Thu Nov 22 14:57:22 2012 [I]: x - - [22/Nov/2012 14:57:22] "GET /vendor/noVNC/include/input.js HTTP/1.1" 404 484 0.0014 Thu Nov 22 14:57:22 2012 [I]: x - - [22/Nov/2012 14:57:22] "GET /vendor/noVNC/include/rfb.js HTTP/1.1" 404 482 0.0012I tried reinstalling using the install script again, but got the same status. Any advice?Cheers-- Have you tried turning it off and on again? -- Have you tried turning it off and on again? -- Have you tried turning it off and on again? -- Hector Sanjuan@hecsanjuan___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Have you tried turning it off and on again? -- Hector Sanjuan@hecsanjuan___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Gettng 404 in noVNC after upgrade to 3.8.1
On Thu, 22 Nov 2012 23:11:58 +0100, Rodolfo Conte Brufatto rcbrufa...@gmail.com wrote:Forgot to ask something else Hector.Once i installed the new package for Ubuntu 12.04 (Ubuntu tarball file) it has created again the group cloud (i managed to update its GID on every host also since i had to install the common package for the nodes. I remember that since i upgraded from 3.4 - 3.6 this group did not existed anymore... so is it bogus? can I remove it?I have oneadmin group with the same id on every host including the front-end.Im currently not sure which group the package installs. But as long as your user/group setting is consistent it shouldn't matter that it is called oneadmin or cloud. You can safely delete the non-used group i suppose. Perhaps it would help that you rename your current group to that used by the package to ease things in future upgrades.Or perhaps is a package bug.. i'm sure J. Melis or someone else from the developers can give a more authoritative answer on this subject.Regards,-- Hector Sanjuan@hecsanjuan___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Gettng 404 in noVNC after upgrade to 3.8.1
On Thu, 22 Nov 2012 23:54:17 +0100, Rodolfo Conte Brufatto rcbrufa...@gmail.com wrote:I did that, but i was messing around ealrier and then i removed the noVNC includes in /usr/llib/one for sunstone UI. Then after I ran it again and this directory is still empty. May i copy the /usr/share/opennebula/sunstone/public/vendor/noVNC directory to /usr/lib/one/sunstone/public/vendor/noVNC/include again? Thx!No, the files need to be the version installed by the install_novnc.sh script for 3.8.1. If they are not or they nore present remove the whole noVNC folder and rerun the script. If it cannot put the files in place it should complain I guess...--Hector Sanjuan@hecsanjuan___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] novnc session wont start
Hello, which opennebula version are you running?If 3.8, I think you need to rerun install_novnc.sh. Otherwise you need download the latest install_novnc.sh[1], replace the current one and rerun it as well.[1] http://dev.opennebula.org/projects/opennebula/repository/revisions/master/entry/share/install_novnc.sh-- Hector Sanjuan@hecsanjuan___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VNC dont show popup window.
Yes:Go through the troubleshooting section of the documentation:http://opennebula.org/documentation:rel3.8:sunstone#vnc_troubleshooting (change 3.8 to your version if you are on a different one)And through this thread from a couple of days ago:http://lists.opennebula.org/pipermail/users-opennebula.org/2012-November/020917.htmlHectorOn Wed, 14 Nov 2012 20:55:26 +0100, Matheus Torquato matheus.t...@gmail.com wrote:Thanks Hector! Now I have the popup window.But, now I have this messageServer disconnected (code: 1006).Any hints?Best regards 2012/11/14 matheus tor4 matheusi...@gmail.com Very apreciated Hector.I will try this now!Thanks!On Wed, Nov 14, 2012 at 4:44 PM, Hector Sanjuan li...@convivencial.org wrote: Hello,this file cannot be located:Wed Nov 14 15:29:10 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:29:10] "GET /vendor/noVNC/include/vnc.js HTTP/1.1" 404 466 0.0017 I assume you are using OpenNebula 3.8. If you just ran the install_novnc.sh script, it probably won't work well due to late big changes to the novnc project. You can try fixing that by getting the last novnc_install.sh script[1] and rerunning it. Make sure all the/usr/lib/one/sunstone/public/vendor/noVNC/include/ files are in place though. Hector[1] http://dev.opennebula.org/projects/opennebula/repository/revisions/master/entry/share/install_novnc.sh On Wed, 14 Nov 2012 20:23:48 +0100, matheus tor4 matheusi...@gmail.com wrote: Hello everybody,I got a error with VNC and sunstone.Even without a notice of errors, I dont can bring up a vnc session.I already tried: -- Move the files of /usr/lib/one/sunstone/public/vendor/noVNC/include/ to /usr/share/one/noVNC/include/ and vice-versa.-- Unable "Secure websockets connection" on dashboard configurations. Here my whole /var/log/one/sunstone.log: http://pastebin.com/iwVq7rgPImportants lines:tail -n2000 /var/log/one/sunstone.log | grep vnc {:vnc_proxy_base_port=29876,:vnc_proxy_key=nil,:vnc_proxy_support_wss=false,:vnc_proxy_path="/usr/share/one/noVNC/utils/websockify",:vnc_proxy_cert=nil, Wed Nov 14 15:11:20 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:11:20] "GET /vendor/noVNC/include/vnc.js HTTP/1.1" 404 466 0.0012Wed Nov 14 15:28:32 2012 [I]: Starting vnc proxy: /usr/share/one/noVNC/utils/websockify 35783 ModcsNebula-FrontEnd:5907 Wed Nov 14 15:28:32 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:28:32] "POST /vm/7/startvnc HTTP/1.1" 200 30 0.0080Wed Nov 14 15:29:10 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:29:10] "GET /vendor/noVNC/include/vnc.js HTTP/1.1" 404 466 0.0017 Wed Nov 14 15:29:17 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:29:17] "GET /images/vnc_off.png HTTP/1.1" 304 - 0.0008Wed Nov 14 15:29:17 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:29:17] "GET /images/vnc_on.png HTTP/1.1" 304 - 0.0007 Wed Nov 14 15:31:00 2012 [I]: Starting vnc proxy: /usr/share/one/noVNC/utils/websockify 35786 ModcsNebula-FrontEnd:5910Wed Nov 14 15:31:00 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:31:00] "POST /vm/10/startvnc HTTP/1.1" 200 30 0.1287 Wed Nov 14 15:32:51 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:32:51] "POST /vm/10/startvnc HTTP/1.1" 200 30 0.0014Wed Nov 14 15:32:52 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:32:52] "POST /vm/10/startvnc HTTP/1.1" 200 30 0.0013 Wed Nov 14 15:35:21 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:35:21] "POST /vm/7/startvnc HTTP/1.1" 200 30 0.0014Wed Nov 14 15:35:22 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:35:22] "POST /vm/7/startvnc HTTP/1.1" 200 30 0.0014 Wed Nov 14 15:35:23 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:35:23] "POST /vm/7/startvnc HTTP/1.1" 200 30 0.0014Wed Nov 14 15:39:15 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:39:15] "POST /vm/7/startvnc HTTP/1.1" 200 30 0.0011 Wed Nov 14 15:41:28 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:41:28] "POST /vm/10/startvnc HTTP/1.1" 200 30 0.0011Wed Nov 14 15:41:41 2012 [I]: Starting vnc proxy: /usr/share/one/noVNC/utils/websockify 35785 ModcsNebula-Node01:5909 Wed Nov 14 15:41:41 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:41:41] "POST /vm/9/startvnc HTTP/1.1" 200 30 0.0076Wed Nov 14 15:41:42 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:41:42] "POST /vm/9/startvnc HTTP/1.1" 200 30 0.0013 Wed Nov 14 15:41:42 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:41:42] "POST /vm/9/startvnc HTTP/1.1" 200 30 0.0012Wed Nov 14 15:41:42 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:41:42] "POST /vm/9/startvnc HTTP/1.1" 200 30 0.0012 Wed Nov 14 15:41:43 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:41:43] "POST /vm/9/startvnc HTTP/1.1" 200 30 0.0011Wed Nov 14 15:46:23 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:46:23] "POST /vm/10/startvnc HTTP/1.1" 200 30 0.0011 Wed Nov 14 15:49:31 2012 [I]: Starting vnc proxy: /usr/share/one/noVNC/utils/websockify 35782 ModcsNebula-Node01:5906Wed Nov 14 15:49:31 2012
Re: [one-users] no vnc proxy running opennebula sunstone
Hello, the name of some config options have changed since 3.2. The install script will not replace the value if it is not in the file. Apart from that :vnc_proxy_base_port: 0 :vnc_proxy_support_wss: yes (without providing path to the certs) does not make much sense. For the VNC configuration, the UI settings of your file should look like in the original config file: Sunstone: http://dev.opennebula.org/projects/opennebula/repository/revisions/one-3.8/entry/src/sunstone/etc/sunstone-server.conf Self-Service: http://dev.opennebula.org/projects/opennebula/repository/revisions/one-3.8/entry/src/cloud/occi/etc/occi-server.conf Stop sunstone/self-service, check that no websockify python process has been left running in the machine. Once there, run the install_novnc.sh script provided with 3.8. The script will download the necessary files and update the configs. You can go back to the configs to check it is fine. i.e. sunstone-server.conf here: :vnc_proxy_port: 29876 :vnc_proxy_path: /srv/cloud/one/share/websockify/websocketproxy.py :vnc_proxy_support_wss: no :vnc_proxy_cert: :vnc_proxy_key: (Sunstone documentation page has more info of what each of these values mean) Restart Sunstone/Selfservice. It should be able to connect to the VM. Otherwise, there is a troubleshooting section at: http://opennebula.org/documentation:rel3.8:sunstone#vnc_troubleshooting You can always get back to the list for further support, Hector On Sun, 11 Nov 2012 13:41:33 +0100, Anouar Znagui Hassani anoua...@gmail.com wrote: Hello Guys, After wasting many hours of research I would like to ask a question regarding the installation and usage of noVNC webproxy in order to open a graphical window to my running VM. When I start my VM I get the status RUNNING so that is good. When I click the noVNC icon I get the message no vnc proxy running. I started out installing opennebula 3.2 but then I upgraded to opennebula 3.8 I have installed it on Ubuntu Server 12.04 LTS. I have installed noVNC using the instal_novnc.sh. It should have updated the configuration files but it did not because when I open /etc/one/sunstone-server.conf and /etc/one/occi-server.conf I notice that the novnc proxy path is not updated. Can you please help me with getting noVNC to work? Sunstone-server.conf: # VNC Configuration :vnc_proxy_base_port: 0 :novnc_path: /usr/share/opennebula/websockify/websocketproxy.py # Default language setting :lang: en_US Occi-server.config: :vnc_enable: yes :vnc_proxy_port: 0 :vnc_proxy_path: /usr/share/opennebula/websockify/websocketproxy.py :vnc_proxy_support_wss: yes :vnc_proxy_cert: :vnc_proxy_key: # dpkg -l | grep novnc ii novnc 2012.1~e3+dfsg+1-2 HTML5 VNC client ii python-novnc 2012.1~e3+dfsg+1-2 HTML5 VNC client - libraries Thank you!! ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Hector Sanjuan @hecsanjuan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] no vnc proxy running opennebula sunstone
Hello,configuration changes are detailed in the compatibility guides of each version. i.e.:http://opennebula.org/documentation:archives:rel3.4:compatibility#cloud_serverswarns about the new variables for sunstone and selfservice etc.Regarding your problem, please do the checklist at:http://opennebula.org/documentation:rel3.8:sunstone#vnc_troubleshooting(And just in case, make sure that there is not VNC_WSS variable set in your user template (users tab - select user - update properties)HectorOn Sun, 11 Nov 2012 19:55:19 +0100, Anouar Znagui Hassani anoua...@gmail.com wrote: Hello Hector, During the upgrade from 3.2 to 3.8 the conf files were not updated. Now they did exactly just like you said. Thank you! But now I see the popup with " noVNC ready: native WebSockets, canvas rendering " and 2 seconds later...: "Connect timeout" What does this mean. I feel like I am almost there. Can you help? -- Hector Sanjuan@hecsanjuan___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VNC problem from Sunstone interface
Somehow it is trying to connect with wss :S:10.0.1.125: SSL connection but '/var/lib/one/self.pem' not foundOn sunstone, can you check your user properties (users tab - select user - update properties).In the user template, is there a VNC_WSS variable set? To what value? If so, can you delete it? Reload the sunstone page, logout, login and retry?HectorOn Wed, 07 Nov 2012 10:09:31 +0100, Jan Benadik jan.bena...@atos.net wrote: Dňa 07.11.2012 08:18, Hector Sanjuan wrote / napísal(a): Any chance the "Use Secure WSS" is checked in sunstone config? Can you check/uncheck and retry with it unchecked just in case? Secure WSS wasn't checked, but I tried to check/uncheck and run once again with unchecked - nothing changed :-( Otherwise, kill your sunstone proxy and restart it manually: python /usr/share/opennebula/websockify/websocketproxy.py --target-config=/var/lib/one/sunstone_vnc_tokens 29876 1. sunstone stopped, occi stopped oneadmin@myto-node:~$ ps aux|grep py oneadmin 12456 0.0 0.0 9516 904 pts/2 S+ 09:56 0:00 grep py 2. oneadmin@myto-node:/etc/one$ python /usr/share/opennebula/websockify/websocketproxy.py --target-config=/var/lib/one/sunstone_vnc_tokens 29876 WebSocket server settings: - Listen on :29876 - Flash security policy server - No SSL/TLS support (no cert file) - proxying from :29876 to targets in /var/lib/one/sunstone_vnc_tokens oneadmin@myto-node:~$ ps aux|grep py oneadmin 12457 0.5 0.1 93056 16800 pts/1 S+ 09:57 0:00 python /usr/share/opennebula/websockify/websocketproxy.py --target-config=/var/lib/one/sunstone_vnc_tokens 29876 oneadmin 12460 0.0 0.0 9516 908 pts/2 S+ 09:57 0:00 grep py 3. oneadmin@myto-node:~$ sunstone-server start sunstone-server started oneadmin@myto-node:~$ ps aux|grep py oneadmin 12457 0.1 0.1 93056 16800 pts/1 S+ 09:57 0:00 python /usr/share/opennebula/websockify/websocketproxy.py --target-config=/var/lib/one/sunstone_vnc_tokens 29876 oneadmin 12481 0.9 0.0 0 0 pts/2 Z 09:58 0:00 [python] defunct oneadmin 12484 0.0 0.0 9516 908 pts/2 S+ 09:58 0:00 grep py Here seems to be an issue - if websockify process runs in time of sunstone is starting - python process is defunct. If a defunct python proces exist in system, VNC server is disconnected immediately and 10 lines is added to websockify console: oneadmin@myto-node:~$ python /usr/share/opennebula/websockify/websocketproxy.py --target-config=/var/lib/one/sunstone_vnc_tokens 29876 WebSocket server settings: - Listen on :29876 - Flash security policy server - No SSL/TLS support (no cert file) - proxying from :29876 to targets in /var/lib/one/sunstone_vnc_tokens 1: 10.0.1.125: SSL connection but '/var/lib/one/self.pem' not found 2: 10.0.1.125: SSL connection but '/var/lib/one/self.pem' not found 3: 10.0.1.125: SSL connection but '/var/lib/one/self.pem' not found 4: 10.0.1.125: SSL connection but '/var/lib/one/self.pem' not found 5: 10.0.1.125: SSL connection but '/var/lib/one/self.pem' not found 6: 10.0.1.125: SSL connection but '/var/lib/one/self.pem' not found 7: 10.0.1.125: SSL connection but '/var/lib/one/self.pem' not found 8: 10.0.1.125: SSL connection but '/var/lib/one/self.pem' not found 9: 10.0.1.125: SSL connection but '/var/lib/one/self.pem' not found 10: 10.0.1.125: SSL connection but '/var/lib/one/self.pem' not found In /etc/one/sunstone-server there is: :vnc_proxy_base_port: 29876 :vnc_proxy_path: /usr/share/opennebula/websockify/websocketproxy.py :vnc_proxy_support_wss: no :vnc_proxy_cert: :vnc_proxy_key: -rwxr-xr-x 1 root root 3691 okt 26 18:13 sunstone-server if [ -z "$ONE_LOCATION" ]; then SUNSTONE_PID=/var/run/one/sunstone.pid SUNSTONE_SERVER=/usr/share/opennebula/sunstone/sunstone-server.rb SUNSTONE_LOCK_FILE=/var/lock/one/.sunstone.lock SUNSTONE_LOG=/var/log/one/sunstone.log SUNSTONE_LOG_ERROR=/var/log/one/sunstone.error SUNSTONE_CONF=/etc/one/sunstone-server.conf else SUNSTONE_PID=$ONE_LOCATION/var/sunstone.pid SUNSTONE_SERVER=$ONE_LOCATION/lib/sunstone/sunstone-server.rb SUNSTONE_LOCK_FILE=$ONE_LOCATION/var/.sunstone.lock SUNSTONE_LOG=$ONE_LOCATION/var/sunstone.log SUNSTONE_LOG_ERROR=$ONE_LOCATION/var/sunstone.error SUNSTONE_CONF=$ONE_LOCATION/etc/sunstone-server.conf fi setup() { TMPDIR=$(grep ^:tmpdir: $SUNSTONE_CONF|awk '{print $2}') if [ -n "$TMPDIR" ]; then
Re: [one-users] VNC problem from Sunstone interface
Is there any suspicious python process still running after stopping sunstone that might be taking the 33876 port?(im seeing oneadmin 6942 0.0 0.0 0 0 pts/1 Z 10:10 0:00 [python] defunct)Anything in sunstone.error maybe?HectorOn Tue, 06 Nov 2012 10:43:30 +0100, Jan Benadik jan.bena...@atos.net wrote: Hi all, I have a problem to start VNC session from Sunstone interface. I have Ubuntu 12.04 Server with Opennebula 3.8.1 installed, the newest version of noVNC (no error message), restarted oned, sunstone-server and occi-server too. After restarting, the python processes are: oneadmin@myto-node:/usr/share/opennebula$ ps aux|grep python nova 5838 0.0 0.2 118608 23796 ? S 09:56 0:00 python /usr/bin/nova-novncproxy --flagfile=/etc/nova/nova.conf --web /usr/share/novnc/ oneadmin 6835 0.4 0.1 93068 16816 pts/1 S 10:09 0:00 python /usr/share/opennebula/websockify/websocketproxy.py --target-config=/var/lib/one/sunstone_vnc_tokens 29876 oneadmin 6857 0.7 0.1 93064 16820 pts/1 S 10:09 0:00 python /usr/share/opennebula/websockify/websocketproxy.py --target-config=/var/lib/one/selfservice_vnc_tokens 33876 oneadmin 6869 0.0 0.0 9516 908 pts/1 S+ 10:10 0:00 grep python When I try to start VNC session from OCCI interface - everything works, VNC session is established. If I try to start VNC session to the same VM from SUNSTONE interface, a message "Server disconnected (code: 1006)" occurs immediately and python processes are changed: oneadmin@myto-node:/usr/share/opennebula$ ps aux|grep python nova 5838 0.0 0.2 118608 23796 ? S 09:56 0:00 python /usr/bin/nova-novncproxy --flagfile=/etc/nova/nova.conf --web /usr/share/novnc/ oneadmin 6835 0.2 0.1 93068 16920 pts/1 S 10:09 0:00 python /usr/share/opennebula/websockify/websocketproxy.py --target-config=/var/lib/one/sunstone_vnc_tokens 29876 oneadmin 6857 0.3 0.1 93064 16820 pts/1 S 10:09 0:00 python /usr/share/opennebula/websockify/websocketproxy.py --target-config=/var/lib/one/selfservice_vnc_tokens 33876 oneadmin 6942 0.0 0.0 0 0 pts/1 Z 10:10 0:00 [python] defunct oneadmin 6944 0.0 0.0 9516 912 pts/1 S+ 10:10 0:00 grep python File /var/log/one/sunstone.error is empty, the file /var/log/one/sunstone.log starts with: -- Server configuration -- {:vnc_proxy_cert=nil, :vnc_proxy_support_wss=false, :vnc_proxy_path="/usr/share/opennebula/websockify/websocketproxy.py", :_one_xmlrpc_="http://localhost:2633/RPC2", :vnc_proxy_base_port=29876, :vnc_proxy_key=nil, :core_auth="cipher", :host="0.0.0.0", :tmpdir="/var/tmp/one", :marketplace_url="https://marketplace.c12g.com/appliance", :debug_level=3, :port=9869, :lang="en_US", :auth="sunstone"} Tue Nov 06 10:09:42 2012 [I]: Starting VNC proxy: python /usr/share/opennebula/websockify/websocketproxy.py --target-config=/var/lib/one/sunstone_vnc_tokens 29876 and ends with: Tue Nov 06 10:27:12 2012 [I]: 10.0.1.125 - - [06/Nov/2012 10:27:12] "POST /vm/88/startvnc HTTP/1.1" 200 48 0.0068 Tue Nov 06 10:27:12 2012 [I]: 10.0.1.125 - - [06/Nov/2012 10:27:12] "GET /user?timeout=true HTTP/1.1" 200 3416 0.0062 Tue Nov 06 10:27:13 2012 [I]: 10.0.1.125 - - [06/Nov/2012 10:27:13] "GET /vm?timeout=true HTTP/1.1" 200 24160 0.0203 Tue Nov 06 10:27:15 2012 [I]: 10.0.1.125 - - [06/Nov/2012 10:27:15] "GET /cluster?timeout=true HTTP/1.1" 200 338 0.0038 Tue Nov 06 10:27:26 2012 [I]: 10.0.1.125 - - [06/Nov/2012 10:27:26] "GET /image?timeout=true HTTP/1.1" 200 14143 0.0757 Paths to files looks to be correct - which could be an issue? Jan -- Ján Beňadik Managed Services - Solution Design Architect mobile: +421 903 691 634 fax: +421 2 6852 8380 jan.bena...@atos.net Vinohradnicka 6, 971 01 Prievidza www.sk.atos.net __ -- Hector Sanjuan@hecsanjuan___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VNC problem from Sunstone interface
Any chance the "Use Secure WSS" is checked in sunstone config? Can you check/uncheck and retry with it unchecked just in case?Otherwise, kill your sunstone proxy and restart it manually:python /usr/share/opennebula/websockify/websocketproxy.py --target-config=/var/lib/one/sunstone_vnc_tokens 29876and see if it says something interesting to the console when you are trying to connect to the VM.HectorOn Wed, 07 Nov 2012 08:01:52 +0100, Jan Benadik jan.bena...@atos.net wrote: Hi, here are my python processes in different situations: 1. sunstone and OCCI server stopped oneadmin@myto-node:~$ ps aux|grep python oneadmin 1395 0.0 0.0 9516 912 pts/0 S+ 07:48 0:00 grep python nova 5838 0.0 0.2 118608 23796 ? S Nov06 0:02 python /usr/bin/nova-novncproxy --flagfile=/etc/nova/nova.conf --web /usr/share/novnc/ 2. sunstone started, OCCI stopped oneadmin@myto-node:~$ ps aux|grep python oneadmin 1412 6.5 0.1 93060 16808 pts/0 S 07:49 0:00 python /usr/share/opennebula/websockify/websocketproxy.py --target-config=/var/lib/one/sunstone_vnc_tokens 29876 oneadmin 1415 0.0 0.0 9516 908 pts/0 S+ 07:49 0:00 grep python nova 5838 0.0 0.2 118608 23796 ? S Nov06 0:02 python /usr/bin/nova-novncproxy --flagfile=/etc/nova/nova.conf --web /usr/share/novnc/ 3. sunstone and OCCI started oneadmin@myto-node:~$ ps aux|grep python oneadmin 1412 0.2 0.1 93060 16808 pts/0 S 07:49 0:00 python /usr/share/opennebula/websockify/websocketproxy.py --target-config=/var/lib/one/sunstone_vnc_tokens 29876 oneadmin 1434 4.6 0.1 93056 16808 pts/0 S 07:50 0:00 python /usr/share/opennebula/websockify/websocketproxy.py --target-config=/var/lib/one/selfservice_vnc_tokens 33876 oneadmin 1437 0.0 0.0 9520 908 pts/0 S+ 07:50 0:00 grep python nova 5838 0.0 0.2 118608 23796 ? S Nov06 0:02 python /usr/bin/nova-novncproxy --flagfile=/etc/nova/nova.conf --web /usr/share/novnc/ 4. sunstone and OCCI started, VNC session via OCCI established oneadmin@myto-node:~$ ps aux|grep python oneadmin 1412 0.0 0.1 93060 16808 pts/0 S 07:49 0:00 python /usr/share/opennebula/websockify/websocketproxy.py --target-config=/var/lib/one/sunstone_vnc_tokens 29876 oneadmin 1434 0.1 0.1 93056 16912 pts/0 S 07:50 0:00 python /usr/share/opennebula/websockify/websocketproxy.py --target-config=/var/lib/one/selfservice_vnc_tokens 33876 oneadmin 1833 0.0 0.1 95288 14456 pts/0 S 07:52 0:00 python /usr/share/opennebula/websockify/websocketproxy.py --target-config=/var/lib/one/selfservice_vnc_tokens 33876 oneadmin 1835 0.0 0.0 9520 912 pts/0 S+ 07:52 0:00 grep python nova 5838 0.0 0.2 118608 23796 ? S Nov06 0:02 python /usr/bin/nova-novncproxy --flagfile=/etc/nova/nova.conf --web /usr/share/novnc/ 5. sunstone and OCCI started, VNC session via sunstone try to establish (with error message :Server disconnected (code: 1006) displayed) oneadmin 1833 0.0 0.0 0 0 pts/0 Z 07:52 0:00 [python] defunct oneadmin 1927 0.0 0.0 0 0 pts/0 Z 07:53 0:00 [python] defunct oneadmin 1938 0.0 0.0 9520 912 pts/0 S+ 07:53 0:00 grep python nova 5838 0.0 0.2 118608 23796 ? S Nov06 0:02 python /usr/bin/nova-novncproxy --flagfile=/etc/nova/nova.conf --web /usr/share/novnc/ 6. the same as 5., but after error message closing oneadmin@myto-node:~$ ps aux|grep python oneadmin 1412 0.0 0.1 93060 16912 pts/0 S 07:49 0:00 python /usr/share/opennebula/websockify/websocketproxy.py --target-config=/var/lib/one/sunstone_vnc_tokens 29876 oneadmin 1434 0.0 0.1 93056 16912 pts/0 S 07:50 0:00 python /usr/share/opennebula/websockify/websocketproxy.py --target-config=/var/lib/one/selfservice_vnc_tokens 33876 oneadmin 1833 0.0 0.0 0 0 pts/0 Z 07:52 0:00 [python] defunct oneadmin 1927 0.0 0.0 0 0 pts/0 Z 07:53 0:00 [python] defunct oneadmin 2016 0.0 0.0 9520 908 pts/0 S+ 07:55 0:00 grep python nova 5838 0.0 0.2 118608 23796 ? S Nov06 0:02 python /usr/bin/nova-novncproxy --flagfile=/etc/nova/nova.conf --web /usr/share/novnc/ File /var/log/one/sunstone.error is still empty. Jan Dňa 06.11.2012 19:53, Hector Sanjuan wrote / napísal(a): Is there any suspicious python process still running after stopping sunstone that might be taking the 33876 port? (im seeing oneadmin 6942 0.0 0.0 0 0 pts/1 Z 10:10 0:00 [python] defunct) Anything in sunstone.error maybe? Hector On Tue, 06 Nov 2012 10:43:30 +0100, Jan Benadik jan.bena...@atos.net wrote: Hi all, I have a proble
Re: [one-users] One 3.8.1 and snapshot
Hello,as stupid as it sounds, it seems I forgot to remove the Take Snapshot button from the actions drop down menu in Self-Service.Good news: the functionality is available, it has just been moved to the disks tab of the VM information (click on VM, select disks tab on the side panel).So basicly Save As and hotplugging were put together in the same place, but the old item was left in place the menu.HectorOn Mon, 05 Nov 2012 18:16:02 +0100, Nicolas AGIUS nicolas.ag...@lps-it.fr wrote:Hi,I've just updated to 3.8.1, and in the Self-service UI, the "Take snapshot" button is not working. I've openned an issue [1].Locking into the code, (compute.js) I saw that functions setupSaveasDialog() and popUpSaveasDialog() have been deleted, explaing why this button is no more working...Is this functionnality still available ?Thx,Nicolas AGIUS[1] http://dev.opennebula.org/issues/1633-- Hector Sanjuan@hecsanjuan___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] opennebula 3.8 virtualbox driver problem
Hello, how did you install opennebula and on which distro?/usr/share/opennebula/sunstone is not where sunstone is normally installed/should be installed as far as I know.This should be either $ONE_LOCATION/lib/sunstone (for self-contained installations) or /usr/lib/one/sunstone for system-wide installs.The OneVBox install script works for these location. You can always edit it manually to fit your needs.HectorOn Wed, 31 Oct 2012 16:00:39 +0100, Uli ulih...@gmail.com wrote:I think in the install script it should be: SUNSTONE_USER_PLUGINS=/usr/share/opennebula/sunstone/public/js/user-plugins/instead of SUNSTONE_USER_PLUGINS=$ONE_LIB_DIR/sunstone/public/js/user-plugins/ On Wed, Oct 31, 2012 at 4:38 PM, Uli ulih...@gmail.com wrote: HiAfter having upgraded to Opennebula 3.8 and reinstalled the latest version of the Virtualbox drivers (hsanjuan), I removed my old database so as to create a new one (sqlite one.db). bnut now I don't have the usual vbox dialog box when creating hosts or templates. Thevbox-plugin.jsfile is located in the /usr/lib/one/sunstone/public/js/user-plugins/ directory. Apart from stopping and starting the sunstone-server and one services is there anything else to get the application to load the script? RegardsUli Horn -- Hector Sanjuan@hecsanjuan___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] KVM and Sunstone-GUI
Hi, Try checking what the errors messages are in oned.log. That should give you an idea of what goes wrong. Hector En Sat, 29 Sep 2012 12:46:22 +0200, Prithvi Raj prithvisupersoni...@gmail.com escribió: Hello, Am using Ubuntu 12.04 LTS. Should i install dummy transitional package from kvm to qemu-kvm or QEMU KVM Virtual Machine Manager(AQEMU) on the front-end? I am getting ERROR state when i create a host in Sunstone-GUI using KVM as virtualization manager and information manager. I have uncommented im_kvm and vmm_kvm in oned.conf. Further, i have only installed dummy transitional package from kvm to qemu-kvm from ubuntu software center. Is any other step required before creating a host using KVM?? Help me. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Adding hosts using KVM
No, just add the hosts with the im_kvm, vmm_kvm drivers... making sure these are uncommented in oned.conf (several drivers of the same kind can be uncommented i.e. dummy and kvm). -- Hector Sanjuan OpenNebula Developer En Thu, 27 Sep 2012 20:08:06 +0200, Prithvi Raj prithvisupersoni...@gmail.com escribió: I would like to add hosts using KVM. I have a host which can ssh with the front-end, It has KVM. I have attached the screenshot of QEMU. What are the other steps involved in configuring the hosts? Sorry to ask this basic question.. Is there any other step involved to check whether the host is configured correctly so that it can be added in the front-end Sunstone?? ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Not able to instantiate a Virtual machine in Sunstone GUI
Hello, I used dummy. This is the problem... dummy VMs, as dummy hosts, do not exist in reality... they're just an illusion... and you cannot VNC to them. -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Hypervisor
Hello sotak, There are drivers for hyper-v available in the ecosystem http://opennebula.org/software:ecosystem:hyperv Note they are compatible with opennebula 3.2 only. Hector En Fri, 28 Sep 2012 05:47:42 +0200, sotak so...@outlook.com escribió: Hi, I would like to ask if hyper-v 2012 or hyper-v 2008 r2 are supported by opennebula. If there are drivers for these hypervisors, did anyone implement opennebula with hyper-v ? Thanks -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Sunstone Server Error
Hello, from your logs it seems you are adding dummy hosts, but the dummy drivers are not loaded. You need to uncomment the relevant im_dummy vmm_dummy drivers in /etc/one/oned.conf. Restart opennebula and re-add the hosts and it should work. Otherwise, if you are adding real hosts, select KVM drivers, which are enabled by default. Hector En Thu, 27 Sep 2012 18:20:45 +0200, Prithvi Raj prithvisupersoni...@gmail.com escribió: Thanks !! Changed the file you suggested. The error message has gone now. The hosts can be added but the state of the added host is in the ERROR state only. I am trying to implement a private cloud system. I am new to OpenNebula. I have attached the sunstone.log and oned.log files for your verification. Please reply me in case there is any other problem. Cheers Looking forward for your reply. Prithvi -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Sunstone noVNC is not working
Hello, it seems there is a websockify process which has been left running so the proxy cannot be relaunched where it should. Killing the websokify python process should fix it. Hector En Fri, 21 Sep 2012 22:23:36 +0200, Andrei Vakhnin andrey.a.vakh...@nasa.gov escribió: Hello I'm getting following error when trying to access VMs via Sunstone VNC. Server disconnected (code: 1006) Everything was working fine shortly after deployment but now user can't access some of his VMs via VNC. Here are sunstone logs: /var/log/one/sunstone.error File /usr/share/one/noVNC/utils/websockify, line 285, in module websockify_init() File /usr/share/one/noVNC/utils/websockify, line 282, in websockify_init server.start_server() File /usr/share/one/noVNC/utils/websocket.py, line 804, in start_server lsock = self.socket(self.listen_host, self.listen_port) File /usr/share/one/noVNC/utils/websocket.py, line 190, in socket sock.bind(addrs[0][4]) File string, line 1, in bind socket.error: [Errno 98] Address already in use /var/log/one/sunstone.log Fri Sep 21 16:22:06 2012 [I]: 198.119.135.209 - - [21/Sep/2012 16:22:06] GET /user?timeout=true HTTP/1.1 200 4996 0.0752 Fri Sep 21 16:22:07 2012 [I]: 198.119.135.209 - - [21/Sep/2012 16:22:07] GET /acl?timeout=true HTTP/1.1 200 717 0.0090 Fri Sep 21 16:22:09 2012 [I]: 198.119.135.209 - - [21/Sep/2012 16:22:09] GET /vm?timeout=true HTTP/1.1 200 30241 0.1017 Fri Sep 21 16:22:11 2012 [I]: 198.119.135.209 - - [21/Sep/2012 16:22:11] GET /cluster?timeout=true HTTP/1.1 200 201 0.0096 Fri Sep 21 16:22:16 2012 [I]: 198.119.135.209 - - [21/Sep/2012 16:22:16] GET /image?timeout=true HTTP/1.1 200 5409 0.0131 Fri Sep 21 16:22:18 2012 [I]: 198.119.135.209 - - [21/Sep/2012 16:22:18] GET /cluster?timeout=true HTTP/1.1 200 201 0.0087 Fri Sep 21 16:22:25 2012 [I]: 198.119.135.209 - - [21/Sep/2012 16:22:25] GET /group?timeout=true HTTP/1.1 200 1413 0.0100 Fri Sep 21 16:22:25 2012 [I]: 198.119.135.209 - - [21/Sep/2012 16:22:25] GET /image?timeout=true HTTP/1.1 200 5409 0.0129 Fri Sep 21 16:22:28 2012 [I]: 198.119.135.209 - - [21/Sep/2012 16:22:28] GET /host?timeout=true HTTP/1.1 200 2561 0.0104 Fri Sep 21 16:22:29 2012 [I]: 198.119.135.209 - - [21/Sep/2012 16:22:29] GET /vnet?timeout=true HTTP/1.1 200 3887 0.0123 Thanks ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Fwd: Re: [one-ecosystem] Call for translations: OpenNebula 3.8 (DL 3rd October)
Forgot to CC the list for this one... --- Mensaje Remitido --- De: Hector Sanjuan hsanj...@opennebula.org A: Rogier Mars rog...@fortytwo.nl Asunto: Re: [one-ecosystem] Call for translations: OpenNebula 3.8 (DL 3rd October) Fecha: Tue, 18 Sep 2012 13:34:57 +0200 Hello, thanks! after logging in, you can just click on the add new translation button here: https://www.transifex.com/projects/p/one/resource/self-service/ or here https://www.transifex.com/projects/p/one/resource/sunstone/ Regards, Hector En Tue, 18 Sep 2012 13:29:09 +0200, Rogier Mars rog...@fortytwo.nl escribió: Hi, I'm a Dutch native, if you add the Dutch language I can translate it. Cheers, Rogier On Sep 18, 2012, at 1:24 PM, Hector Sanjuan wrote: Dear community, As OpenNebula 3.8 comes closer, we would like to launch a call for translations of our web-based user interfaces: Sunstone and Self-Service. It is very easy: the existing translations can be updated and new translations submitted through our project site at Transifex (https://www.transifex.com/projects/p/one/). The process is as follows: * Log in to Transifex. You can easily register or login with using your Twitter, LinkedIn, Google or Facebook accounts * Click on the language you want to translate and the resource (Sunstone or Self-Service) * Hit “Translate now” and start translating right away through the Transifex website If the language is not available, you can request the creation of a new language for that resource. If you have a translation file ready outside Transifex for a new language, please upload it there. Transifex offers advanced features for translators. You can check their documentation[1] for more information. Translations reaching a good level of completion will be included in the official final release of OpenNebula. Deadline for translations is Wednesday, 3rd of October 15.00 CET. Thanks for your collaboration! -- Hector Sanjuan OpenNebula Developer [1] http://help.transifex.com/intro/translating.html#translating ___ Ecosystem mailing list ecosys...@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/ecosystem-opennebula.org -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Call for translations: OpenNebula 3.8 (DL 3rd October)
Dear community, As OpenNebula 3.8 comes closer, we would like to launch a call for translations of our web-based user interfaces: Sunstone and Self-Service. It is very easy: the existing translations can be updated and new translations submitted through our project site at Transifex (https://www.transifex.com/projects/p/one/). The process is as follows: * Log in to Transifex. You can easily register or login with using your Twitter, LinkedIn, Google or Facebook accounts * Click on the language you want to translate and the resource (Sunstone or Self-Service) * Hit “Translate now” and start translating right away through the Transifex website If the language is not available, you can request the creation of a new language for that resource. If you have a translation file ready outside Transifex for a new language, please upload it there. Transifex offers advanced features for translators. You can check their documentation[1] for more information. Translations reaching a good level of completion will be included in the official final release of OpenNebula. Deadline for translations is Wednesday, 3rd of October 15.00 CET. Thanks for your collaboration! -- Hector Sanjuan OpenNebula Developer [1] http://help.transifex.com/intro/translating.html#translating ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OpenNebula Sunstone statistics
The statistics are only accesible if you are logged in and to put all that in your own page is not inmmediate. If you can make an app that takes a screenshot of your sunstone screen and serves it to the public that could be one easy way. Second dirty way would be to try deploy a second sunstone server whose dashboard and layout are hacked in a way that it only shows the statistics (hiding the menu, top/bottom bars). I never tried to deploy a second server for the same install of ONE, but I think it should be possible. Hacking would be done in layout.js and dashboard-tab.js files mostly. You can hack sunstone-server.rb so that login happens automaticly with the credentials you want and perform relogin if session exprires. And programatically, it is not so straightforward. Dashboard statistics are build by processing and regrouping the data that comes when the list of Hosts, VMs... is fetched. This is done in monitoring.js which groups and plots the information according to configurations defined in the SunstoneMonitoringConfig object. So this approach would be a bit of a hell if you're not familiar with the code: 1 - add a custom route to the sunstone server that generates the stats page you want to show. get '/stats' do #perhaps turn session expiration of here erb :stats, :layout = false end The generated html should contain the divs where you would like to paint the things. You can try copying that from dashboard-tab.js. 2 - Include opennenbula.js, monitoring.js and all the jquery* vendor libraries. Create a new stats.js file. After you login in sunstone, you can directly go to http://sunstone-ip:port/stats Your stats.js will need to make use of OpenNebula.Host.list(params) and similar to get a list of resources. In the params you need to include a callback function. 3 - your stats JS should include the SunstoneMonitoringConfig['HOST'] You can copy it from hosts-tab.js. The only part I think you need to edit is the plot() function inside it, which indicates where the plots are going to be painted (container). 4 - Within the callback function for Host.list() you should call SunstoneMonitoring.monitor('HOST', host_list) (see updateHostsView() in hosts-tab.js, which is the callback for Host.list()) 5 - If the steps above are ok then the pies and diagrams for hosts should be painted in your stats page in the divs that you placed. If you want VMs stats, you need to get the VMs list, the SunstoneMonitoringConfig['VM'] object and repeat the process. I keep wondering if maybe I missed an easy brighter way to do this. I'll write back if it cames to my mind. -- Hector Sanjuan OpenNebula Developer En Wed, 05 Sep 2012 17:33:14 +0200, Sándor Guba gubasa...@gmail.com escribió: Hi, I would like to share the diagrams and statistics from sunstone (dashboard host panel) on a public webpage. Is there an easy way to do this? Thank you for your answears! ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Fwd: ACLs and users authentification
wrote: Hi I'm testing opennebula in multi-tenant envirements and found an upsetting issue. When i put users in groups (for example company A and company B groups), i can't find anything in options and in documentation (ACLs, etc.) to make company A VMs invisible to company B VMs and opposite. They just can't do anything with not their own machines, but the still see all the pool of virtual machines. This is not good in such case. I will be pleased to hear any advice. Thank you in advance. -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] noVNC timeout error
Hello, Please run websockify manually and send the output when you try to open the vnc from sunstone. If the error changed that probably means that this is another error. You can try going through the troubleshooting section [1] again. And make sure that the WSS checkbox is not checked in Sunstone System-configuration tab. Hector [1] http://opennebula.org/documentation:rel3.6:sunstone#vnc_troubleshooting En Sun, 02 Sep 2012 00:43:09 +0200, Chris Mutchler ch...@leibnizcreations.com escribió: Hector, I added in the firewall rule for the sunstone-server port range of 35770-35779 and now the noVNC window gives me the following error: Failed to connect to server (code: 1006) I re-ran the /usr/share/one/install_novnc.sh script just to be sure everything was properly installed and I continue to get the error above. Are there other packages that are needed in CentOS 6.3 that aren't documented or that I should have preinstalled? Thank you. On Fri, Aug 31, 2012 at 9:51 AM, Hector Sanjuan hsanj...@opennebula.orgwrote: Hi Chris, Sunstone will try to connect to port 35777 which is vnc_proxy_base port + the vnc port of the VM. This is where websockify is running. Then it will open a connection to cloud:5901. So, in theory, your fw rule should be affecting a range in the ~35770s If the problem persists, run websockify manually and send the output when you try to open the vnc from sunstone. Regards, Hector En Fri, 31 Aug 2012 08:26:28 +0200, Chris Mutchler ch...@leibnizcreations.com escribió: I have my first VM in OpenNebula provisioned and in the running state. Now when I go to connect to it over noVNC through the browser, I get a timeout error. Nothing appears in /var/log/one/sunstone.error log file unless I manually start the proxy via shell. Here are the only entries that appear in the /var/log/one/sunstone.log file when I initiate the noVNC session: Fri Aug 31 00:18:41 2012 [I]: Starting vnc proxy: /usr/share/one/noVNC/utils/**websockify 35777 cloud:5901 Fri Aug 31 00:18:41 2012 [I]: 192.168.1.5 - - [31/Aug/2012 00:18:41] POST /vm/1/startvnc HTTP/1.1 200 30 0.0274 Fri Aug 31 00:18:49 2012 [I]: 192.168.1.5 - - [31/Aug/2012 00:18:49] POST /vm/1/stopvnc HTTP/1.1 200 - 0.0618 I've added a firewall rule to the host + front-end machine (they exist together) for the port range of 5900 - 5999. 1ACCEPT tcp -- 0.0.0.0/00.0.0.0/0 state NEW tcp dpts:5900:5999 I've also gone through the suggestions on the page for troubleshooting noVNC. The only thing I can think of is that I am not using a SSL/TLS certficate. How do I set that up and could that be causing my timeout message I get in the noVNC window? Thank you. -- Hector Sanjuan OpenNebula Developer -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] noVNC timeout error
Hi Chris, Sunstone will try to connect to port 35777 which is vnc_proxy_base port + the vnc port of the VM. This is where websockify is running. Then it will open a connection to cloud:5901. So, in theory, your fw rule should be affecting a range in the ~35770s If the problem persists, run websockify manually and send the output when you try to open the vnc from sunstone. Regards, Hector En Fri, 31 Aug 2012 08:26:28 +0200, Chris Mutchler ch...@leibnizcreations.com escribió: I have my first VM in OpenNebula provisioned and in the running state. Now when I go to connect to it over noVNC through the browser, I get a timeout error. Nothing appears in /var/log/one/sunstone.error log file unless I manually start the proxy via shell. Here are the only entries that appear in the /var/log/one/sunstone.log file when I initiate the noVNC session: Fri Aug 31 00:18:41 2012 [I]: Starting vnc proxy: /usr/share/one/noVNC/utils/websockify 35777 cloud:5901 Fri Aug 31 00:18:41 2012 [I]: 192.168.1.5 - - [31/Aug/2012 00:18:41] POST /vm/1/startvnc HTTP/1.1 200 30 0.0274 Fri Aug 31 00:18:49 2012 [I]: 192.168.1.5 - - [31/Aug/2012 00:18:49] POST /vm/1/stopvnc HTTP/1.1 200 - 0.0618 I've added a firewall rule to the host + front-end machine (they exist together) for the port range of 5900 - 5999. 1ACCEPT tcp -- 0.0.0.0/00.0.0.0/0 state NEW tcp dpts:5900:5999 I've also gone through the suggestions on the page for troubleshooting noVNC. The only thing I can think of is that I am not using a SSL/TLS certficate. How do I set that up and could that be causing my timeout message I get in the noVNC window? Thank you. -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Random password on CONTEXT
Hello, I've been giving a bit of tought to this. Sorry for the late response. There are several ways you could achieve this, but they all require a bit of hacking. The simplest one (perhaps not the most elegant but still), is to modify TemplateJSON.rb instantiate() so that it inserts a random PW in the template, instantiates the new VM with it and then deletes the PW from the template, as follows: def instantiate(params=Hash.new) info() pw_hash = { 'PASSWORD' = generateRandomPw() } add_element(TEMPLATE, pw_hash) update('template_raw' = template_str()) super(params['vm_name']) delete_element(TEMPLATE/PASSWORD) update('template_raw' = template_str()) end The PASSWORD will be visible in the VM Template tab of the VM information in Sunstone. If you need the password to be in the VM you would need to add_element inside the context section. Note that if you would rather use Self-Service, theres is the posibility of modifying the .erb VM templates in /etc/one/occi_templates and insert any piece of custom ruby code right there as: PASSWORD = %= generateRandomPw() % You would then only need to modify updateVMInfo() in compute.js so that the password is shown in the VM information in the same way that the NAME or State are shown there. As I say at the beginning, there are other solutions like modifying the Sunstone javascript code, or creating a sunstone pluging that overwrites the instantiate action and does this etc. but this one was the quickest to get what you want that I could think of. Hector En Sat, 18 Aug 2012 13:01:54 +0200, Ricardo Duarte rjt...@hotmail.com escribió: Hi there, I would like to generate a random password for each instance, but it should be readable/available under Sunstone. The plan is to slightly modify the virtual machine data table, and add a new column named Service Password, or in alternative, users may look for it under the Image Template tab. What I am missing is how to make the password available to both Sunstone and the instance, and how to generate it before the machine boots. Looks like the easier way would be to auto-generate it and add it to CONTEXT. But how can I do it? Is there any hook I can use to generate a variable and add them to context, before the machine boots? Or do I have to modify the OpenNebula C core? Thanks. -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VNC proxy is working but Sustone VNC window does show error
Hello, its a bit strange, can you send sunstone.log and sunstone.error if not empty? Any chance that the port used by the proxy launched by susntone is not accesible because of a firewall etc? Hector En Thu, 23 Aug 2012 13:04:01 +0200, Пярн Артур dekk...@yandex.ru escribió: Hi everybody! Another strange problem with VNC: everything is fine, when I click on VNC icon in Sunstone - noVNC proxy is working (I can see it in ps aux output) and I can start session from browser directly (http://10.18.1.7:6080/vnc.html?host=10.18.1.7port=6080) and I can also connect directly to VM from VNC client. BUT! Beautiufll Sunstone VNC connection windows doesn't show anyting! There is message on white background Server disconnected (code: 1006) I can't understand what's wrong. Screenshot is in the attach. Thank you very much in advance!! -- Best regards, Artur Pyarn -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VNC proxy is working but Sustone VNC window does show error
/datastore?timeout=false HTTP/1.1 200 1502 0.0153 Thu Aug 23 12:04:46 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:46] GET /vnet?timeout=false HTTP/1.1 200 1406 0.0057 Thu Aug 23 12:04:54 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:54] GET /vm/12 HTTP/1.1 200 1836 0.0683 Thu Aug 23 12:04:54 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:54] GET /vm/12/monitor?title=CPUmonitor_resources=cpu_usagehumanize_figures=falsehistor$ Thu Aug 23 12:04:54 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:54] GET /vm/12/monitor?title=Network+transmissionmonitor_resources=net_txhumanize_figure$ Thu Aug 23 12:04:54 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:54] GET /vm/12/monitor?title=Network+receptionmonitor_resources=net_rxhumanize_figures=t$ Thu Aug 23 12:04:54 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:54] GET /vm/12/monitor?title=Memorymonitor_resources=mem_usagehumanize_figures=truehist$ Thu Aug 23 12:04:54 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:04:54] GET /vm/12/log HTTP/1.1 200 4327 0.0124 Thu Aug 23 12:05:00 2012 [I]: Starting vnc proxy: /srv/cloud/one/share/noVNC/utils/websockify 35788 10.2.2.2:5912 Thu Aug 23 12:05:00 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:05:00] POST /vm/12/startvnc HTTP/1.1 200 30 0.0081 Thu Aug 23 12:05:09 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:05:09] POST /vm/12/stopvnc HTTP/1.1 200 - 0.0026 Thu Aug 23 12:05:11 2012 [I]: Starting vnc proxy: /srv/cloud/one/share/noVNC/utils/websockify 35792 10.2.2.2:5916 Thu Aug 23 12:05:11 2012 [I]: 10.2.0.3 - - [23/Aug/2012 12:05:11] POST /vm/16/startvnc HTTP/1.1 200 30 0.0080 23.08.2012, 15:15, Hector Sanjuan hsanj...@opennebula.org: Hello, its a bit strange, can you send sunstone.log and sunstone.error if not empty? Any chance that the port used by the proxy launched by susntone is not accesible because of a firewall etc? Hector En Thu, 23 Aug 2012 13:04:01 +0200, Пярн Артур dekk...@yandex.ru escribió: Hi everybody! Another strange problem with VNC: everything is fine, when I click on VNC icon in Sunstone - noVNC proxy is working (I can see it in ps aux output) and I can start session from browser directly (http://10.18.1.7:6080/vnc.html?host=10.18.1.7port=6080) and I can also connect directly to VM from VNC client. BUT! Beautiufll Sunstone VNC connection windows doesn't show anyting! There is message on white background Server disconnected (code: 1006) I can't understand what's wrong. Screenshot is in the attach. Thank you very much in advance!! -- Best regards, Artur Pyarn -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] noVNC Error - unable to establish VNC connection
Hello, Then, I try to establish a VNC connection from my PC using a VNC client (vinagre).. 1: 192.168.101.119: ignoring socket not ready ... 2: 127.0.0.1: ignoring socket not ready The same test but using Firefox from my computer: 3: 192.168.101.119: Normal web request received but disallowed This is because you are connecting to websockify with a normal VNC client, not with a websockets client as expected. You can try to see if you can use vinagre to connect directly to Host1:5905 in first place, to assure that the VM VNC is responding. The error below is the relevant one: 4: connecting to: Host1:5905 4: handler exception: [Errno 113] No route to host Do you have a firewall or some other mechanism that might prevent that Host1 is reachable from the frontend? Perhaps you can try launching websockify with Host1 IP directly, to see if its a name resolve issue in the end... -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Create a VM with Sunstone
it means opennebula oneadmin cannot ssh passwordlessly to the host 'front' Hector En Mon, 20 Aug 2012 06:24:32 +0200, Tuan Le Doan tuan.fet...@gmail.com escribió: Dear all, I want to create a VM with Sunstone. I created a CD room image: (iso image) Image centos-minimal information ID 10 Name centos-minimal Datastore kvm01-ds Owner oneadmin Group oneadmin Type CDROM Register time 11:02:51 08/20/2012 Persistent no Source /var/lib/one/datastores/103/89fd1e28a39eab1006525591158fe3fa Path /var/tmp/one/thin-body20120820-3198-5i6hzz-0 Filesystem type -- Size (Mb) 330 State USED Running #VMS 1 Permissions Owner um- Group --- Other ---And then, i created a OS image : Image centos install information ID 11 Name centos install Datastore kvm01-ds Owner oneadmin Group oneadmin Type OS Register time 11:04:30 08/20/2012 Persistent no Source /var/lib/one/datastores/103/ac2a33a7a9c4d8a8312f15614ea96bc2 Path -- Filesystem type ext4 Size (Mb) 5000 State USED Running #VMS 1 Permissions Owner um- Group --- Other ---After that, i created a template with 2 images: Template CPU 1 VCPU 1 RAW TYPE kvm NAME centos-install TEMPLATE_ID 6 GRAPHICS TYPE vnc OS ARCH x86_64 BOOT cdrom DISK 0 IMAGE centos-minimal IMAGE_UNAME oneadmin 1 IMAGE centos install IMAGE_UNAME oneadmin MEMORY 512 But when i deploy the VM, it was FAIL with this VM log: Mon Aug 20 11:10:33 2012 [DiM][I]: New VM state is ACTIVE. Mon Aug 20 11:10:33 2012 [LCM][I]: New VM state is PROLOG. Mon Aug 20 11:10:33 2012 [VM][I]: Virtual Machine has no context Mon Aug 20 11:10:33 2012 [TM][I]: Command execution fail: /var/lib/one/remotes/tm/shared/clone front:/var/lib/one/datastores/103/89fd1e28a39eab1006525591158fe3fa front:/var/lib/one//datastores/0/13/disk.0 13 103 Mon Aug 20 11:10:33 2012 [TM][I]: clone: Cloning ../../103/89fd1e28a39eab1006525591158fe3fa in front:/var/lib/one//datastores/0/13/disk.0Mon Aug 20 11:10:33 2012 [TM][E]: clone: Command cd /var/lib/one/datastores/0/13; cp -r ../../103/89fd1e28a39eab1006525591158fe3fa /var/lib/one/datastores/0/13/disk.0 failed: Host key verification failed.Mon Aug 20 11:10:33 2012 [TM][E]: Error copying front:/var/lib/one/datastores/103/89fd1e28a39eab1006525591158fe3fa to front:/var/lib/one//datastores/0/13/disk.0 Mon Aug 20 11:10:33 2012 [TM][I]: ExitCode: 255Mon Aug 20 11:10:33 2012 [TM][E]: Error executing image transfer script: Error copying front:/var/lib/one/datastores/103/89fd1e28a39eab1006525591158fe3fa to front:/var/lib/one//datastores/0/13/disk.0 Mon Aug 20 11:10:33 2012 [DiM][I]: New VM state is FAILED When I create a VM, i received a message in terminal: [oneadmin@front etc]$ The authenticity of host 'front (192.168.54.175)' can't be established. RSA key fingerprint is 16:fe:7d:21:b1:c5:05:fc:53:d5:51:6e:7a:fa:c5:c7. Are you sure you want to continue connecting (yes/no)? any one can help me?? Regards. -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] How to set environment variable?
Hello, if you have a system-wide install (as you mentioned in the other thread), ONE_LOCATION should NOT be set. You can unset it with: oneadmin $ unset ONE_LOCATION Make sure is not set in .basrc or you would have to re-unset everytime. Also, unless your not using the defaults, there should be no need to set ONE_AUTH, ONE_XMLRPC, modify PATH either. Hector PS. ONE_LOCATION indicates the folder for self-contained installations. This install mode can only be done compiling the sources and installing manually. En Fri, 17 Aug 2012 09:08:44 +0200, Shrey Mehrotra shrey.jss...@gmail.com escribió: Try this Create a file[~/.bash_profile] to set ENVIRONMENT VARIABLES to start and use services rendered by one and sunstone nano ~/.bash_profile export ONE_LOCATION=/var/lib/one export ONE_AUTH=$ONE_LOCATION/.one/one_auth export ONE_XMLRPC=http://localhost:2633/RPC2 export PATH=$ONE_LOCATION/bin:/usr/local/bin:/var/lib/gems/1.8/bin/:/var/lib/gems/1.8/:$PATH source ~/.bash_profile warm regards.. Shrey Mehrotra. Impetus Infotech India Pvt. Ltd 9953241734 On Fri, Aug 17, 2012 at 9:47 AM, Tuan Le Doan tuan.fet...@gmail.com wrote: Hi everybody, I had an error when started one and sunstone, it could not find the location of one and sunstone: [oneadmin@localhost root]$ one start Can not find /var/lib/one/bin/oned [oneadmin@localhost root]$ sunstone-server start grep: /var/lib/one/etc/sunstone-server.conf: No such file or directory Cannot find /var/lib/one/lib/sunstone/sunstone-server.rb I think I had something wrong about environment variable: [oneadmin@localhost root]$ echo $ONE_LOCATION /var/lib/one It should be $HOME/one, right? But i don't know how can i change it. Can anyone help me? Thank you. -- *Le Doan Tuan-* Undergraduate Student of School of Electronics Telecommunications. Hanoi University of Science Technology Tel: +84 987 248 215 Yahoo: ledoantuan1 Skype: ledoantuan1 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] sunstone noVNC - connect timeout
Hello, if the browser solution doesnt fix it, try running python /usr/share/one/noVNC/utils/websockify 5904 node3:5904 by hand and then clicking on the vnc icon in sunstone. Console should throw some output as the connection comes it and maybe a better description of why it fails. Hector En Tue, 31 Jul 2012 07:38:48 +0200, Jan Benadik jan.bena...@atos.net escribió: Hi jakub, I have had the similar problem - an issue was browser (in that case Chromium). In Firefox and vncviewer everything works, in Chromium not ... Which kind of browser do you use? Jan Dňa 30.07.2012 19:27, Jakub Kaláb wrote / napísal(a): Hello, I'm having a problem with the opennebula sunstone vnc feature. When I try to connect to the server using the vnc button, it opens the window and after a short while connect timeout message appears. First I tried to connect to the host vnc with vncviewer and it works allright, so there should be no firewall problems. So I played a bit with the sunstone configuration. I set :vnc_proxy_base_port: 0 in the sunstone.conf so that the noVNC proxy port on the sunstone server is the same as the remote one. I then restarted sunstone and watched the sunstone.log while I tried to use the vnc again, this line appeared in the log (and I got the connect timeout message again): Mon Jul 30 18:22:56 2012 [I]: Starting vnc proxy: /usr/share/one/noVNC/utils/websockify 5904 node3:5904 Then I checked these: root@nebula # netstat --ip -lnp | grep 5904 tcp 0 0 0.0.0.0:5904 0.0.0.0:* LISTEN 7534/python root@nebula # ps u -p 7534 USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 7534 0.1 1.6 92924 16724 pts/1 S 19:11 0:00 python /usr/share/one/noVNC/utils/websockify 5904 node3:5904 so the noVNC proxy opened the port correctly, but while I can connect to the remote host correctly (using the vncviewer), when I try to connect to this proxied port, I get the following: root@nebula # vncviewer localhost:4 VNC Viewer Free Edition 4.1.1 for X - built Feb 5 2012 20:01:21 Mon Jul 30 19:16:29 2012 CConn: connected to host localhost port 5904 Mon Jul 30 19:16:32 2012 main: End of stream it does connect, so the proxy is partly working, but then the stream ends before the video transmission starts. What should I do to solve this kind of problem? Have I missed something? Just for completeness, this is my sunstone.conf: root@nebula:/usr/share/one# cat /etc/one/sunstone-server.conf | egrep -v '^#|^$' :one_xmlrpc: http://localhost:2633/RPC2 host: 0.0.0.0 :port: 9869 :debug_level: 3 :auth: sunstone :core_auth: cipher :vnc_proxy_base_port: 0 :vnc_proxy_path: /usr/share/one/noVNC/utils/websockify :vnc_proxy_support_wss: no :vnc_proxy_cert: :vnc_proxy_key: :lang: en_US and the graphics part of the template of the VM I tried it on: GRAPHICS=[ LISTEN=0.0.0.0, PORT=5904, TYPE=vnc ] Thank you. Jakub ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] One start and Sunstone server start error.
Hello, Hmm how did you install opennebula? Im thinking this could be a bad $ONE_LOCATION, either because it is not set correctly for a self-contained install, or because it is set when it should not for a system-wide install. Hector En Thu, 16 Aug 2012 12:26:57 +0200, Tuan Le Doan tuan.fet...@gmail.com escribió: Hi all, I'm using Opennebula 3.6 on CentOS 6.3, yesterday I started it normally, but today, when i use command one start and sunstone-server start, i received No such file or directory message. i don't know why, but it show this message: Can not find /var/lib/one/bin/oned and Can not find /var/lib/one/lib/sunstone-server.conf. How can i fix this error? Thank you. -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] HostPoolInfo, OpenNebula 3.6
Hello, Im not sure is the underlying issue, but Sunstone dashboard should not look like that if you upgraded to 3.6 (we put different plots etc in it). So maybe the upgrade didn't work correctly, or you need to wipe your browser cache. Or perhaps two installs are getting mixed or something. Hector En Tue, 24 Jul 2012 09:57:42 +0200, Valerio Schiavoni valerio.schiav...@gmail.com escribió: Dear all, after an upgrade from 3.4 to 3.6, in the file oned.log I see several of these warnings: Tue Jul 24 09:53:12 2012 [ReM][D]: HostPoolInfo method invoked Tue Jul 24 09:53:12 2012 [ReM][E]: [HostPoolInfo] User couldn't be authenticated, aborting call. Similar error in sched.log: Mon Jul 23 22:32:37 2012 [POOL][E]: ONE returned error while retrieving pool info: [HostPoolInfo] User couldn't be authenticated, aborting call. I don't know if this is a consequence of those errors, but the Sunstone web interface currently shows many 'forever spinning wheels' (See attachment). Any suggestion is highly appreciated. best, valerio -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] noVNC doesn´t work
Hello Tim, did you run the install_novnc.sh script? Could you go through the checklist of the troubleshooting section: http://opennebula.org/documentation:rel3.6:sunstone#vnc_troubleshooting If it doesn't help, please send sunstone.log and sunstone.error and descriptions of the error that sunstone shows, if any. Thanks, Hector En Fri, 20 Jul 2012 10:01:03 +0200, Tim Scharner - 123domain.eu - Die Domainmanager schar...@ingenit.com escribió: Hello! I just started with an test installation of OpenNebula. All is working fine, except the noVNC client in Sunstone. I already checked that VNC works on the node (I can use it with TightVNC), but it looks like that the host does not use my options of the VM template. In the template of the VM I use the following settings: VNC: IP to listen: 0.0.0.0 (which is also ok on the host) Port: 0 (because on the host, we use KVM) Keymap: de We use OpenNebula 3.6. Frontend and host use CentOS 6.3. I am grateful for any help. Best regards, Tim ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] noVNC doesn´t work
Ops sorry, I I should have noticed from the beginning: 'PORT: 0' is not going to work. Please let opennebula choose a port for by not indicating it in the template or specify a valid port instead. Let me know if it solves the problem. Hector En Fri, 20 Jul 2012 10:18:27 +0200, Tim Scharner - 123domain.eu - Die Domainmanager schar...@ingenit.com escribió: Hello Hector, thank you for your fast reply. Yes, install_novnc.sh script was running. I checked the list, but all seems ok for me. sunstone.log and sunestone.error are attached. The error message is: Failed to connect to server (code: 1006) I checked the command of noVNC in the console which is: /usr/share/one/noVNC/utils/websockify 29876 192.168.200.222:0 I got the following output: WARNING: no 'numpy' module, HyBi protocol is slower or disabled WebSocket server settings: - Listen on :29876 - Flash security policy server - No SSL/TLS support (no cert file) Traceback (most recent call last): File /usr/share/one/noVNC/utils/websockify, line 285, in module websockify_init() File /usr/share/one/noVNC/utils/websockify, line 282, in websockify_init server.start_server() File /usr/share/one/noVNC/utils/websocket.py, line 804, in start_server lsock = self.socket(self.listen_host, self.listen_port) File /usr/share/one/noVNC/utils/websocket.py, line 190, in socket sock.bind(addrs[0][4]) File string, line 1, in bind socket.error: [Errno 98] Address already in use Best regards, Tim Am 20.07.2012 10:05, schrieb Hector Sanjuan: Hello Tim, did you run the install_novnc.sh script? Could you go through the checklist of the troubleshooting section: http://opennebula.org/documentation:rel3.6:sunstone#vnc_troubleshooting If it doesn't help, please send sunstone.log and sunstone.error and descriptions of the error that sunstone shows, if any. Thanks, Hector En Fri, 20 Jul 2012 10:01:03 +0200, Tim Scharner - 123domain.eu - Die Domainmanager schar...@ingenit.com escribió: Hello! I just started with an test installation of OpenNebula. All is working fine, except the noVNC client in Sunstone. I already checked that VNC works on the node (I can use it with TightVNC), but it looks like that the host does not use my options of the VM template. In the template of the VM I use the following settings: VNC: IP to listen: 0.0.0.0 (which is also ok on the host) Port: 0 (because on the host, we use KVM) Keymap: de We use OpenNebula 3.6. Frontend and host use CentOS 6.3. I am grateful for any help. Best regards, Tim ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OCCI user interface
Hello, any messages in sunstone.log, sunstone.error? Perhaps anything showing up in your browser console as javascripts errors? Hector En Fri, 13 Jul 2012 10:26:44 +0200, Jan Benadik jan.bena...@atos.net escribió: Yes - I did it. Doesn't help ... Jan Dňa 12.07.2012 14:14, Hector Sanjuan wrote / napísal(a): Hi, have you tried deleting browsers cache? Hector En Thu, 12 Jul 2012 14:09:35 +0200, Jan Benadik jan.bena...@atos.net escribió: Hi all, after the upgrade to OpenNebula ver. 3.6 my OCCI user interface looks like picture attached - logging doesn't work, no error messages in oned.log or syslog. What I did wrong? Jan -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OCCI user interface
Hello, sorry I have asked you for sunstone.log/error where it should have been occi-server.log/error. Still, thinking of it, it might be a problem with an old version of sinatra. Can you do a 'gem update', relaunch occi-server and retry? Hector En Fri, 13 Jul 2012 11:18:45 +0200, Jan Benadik jan.bena...@atos.net escribió: sunstone.log: Fri Jul 13 13:44:04 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:04] GET /vnet?timeout=true HTTP/1.1 200 2295 0.0384 Fri Jul 13 13:44:08 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:08] GET /user?timeout=true HTTP/1.1 200 1703 0.0069 Fri Jul 13 13:44:10 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:10] GET /group?timeout=true HTTP/1.1 200 1001 0.0061 Fri Jul 13 13:44:14 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:14] GET /cluster?timeout=true HTTP/1.1 200 27 0.0054 Fri Jul 13 13:44:14 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:14] GET /host?timeout=true HTTP/1.1 200 2665 0.0076 Fri Jul 13 13:44:29 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:29] GET /acl?timeout=true HTTP/1.1 200 377 0.0075 Fri Jul 13 13:44:30 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:30] GET /vmtemplate?timeout=true HTTP/1.1 200 8612 0.0138 Fri Jul 13 13:44:31 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:31] GET /image?timeout=true HTTP/1.1 200 10404 0.0150 Fri Jul 13 13:44:36 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:36] GET /datastore?timeout=true HTTP/1.1 200 2612 0.0077 Fri Jul 13 13:44:55 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:55] GET /vm?timeout=true HTTP/1.1 200 3113 0.0086 Fri Jul 13 13:45:18 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:45:18] GET /user?timeout=true HTTP/1.1 200 1703 0.0069 Fri Jul 13 13:45:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:45:19] GET /group?timeout=true HTTP/1.1 200 1001 0.0062 Fri Jul 13 13:45:23 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:45:23] GET /vnet?timeout=true HTTP/1.1 200 2295 0.0095 Fri Jul 13 13:45:33 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:45:33] GET /cluster?timeout=true HTTP/1.1 200 27 0.0053 Fri Jul 13 13:45:34 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:45:34] GET /acl?timeout=true HTTP/1.1 200 377 0.0054 Fri Jul 13 13:45:40 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:45:40] GET /host?timeout=true HTTP/1.1 200 2665 0.0601 sunstone.error: nothing in browser: nothing Dňa 13.07.2012 11:00, Hector Sanjuan wrote / napísal(a): Hello, any messages in sunstone.log, sunstone.error? Perhaps anything showing up in your browser console as javascripts errors? Hector En Fri, 13 Jul 2012 10:26:44 +0200, Jan Benadik jan.bena...@atos.net escribió: Yes - I did it. Doesn't help ... Jan Dňa 12.07.2012 14:14, Hector Sanjuan wrote / napísal(a): Hi, have you tried deleting browsers cache? Hector En Thu, 12 Jul 2012 14:09:35 +0200, Jan Benadik jan.bena...@atos.net escribió: Hi all, after the upgrade to OpenNebula ver. 3.6 my OCCI user interface looks like picture attached - logging doesn't work, no error messages in oned.log or syslog. What I did wrong? Jan -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] maybe a config error.
Hello, Your resources need to be placed in clusters and then you need to select one cluster for them to appear on the list... Is this the problem? Hector En Fri, 13 Jul 2012 12:55:54 +0200, Alejandro Feijóo alfei...@cesga.es escribió: Hi. I´m still testing OpenNebula Zones and VDC but i think have some mistake under conf.. running comands onehost list, or onevnet list, i can see the dom0 and the nets... but running oZones, and try to create VDC... i can´t see host or anything Any idea? maybe some new config 4 ON3.6 ??? Thanks in advance. -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OCCI user interface
Hi, I managed to reproduce this once, then I went directly to /ui/login and everything went fine again :S So far I have been able to bring the issue back, which is puzzling me... The problem is that the public folders (containing css/js files) are not being served as such and since the requests are not authenticated sinatra fails to serve them. I wonder if this happens to you from different browsers on different computers? If so we could discard that the issue is in a specific client/browser (I suppose you removed cookies along with cache as well?). Secondly I would make sure that occi-server restart is working (i.e. theres is not an old server running all the time which hasn't been shutdown for whatever reason). Last, you could go to /usr/lib/one/ruby/cloud/occi/occi-server.rb and edit line 92 from: set :public_folder, Proc.new { File.join(root, ui/public) } to set :public, Proc.new { File.join(root, ui/public) } and restart occi-server. Let me know if any of these tips can fix it, otherwise we can keep looking. Thanks for your patience. Hector En Fri, 13 Jul 2012 12:51:39 +0200, Jan Benadik jan.bena...@atos.net escribió: Gem update says nothing to update ... occi-server.log: Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /ui?username=testpassword=abcdef HTTP/1.1 200 1810 0.0011 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /css/login.css HTTP/1.1 401 - 0.0685 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /vendor/jQueryUI/jquery-ui-1.8.16.custom.css HTTP/1.1 401 - 0.0537 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /vendor/jQuery/jquery-1.7.2.min.js HTTP/1.1 401 - 0.0057 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /vendor/crypto-js/2.3.0-crypto-sha1.js HTTP/1.1 401 - 0.0057 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /js/locale.js HTTP/1.1 401 - 0.0061 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /js/occi.js HTTP/1.1 401 - 0.0079 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /customize/custom.js HTTP/1.1 401 - 0.0058 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /js/login.js HTTP/1.1 401 - 0.0060 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /images/ajax-loader.gif HTTP/1.1 401 - 0.0057 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /vendor/crypto-js/2.3.0-crypto-sha1.js HTTP/1.1 401 - 0.0056 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /js/locale.js HTTP/1.1 401 - 0.0053 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /js/occi.js HTTP/1.1 401 - 0.0058 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /customize/custom.js HTTP/1.1 401 - 0.0065 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /js/login.js HTTP/1.1 401 - 0.0075 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /images/ajax-loader.gif HTTP/1.1 401 - 0.0066 occi-server.error: empty Dňa 13.07.2012 12:11, Hector Sanjuan wrote / napísal(a): Hello, sorry I have asked you for sunstone.log/error where it should have been occi-server.log/error. Still, thinking of it, it might be a problem with an old version of sinatra. Can you do a 'gem update', relaunch occi-server and retry? Hector En Fri, 13 Jul 2012 11:18:45 +0200, Jan Benadik jan.bena...@atos.net escribió: sunstone.log: Fri Jul 13 13:44:04 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:04] GET /vnet?timeout=true HTTP/1.1 200 2295 0.0384 Fri Jul 13 13:44:08 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:08] GET /user?timeout=true HTTP/1.1 200 1703 0.0069 Fri Jul 13 13:44:10 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:10] GET /group?timeout=true HTTP/1.1 200 1001 0.0061 Fri Jul 13 13:44:14 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:14] GET /cluster?timeout=true HTTP/1.1 200 27 0.0054 Fri Jul 13 13:44:14 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:14] GET /host?timeout=true HTTP/1.1 200 2665 0.0076 Fri Jul 13 13:44:29 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44
Re: [one-users] maybe a config error.
I'm afraid yes, resources need to be placed in one cluster in the zone. If you don't need clusters, just create 1 and place them all in it anyway, and then you will be able to select it from ozones. Hector En Fri, 13 Jul 2012 14:08:54 +0200, Alejandro Feijóo alfei...@cesga.es escribió: but i no have asigned to any cluster... i no have cluster definition... its extrictly necesary? Thanks! El 13/07/12 13:57, Hector Sanjuan escribió: Hello, Your resources need to be placed in clusters and then you need to select one cluster for them to appear on the list... Is this the problem? Hector En Fri, 13 Jul 2012 12:55:54 +0200, Alejandro Feijóo alfei...@cesga.es escribió: Hi. I´m still testing OpenNebula Zones and VDC but i think have some mistake under conf.. running comands onehost list, or onevnet list, i can see the dom0 and the nets... but running oZones, and try to create VDC... i can´t see host or anything Any idea? maybe some new config 4 ON3.6 ??? Thanks in advance. -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OCCI user interface - SOLVED
Great! Can you confirm me that you are using Sinatra 1.3.2 as well? I would like to keep track of this... Hector En Fri, 13 Jul 2012 14:38:18 +0200, Jan Benadik jan.bena...@atos.net escribió: Hi, THANKS A LOT!!! Editing that /usr/lib/one/ruby/cloud/occi/occi-server.rb helped. Jan Dňa 13.07.2012 14:17, Hector Sanjuan wrote / napísal(a): Hi, I managed to reproduce this once, then I went directly to /ui/login and everything went fine again :S So far I have been able to bring the issue back, which is puzzling me... The problem is that the public folders (containing css/js files) are not being served as such and since the requests are not authenticated sinatra fails to serve them. I wonder if this happens to you from different browsers on different computers? If so we could discard that the issue is in a specific client/browser (I suppose you removed cookies along with cache as well?). Secondly I would make sure that occi-server restart is working (i.e. theres is not an old server running all the time which hasn't been shutdown for whatever reason). Last, you could go to /usr/lib/one/ruby/cloud/occi/occi-server.rb and edit line 92 from: set :public_folder, Proc.new { File.join(root, ui/public) } to set :public, Proc.new { File.join(root, ui/public) } and restart occi-server. Let me know if any of these tips can fix it, otherwise we can keep looking. Thanks for your patience. Hector En Fri, 13 Jul 2012 12:51:39 +0200, Jan Benadik jan.bena...@atos.net escribió: Gem update says nothing to update ... occi-server.log: Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /ui?username=testpassword=abcdef HTTP/1.1 200 1810 0.0011 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /css/login.css HTTP/1.1 401 - 0.0685 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /vendor/jQueryUI/jquery-ui-1.8.16.custom.css HTTP/1.1 401 - 0.0537 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /vendor/jQuery/jquery-1.7.2.min.js HTTP/1.1 401 - 0.0057 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /vendor/crypto-js/2.3.0-crypto-sha1.js HTTP/1.1 401 - 0.0057 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /js/locale.js HTTP/1.1 401 - 0.0061 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /js/occi.js HTTP/1.1 401 - 0.0079 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /customize/custom.js HTTP/1.1 401 - 0.0058 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /js/login.js HTTP/1.1 401 - 0.0060 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /images/ajax-loader.gif HTTP/1.1 401 - 0.0057 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /vendor/crypto-js/2.3.0-crypto-sha1.js HTTP/1.1 401 - 0.0056 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /js/locale.js HTTP/1.1 401 - 0.0053 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /js/occi.js HTTP/1.1 401 - 0.0058 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /customize/custom.js HTTP/1.1 401 - 0.0065 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /js/login.js HTTP/1.1 401 - 0.0075 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /images/ajax-loader.gif HTTP/1.1 401 - 0.0066 occi-server.error: empty Dňa 13.07.2012 12:11, Hector Sanjuan wrote / napísal(a): Hello, sorry I have asked you for sunstone.log/error where it should have been occi-server.log/error. Still, thinking of it, it might be a problem with an old version of sinatra. Can you do a 'gem update', relaunch occi-server and retry? Hector En Fri, 13 Jul 2012 11:18:45 +0200, Jan Benadik jan.bena...@atos.net escribió: sunstone.log: Fri Jul 13 13:44:04 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:04] GET /vnet?timeout=true HTTP/1.1 200 2295 0.0384 Fri Jul 13 13:44:08 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:08] GET /user?timeout=true HTTP/1.1 200 1703 0.0069 Fri Jul 13 13:44:10 2012 [I]: 10.0.3.51 - - [13/Jul/2012 13:44:10] GET
Re: [one-users] OCCI user interface - SOLVED
ah.. perhaps uninstalling the package and [re]installing latest version with 'gem' helps then? Hector En Fri, 13 Jul 2012 14:50:37 +0200, Jan Benadik jan.bena...@atos.net escribió: The same results from chromium and firefox. It seems to be an older version of sinatra installed with Opennebula 3.6 on Ubuntu 12.04: oneadmin@myto-node:~/images$ dpkg -l |grep sinatra ii ruby-sinatra 1.2.6-1+build1 Ruby web-development dressed in a DSL But editing occi-server.rb helps. Jan Dňa 13.07.2012 14:41, Hector Sanjuan wrote / napísal(a): Great! Can you confirm me that you are using Sinatra 1.3.2 as well? I would like to keep track of this... Hector En Fri, 13 Jul 2012 14:38:18 +0200, Jan Benadik jan.bena...@atos.net escribió: Hi, THANKS A LOT!!! Editing that /usr/lib/one/ruby/cloud/occi/occi-server.rb helped. Jan Dňa 13.07.2012 14:17, Hector Sanjuan wrote / napísal(a): Hi, I managed to reproduce this once, then I went directly to /ui/login and everything went fine again :S So far I have been able to bring the issue back, which is puzzling me... The problem is that the public folders (containing css/js files) are not being served as such and since the requests are not authenticated sinatra fails to serve them. I wonder if this happens to you from different browsers on different computers? If so we could discard that the issue is in a specific client/browser (I suppose you removed cookies along with cache as well?). Secondly I would make sure that occi-server restart is working (i.e. theres is not an old server running all the time which hasn't been shutdown for whatever reason). Last, you could go to /usr/lib/one/ruby/cloud/occi/occi-server.rb and edit line 92 from: set :public_folder, Proc.new { File.join(root, ui/public) } to set :public, Proc.new { File.join(root, ui/public) } and restart occi-server. Let me know if any of these tips can fix it, otherwise we can keep looking. Thanks for your patience. Hector En Fri, 13 Jul 2012 12:51:39 +0200, Jan Benadik jan.bena...@atos.net escribió: Gem update says nothing to update ... occi-server.log: Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /ui?username=testpassword=abcdef HTTP/1.1 200 1810 0.0011 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /css/login.css HTTP/1.1 401 - 0.0685 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /vendor/jQueryUI/jquery-ui-1.8.16.custom.css HTTP/1.1 401 - 0.0537 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /vendor/jQuery/jquery-1.7.2.min.js HTTP/1.1 401 - 0.0057 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /vendor/crypto-js/2.3.0-crypto-sha1.js HTTP/1.1 401 - 0.0057 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /js/locale.js HTTP/1.1 401 - 0.0061 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /js/occi.js HTTP/1.1 401 - 0.0079 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /customize/custom.js HTTP/1.1 401 - 0.0058 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /js/login.js HTTP/1.1 401 - 0.0060 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /images/ajax-loader.gif HTTP/1.1 401 - 0.0057 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /vendor/crypto-js/2.3.0-crypto-sha1.js HTTP/1.1 401 - 0.0056 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /js/locale.js HTTP/1.1 401 - 0.0053 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /js/occi.js HTTP/1.1 401 - 0.0058 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /customize/custom.js HTTP/1.1 401 - 0.0065 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /js/login.js HTTP/1.1 401 - 0.0075 Fri Jul 13 15:17:19 2012 [E]: User not authorized Fri Jul 13 15:17:19 2012 [I]: 10.0.3.51 - - [13/Jul/2012 15:17:19] GET /images/ajax-loader.gif HTTP/1.1 401 - 0.0066 occi-server.error: empty Dňa 13.07.2012 12:11, Hector Sanjuan wrote / napísal(a): Hello, sorry I have asked you for sunstone.log/error where it should have been occi-server.log/error
Re: [one-users] OCCI user interface
Hi, have you tried deleting browsers cache? Hector En Thu, 12 Jul 2012 14:09:35 +0200, Jan Benadik jan.bena...@atos.net escribió: Hi all, after the upgrade to OpenNebula ver. 3.6 my OCCI user interface looks like picture attached - logging doesn't work, no error messages in oned.log or syslog. What I did wrong? Jan -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Monitoring in the dashboard of SunStone not working for our OpenNebula3.2
Hello, hmm what do you mean not correct? Are they 0, are they a wrong value? Could you provide a screenshot? Hector En Tue, 10 Jul 2012 22:46:13 +0200, Hyun Woo Kim hyun...@fnal.gov escribió: Dear developers, We are using OpenNebula 3.2. Our SunStone dashboard seems to show correct Total VM count and VM Network stats plots. But upper two plots, Hosts CPU and Hosts memory do not show correct cpu/mem_usage and used_cpu/mem while max_cpu/mem looks ok. I followed the instructions n http://www.opennebula.org/documentation:archives:rel3.2:acctd_conf - I first gem installed json and sequel. (sqlite3 is not installed obviously as we are using mysql) - then I modified /etc/one/acctd.conf to use mysql and left all the rest to the default values.. Am I missing any important steps? Thanks. Hyunwoo, FermiCloud Project Fermilab Computing Sector -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Monitoring in the dashboard of SunStone not working for our OpenNebula3.2
Are the hosts reporting 0 monitoring values in the hosts tab? (or in the CLI running onehost show id)? Is it only the global graphos or are the individual monitoring graphs per host showing wrongly? H En Tue, 10 Jul 2012 23:12:01 +0200, Hyun Woo Kim hyun...@fnal.gov escribió: Right, sorry, I should have been more accurate, cpu/mem_usage and used_cpu/mem are zeros.. whereas max is correct Thanks, Hyunwoo On Jul 10, 2012, at 4:05 PM, Hector Sanjuan wrote: Hello, hmm what do you mean not correct? Are they 0, are they a wrong value? Could you provide a screenshot? Hector En Tue, 10 Jul 2012 22:46:13 +0200, Hyun Woo Kim hyun...@fnal.gov escribió: Dear developers, We are using OpenNebula 3.2. Our SunStone dashboard seems to show correct Total VM count and VM Network stats plots. But upper two plots, Hosts CPU and Hosts memory do not show correct cpu/mem_usage and used_cpu/mem while max_cpu/mem looks ok. I followed the instructions n http://www.opennebula.org/documentation:archives:rel3.2:acctd_conf - I first gem installed json and sequel. (sqlite3 is not installed obviously as we are using mysql) - then I modified /etc/one/acctd.conf to use mysql and left all the rest to the default values.. Am I missing any important steps? Thanks. Hyunwoo, FermiCloud Project Fermilab Computing Sector -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Monitoring in the dashboard of SunStone not working for our OpenNebula3.2
Great! :) still plenty of resources to grow your cloud then! Hector En Tue, 10 Jul 2012 23:33:36 +0200, Hyun Woo Kim hyun...@fnal.gov escribió: Oh, you are right, when I look at the graphs for individual nodes, I can see some activity. I could not see the activity in the global dashboard plots because of the scaling issue as the max was too high compared to usage numbers.. Thanks for your help.. Hyunwoo On Jul 10, 2012, at 4:26 PM, Hector Sanjuan wrote: Are the hosts reporting 0 monitoring values in the hosts tab? (or in the CLI running onehost show id)? Is it only the global graphos or are the individual monitoring graphs per host showing wrongly? H En Tue, 10 Jul 2012 23:12:01 +0200, Hyun Woo Kim hyun...@fnal.gov escribió: Right, sorry, I should have been more accurate, cpu/mem_usage and used_cpu/mem are zeros.. whereas max is correct Thanks, Hyunwoo On Jul 10, 2012, at 4:05 PM, Hector Sanjuan wrote: Hello, hmm what do you mean not correct? Are they 0, are they a wrong value? Could you provide a screenshot? Hector En Tue, 10 Jul 2012 22:46:13 +0200, Hyun Woo Kim hyun...@fnal.gov escribió: Dear developers, We are using OpenNebula 3.2. Our SunStone dashboard seems to show correct Total VM count and VM Network stats plots. But upper two plots, Hosts CPU and Hosts memory do not show correct cpu/mem_usage and used_cpu/mem while max_cpu/mem looks ok. I followed the instructions n http://www.opennebula.org/documentation:archives:rel3.2:acctd_conf - I first gem installed json and sequel. (sqlite3 is not installed obviously as we are using mysql) - then I modified /etc/one/acctd.conf to use mysql and left all the rest to the default values.. Am I missing any important steps? Thanks. Hyunwoo, FermiCloud Project Fermilab Computing Sector -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] install OpenNebula on SheevaPlug
I'd say it is possible if your cloud is not big. oned+mm_sched are very lightweight. Probably you can run sunstone/selfservice too without problems if your number of users is limited. But for these same reasons you could run opennebula directly in one of your kvm hosts without sacrificing many resources. You can always add localhost as any other host to opennebula and keep using it to deploy VMs. Or put OpenNebula in a VM itself. And yes, since it's an ARM you'd have to compile from sources. It should work in theory. Hector En Thu, 05 Jul 2012 15:50:44 +0200, nicolas diogo nicolasdi...@gmx.com escribió: hi, i am curious to find out if it would be possible to install OpenNebula on a SheevaPlug (or another similar hardware). see: https://www.globalscaletechnologies.com/t-products.aspx i am not looking to deploy the host (eg:KVM) but only the management services. the advantage would be low power consumption - which is important for me (private installation). is this a plausible concept? I believe, it would be necessary to compile from sources, is that right? thanks, Nicolas -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Sunstone does not load any stats.
Hello, can you try to remove browsers cache and see if that fixes it? Hector En Wed, 04 Jul 2012 02:10:34 +0200, Tao Craig t...@leadmesh.com escribió: Hi everybody, I recently upgraded my CentOS Open Nebula installation from 3.4 to 3.6 (Lagoon). Prior to the upgrade, I noticed my Sunstone dashboard was loading slowly on login (the page would load fine, but it took awhile to load the graphs, number of hosts, etc). I saw there were some improvements with the Sunstone dashboard with this upgrade, so I applied it hoping it would help. Now, my Sunstone dashboard doesn't load any stats or graphs... I just see those spinning orange dots and the rest of the Sunstone interface does not work either (I'm assuming because this information is never gathered). There are no errors in my logs anywhere that I can find. The only thing I am noticing is that ruby scripts are consuming a large amount of CPU resources. If it helps, I am currently running 13 virtual machines on 9 hosts and all one CLI commands work fine. Any help would be appreciated. Thanks. -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Failed to connect to server (code: 1006)
Hi, let see, Check sunstone.error too. Check that no websockify from a previous session is running (ps aux | grep websockify). Check that you have run ./install_novnc.sh after your upgrade. Check that you can still connect to the machine VNC with a different vnc client directly. Is the starting vnc proxy line showing up in sunstone.log? From which version were you upgrading? You can attach sunstone.log so I can check if I see something that you missed. Hector En Wed, 04 Jul 2012 14:56:14 +0200, Jan Benadik jan.bena...@atos.net escribió: Hi all, I've installed the newest version of OpenNebula (3.6 beta) on Ubuntu Server 12.04 (management node and host too). When I try to click on VNC icon of running VM in Sunstone UI, open window with this error message appears: Failed to connect to server (code: 1006) The same behaviour in the newest Chromium and Firefox 13 browser ... Nothing in /var/log/syslog (host nor management node), /var/log/one/oned.log, /var/log/one/sunstone.log (management node). Where can be an issue? Jan -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Reminder: call for translations (deadline 06th July 9am CEST)
Dear community, This is a reminder of the call for translations for our web interfaces: Sunstone and Self-Service. The deadline has been moved some hours ealier, to Friday 6th of July, 9am CEST, in order to be able to comply better with the testing and packaging of the new OpenNebula 3.6 version, to be released on 9th of July. For instructions on how to translate check [1]. As corrections and improvements have been carried out during the beta phase, there have been minor changes to some translations strings. These changes are now reflected in the Transifex project page[2]. Therefore we kindly ask all translators to complete the translations as much as possible before July 6th, 9am CEST. We would like to thank all the contributors for the great response and the efforts carried out so far. It is great to count with so many languages :) -- Hector Sanjuan OpenNebula Developer [1]http://blog.opennebula.org/?p=3124 [2]https://www.transifex.com/projects/p/one ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Sunstone does not load any stats.
Hi, monitoring graphs on my hosts and virtual machines no longer appear. Is there an empty graph in place or is there an error message? If you can attach sunstone.log and sunstone.error (if not empty) after trying to see those graphs etc. perhaps I see something... It's not normal that the dashboard takes 30secs to load. I guess the CLI is not so slow when issuing a listing command (onehost list, onevm list etc..) right? And what is the ruby script consuming 100% exactly? (grep pid from 'ps aux' or press 'c' during the execution of 'top' to find the full command). If you have this long-wait problem in two different clouds and ruby is consuming so much cpu I would think there is an issue with your boxes configuration related to ruby perhaps. What's the output of 'gem list'? Are you running sunstone and opennebula on the same box? Have you tried Self-Service interface? Is it so slow as well? Hector En Thu, 05 Jul 2012 00:40:19 +0200, Tao Craig t...@leadmesh.com escribió: Hector, Thanks for the prompt reply. I am ashamed to admit that browser cache was the problem in this case. The dashboard still takes about 30 seconds to load, but at least it is loading now. I noticed a few other minor issues though that I can not track down in my logs. For example, the monitoring graphs on my hosts and virtual machines no longer appear. ... any advice? Part of the reason I didn't catch the browser cache issue earlier is because I have a second CentOS/KVM cloud running version 3.2.0 and the dashboard recently stopped loading on it as well. This was not fixed by clearing my browser cache. Eventually, I get a Could not connect... alert and the page never finishes loading. During this time, there is a ruby script consuming 100+ percent of CPU resources. When I kill this script, the cloud is still functional but Sunstone is no longer running. The logs all appear normal as far as I can tell and all CLI commnands work without error. Any suggestions here would be greatly appreciated as well. Thanks. - Original Message - From: Hector Sanjuan hsanj...@opennebula.org To: users@lists.opennebula.org Sent: Wednesday, July 04, 2012 4:17 AM Subject: Re: [one-users] Sunstone does not load any stats. Hello, can you try to remove browsers cache and see if that fixes it? Hector En Wed, 04 Jul 2012 02:10:34 +0200, Tao Craig t...@leadmesh.com escribió: Hi everybody, I recently upgraded my CentOS Open Nebula installation from 3.4 to 3.6 (Lagoon). Prior to the upgrade, I noticed my Sunstone dashboard was loading slowly on login (the page would load fine, but it took awhile to load the graphs, number of hosts, etc). I saw there were some improvements with the Sunstone dashboard with this upgrade, so I applied it hoping it would help. Now, my Sunstone dashboard doesn't load any stats or graphs... I just see those spinning orange dots and the rest of the Sunstone interface does not work either (I'm assuming because this information is never gathered). There are no errors in my logs anywhere that I can find. The only thing I am noticing is that ruby scripts are consuming a large amount of CPU resources. If it helps, I am currently running 13 virtual machines on 9 hosts and all one CLI commands work fine. Any help would be appreciated. Thanks. -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org - No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2193 / Virus Database: 2437/5109 - Release Date: 07/03/12 -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VM has no VNC configured
Hmm Im not sure what might be the issue here. Im testing with Chrome 18.0.1025.142 and works well. Perhaps some Chrome configuration issue? Hector En Mon, 02 Jul 2012 15:37:18 +0200, Jan Benadik jan.bena...@atos.net escribió: Chromium 18.0.1025.168 Jan Dňa 02.07.2012 15:06, Hector Sanjuan wrote / napísal(a): Ah. good then. The IP address is not that of the Virtual Machine but of the physical host, since vnc is served by the hypervisor in the host. What version of chrome were you using? Hector En Mon, 02 Jul 2012 15:01:38 +0200, Jan Benadik jan.bena...@atos.net escribió: Physical node has IP 10.0.5.21. Virtual machine on it has IP 192.168.122.1 (ID 32), clicking on VNC icon in the Sunstone session - nothing is displayed (Chrome browser). Console of that virtual machine is accessible on 10.0.5.21::5932 (via Vinagre viewer), I expected to catch it on 192.168.122.1::5932 ... BUT - I checked it right now in Firefox and it works corectly ... Sorry for my mistakes and thanks for your help. Jan Dňa 02.07.2012 14:23, Hector Sanjuan wrote / napísal(a): What do you mean on other IP than expected? Can you try manually running the proxy as I suggested? Hector En Mon, 02 Jul 2012 14:14:07 +0200, Jan Benadik jan.bena...@atos.net escribió: BACK, BACK, BACK ...:-) VNC console works, but on other IP than I expected ... When I tried to open port 5932 on IP of physical server (where virtual instance runs - via other VNC viewer which I have), it works. Why it doesn't work directly in Sunstone UI or OCCI UI? I'm sure I have something wrong in noVNC installation / setting ... J.B. Dňa 02.07.2012 13:57, Jan Benadik wrote / napísal(a): It doesn't help. That websockify process is ran by clicking on icon. Processes before clicking on icon VNC console: root@nebula-3:/home/sk1u06k5# ps aux |grep websoc root 6179 0.0 0.0 8068 648 pts/0 S+ 13:51 0:00 grep --color=auto websoc root@nebula-3:/home/sk1u06k5# Processes after clicking to icon VNC console (instance ID 32): root@nebula-3:/home/sk1u06k5# ps aux |grep websoc oneadmin 6461 4.0 0.4 91628 16808 ? S 13:52 0:00 python /usr/share/opennebula/noVNC/utils/websockify 35808 myto:5932 root 6471 0.0 0.0 8068 652 pts/0 S+ 13:52 0:00 grep --color=auto websoc root@nebula-3:/home/sk1u06k5# But console doesn't work ...:-( No open port on that server: root@nebula-3:/home/sk1u06k5# nmap one Starting Nmap 5.21 ( http://nmap.org ) at 2012-07-02 13:56 CEST Nmap scan report for one (10.0.1.125) Host is up (0.15s latency). Not shown: 996 closed ports PORT STATE SERVICE 22/tcp open ssh 111/tcp open rpcbind 2049/tcp open nfs 5678/tcp open unknown Nmap done: 1 IP address (1 host up) scanned in 0.08 seconds root@nebula-3:/home/sk1u06k5# J.B. Dňa 02.07.2012 13:45, Hector Sanjuan wrote / napísal(a): looks like there is a websockify proxy running that shouldnt be there... try killing the related python process which is taking port 29876+vmid and retry opening the vnc console. Hector En Mon, 02 Jul 2012 13:40:56 +0200, Jan Benadik jan.bena...@atos.net escribió: Thanks, now it is a little bit better (but only a little bit - VNC still doesn't work, no error message on screen ...) Now I have in /etc/one/occi_templates/small.erb : CPU = 1 MEMORY = 512 ARCH = i686 GRAPHICS = [ TYPE = vnc, LISTEN = 0.0.0.0 ] In /etc/one/sunstone-server.conf I have: :vnc_proxy_base_port: 29876 :vnc_proxy_path: /usr/share/opennebula/noVNC/utils/websockify :vnc_proxy_support_wss: no :vnc_proxy_cert: :vnc_proxy_key: In /etc/one/oned.conf I have: VNC_BASE_PORT = 5900 When I click on VNC icon in Sunstone interface, the following message in /var/log/one/sunstone.log appears: Mon Jul 02 12:51:14 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:51:14] POST /vm/25/startvnc HTTP/1.1 200 30 0.0023 Mon Jul 02 12:51:19 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:51:19] GET /vmtemplate?timeout=true HTTP/1.1 200 3559 0.0829 Mon Jul 02 12:51:26 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:51:26] GET /group?timeout=true HTTP/1.1 200 311 0.0124 Mon Jul 02 12:51:47 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:51:47] GET /cluster?timeout=true HTTP/1.1 200 27 0.0778 Mon Jul 02 12:51:57 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:51:57] GET /user?timeout=true HTTP/1.1 200 840 0.0099 Mon Jul 02 12:52:00 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:00] GET /datastore?timeout=true HTTP/1.1 200 2360 0.0132 Mon Jul 02 12:52:01 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:01] GET /vnet?timeout=true HTTP/1.1 200 791 0.0157 Mon Jul 02 12:52:03 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:03] GET /vm?timeout=true HTTP/1.1 200 18134 0.0172 Mon Jul 02 12:52:04 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:04] GET /image?timeout=true HTTP/1.1 200 6974 0.0143 Mon Jul 02 12:52:08 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:08] GET /acl?timeout=true HTTP/1.1 200 377 0.0750 Mon Jul 02 12:52:11 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:11] GET /host?timeout=true HTTP/1.1 200 3808
Re: [one-users] VM has no VNC configured
looks like there is a websockify proxy running that shouldnt be there... try killing the related python process which is taking port 29876+vmid and retry opening the vnc console. Hector En Mon, 02 Jul 2012 13:40:56 +0200, Jan Benadik jan.bena...@atos.net escribió: Thanks, now it is a little bit better (but only a little bit - VNC still doesn't work, no error message on screen ...) Now I have in /etc/one/occi_templates/small.erb : CPU = 1 MEMORY = 512 ARCH = i686 GRAPHICS = [ TYPE = vnc, LISTEN = 0.0.0.0 ] In /etc/one/sunstone-server.conf I have: :vnc_proxy_base_port: 29876 :vnc_proxy_path: /usr/share/opennebula/noVNC/utils/websockify :vnc_proxy_support_wss: no :vnc_proxy_cert: :vnc_proxy_key: In /etc/one/oned.conf I have: VNC_BASE_PORT = 5900 When I click on VNC icon in Sunstone interface, the following message in /var/log/one/sunstone.log appears: Mon Jul 02 12:51:14 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:51:14] POST /vm/25/startvnc HTTP/1.1 200 30 0.0023 Mon Jul 02 12:51:19 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:51:19] GET /vmtemplate?timeout=true HTTP/1.1 200 3559 0.0829 Mon Jul 02 12:51:26 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:51:26] GET /group?timeout=true HTTP/1.1 200 311 0.0124 Mon Jul 02 12:51:47 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:51:47] GET /cluster?timeout=true HTTP/1.1 200 27 0.0778 Mon Jul 02 12:51:57 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:51:57] GET /user?timeout=true HTTP/1.1 200 840 0.0099 Mon Jul 02 12:52:00 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:00] GET /datastore?timeout=true HTTP/1.1 200 2360 0.0132 Mon Jul 02 12:52:01 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:01] GET /vnet?timeout=true HTTP/1.1 200 791 0.0157 Mon Jul 02 12:52:03 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:03] GET /vm?timeout=true HTTP/1.1 200 18134 0.0172 Mon Jul 02 12:52:04 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:04] GET /image?timeout=true HTTP/1.1 200 6974 0.0143 Mon Jul 02 12:52:08 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:08] GET /acl?timeout=true HTTP/1.1 200 377 0.0750 Mon Jul 02 12:52:11 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:11] GET /host?timeout=true HTTP/1.1 200 3808 0.0171 Mon Jul 02 12:52:14 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:14] GET /host/monitor?title=graph1monitor_resources=cpu_usage%2Cused_cpu%2Cmax_cpuhistory_length=40 HTTP/1.1 200 330 0.0121 Mon Jul 02 12:52:14 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:14] GET /host/monitor?title=graph2monitor_resources=mem_usage%2Cused_mem%2Cmax_memhistory_length=40 HTTP/1.1 200 398 0.0042 Mon Jul 02 12:52:14 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:14] GET /vm/monitor?title=graph3monitor_resources=total%2Cactive%2Cerrorhistory_length=40 HTTP/1.1 200 293 0.0043 Mon Jul 02 12:52:14 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:14] GET /vm/monitor?title=graph4monitor_resources=net_tx%2Cnet_rxhistory_length=40 HTTP/1.1 200 274 0.0032 In /etc/one/sunstone-server.error: File /usr/share/opennebula/noVNC/utils/websockify, line 282, in websockify_init server.start_server() File /usr/share/opennebula/noVNC/utils/websocket.py, line 804, in start_server lsock = self.socket(self.listen_host, self.listen_port) File /usr/share/opennebula/noVNC/utils/websocket.py, line 190, in socket sock.bind(addrs[0][4]) File /usr/lib/python2.7/socket.py, line 224, in meth return getattr(self._sock,name)(*args) socket.error: [Errno 98] Address already in use What is wrong? Jan Dňa 29.06.2012 14:15, Hector Sanjuan wrote / napísal(a): Hello, I believe your small.erb should rather say: GRAPHICS = [ TYPE = vnc ] More info: http://opennebula.org/documentation:rel3.4:template#i_o_devices_section Also remember to set LISTEN if your not accessing the VM from localhost. -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VM has no VNC configured
your previous log showed that websockify wasnt launched successfully because something (probably another instance of it) was running on the same port (35808). Apart from that, can you connect to the VM using vncviewer or a similar client program? What does the vnc dialog in sunstone say? You could also try to kill the proxy and relaunch it manually in a terminal like: python /usr/share/opennebula/noVNC/utils/websockify 35808 myto:5932 and then click on the vnc icon in sunstone again. This way the proxy will offer some output on the console and maybe the reason why it is failing. Hope it helps, Hector En Mon, 02 Jul 2012 13:57:48 +0200, Jan Benadik jan.bena...@atos.net escribió: It doesn't help. That websockify process is ran by clicking on icon. Processes before clicking on icon VNC console: root@nebula-3:/home/sk1u06k5# ps aux |grep websoc root 6179 0.0 0.0 8068 648 pts/0 S+ 13:51 0:00 grep --color=auto websoc root@nebula-3:/home/sk1u06k5# Processes after clicking to icon VNC console (instance ID 32): root@nebula-3:/home/sk1u06k5# ps aux |grep websoc oneadmin 6461 4.0 0.4 91628 16808 ? S 13:52 0:00 python /usr/share/opennebula/noVNC/utils/websockify 35808 myto:5932 root 6471 0.0 0.0 8068 652 pts/0 S+ 13:52 0:00 grep --color=auto websoc root@nebula-3:/home/sk1u06k5# But console doesn't work ...:-( No open port on that server: root@nebula-3:/home/sk1u06k5# nmap one Starting Nmap 5.21 ( http://nmap.org ) at 2012-07-02 13:56 CEST Nmap scan report for one (10.0.1.125) Host is up (0.15s latency). Not shown: 996 closed ports PORT STATE SERVICE 22/tcp open ssh 111/tcp open rpcbind 2049/tcp open nfs 5678/tcp open unknown Nmap done: 1 IP address (1 host up) scanned in 0.08 seconds root@nebula-3:/home/sk1u06k5# J.B. Dňa 02.07.2012 13:45, Hector Sanjuan wrote / napísal(a): looks like there is a websockify proxy running that shouldnt be there... try killing the related python process which is taking port 29876+vmid and retry opening the vnc console. Hector En Mon, 02 Jul 2012 13:40:56 +0200, Jan Benadik jan.bena...@atos.net escribió: Thanks, now it is a little bit better (but only a little bit - VNC still doesn't work, no error message on screen ...) Now I have in /etc/one/occi_templates/small.erb : CPU = 1 MEMORY = 512 ARCH = i686 GRAPHICS = [ TYPE = vnc, LISTEN = 0.0.0.0 ] In /etc/one/sunstone-server.conf I have: :vnc_proxy_base_port: 29876 :vnc_proxy_path: /usr/share/opennebula/noVNC/utils/websockify :vnc_proxy_support_wss: no :vnc_proxy_cert: :vnc_proxy_key: In /etc/one/oned.conf I have: VNC_BASE_PORT = 5900 When I click on VNC icon in Sunstone interface, the following message in /var/log/one/sunstone.log appears: Mon Jul 02 12:51:14 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:51:14] POST /vm/25/startvnc HTTP/1.1 200 30 0.0023 Mon Jul 02 12:51:19 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:51:19] GET /vmtemplate?timeout=true HTTP/1.1 200 3559 0.0829 Mon Jul 02 12:51:26 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:51:26] GET /group?timeout=true HTTP/1.1 200 311 0.0124 Mon Jul 02 12:51:47 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:51:47] GET /cluster?timeout=true HTTP/1.1 200 27 0.0778 Mon Jul 02 12:51:57 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:51:57] GET /user?timeout=true HTTP/1.1 200 840 0.0099 Mon Jul 02 12:52:00 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:00] GET /datastore?timeout=true HTTP/1.1 200 2360 0.0132 Mon Jul 02 12:52:01 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:01] GET /vnet?timeout=true HTTP/1.1 200 791 0.0157 Mon Jul 02 12:52:03 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:03] GET /vm?timeout=true HTTP/1.1 200 18134 0.0172 Mon Jul 02 12:52:04 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:04] GET /image?timeout=true HTTP/1.1 200 6974 0.0143 Mon Jul 02 12:52:08 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:08] GET /acl?timeout=true HTTP/1.1 200 377 0.0750 Mon Jul 02 12:52:11 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:11] GET /host?timeout=true HTTP/1.1 200 3808 0.0171 Mon Jul 02 12:52:14 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:14] GET /host/monitor?title=graph1monitor_resources=cpu_usage%2Cused_cpu%2Cmax_cpuhistory_length=40 HTTP/1.1 200 330 0.0121 Mon Jul 02 12:52:14 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:14] GET /host/monitor?title=graph2monitor_resources=mem_usage%2Cused_mem%2Cmax_memhistory_length=40 HTTP/1.1 200 398 0.0042 Mon Jul 02 12:52:14 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:14] GET /vm/monitor?title=graph3monitor_resources=total%2Cactive%2Cerrorhistory_length=40 HTTP/1.1 200 293 0.0043 Mon Jul 02 12:52:14 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:14] GET /vm/monitor?title=graph4monitor_resources=net_tx%2Cnet_rxhistory_length=40 HTTP/1.1 200 274 0.0032 In /etc/one/sunstone-server.error: File /usr/share/opennebula/noVNC/utils/websockify, line 282, in websockify_init server.start_server() File /usr/share/opennebula/noVNC/utils/websocket.py, line 804, in start_server lsock
Re: [one-users] VM has no VNC configured
What do you mean on other IP than expected? Can you try manually running the proxy as I suggested? Hector En Mon, 02 Jul 2012 14:14:07 +0200, Jan Benadik jan.bena...@atos.net escribió: BACK, BACK, BACK ...:-) VNC console works, but on other IP than I expected ... When I tried to open port 5932 on IP of physical server (where virtual instance runs - via other VNC viewer which I have), it works. Why it doesn't work directly in Sunstone UI or OCCI UI? I'm sure I have something wrong in noVNC installation / setting ... J.B. Dňa 02.07.2012 13:57, Jan Benadik wrote / napísal(a): It doesn't help. That websockify process is ran by clicking on icon. Processes before clicking on icon VNC console: root@nebula-3:/home/sk1u06k5# ps aux |grep websoc root 6179 0.0 0.0 8068 648 pts/0 S+ 13:51 0:00 grep --color=auto websoc root@nebula-3:/home/sk1u06k5# Processes after clicking to icon VNC console (instance ID 32): root@nebula-3:/home/sk1u06k5# ps aux |grep websoc oneadmin 6461 4.0 0.4 91628 16808 ? S 13:52 0:00 python /usr/share/opennebula/noVNC/utils/websockify 35808 myto:5932 root 6471 0.0 0.0 8068 652 pts/0 S+ 13:52 0:00 grep --color=auto websoc root@nebula-3:/home/sk1u06k5# But console doesn't work ...:-( No open port on that server: root@nebula-3:/home/sk1u06k5# nmap one Starting Nmap 5.21 ( http://nmap.org ) at 2012-07-02 13:56 CEST Nmap scan report for one (10.0.1.125) Host is up (0.15s latency). Not shown: 996 closed ports PORT STATE SERVICE 22/tcp open ssh 111/tcp open rpcbind 2049/tcp open nfs 5678/tcp open unknown Nmap done: 1 IP address (1 host up) scanned in 0.08 seconds root@nebula-3:/home/sk1u06k5# J.B. Dňa 02.07.2012 13:45, Hector Sanjuan wrote / napísal(a): looks like there is a websockify proxy running that shouldnt be there... try killing the related python process which is taking port 29876+vmid and retry opening the vnc console. Hector En Mon, 02 Jul 2012 13:40:56 +0200, Jan Benadik jan.bena...@atos.net escribió: Thanks, now it is a little bit better (but only a little bit - VNC still doesn't work, no error message on screen ...) Now I have in /etc/one/occi_templates/small.erb : CPU = 1 MEMORY = 512 ARCH = i686 GRAPHICS = [ TYPE = vnc, LISTEN = 0.0.0.0 ] In /etc/one/sunstone-server.conf I have: :vnc_proxy_base_port: 29876 :vnc_proxy_path: /usr/share/opennebula/noVNC/utils/websockify :vnc_proxy_support_wss: no :vnc_proxy_cert: :vnc_proxy_key: In /etc/one/oned.conf I have: VNC_BASE_PORT = 5900 When I click on VNC icon in Sunstone interface, the following message in /var/log/one/sunstone.log appears: Mon Jul 02 12:51:14 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:51:14] POST /vm/25/startvnc HTTP/1.1 200 30 0.0023 Mon Jul 02 12:51:19 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:51:19] GET /vmtemplate?timeout=true HTTP/1.1 200 3559 0.0829 Mon Jul 02 12:51:26 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:51:26] GET /group?timeout=true HTTP/1.1 200 311 0.0124 Mon Jul 02 12:51:47 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:51:47] GET /cluster?timeout=true HTTP/1.1 200 27 0.0778 Mon Jul 02 12:51:57 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:51:57] GET /user?timeout=true HTTP/1.1 200 840 0.0099 Mon Jul 02 12:52:00 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:00] GET /datastore?timeout=true HTTP/1.1 200 2360 0.0132 Mon Jul 02 12:52:01 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:01] GET /vnet?timeout=true HTTP/1.1 200 791 0.0157 Mon Jul 02 12:52:03 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:03] GET /vm?timeout=true HTTP/1.1 200 18134 0.0172 Mon Jul 02 12:52:04 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:04] GET /image?timeout=true HTTP/1.1 200 6974 0.0143 Mon Jul 02 12:52:08 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:08] GET /acl?timeout=true HTTP/1.1 200 377 0.0750 Mon Jul 02 12:52:11 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:11] GET /host?timeout=true HTTP/1.1 200 3808 0.0171 Mon Jul 02 12:52:14 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:14] GET /host/monitor?title=graph1monitor_resources=cpu_usage%2Cused_cpu%2Cmax_cpuhistory_length=40 HTTP/1.1 200 330 0.0121 Mon Jul 02 12:52:14 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:14] GET /host/monitor?title=graph2monitor_resources=mem_usage%2Cused_mem%2Cmax_memhistory_length=40 HTTP/1.1 200 398 0.0042 Mon Jul 02 12:52:14 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:14] GET /vm/monitor?title=graph3monitor_resources=total%2Cactive%2Cerrorhistory_length=40 HTTP/1.1 200 293 0.0043 Mon Jul 02 12:52:14 2012 [I]: 10.0.3.51 - - [02/Jul/2012 12:52:14] GET /vm/monitor?title=graph4monitor_resources=net_tx%2Cnet_rxhistory_length=40 HTTP/1.1 200 274 0.0032 In /etc/one/sunstone-server.error: File /usr/share/opennebula/noVNC/utils/websockify, line 282, in websockify_init server.start_server() File /usr/share/opennebula/noVNC/utils/websocket.py, line 804, in start_server lsock = self.socket(self.listen_host, self.listen_port) File /usr/share/opennebula/noVNC/utils/websocket.py, line 190, in socket
Re: [one-users] VM has no VNC configured
Hello, I believe your small.erb should rather say: GRAPHICS = [ TYPE= vnc ] More info: http://opennebula.org/documentation:rel3.4:template#i_o_devices_section Also remember to set LISTEN if your not accessing the VM from localhost. -- Hector Sanjuan OpenNebula Developer En Fri, 29 Jun 2012 14:07:49 +0200, Jan Benadik jan.bena...@atos.net escribió: Hi all, I have OpenNebula 3.4.1 on Ubuntu 12.04 Server (both - frontend and node), shared datastore. When I start VM via OCCI interface and try access to VNC console, an error picture appears: VM has no VNC configured (nothing in logs - picture on screen only). VM is running, in /etc/one/occi_templates/small.erb (and all other kind of instances there) I have: # # Virtual Machine Template generated for small instance types. Adjust this # by setting the desired capacity (CPU,MEMORY) or adding specific # attributes for your cloud (e.g. OS). # CPU = 1 MEMORY = 512 ARCH = i686 GRAPHICS = vnc In /etc/one/occi-server.conf: :vnc_enable: yes :vnc_proxy_base_port: 33876 :vnc_proxy_path: /usr/share/opennebula/noVNC/utils/websockify :vnc_proxy_support_wss: no Where and which way I have to set VNC correctly? At the same time and the same running instance VNC console is unaccessible in Sunstone interface (the icon is gray). Jan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Call for translations for Sunstone and Self-Service
Dear users, As OpenNebula 3.6 comes closer (scheduled for July 9th), we would like to launch a call for translations of our web-based user interfaces: Sunstone and Self-Service. It is very easy: the existing translations can be updated and new translations submitted through our project site at Transifex (https://www.transifex.com/projects/p/one/). The process is as follows: * Log in to Transifex. You can easily register or login with using your Twitter, LinkedIn, Google or Facebook accounts * Click on the language you want to translate and the resource (Sunstone or Self-Service) * Hit “Translate now” and start translating right away through the Transifex website If the language is not available, you can request the creation of a new language for that resource. If you have a translation file ready outside Transifex for a new language, please upload it there. Transifex offers advanced features for translators. You can check their documentation[1] for more information. Translations reaching a good level of completion will be included in the official release of OpenNebula. Deadline for translations is 7th of July. Thanks for your collaboration! -- Hector Sanjuan OpenNebula Developer [1] http://help.transifex.com/intro/translating.html#translating ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Problem connecting to VNC console
Hello, do you have 'secure websockets connection' checked in your sunstone configuration tab (dashboard-configuration)? If so, uncheck it. Otherwise check it and uncheck it and try again. -- Hector Sanjuan OpenNebula Developer En Fri, 15 Jun 2012 22:56:38 +0200, Chandana De Silva chand...@desilva.id.au escribió: All, I am still trying to resolve the VNC connection problem I am having. I am using OpenNebula 3.4 in a single server configuration on Centos 6.2. I am connecting to the OpenNebule server from my laptop. I am trying to get a VNC console using the Sunstone Virtual Machines page by clicking on the VNC icon. Sunstone Config: (Note line saying :vnc_proxy_support_wss: no) [chandana@glass ~]$ egrep -v ^#|^$ /etc/one/sunstone-server.conf :one_xmlrpc: http://localhost:2633/RPC2 :host: 0.0.0.0 :port: 9869 :debug_level: 3 :auth: sunstone :core_auth: cipher :vnc_proxy_base_port: 29876 :vnc_proxy_path: /usr/share/one/noVNC/utils/websockify :vnc_proxy_support_wss: no :vnc_proxy_cert: :vnc_proxy_key: :lang: en_US This is what I see in the Sunstone log when I click on the VNC Icon Sat Jun 16 06:26:23 2012 [I]: Starting vnc proxy: /usr/share/one/noVNC/utils/websockify 35788 glass.dis:5912 Sat Jun 16 06:26:23 2012 [I]: 192.168.1.57 - - [16/Jun/2012 06:26:23] POST /vm/12/startvnc HTTP/1.1 200 30 0.0197 If I run the proxy on the command line and click on the VNC icon, I see this on my terminal on the OpenNebula server --- WebSocket server settings: - Listen on :35788 - Flash security policy server - No SSL/TLS support (no cert file) - proxying from :35788 to glass.dis:5912 1: 192.168.1.57: SSL connection but '/var/lib/one/self.pem' not found I do not understand why I get the SSL connection message when the Sunstone config has :vnc_proxy_support_wss: no. As far as I can see this is coming from /usr/share/one/noVNC/utils/websocket.py. Please help. Regards Chandana ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] NoVNC in Sunstone behind lighttpd
No, nothing has been changed regarding this aspect in 3.2.1. If it works for you that probably means that your Sunstone clients can open a direct connection from their browser to sunstone_host:vnc_proxy_port, where the normal sunstone_host:443 is the only one being proxied through lighthttpd. I guess your proxy is running on the same machine as sunstone and no firewalls are in place so vnc connections can happen. Or maybe you have a different setup that I havent thought of? Hector En Fri, 01 Jun 2012 09:06:03 +0200, Jhon Masschelein jhon.masschel...@sara.nl escribió: Hi, Has something changed in 3.4.1 that makes this no longer work? We're running 3.2.1 behind a lighttpd ssl proxy and the noVNC consoles work (almost) perfectly for us... Wkr, Jhon On 05/31/2012 11:00 PM, Hector Sanjuan wrote: Hello, bad news: noVNC uses websockets to open a connection to a tcp port on the sunstone frontend which your reverse proxy is probably not letting through. Actually, this port depends on the VM ID that you are connecting to (proxy_base_port + vm_id), so as things are now there is no straightforward way that you can get Sunstone VNC working with a reverse proxy solution unless you take care of proxying a wide range of ports, or find a way to let the connections through directly to them. good news: We realised of this limitation and this will be changed for the next release as part of http://dev.opennebula.org/issues/1209. The idea is that we run a single websockets proxy instance on a single fixed port. So im afraid you just need to wait some weeks, Hector En Thu, 31 May 2012 21:51:48 +0200, Alberto Zuin - Liste li...@albertozuin.eu escribió: Hello all, I'm setting up a new cloud (little, but this time it's mine ;-) with OpenNebula 3.4.1. Sunstone works like a charm when connecting directly on port 9869, but I want using Lighttpd for ssl proxy. In this situation there is a problem using NoVNC web console: when I click on the icon, appear the popup on the bottom but no console. No error in lighttpd log and in sunstone log. Any suggestions? Thanks, Alberto -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] problem starting VM in 3.4.1
][I]: ExitCode: 1 Fri Jun 1 13:13:00 2012 [VMM][I]: Command execution fail: /var/tmp/one/vnm/dummy/pre PFZNPjxJRD4wPC9JRD48VUlEPjA8L1VJRD48R0lEPjA8L0dJRD48VU5BTUU+b25lYWRtaW4zPC9VTkFNRT48R05BTUU+b25lYWRtaW48L0dOQU1FPjxOQU1FPm9uZS0wPC9OQU1FPjxQRVJNSVNTSU9OUz48T1dORVJfVT4xPC9PV05FUl9VPjxPV05FUl9NPjE8L09XTkVSX00+PE9XTkVSX0E+MDwvT1dORVJfQT48R1JPVVBfVT4wPC9HUk9VUF9VPjxHUk9VUF9NPjA8L0dST1VQX00+PEdST1VQX0E+MDwvR1JPVVBfQT48T1RIRVJfVT4wPC9PVEhFUl9VPjxPVEhFUl9NPjA8L09USEVSX00+PE9USEVSX0E+MDwvT1RIRVJfQT48L1BFUk1JU1NJT05TPjxMQVNUX1BPTEw+MDwvTEFTVF9QT0xMPjxTVEFURT4zPC9TVEFURT48TENNX1NUQVRFPjI8L0xDTV9TVEFURT48U1RJTUU+MTMzODU0ODkzMDwvU1RJTUU+PEVUSU1FPjA8L0VUSU1FPjxERVBMT1lfSUQvPjxNRU1PUlk+MDwvTUVNT1JZPjxDUFU+MDwvQ1BVPjxORVRfVFg+MDwvTkVUX1RYPjxORVRfUlg+MDwvTkVUX1JYPjxURU1QTEFURT48Q1BVPjwhW0NEQVRBWzFdXT48L0NQVT48RElTSz48QlVTPjwhW0NEQVRBW3ZpcnRpb11dPjwvQlVTPjxDTE9ORT48IVtDREFUQVtZRVNdXT48L0NMT05FPjxDTFVTVEVSX0lEPjwhW0NEQVRBWzEwMF1dPjwvQ0xVU1RFUl9JRD48REFUQVNUT1JFPjwhW0NEQVRBW2RlZmF1bHRdXT48L0RBVEFTVE9SRT48REFUQVNUT1JFX0lEPjwhW0NEQVRBWzFdXT48L0RBVEFTVE9SRV9JRD48RElTS19JRD48IVtDREFUQVswXV0+PC9ESV NLX0lEPjx JTUFHRT48IVtDREFUQVt1YnVudHUtMTExMF1dPjwvSU1BR0U+PElNQUdFX0lEPjwhW0NEQVRBWzBdXT48L0lNQUdFX0lEPjxJTUFHRV9VTkFNRT48IVtDREFUQVtvbmVhZG1pbjNdXT48L0lNQUdFX1VOQU1FPjxSRUFET05MWT48IVtDREFUQVtOT11dPjwvUkVBRE9OTFk+PFNBVkU+PCFbQ0RBVEFbTk9dXT48L1NBVkU+PFNPVVJDRT48IVtDREFUQVsvc3J2L2Nsb3VkL29uZTMvdmFyL2RhdGFzdG9yZXMvMS9lYWI0M2M4ZWQ2Y2RkYjVhNzYxZDk2ZmIzMTk4YTc5Zl1dPjwvU09VUkNFPjxUQVJHRVQ+PCFbQ0RBVEFbaGRhXV0+PC9UQVJHRVQ+PFRNX01BRD48IVtDREFUQVtzaGFyZWRdXT48L1RNX01BRD48VFlQRT48IVtDREFUQVtESVNLXV0+PC9UWVBFPjwvRElTSz48RkVBVFVSRVM+PEFDUEk+PCFbQ0RBVEFbeWVzXV0+PC9BQ1BJPjwvRkVBVFVSRVM+PEdSQVBISUNTPjxQT1JUPjwhW0NEQVRBWzY5MDBdXT48L1BPUlQ+PFRZUEU+PCFbQ0RBVEFbdm5jXV0+PC9UWVBFPjwvR1JBUEhJQ1M+PE1FTU9SWT48IVtDREFUQVs1MTJdXT48L01FTU9SWT48TkFNRT48IVtDREFUQVtvbmUtMF1dPjwvTkFNRT48TklDPjxCUklER0U+PCFbQ0RBVEFbdmlyYnIwXV0+PC9CUklER0U+PENMVVNURVJfSUQ+PCFbQ0RBVEFbMTAwXV0+PC9DTFVTVEVSX0lEPjxJUD48IVtDREFUQVsxOTIuMTY4LjAuMTAwXV0+PC9JUD48TUFDPjwhW0NEQVRBWzAyOjAwOmMwOmE4OjAwOjY0XV0+PC9NQUM+PE5FVFdPUks+PCFbQ0RBVEFbdGVzd C1uZXRdXT 48L05FVFdPUks+PE5FVFdPUktfSUQ+PCFbQ0RBVEFbMF1dPjwvTkVUV09SS19JRD48TkVUV09SS19VTkFNRT48IVtDREFUQVtvbmVhZG1pbjNdXT48L05FVFdPUktfVU5BTUU+PFBIWURFVj48IVtDREFUQVtldGgwXV0+PC9QSFlERVY+PFZMQU4+PCFbQ0RBVEFbWUVTXV0+PC9WTEFOPjwvTklDPjxPUz48QVJDSD48IVtDREFUQVt4ODZfNjRdXT48L0FSQ0g+PEJPT1Q+PCFbQ0RBVEFbaGRdXT48L0JPT1Q+PC9PUz48UkFXPjxUWVBFPjwhW0NEQVRBW2t2bV1dPjwvVFlQRT48L1JBVz48UkVRVUlSRU1FTlRTPjwhW0NEQVRBW0NMVVNURVJfSUQgPSAxMDAgJiAoIENMVVNURVI9Y29udHJhaWwgKV1dPjwvUkVRVUlSRU1FTlRTPjxURU1QTEFURV9JRD48IVtDREFUQVswXV0+PC9URU1QTEFURV9JRD48VkNQVT48IVtDREFUQVsyXV0+PC9WQ1BVPjxWTUlEPjwhW0NEQVRBWzBdXT48L1ZNSUQ+PC9URU1QTEFURT48SElTVE9SWV9SRUNPUkRTPjxISVNUT1JZPjxTRVE+MDwvU0VRPjxIT1NUTkFNRT4xMjcuMC4wLjE8L0hPU1ROQU1FPjxISUQ+MDwvSElEPjxTVElNRT4xMzM4NTQ5MDE3PC9TVElNRT48RVRJTUU+MDwvRVRJTUU+PFZNTU1BRD52bW1fa3ZtPC9WTU1NQUQ+PFZOTU1BRD5kdW1teTwvVk5NTUFEPjxQU1RJTUU+MTMzODU0OTAxNzwvUFNUSU1FPjxQRVRJTUU+MTMzODU0OTE3NjwvUEVUSU1FPjxSU1RJTUU+MTMzODU0OTE3NjwvUlNUSU1FPjxSRVRJTUU+MDwvUkVUSU1FPjxFU1RJTUU+MDwvRVNUSU1FPjxF RVRJTUU+M DwvRUVUSU1FPjxSRUFTT04+MDwvUkVBU09OPjwvSElTVE9SWT48L0hJU1RPUllfUkVDT1JEUz48L1ZNPg== Fri Jun 1 13:13:00 2012 [VMM][I]: bash: line 2: /var/tmp/one/vnm/dummy/pre: No such file or directory Fri Jun 1 13:13:00 2012 [VMM][I]: ExitCode: 127 Fri Jun 1 13:13:00 2012 [VMM][I]: Failed to execute network driver operation: pre. Fri Jun 1 13:13:00 2012 [VMM][E]: Error deploying virtual machine Fri Jun 1 13:13:00 2012 [DiM][I]: New VM state is FAILED - I tested that I am able to to passwordless ssh onto the localhost. I am testing using 1 single machine, and so front-end and worker node is the same physical host. Can someone tell me what is wrong and how I can fix these errors? Kind regards, Piyush. -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] problem starting vm in 3.4.1
restarting opennebula would probably be enough, also you can run 'onehost sync' and the scripts will be copied in the next monitorization round. Hector En Fri, 01 Jun 2012 15:10:43 +0200, Piyush Harsh piyush.ha...@inria.fr escribió: Hi Hector, The tmp directory /var/tmp/one is used by my opennebula 2.2.1 standalone installation, I changed the tmp path in 3.4.1 setup to /var/tmp/one3 and gave permissions to oneadmin3 user to write to it. How do I sync up this folder so that it contains all monitoring scripts and drivers? Kind regards, Piyush. Looks like opennebula user does not have permission to do this: scp -r /srv/cloud/one3/var/remotes//. 127.0.0.1:/var/tmp/one Check that /var/tmp/one has the correct permissions so that oneadmin can write to it. Hector -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] problem running opennebula 3.4.1
Hi, Make sure ONE_LOCATION is defined for oneadmin3 and add /srv/cloud/one3/bin to the PATH, otherwise it will try to find oned in the regular system directories. Typically this configuration goes in .bashrc in /srv/cloud/one3 Hope it helps, Hector En Wed, 30 May 2012 20:53:28 +0200, Piyush Harsh piyush.ha...@inria.fr escribió: Dear Community members, I am researcher at INRIA and for a project development I need to provide support for both version 2.2.1 and 3.4.1. I have been using 2.2.1 in self contained mode and it works fine. Today I however installed 3.4.1 from source again in self contained mode taking care to create a new user oneadmin3 and a new default user directory /srv/cloud/one3 so as to not create any conflicts with the existing 2.2.1 installation. Now whenever I try to execute opennebula 3.4.1 from oneadmin3 account, I am getting Can not find /usr/bin/oned error. I am wondering why am I getting an absolute path error if I installed in a self-contained mode? Any help resolving this bug will be most appreciated. -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] problem running opennebula 3.4.1
as to not create any conflicts with the existing 2.2.1 installation. Now whenever I try to execute opennebula 3.4.1 from oneadmin3 account, I am getting Can not find /usr/bin/oned error. I am wondering why am I getting an absolute path error if I installed in a self-contained mode? Any help resolving this bug will be most appreciated. -- Dr. Piyush Harsh, RD Engineer, INRIA CONTRAIL Project, INRIA Rennes - Bretagne Atlantique Campus universitaire de Beaulieu, 35042 Rennes cedex, France Phone. +33 2 99 84 71 48 - Fax. +33 2 99 84 71 71 http://www.irisa.fr/myriads/ http://www.cise.ufl.edu/~pharsh/portfolio/ [Backup Site] http://info-piyush.rhcloud.com/ -- Dr. Piyush Harsh, RD Engineer, INRIA CONTRAIL Project, INRIA Rennes - Bretagne Atlantique Campus universitaire de Beaulieu, 35042 Rennes cedex, France Phone. +33 2 99 84 71 48 - Fax. +33 2 99 84 71 71 http://www.irisa.fr/myriads/ http://www.cise.ufl.edu/~pharsh/portfolio/ [Backup Site] http://info-piyush.rhcloud.com/ ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] NoVNC in Sunstone behind lighttpd
Hello, bad news: noVNC uses websockets to open a connection to a tcp port on the sunstone frontend which your reverse proxy is probably not letting through. Actually, this port depends on the VM ID that you are connecting to (proxy_base_port + vm_id), so as things are now there is no straightforward way that you can get Sunstone VNC working with a reverse proxy solution unless you take care of proxying a wide range of ports, or find a way to let the connections through directly to them. good news: We realised of this limitation and this will be changed for the next release as part of http://dev.opennebula.org/issues/1209. The idea is that we run a single websockets proxy instance on a single fixed port. So im afraid you just need to wait some weeks, Hector En Thu, 31 May 2012 21:51:48 +0200, Alberto Zuin - Liste li...@albertozuin.eu escribió: Hello all, I'm setting up a new cloud (little, but this time it's mine ;-) with OpenNebula 3.4.1. Sunstone works like a charm when connecting directly on port 9869, but I want using Lighttpd for ssl proxy. In this situation there is a problem using NoVNC web console: when I click on the icon, appear the popup on the bottom but no console. No error in lighttpd log and in sunstone log. Any suggestions? Thanks, Alberto -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] vnc proxy not configured
Hello, have you run ./install_novnc.sh script? This will download third-party noVNC, and websockets proxy, place them where they need to be and update the sunstone-server.conf to enable VNC. More info here: http://opennebula.org/documentation:rel3.4:sunstone#novnc_installation -- Hector Sanjuan OpenNebula Developer En Tue, 29 May 2012 14:18:19 +0200, yangui sami yangui.s...@yahoo.fr escribió: Hi, We have problems of access to our createdVMs . We use Sunstone server. Before this, When creating the VM template, we have well specified in Section Graphics VNC such as Graphics type and 0.0.0.0 as value for listen IP. The created VMs from this template are well started and running. However, when we want to access to them we have the following error message : vnc proxy not configured. Could you help us please. Thanking in advance. Best, ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Re : vnc proxy not configured
Then probably there must be something wrong in sunstone-server.conf. Can you paste the file? What opennebula version are you using? Hector En Tue, 29 May 2012 14:56:10 +0200, yangui sami yangui.s...@yahoo.fr escribió: Thanks for your response. We did this as you described in your email but the error still persists. De : Hector Sanjuan hsanj...@opennebula.org À : yangui sami yangui.s...@yahoo.fr Cc : users@lists.opennebula.org users@lists.opennebula.org Envoyé le : Mardi 29 mai 2012 14h39 Objet : Re: [one-users] vnc proxy not configured Hello, have you run ./install_novnc.sh script? This will download third-party noVNC, and websockets proxy, place them where they need to be and update the sunstone-server.conf to enable VNC. More info here: http://opennebula.org/documentation:rel3.4:sunstone#novnc_installation --Hector Sanjuan OpenNebula Developer En Tue, 29 May 2012 14:18:19 +0200, yangui sami yangui.s...@yahoo.fr escribió: Hi, We have problems of access to our createdVMs . We use Sunstone server. Before this, When creating the VM template, we have well specified in Section Graphics VNC such as Graphics type and 0.0.0.0 as value for listen IP. The created VMs from this template are well started and running. However, when we want to access to them we have the following error message : vnc proxy not configured. Could you help us please. Thanking in advance. Best, -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Re : Re : vnc proxy not configured
The configuration file seems fine, have you restarted sunstone-server after running the install script? Hector En Tue, 29 May 2012 15:07:38 +0200, yangui sami yangui.s...@yahoo.fr escribió: sunstone-server.conf is attached. We use Open Nebula V3.4.1 De : Hector Sanjuan hsanj...@opennebula.org À : yangui sami yangui.s...@yahoo.fr Cc : users@lists.opennebula.org users@lists.opennebula.org Envoyé le : Mardi 29 mai 2012 14h59 Objet : Re: Re : [one-users] vnc proxy not configured Then probably there must be something wrong in sunstone-server.conf. Can you paste the file? What opennebula version are you using? Hector En Tue, 29 May 2012 14:56:10 +0200, yangui sami yangui.s...@yahoo.fr escribió: Thanks for your response. We did this as you described in your email but the error still persists. De : Hector Sanjuan hsanj...@opennebula.org À : yangui sami yangui.s...@yahoo.fr Cc : users@lists.opennebula.org users@lists.opennebula.org Envoyé le : Mardi 29 mai 2012 14h39 Objet : Re: [one-users] vnc proxy not configured Hello, have you run ./install_novnc.sh script? This will download third-party noVNC, and websockets proxy, place them where they need to be and update the sunstone-server.conf to enable VNC. More info here: http://opennebula.org/documentation:rel3.4:sunstone#novnc_installation --Hector Sanjuan OpenNebula Developer En Tue, 29 May 2012 14:18:19 +0200, yangui sami yangui.s...@yahoo.fr escribió: Hi, We have problems of access to our createdVMs . We use Sunstone server. Before this, When creating the VM template, we have well specified in Section Graphics VNC such as Graphics type and 0.0.0.0 as value for listen IP. The created VMs from this template are well started and running. However, when we want to access to them we have the following error message : vnc proxy not configured. Could you help us please. Thanking in advance. Best, --Hector Sanjuan OpenNebula Developer -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Re : Re : Re : vnc proxy not configured
How did you install OpenNebula? system wide or self-contained? This error is triggered when the proxy path is not set. However it is set on the configuration you sent. Im thinking that maybe somehow this configuration file is not being used then. Hector En Tue, 29 May 2012 16:05:39 +0200, yangui sami yangui.s...@yahoo.fr escribió: Yes of course but the error still persists. De : Hector Sanjuan hsanj...@opennebula.org À : yangui sami yangui.s...@yahoo.fr Cc : users@lists.opennebula.org users@lists.opennebula.org Envoyé le : Mardi 29 mai 2012 15h51 Objet : Re: Re : Re : [one-users] vnc proxy not configured The configuration file seems fine, have you restarted sunstone-server after running the install script? Hector En Tue, 29 May 2012 15:07:38 +0200, yangui sami yangui.s...@yahoo.fr escribió: sunstone-server.conf is attached. We use Open Nebula V3.4.1 De : Hector Sanjuan hsanj...@opennebula.org À : yangui sami yangui.s...@yahoo.fr Cc : users@lists.opennebula.org users@lists.opennebula.org Envoyé le : Mardi 29 mai 2012 14h59 Objet : Re: Re : [one-users] vnc proxy not configured Then probably there must be something wrong in sunstone-server.conf. Can you paste the file? What opennebula version are you using? Hector En Tue, 29 May 2012 14:56:10 +0200, yangui sami yangui.s...@yahoo.fr escribió: Thanks for your response. We did this as you described in your email but the error still persists. De : Hector Sanjuan hsanj...@opennebula.org À : yangui sami yangui.s...@yahoo.fr Cc : users@lists.opennebula.org users@lists.opennebula.org Envoyé le : Mardi 29 mai 2012 14h39 Objet : Re: [one-users] vnc proxy not configured Hello, have you run ./install_novnc.sh script? This will download third-party noVNC, and websockets proxy, place them where they need to be and update the sunstone-server.conf to enable VNC. More info here: http://opennebula.org/documentation:rel3.4:sunstone#novnc_installation --Hector Sanjuan OpenNebula Developer En Tue, 29 May 2012 14:18:19 +0200, yangui sami yangui.s...@yahoo.fr escribió: Hi, We have problems of access to our createdVMs . We use Sunstone server. Before this, When creating the VM template, we have well specified in Section Graphics VNC such as Graphics type and 0.0.0.0 as value for listen IP. The created VMs from this template are well started and running. However, when we want to access to them we have the following error message : vnc proxy not configured. Could you help us please. Thanking in advance. Best, --Hector Sanjuan OpenNebula Developer --Hector Sanjuan OpenNebula Developer -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Re : Re : Re : Re : vnc proxy not configured
Strange, can you send sunstone.log? En Tue, 29 May 2012 16:20:11 +0200, yangui sami yangui.s...@yahoo.fr escribió: We have a system wide installation. we not see where the error can be. De : Hector Sanjuan hsanj...@opennebula.org À : yangui sami yangui.s...@yahoo.fr Cc : users@lists.opennebula.org users@lists.opennebula.org Envoyé le : Mardi 29 mai 2012 16h13 Objet : Re: Re : Re : Re : [one-users] vnc proxy not configured How did you install OpenNebula? system wide or self-contained? This error is triggered when the proxy path is not set. However it is set on the configuration you sent. Im thinking that maybe somehow this configuration file is not being used then. Hector En Tue, 29 May 2012 16:05:39 +0200, yangui sami yangui.s...@yahoo.fr escribió: Yes of course but the error still persists. De : Hector Sanjuan hsanj...@opennebula.org À : yangui sami yangui.s...@yahoo.fr Cc : users@lists.opennebula.org users@lists.opennebula.org Envoyé le : Mardi 29 mai 2012 15h51 Objet : Re: Re : Re : [one-users] vnc proxy not configured The configuration file seems fine, have you restarted sunstone-server after running the install script? Hector En Tue, 29 May 2012 15:07:38 +0200, yangui sami yangui.s...@yahoo.fr escribió: sunstone-server.conf is attached. We use Open Nebula V3.4.1 De : Hector Sanjuan hsanj...@opennebula.org À : yangui sami yangui.s...@yahoo.fr Cc : users@lists.opennebula.org users@lists.opennebula.org Envoyé le : Mardi 29 mai 2012 14h59 Objet : Re: Re : [one-users] vnc proxy not configured Then probably there must be something wrong in sunstone-server.conf. Can you paste the file? What opennebula version are you using? Hector En Tue, 29 May 2012 14:56:10 +0200, yangui sami yangui.s...@yahoo.fr escribió: Thanks for your response. We did this as you described in your email but the error still persists. De : Hector Sanjuan hsanj...@opennebula.org À : yangui sami yangui.s...@yahoo.fr Cc : users@lists.opennebula.org users@lists.opennebula.org Envoyé le : Mardi 29 mai 2012 14h39 Objet : Re: [one-users] vnc proxy not configured Hello, have you run ./install_novnc.sh script? This will download third-party noVNC, and websockets proxy, place them where they need to be and update the sunstone-server.conf to enable VNC. More info here: http://opennebula.org/documentation:rel3.4:sunstone#novnc_installation --Hector Sanjuan OpenNebula Developer En Tue, 29 May 2012 14:18:19 +0200, yangui sami yangui.s...@yahoo.fr escribió: Hi, We have problems of access to our createdVMs . We use Sunstone server. Before this, When creating the VM template, we have well specified in Section Graphics VNC such as Graphics type and 0.0.0.0 as value for listen IP. The created VMs from this template are well started and running. However, when we want to access to them we have the following error message : vnc proxy not configured. Could you help us please. Thanking in advance. Best, --Hector Sanjuan OpenNebula Developer --Hector Sanjuan OpenNebula Developer --Hector Sanjuan OpenNebula Developer -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Re : Re : Re : Re : Re : vnc proxy not configured
Hi, the log shows that the proxy_path variable is set. However it doesnt show any attempts to launch a VNC session since the last restart. Can you restart sunstone, login, try to launch a vnc session and send me the log again? Thanks! Hector En Tue, 29 May 2012 16:44:41 +0200, yangui sami yangui.s...@yahoo.fr escribió: sunstone.log is attached. We are very grateful to you for your help. De : Hector Sanjuan hsanj...@opennebula.org À : yangui sami yangui.s...@yahoo.fr Cc : users@lists.opennebula.org users@lists.opennebula.org Envoyé le : Mardi 29 mai 2012 16h37 Objet : Re: Re : Re : Re : Re : [one-users] vnc proxy not configured Strange, can you send sunstone.log? En Tue, 29 May 2012 16:20:11 +0200, yangui sami yangui.s...@yahoo.fr escribió: We have a system wide installation. we not see where the error can be. De : Hector Sanjuan hsanj...@opennebula.org À : yangui sami yangui.s...@yahoo.fr Cc : users@lists.opennebula.org users@lists.opennebula.org Envoyé le : Mardi 29 mai 2012 16h13 Objet : Re: Re : Re : Re : [one-users] vnc proxy not configured How did you install OpenNebula? system wide or self-contained? This error is triggered when the proxy path is not set. However it is set on the configuration you sent. Im thinking that maybe somehow this configuration file is not being used then. Hector En Tue, 29 May 2012 16:05:39 +0200, yangui sami yangui.s...@yahoo.fr escribió: Yes of course but the error still persists. De : Hector Sanjuan hsanj...@opennebula.org À : yangui sami yangui.s...@yahoo.fr Cc : users@lists.opennebula.org users@lists.opennebula.org Envoyé le : Mardi 29 mai 2012 15h51 Objet : Re: Re : Re : [one-users] vnc proxy not configured The configuration file seems fine, have you restarted sunstone-server after running the install script? Hector En Tue, 29 May 2012 15:07:38 +0200, yangui sami yangui.s...@yahoo.fr escribió: sunstone-server.conf is attached. We use Open Nebula V3.4.1 De : Hector Sanjuan hsanj...@opennebula.org À : yangui sami yangui.s...@yahoo.fr Cc : users@lists.opennebula.org users@lists.opennebula.org Envoyé le : Mardi 29 mai 2012 14h59 Objet : Re: Re : [one-users] vnc proxy not configured Then probably there must be something wrong in sunstone-server.conf. Can you paste the file? What opennebula version are you using? Hector En Tue, 29 May 2012 14:56:10 +0200, yangui sami yangui.s...@yahoo.fr escribió: Thanks for your response. We did this as you described in your email but the error still persists. De : Hector Sanjuan hsanj...@opennebula.org À : yangui sami yangui.s...@yahoo.fr Cc : users@lists.opennebula.org users@lists.opennebula.org Envoyé le : Mardi 29 mai 2012 14h39 Objet : Re: [one-users] vnc proxy not configured Hello, have you run ./install_novnc.sh script? This will download third-party noVNC, and websockets proxy, place them where they need to be and update the sunstone-server.conf to enable VNC. More info here: http://opennebula.org/documentation:rel3.4:sunstone#novnc_installation --Hector Sanjuan OpenNebula Developer En Tue, 29 May 2012 14:18:19 +0200, yangui sami yangui.s...@yahoo.fr escribió: Hi, We have problems of access to our createdVMs . We use Sunstone server. Before this, When creating the VM template, we have well specified in Section Graphics VNC such as Graphics type and 0.0.0.0 as value for listen IP. The created VMs from this template are well started and running. However, when we want to access to them we have the following error message : vnc proxy not configured. Could you help us please. Thanking in advance. Best, --Hector Sanjuan OpenNebula Developer --Hector Sanjuan OpenNebula Developer --Hector Sanjuan OpenNebula Developer --Hector Sanjuan OpenNebula Developer -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VirtualBox Driver???
Hello, sorry, but currently there is no live migration support in the Vbox driver. From what i know, implementing it yourself would not be so difficult though. Hector En Fri, 18 May 2012 22:03:43 +0200, pedro.vp pedro...@tesla.cujae.edu.cu escribió: Greetings I have investigated about the integration of a VirtualBox driver for OpenNebula 3.2.1, but documentation reviewed tell me that this driver (done for VirtualBox 4.0) has not support for LIVE MIGRATION (LM) and this feature is critical for my infrastructure. I need to know if nowadays there is a driver for VirtualBox 4.1.14 with LM support. Sorry for my english. Thanks. Participe en la XVI Convencion Cientifica de Ingenieria y Arquitectura del 26 al 30 de noviembre de 2012. La Habana, Cuba: http://ccia.cujae.edu.cu Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Opennebula 3.2.1 Ubuntu 12.0.4 noVNC problem
Hi, it doesnt look so good to me: 192.168.1.103 - - [17/May/2012 21:58:09] GET /vendor/noVNC/include/vnc.js HTTP/1.1 404 466 0.0012 that 404 means noVNC (at least the part that goes under that folder) is not [correctly] installed. Try running /usr/share/one/install_novnc.sh [again] Hope it helps, Hector En Thu, 17 May 2012 22:03:18 +0200, veni767 veni...@venien.hu escribió: Hi, I cannot figure out why I don't get a popup window with VNC session in Firefox 12 when I click on the VNC icon in Sunstone in Virtual Machines. (I can connect to 192.168.1.66 port 5904 with RealVNC Viewer windows app and get a session without any problem.) /var/log/one/sunstone.log looks good: 192.168.1.103 - - [17/May/2012 21:58:09] POST /login HTTP/1.1 204 - 0.1503 192.168.1.103 - - [17/May/2012 21:58:09] GET / HTTP/1.1 200 3991 0.0065 192.168.1.103 - - [17/May/2012 21:58:09] GET /vendor/noVNC/include/plain.css HTTP/1.1 404 469 0.0011 192.168.1.103 - - [17/May/2012 21:58:09] GET /vendor/noVNC/include/vnc.js HTTP/1.1 404 466 0.0012 192.168.1.103 - - [17/May/2012 21:58:10] GET /host/monitor?title=graph1monitor_resources=cpu_usage%2Cused_cpu%2Cmax_cpuhistory_length=40 HTTP/1.1 200 81 0.0050 192.168.1.103 - - [17/May/2012 21:58:10] GET /host/monitor?title=graph2monitor_resources=mem_usage%2Cused_mem%2Cmax_memhistory_length=40 HTTP/1.1 200 81 0.0045 192.168.1.103 - - [17/May/2012 21:58:10] GET /vm/monitor?title=graph3monitor_resources=total%2Cactive%2Cerrorhistory_length=40 HTTP/1.1 200 71 0.0048 192.168.1.103 - - [17/May/2012 21:58:10] GET /vm/monitor?title=graph4monitor_resources=net_tx%2Cnet_rxhistory_length=40 HTTP/1.1 200 61 0.0033 192.168.1.103 - - [17/May/2012 21:58:10] GET /host?timeout=false HTTP/1.1 200 1275 0.0145 192.168.1.103 - - [17/May/2012 21:58:10] GET /vmtemplate?timeout=false HTTP/1.1 200 6563 0.0514 192.168.1.103 - - [17/May/2012 21:58:10] GET /vm?timeout=false HTTP/1.1 200 2302 0.0506 192.168.1.103 - - [17/May/2012 21:58:10] GET /vnet?timeout=false HTTP/1.1 200 731 0.0087 192.168.1.103 - - [17/May/2012 21:58:10] GET /image?timeout=false HTTP/1.1 200 1788 0.0133 192.168.1.103 - - [17/May/2012 21:58:10] GET /user?timeout=false HTTP/1.1 200 583 0.0062 192.168.1.103 - - [17/May/2012 21:58:10] GET /group?timeout=false HTTP/1.1 200 291 0.0048 192.168.1.103 - - [17/May/2012 21:58:10] GET /acl?timeout=false HTTP/1.1 200 377 0.0050 Starting vnc proxy: /usr/share/opennebula/noVNC/utils/wsproxy.py 35780 srv20.venien.hu:5904 192.168.1.103 - - [17/May/2012 21:58:16] POST /vm/28/startvnc HTTP/1.1 200 35 0.0402 wsproxy.py is listening on TCP port 35780: root@srv20:/root/# lsof -i |grep oneadmin |grep pyth python 31314oneadmin3u IPv4 1293447 0t0 TCP *:35780 (LISTEN) But no popup window comes up in Firefox 12 showing the VNC session. What can be the problem. Could please advise? Thanks, Gyorgy ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] auth - stop showing clear password on the logs
Hello, In the case of ldap authentication failure, could you provide the sunstone.log? The problem is that it seems that there actually was a server exception. So the message in Sunstone is fine, but the exception itself is not. The message logged in sunstone.log should hopefully give hints of where it is or why it happens. Hector En Fri, 11 May 2012 22:56:01 +0200, João Pagaime j...@fccn.pt escribió: 2- In case of a wrong (LDAP) password, Sunstone gives the following error message: OpenNebula is not running or there was a server exception. Please check the server logs. This message is a bit confusing for LDAP uses. I suggest another error messagem like: Authenticaton failure: wrong username, password or OpenNebula is not running or there was a server exception. Of course a better error messagem would be: Authenticaton failure: (real reason) -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] noVNC not able to configure
Please attach full sunstone.log, your vm template and make sure you have been through the applicable points of: http://opennebula.org/documentation:rel3.4:sunstone#vnc_troubleshooting You can also make sure that the proxy 'websockify' works correctly by itself. There is more documentation associated on how to do this in the noVNC and websockify github projects. Thanks, Hector En Mon, 14 May 2012 10:21:45 +0200, Darshan Upadhyay darshan...@gmail.com escribió: hello again, please help out from this problem, i am really not able to solve it. now after re-installation of noVNC i found the message(when i click on noVNC from sunstone) like Starting VNC handshake now what to do? -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] noVNC not able to configure
Hello, please check http://opennebula.org/documentation:rel3.4:sunstone#vnc_troubleshooting and the sunstone logs in case some error appears there. Hector En Sat, 05 May 2012 14:31:21 +0200, Darshan Upadhyay darshan...@gmail.com escribió: some how i am able to run install_noVNC.sh file which is successfully installed when i deploy one VM, and click on noVNC for that VM from sunstone, i found the error like Server disconnected(1006)... not what to do?? -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] noVNC not able to configure
/sunstone/public/vendor/noVNC/include' -- Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org