[one-users] VNC problem from Sunstone interface

2012-11-06 Thread Jan Benadik

  
  
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
  __
  
  
 
  

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] SmartOS drivers

2012-11-06 Thread Ruben S. Montero
Hi


 Is it possible in one to have that type='xml' be type='json' to generate
 the machine description as Json rather, or would you recommend that the
 driver do the translation ?


I am afraid not, you have to do the translation outside. Although it could
be a nice feature to have [1]...

Cheers
Ruben

[1] http://dev.opennebula.org/issues/1637



 Cheers
 Len

 On 05 Nov 2012, at 9:59 PM, Ruben S. Montero rsmont...@opennebula.org
 wrote:

 Hi Len

 You may take a look to the VMM driver development guide:

 http://opennebula.org/documentation:rel3.8:devel-vmm

 Probably the best way to get started is to use the kvm or xen driver as an
 starting point. You may:


 1 Copy the /var/lib/one/remotes/vmm/kvm folder
 to /var/lib/one/remotes/vmm/smartos and start working from there.

 2 Add the driver to the oned.conf file

 VM_MAD = [
 name   = vmm_smartos,
 executable = one_vmm_exec,
 arguments  = -t 15 -r 0 smartos,
 default= vmm_exec/vmm_exec_kvm.conf,
 type   = xml ]

 3 Any time you modify the driver you need to copy it to the hosts, so do
 not forget to execute onehost sync

 A couple of additional notes:

 1 Actions are executed remotely on the target host, if you want to execute
 them in the front-end use the -l option in configuration. There are
 examples in oned.conf

 2 The xml type will generate a XML file with the domain description as $1
 for the deploy script. This is the real work for the driver, translate the
 generic template in something specific to SmartOS

 3 Initially you'll need to deploy the vms by hand, use onevm deploy. You
 need also to get specific information from SmartOS with an Information
 Driver, that can come as a second step.


 Please keep us updated with your progress and don't hesitate to ask for
 help.

 Cheers

 Ruben



 On Mon, Nov 5, 2012 at 5:57 PM, Len Weincier l...@cloudafrica.net wrote:

 Hi All

 I would like to try my hand at implementing drivers for SmartOS under
 opennebula. Does anyone have any pointers to where I could start looking on
 how to go about this ?

 Is anyone else looking this so that I dont duplicate efforts ?

 Thanks
 Len
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




 --
 Ruben S. Montero, PhD
 Project co-Lead and Chief Architect
 OpenNebula - The Open Source Solution for Data Center Virtualization
 www.OpenNebula.org http://www.opennebula.org/ | rsmont...@opennebula.org| 
 @OpenNebula





-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] using PXE to boot xen hvm

2012-11-06 Thread Nicolas AGIUS
Hi,

Here, we are using a home-made PXE script that create partitions and do a 
bootstrap of a standard OS (Debian and Centos). Then all package install and 
configuration is done by CFengine.

SystemRescueCD is a good choice, and easily PXE bootable, but we had some 
trouble with it, especially with odd hardware ( unrecognized NIC or RAID 
controler.) 

A few years ago, I used partimage. It work well and consume less space than a 
simple dd.
Also, using IPMI over LAN could be interesting to manage hardware servers as 
virtual machines.

Although a configuration manager like CFengine or Puppet is mandatory 
for a cloud, I think it's out of scope for integration in OpenNebula. Deploy a 
custom image, OS independant,  (with the same system as vm?) seems to be a 
simple way and facilitate integration with existing infrastructure.

Cheers,
Nicolas AGIUS

PS: We are using Centos 5 for Xen hosts, with backported kernel from SUSE, 
because openSUSE life-cycle is really too short for us.

--- En date de : Mar 6.11.12, Jaime Melis jme...@opennebula.org a écrit :

De: Jaime Melis jme...@opennebula.org
Objet: Re: [one-users] using PXE to boot xen hvm
À: Steve Heistand steve.heist...@nasa.gov
Cc: Users OpenNebula users@lists.opennebula.org
Date: Mardi 6 novembre 2012, 0h19

Hello Steve,
This is a very interesting email, mainly because one of the upcoming features 
we want to deliver with the next release of OpenNebula is integration with bare 
metal provisioning systems. So, I'd like to take this opportunity to ask for 
more opinions from the community about this feature. So, a few questions for 
the community:


- Do you have a favourite PXE installation system you want to see OpenNebula 
integrated with- Is there any specific feature of the bare metal provision 
system you'd like to see addressed?- Do you have any ideas / suggestions about 
this?


 For the moment, let me describe you what we do internally at OpenNebula to 
address this problem.
- Manually install the bare metal system (once) and configure it:  - network 
dhcp


  - remove persistent udev rules  - configure hypervisor  - oneadmin user, 
ruby, and the rest of opennebula dependencies  - add SSH keys  - etc- Restart 
the server and boot from system rescue cd [1] 


- Backup the system installation by doing 'dd|gzip' of the disk drive over NFS 
to our NAS
Once that's ready we deploy with a small webapp internally developed utility 
that does the following:

- the webapp configures the tftpboot so that the server will boot a system 
rescue cd over pxe
- once when the system rescue boots it automatically executes an autorun script 
[2] that is dynamically served by http by the webapp wich contains the command 
to  dump the backed up image to the disk. (I'm happy to share more 
configuration specific details)



As you can see this has a few shortcomings, the most important one being that 
we aren't using kickstarts, basically because we want to cover all the OS.
And answering your question about what do we use for Xen, we are currently 
using openSUSE since it has an out-of-the-box support for Xen which makes life 
a lot easier.



[1] http://www.sysresccd.org/SystemRescueCd_Homepage[2] http://www.sysresccd.org/Sysresccd-manual-en_Run_your_own_scripts_with_autorun




Cheers,
Jaime


On Mon, Nov 5, 2012 at 4:34 PM, Steve Heistand steve.heist...@nasa.gov wrote:


-BEGIN PGP SIGNED MESSAGE-

Hash: SHA1



Im curious to know peoples' thoughts on how to take bare hardware

without an OS and get a xen aware base kernel on it so it will

take guest OS's from opennebula?



I was looking around for options involving various live cds,

found a nice livecd-xen thing but it hangs are boot time on our nodes.

the console was complaining about a bad .iso file when it booted

but the md5sum of it is at it should be. (its booted up with 
memdisk/gpxelinux/httpd)



is there a handy/easy way to get new empty hardware available for opennebula?



thanks



steve







- --



 Steve Heistand                          NASA Ames Research Center

 email: steve.heist...@nasa.gov          Steve Heistand/Mail Stop 258-6

 ph: (650) 604-4369                      Bldg. 258, Rm. 232-5

 Scientific  HPC Application            P.O. Box 1

 Development/Optimization                Moffett Field, CA 94035-0001



 Any opinions expressed are those of our alien overlords, not my own.

-BEGIN PGP SIGNATURE-

Version: GnuPG v2.0.14 (GNU/Linux)



iEYEARECAAYFAlCYMOgACgkQoBCTJSAkVrHBYwCgtN9vJGa46j3yOzLU4bmaVagf

Zh0AoN5OkHpkInjqAJrBbp7LX1e732FD

=X0CW

-END PGP SIGNATURE-

___

Users mailing list

Users@lists.opennebula.org

http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




-- 
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing

Re: [one-users] using PXE to boot xen hvm

2012-11-06 Thread christopher barry
On Mon, 2012-11-05 at 18:19 -0500, Jaime Melis wrote:
 Hello Steve,
 
 
 This is a very interesting email, mainly because one of the upcoming
 features we want to deliver with the next release of OpenNebula is
 integration with bare metal provisioning systems. So, I'd like to take
 this opportunity to ask for more opinions from the community about
 this feature. So, a few questions for the community:
 - Do you have a favourite PXE installation system you want to see
 OpenNebula integrated with

iPXE is by far the best PXE implementation.

 - Is there any specific feature of the bare metal provision system
 you'd like to see addressed?

Use a diskless kvm host over iSCSI (iSER ideally), configure it with the
same context methodology you're using for guests. Use a local SSD in the
host physical machine for swap.

 - Do you have any ideas / suggestions about this?
  
 For the moment, let me describe you what we do internally at
 OpenNebula to address this problem.
 
 
 - Manually install the bare metal system (once) and configure it:
   - network dhcp
   - remove persistent udev rules
   - configure hypervisor
   - oneadmin user, ruby, and the rest of opennebula dependencies
   - add SSH keys
   - etc
 - Restart the server and boot from system rescue cd [1] 
 - Backup the system installation by doing 'dd|gzip' of the disk drive
 over NFS to our NAS
 
 
 Once that's ready we deploy with a small webapp internally developed
 utility that does the following:
 - the webapp configures the tftpboot so that the server will boot a
 system rescue cd over pxe
 
 - once when the system rescue boots it automatically executes an
 autorun script [2] that is dynamically served by http by the webapp
 wich contains the command to  dump the backed up image to the disk.
 (I'm happy to share more configuration specific details)
 
 
 As you can see this has a few shortcomings, the most important one
 being that we aren't using kickstarts, basically because we want to
 cover all the OS.
 
 
 And answering your question about what do we use for Xen, we are
 currently using openSUSE since it has an out-of-the-box support for
 Xen which makes life a lot easier.
 
 
 [1] http://www.sysresccd.org/SystemRescueCd_Homepage
 [2] 
 http://www.sysresccd.org/Sysresccd-manual-en_Run_your_own_scripts_with_autorun
 
 
 
 Cheers,
 Jaime
 
 
 On Mon, Nov 5, 2012 at 4:34 PM, Steve Heistand
 steve.heist...@nasa.gov wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Im curious to know peoples' thoughts on how to take bare
 hardware
 without an OS and get a xen aware base kernel on it so it will
 take guest OS's from opennebula?
 
 I was looking around for options involving various live cds,
 found a nice livecd-xen thing but it hangs are boot time on
 our nodes.
 the console was complaining about a bad .iso file when it
 booted
 but the md5sum of it is at it should be. (its booted up with
 memdisk/gpxelinux/httpd)
 
 is there a handy/easy way to get new empty hardware available
 for opennebula?
 
 thanks
 
 steve
 
 
 
 - --
 
 
  Steve Heistand  NASA Ames Research
 Center
  email: steve.heist...@nasa.gov  Steve Heistand/Mail
 Stop 258-6
  ph: (650) 604-4369  Bldg. 258, Rm. 232-5
  Scientific  HPC ApplicationP.O. Box 1
  Development/OptimizationMoffett Field, CA
 94035-0001
 
 
  Any opinions expressed are those of our alien overlords, not
 my own.
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.14 (GNU/Linux)
 
 iEYEARECAAYFAlCYMOgACgkQoBCTJSAkVrHBYwCgtN9vJGa46j3yOzLU4bmaVagf
 Zh0AoN5OkHpkInjqAJrBbp7LX1e732FD
 =X0CW
 -END PGP SIGNATURE-
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 
 
 
 
 
 -- 
 Jaime Melis
 Project Engineer
 OpenNebula - The Open Source Toolkit for Cloud Computing
 www.OpenNebula.org | jme...@opennebula.org
 ___
 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] VNC problem from Sunstone interface

2012-11-06 Thread Hector Sanjuan

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

2012-11-06 Thread Jan Benadik

  
  
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 problem to start VNC session from Sunstone interface.

I have Ubuntu 12.04 Server with Opennebula 3.8.1 

Re: [one-users] VNC problem from Sunstone interface

2012-11-06 Thread Hector Sanjuan

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 problem to start 

Re: [one-users] GlusterFS on open nebula

2012-11-06 Thread Shankhadeep Shome
We use glusterfs with open nebula on two kvm nodes with mirroring with 6
bricks per node. We recommend gluster 3.3 with a back end network
connection, 10GbE or IB. For stress testing the file system you can use
dbench on a cluster of VMs. Gluster 3.2 wasn't very robust to node failure
but 3.3 is far more stable. I would say its ready for development lab use
and moderately heavy loads. For best performance, I would suggest using
cgroups to shield the glusterfs processes from the kvm processes or use
separate storage hosts.


On Fri, Nov 2, 2012 at 5:03 AM, Giovanni Toraldo m...@gionn.net wrote:

 On Fri, Nov 2, 2012 at 9:46 AM, Timothy Ehlers ehle...@gmail.com wrote:
  How does an instance react to a gluster node
  failure? On my POC cloud, killing a server causes all the other boxes to
  hang while the node times out in gluster.

 This is a GlusterFS well-known configuration issue, you may read
 documentation or ask about it on their ML.

 --
 Giovanni Toraldo
 http://gionn.net
 ___
 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] mooseFS OpenNebula integration

2012-11-06 Thread Shankhadeep Shome
look at glusterfs for mirrored storage configurations, its been very stable
for us since 3.3 and you don't need any special transfer drivers. standard
file system will suffice.


On Fri, Nov 2, 2012 at 5:16 AM, Jaime Melis jme...@opennebula.org wrote:

 Hi Matthias,

 in case you want to tune yourself the shared drivers, you may find this
 guide [1] useful, since it describes in detail the structure of the drivers:
 http://opennebula.org/documentation:rel3.8:sd

 cheers,
 Jaime


 On Fri, Nov 2, 2012 at 9:15 AM, Giovanni Toraldo m...@gionn.net wrote:

 Hi Matthias,

 On Thu, Nov 1, 2012 at 10:59 PM, Matthias Gasser matth...@theapp.at
 wrote:
  I've just followed the Instructions of the eBook Opennebula 3 Cloud
  Computing to setup a MooseFS data storage.

 Great!

  I'm sure OpenNebula will work with the shared network driver, but the
 book
  states an optimized shared transfer manager [1] - unfortunately quite
  outdated.
 
  Is anybody working on migrating that for 3.8?

 That driver in reality isn't doing anything special: it just use the
 mfsmakesnapshot command instead of the classic cp -r to speed-up
 cloning operations (lazy copy operation).

 I was planning to update that driver this weekend, but you can also
 use the standard shared driver, it will work without problems.

 --
 Giovanni Toraldo
 http://gionn.net
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




 --
 Jaime Melis
 Project Engineer
 OpenNebula - The Open Source Toolkit for Cloud Computing
 www.OpenNebula.org | jme...@opennebula.org

 ___
 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