Re: [one-users] OpenNebulaV3.0 + Openvswitch

2012-01-19 Thread Jaime Melis
Hello,

to make it easier for the user to tag a vlan in Sunstone, we have opened a
ticket to include specific support for VLAN and VLAN_ID in the network
creation dialog.

http://dev.opennebula.org/issues/1067

cheers,
Jaime

On Wed, Jan 18, 2012 at 4:24 PM, NEVEU Stephane 
stephane.ne...@thalesgroup.com wrote:

  Ok sorry regarding the documentation for opennebula 3.2 :

 http://opennebula.org/documentation:rel3.2:openvswitch

 ** **

 Compatibility layer for bridge is still needed and the way to tag a vlan
 is to set :

 ** **

 VLAN= YES

 VLAN_ID = 50   

 ** **

 --

 ** **

 *De :* users-boun...@lists.opennebula.org [mailto:
 users-boun...@lists.opennebula.org] *De la part de* NEVEU Stephane
 *Envoyé :* mercredi 18 janvier 2012 14:34
 *À :* users@lists.opennebula.org
 *Objet :* [one-users] OpenNebulaV3.0 + Openvswitch

 ** **

 Hi all,

 ** **

 Just some quick questions : 

 - Do I still need to use the compatibility layer for linux bridge (cf 
 documentation) to create my bridge with brctl or can I use ovs-vsctl add-br 
 br0 ?

 - Where can I tag a vlan in sunstone virtual networks ?

 ** **

 Many thanks,

 Regards,

 ** **

 ___
 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


Re: [one-users] Error in monitoring host

2012-01-19 Thread Raymundo Vasquez
Of course /var/tmp existed and was writable for everyone. That's why I
thought it is an installer issue.

2012/1/18 Javier Fontan jfon...@opennebula.org

 Did you have a directory with that name (/var/tmp/one) in the nodes
 when the errors were happening? Usually /var/tmp is writable by
 everyone but maybe we've just found a distro that does not setup the
 tmp dir that way.

 On Wed, Jan 18, 2012 at 2:09 PM, Raymundo Vasquez rvasq...@b-phot.org
 wrote:
  I've reported this already, and this worked for me
  http://dev.opennebula.org/issues/1041
 
  2012/1/18 Susmita Horrow hsusmi...@gmail.com
 
  Hello,
  The front end is able to ssh cluster passwordlessly.
  But while monitoring cluster, it is prompting for password
  The log file contains the following error.
 
  Wed Jan 18 15:55:40 2012 [InM][I]: Command execution fail: 'if [ -x
  /var/tmp/one/im/run_probes ]; then /var/tmp/one/im/run_probes vbox 2
  cluster@192.168.0.2; else  exit 42; fi'
  Wed Jan 18 15:55:40 2012 [InM][I]: /usr/lib/ruby/1.8/open3.rb:73:
 warning:
  Insecure world writable dir /srv/cloud/one in PATH, mode 040777
  Wed Jan 18 15:55:40 2012 [InM][I]: Permission denied, please try again.
  Wed Jan 18 15:55:40 2012 [InM][I]: Permission denied, please try again.
  Wed Jan 18 15:55:40 2012 [InM][I]: Permission denied
 (publickey,password).
  Wed Jan 18 15:55:40 2012 [InM][I]: ExitCode: 255
  Wed Jan 18 15:55:40 2012 [InM][E]: Error monitoring host 2 : MONITOR
  FAILURE 2
 
  What could be the possible error?
 
  Regards
  Susmita Horrow
 
  ___
  Users mailing list
  Users@lists.opennebula.org
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 
 
 
 
  --
  Raymundo Vásquez Ruiz
  rvasq...@b-phot.org
 
 
 
  ___
  Users mailing list
  Users@lists.opennebula.org
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 



 --
 Javier Fontán Muiños
 Project Engineer
 OpenNebula - The Open Source Toolkit for Data Center Virtualization
 www.OpenNebula.org | jfon...@opennebula.org | @OpenNebula
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




-- 
Raymundo Vásquez Ruiz
rvasq...@b-phot.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] How to access VMs?

2012-01-19 Thread Mohit Dhingra
*Hi All,*

I checked for online documentation for ssh configuration as well. I am not
clear with few things. Can somebody please explain..

I downloaded ttylinux (sample template). I modified my own template file
according to it.

As I could figure out from the init.sh file, it configures the VM's ip
address, netmask etc.
So, I provided the IP address in IP_PUBLIC Variable in Context in VM
Template file.

And then, it copies root rsa public key to root's authorized keys. ( Is it
VM's root ?  Which public key path should I give here? My Host's root
public key ? This is for ssh without password between ? )

After that, it creates one more user and does the same procedure for
created user. (Same question. Which rsa public key should I give here?
oneadmin's public key, that I generated in /srv/cloud/one/.ssh ? I have
already added that in oneadmin's /srv/cloud/one/.ssh/authorized_keys )

By using attached template files, I am able to create VMs, and in running
state as well, but I am not able to connect through VNC or ssh, or ping
itself.

oneadmin@cadlab:~/Templates/vm_templates vncviewer 10.112.10.54::5904
vncviewer: ConnectToTcpAddr: connect: No route to host
Unable to connect to VNC server

Any help would be grateful :-)

*
**Thanks  Regards
Mohit Dhingra
+919611190435*


On 18 January 2012 21:59, Mohit Dhingra mohitdhing...@gmail.com wrote:

 *Hi All,

 *I have been able to create host, vnet and VM, using CLI using attached
 template files. But I don't know how to access VMs.

 I tried pinging ip address assigned to VM - 10.112.10.52. But, was not
 able to get any reply.
 Then I tried using vncviewer.

 oneadmin@cadlab:~/Templates/vm_templates/Used vncviewer 10.112.10.52
 vncviewer: ConnectToTcpAddr: connect: No route to host
 Unable to connect to VNC server


 oneadmin@cadlab:~/Templates/vm_templates/Used onehost list
   ID NAME   RVM   TCPU   FCPU   ACPU   TMEM   FMEM   AMEM
 STAT
0 cadlab   2800795600 8G   3.4G 4G
 on

 oneadmin@cadlab:~/Templates/vm_templates/Used onevm list
 ID USER GROUPNAME STAT CPU MEM
 HOSTNAMETIME
  0 oneadmin oneadmin SUSEVM-2 runn   0  2G  cadlab 00
 07:21:04
  1 oneadmin oneadmin SUSEVM-2 runn   0  2G  cadlab 00
 02:34:05

 oneadmin@cadlab:~/Templates/vm_templates/Used onevnet list
   ID USER GROUPNAME  TYPE BRIDGE  LEASES
0 oneadmin oneadmin Public   F   eth0   2

 oneadmin@cadlab:~/Templates/vm_templates/Used onevm show 1
 VIRTUAL MACHINE 1
 INFORMATION
 ID  : 1
 NAME: SUSEVM-2
 USER: oneadmin
 GROUP   : oneadmin
 STATE   : ACTIVE
 LCM_STATE   : RUNNING
 HOSTNAME: cadlab
 START TIME  : 01/18 19:24:13
 END TIME: -
 DEPLOY ID   : one-1

 VIRTUAL MACHINE
 MONITORING
 NET_TX  : 3
 NET_RX  : 0
 USED MEMORY : 2097152
 USED CPU: 0

 PERMISSIONS

 OWNER   : um-
 GROUP   : ---
 OTHER   : ---

 VIRTUAL MACHINE
 TEMPLATE
 CONTEXT=[
   HOSTNAME=SUSEVM-2,
   TARGET=hdb ]
 CPU=1
 DISK=[
   CLONE=YES,
   DISK_ID=0,
   IMAGE=SUSE 11.4,
   IMAGE_ID=0,
   READONLY=NO,
   SAVE=NO,
   SOURCE=/srv/cloud_3_2/one/var/images/ce4d6171723f9b1d0b0b49bafde1133e,
   TARGET=hda,
   TYPE=DISK ]
 FEATURES=[
   ACPI=no ]
 GRAPHICS=[
   LISTEN=0.0.0.0,
   PORT=5902,
   TYPE=vnc ]
 MEMORY=2048
 NAME=one-1
 NIC=[
   BRIDGE=eth0,
   IP=10.112.10.52,
   MAC=02:00:0a:70:0a:34,
   NETWORK=Public,
   NETWORK_ID=0,
   VLAN=NO ]
 OS=[
   INITRD=/boot/initrd-xen,
   KERNEL=/boot/vmlinuz-xen,
   KERNEL_CMD=xencons=tty console=tty1,
   ROOT=xvda2 ]
 VMID=1

 Am I doing something wrong?

 *
 **
 
 Thanks  Regards
 Mohit Dhingra
 +919611190435*



SUSE_with_ssh_vnc.one
Description: Binary data


init.sh
Description: Bourne shell script
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Error in monitoring host

2012-01-19 Thread Javier Fontan
The installer does not put anything in that dir. It is populated the
first time the node is accessed by the IM (monitoring driver).

The only problem I can think of is that the directory already existed
with different ownership/permissions.

On Thu, Jan 19, 2012 at 12:08 PM, Raymundo Vasquez rvasq...@b-phot.org wrote:
 Of course /var/tmp existed and was writable for everyone. That's why I
 thought it is an installer issue.


 2012/1/18 Javier Fontan jfon...@opennebula.org

 Did you have a directory with that name (/var/tmp/one) in the nodes
 when the errors were happening? Usually /var/tmp is writable by
 everyone but maybe we've just found a distro that does not setup the
 tmp dir that way.

 On Wed, Jan 18, 2012 at 2:09 PM, Raymundo Vasquez rvasq...@b-phot.org
 wrote:
  I've reported this already, and this worked for me
  http://dev.opennebula.org/issues/1041
 
  2012/1/18 Susmita Horrow hsusmi...@gmail.com
 
  Hello,
  The front end is able to ssh cluster passwordlessly.
  But while monitoring cluster, it is prompting for password
  The log file contains the following error.
 
  Wed Jan 18 15:55:40 2012 [InM][I]: Command execution fail: 'if [ -x
  /var/tmp/one/im/run_probes ]; then /var/tmp/one/im/run_probes vbox 2
  cluster@192.168.0.2; else  exit 42; fi'
  Wed Jan 18 15:55:40 2012 [InM][I]: /usr/lib/ruby/1.8/open3.rb:73:
  warning:
  Insecure world writable dir /srv/cloud/one in PATH, mode 040777
  Wed Jan 18 15:55:40 2012 [InM][I]: Permission denied, please try again.
  Wed Jan 18 15:55:40 2012 [InM][I]: Permission denied, please try again.
  Wed Jan 18 15:55:40 2012 [InM][I]: Permission denied
  (publickey,password).
  Wed Jan 18 15:55:40 2012 [InM][I]: ExitCode: 255
  Wed Jan 18 15:55:40 2012 [InM][E]: Error monitoring host 2 : MONITOR
  FAILURE 2
 
  What could be the possible error?
 
  Regards
  Susmita Horrow
 
  ___
  Users mailing list
  Users@lists.opennebula.org
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 
 
 
 
  --
  Raymundo Vásquez Ruiz
  rvasq...@b-phot.org
 
 
 
  ___
  Users mailing list
  Users@lists.opennebula.org
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 



 --
 Javier Fontán Muiños
 Project Engineer
 OpenNebula - The Open Source Toolkit for Data Center Virtualization
 www.OpenNebula.org | jfon...@opennebula.org | @OpenNebula
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




 --
 Raymundo Vásquez Ruiz
 rvasq...@b-phot.org



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




-- 
Javier Fontán Muiños
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | jfon...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Extending VM monitoring system

2012-01-19 Thread Florian Antonescu
Hi All,

Can anyone tell me if it is possible to extend the VM monitoring system,
similar to extending the extension[1] of the host monitoring system?

Thank you,
Florian Antonescu

[1]
https://support.opennebula.pro/entries/352602-extending-the-monitoring-system
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Opennebula 3.2: Problem running install_gems

2012-01-19 Thread Florian Antonescu
I get an error (see below) when trying to
run opennebula-3.2.0/share/install_gems/install_gems Can someone give me a
hint on how to proceed?

Best regards,
Florian Antonescu

No LSB modules are available.
Distribution debian detected.
About to install these dependencies:
* gcc
* libexpat1-dev

Press enter to continue...

apt-get install gcc libexpat1-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version.
libexpat1-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 303 not upgraded.
About to install the gems for these components:
* optional
* sunstone
* quota
* cloud
* ozones_server
* acct
* auth_ldap

Press enter to continue...

rake=/usr/bin/rake gem install --no-ri --no-rdoc xmlparser
Building native extensions.  This could take a while...
ERROR:  Error installing xmlparser:
ERROR: Failed to build gem native extension.

/usr/bin/rake
RUBYARCHDIR=/var/lib/gems/1.8/gems/xmlparser-0.6.81/lib
RUBYLIBDIR=/var/lib/gems/1.8/gems/xmlparser-0.6.81/lib
rm -rf test/coverage
NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It
will be removed on or after 2011-10-01.
Gem::Specification#has_rdoc= called from
/var/lib/gems/1.8/gems/mkrf-0.2.3/lib/mkrf/rakehelper.rb:81
.
NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It
will be removed on or after 2011-10-01.
Gem::Specification#has_rdoc= called from
/var/lib/gems/1.8/gems/xmlparser-0.6.81/Rakefile:30
.
/usr/bin/ruby1.8 mkrf_conf.rb
(in /var/lib/gems/1.8/gems/xmlparser-0.6.81)
rake
gcc  -fPIC -fno-strict-aliasing -g -g -O2  -fPIC-DHAVE_EXPAT_H
-I/usr/include -I/usr/lib/ruby/1.8/x86_64-linux
-I/usr/local/lib/site_ruby/1.8 -I. -c xmlparser.c
(in /var/lib/gems/1.8/gems/xmlparser-0.6.81/ext/xmlparser)
xmlparser.c: In function âXMLParser_getIdAttrributeâ:
xmlparser.c:2022:16: error: âXMLParserâ has no member named âlastAttrsâ
rake aborted!
Command failed with status (1): [gcc  -fPIC -fno-strict-aliasing -g -g -O2
...]
/var/lib/gems/1.8/gems/xmlparser-0.6.81/ext/xmlparser/Rakefile:29
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [rake...]

(See full trace by running task with --trace)


Gem files will remain installed in /var/lib/gems/1.8/gems/xmlparser-0.6.81
for inspection.
Results logged to /var/lib/gems/1.8/gems/xmlparser-0.6.81/./gem_make.out
Error executing rake=/usr/bin/rake gem install --no-ri --no-rdoc xmlparser
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Opennebula 3.2: Problem running install_gems

2012-01-19 Thread Nasser Mooman
update your gem and rubygems.
gem update --system 1.3.7
gem install rubygems-update


I hope this helps.

--Mooman
On 19/01/2012 7:31 AM, Florian Antonescu wrote:
 I get an error (see below) when trying to
 run opennebula-3.2.0/share/install_gems/install_gems Can someone give
 me a hint on how to proceed?

 Best regards,
 Florian Antonescu

 No LSB modules are available.
 Distribution debian detected.
 About to install these dependencies:
 * gcc
 * libexpat1-dev

 Press enter to continue...

 apt-get install gcc libexpat1-dev
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 gcc is already the newest version.
 libexpat1-dev is already the newest version.
 0 upgraded, 0 newly installed, 0 to remove and 303 not upgraded.
 About to install the gems for these components:
 * optional
 * sunstone
 * quota
 * cloud
 * ozones_server
 * acct
 * auth_ldap

 Press enter to continue...

 rake=/usr/bin/rake gem install --no-ri --no-rdoc xmlparser
 Building native extensions.  This could take a while...
 ERROR:  Error installing xmlparser:
 ERROR: Failed to build gem native extension.

 /usr/bin/rake
 RUBYARCHDIR=/var/lib/gems/1.8/gems/xmlparser-0.6.81/lib
 RUBYLIBDIR=/var/lib/gems/1.8/gems/xmlparser-0.6.81/lib
 rm -rf test/coverage
 NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement.
 It will be removed on or after 2011-10-01.
 Gem::Specification#has_rdoc= called from
 /var/lib/gems/1.8/gems/mkrf-0.2.3/lib/mkrf/rakehelper.rb:81
 .
 NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement.
 It will be removed on or after 2011-10-01.
 Gem::Specification#has_rdoc= called from
 /var/lib/gems/1.8/gems/xmlparser-0.6.81/Rakefile:30
 .
 /usr/bin/ruby1.8 mkrf_conf.rb
 (in /var/lib/gems/1.8/gems/xmlparser-0.6.81)
 rake
 gcc  -fPIC -fno-strict-aliasing -g -g -O2  -fPIC-DHAVE_EXPAT_H
 -I/usr/include -I/usr/lib/ruby/1.8/x86_64-linux
 -I/usr/local/lib/site_ruby/1.8 -I. -c xmlparser.c
 (in /var/lib/gems/1.8/gems/xmlparser-0.6.81/ext/xmlparser)
 xmlparser.c: In function âXMLParser_getIdAttrributeâ:
 xmlparser.c:2022:16: error: âXMLParserâ has no member named âlastAttrsâ
 rake aborted!
 Command failed with status (1): [gcc  -fPIC -fno-strict-aliasing -g -g
 -O2 ...]
 /var/lib/gems/1.8/gems/xmlparser-0.6.81/ext/xmlparser/Rakefile:29
 (See full trace by running task with --trace)
 rake aborted!
 Command failed with status (1): [rake...]

 (See full trace by running task with --trace)


 Gem files will remain installed in
 /var/lib/gems/1.8/gems/xmlparser-0.6.81 for inspection.
 Results logged to /var/lib/gems/1.8/gems/xmlparser-0.6.81/./gem_make.out
 Error executing rake=/usr/bin/rake gem install --no-ri --no-rdoc
 xmlparser


 ___
 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] Opennebula 3.2: Problem running install_gems

2012-01-19 Thread Florian Antonescu
This gave me the following error, so I don't think it is the best way to go.
Could it be that there is an error in OpenNebula's install_gems script
(perhaps a version mismatch)?

ERROR:  gem update --system is disabled on Debian, because it will
overwrite the content of the rubygems Debian package, and might break your
Debian system in subtle ways. The Debian-supported way to update rubygems
is through apt-get, using Debian official repositories.
If you really know what you are doing, you can still update rubygems by
setting the REALLY_GEM_UPDATE_SYSTEM environment variable, but please
remember that this is completely unsupported by Debian.

On Thu, Jan 19, 2012 at 2:11 PM, Nasser Mooman nmoo...@yahoo.com wrote:

  update your gem and rubygems.
 gem update --system 1.3.7
 gem install rubygems-update


 I hope this helps.

 --Mooman

 On 19/01/2012 7:31 AM, Florian Antonescu wrote:

 I get an error (see below) when trying to
 run opennebula-3.2.0/share/install_gems/install_gems Can someone give me a
 hint on how to proceed?

  Best regards,
 Florian Antonescu

  No LSB modules are available.
 Distribution debian detected.
 About to install these dependencies:
 * gcc
 * libexpat1-dev

  Press enter to continue...

  apt-get install gcc libexpat1-dev
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 gcc is already the newest version.
 libexpat1-dev is already the newest version.
 0 upgraded, 0 newly installed, 0 to remove and 303 not upgraded.
 About to install the gems for these components:
 * optional
 * sunstone
 * quota
 * cloud
 * ozones_server
 * acct
 * auth_ldap

  Press enter to continue...

  rake=/usr/bin/rake gem install --no-ri --no-rdoc xmlparser
 Building native extensions.  This could take a while...
 ERROR:  Error installing xmlparser:
 ERROR: Failed to build gem native extension.

  /usr/bin/rake
 RUBYARCHDIR=/var/lib/gems/1.8/gems/xmlparser-0.6.81/lib
 RUBYLIBDIR=/var/lib/gems/1.8/gems/xmlparser-0.6.81/lib
 rm -rf test/coverage
 NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It
 will be removed on or after 2011-10-01.
 Gem::Specification#has_rdoc= called from
 /var/lib/gems/1.8/gems/mkrf-0.2.3/lib/mkrf/rakehelper.rb:81
 .
 NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It
 will be removed on or after 2011-10-01.
 Gem::Specification#has_rdoc= called from
 /var/lib/gems/1.8/gems/xmlparser-0.6.81/Rakefile:30
 .
 /usr/bin/ruby1.8 mkrf_conf.rb
 (in /var/lib/gems/1.8/gems/xmlparser-0.6.81)
 rake
 gcc  -fPIC -fno-strict-aliasing -g -g -O2  -fPIC-DHAVE_EXPAT_H
 -I/usr/include -I/usr/lib/ruby/1.8/x86_64-linux
 -I/usr/local/lib/site_ruby/1.8 -I. -c xmlparser.c
 (in /var/lib/gems/1.8/gems/xmlparser-0.6.81/ext/xmlparser)
 xmlparser.c: In function âXMLParser_getIdAttrributeâ:
 xmlparser.c:2022:16: error: âXMLParserâ has no member named âlastAttrsâ
  rake aborted!
 Command failed with status (1): [gcc  -fPIC -fno-strict-aliasing -g -g -O2
 ...]
 /var/lib/gems/1.8/gems/xmlparser-0.6.81/ext/xmlparser/Rakefile:29
 (See full trace by running task with --trace)
 rake aborted!
 Command failed with status (1): [rake...]

  (See full trace by running task with --trace)


  Gem files will remain installed in
 /var/lib/gems/1.8/gems/xmlparser-0.6.81 for inspection.
 Results logged to /var/lib/gems/1.8/gems/xmlparser-0.6.81/./gem_make.out
 Error executing rake=/usr/bin/rake gem install --no-ri --no-rdoc
 xmlparser


 ___
 Users mailing 
 listUsers@lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org



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


[one-users] Download link for OpenNebula 3.2 tar.gz archive

2012-01-19 Thread Florian Antonescu
Can anyone tell me the download link for OpenNebula 3.2 tar.gz archive? For
ONE 3.0 it was wget
http://dev.opennebula.org/attachments/download/478/opennebula-3.0.0.tar.gzbut
I don't seem to find a similar one for version 3.2.

Thank you,
Florian Antonescu
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Extending VM monitoring system

2012-01-19 Thread Carlos Martín Sánchez
Hi Florian,

You just need to edit your pool file,
i.e. /var/lib/one/remotes/vmm/hypervisor/poll, and add any extra
attribute you may need.
Remember to execute 'onehost sync' as oneadmin in the frontend whenever you
edit /var/lib/one/remotes files. The updated files will be copied to the
hosts in the next host monitorization cycle.

You can find development documentation about the VMM drivers here [1]

Regards

[1] http://opennebula.org/documentation:rel3.2:devel-vmm
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org


On Thu, Jan 19, 2012 at 1:08 PM, Florian Antonescu 
florinantone...@gmail.com wrote:

 Hi All,

 Can anyone tell me if it is possible to extend the VM monitoring system,
 similar to extending the extension[1] of the host monitoring system?

 Thank you,
 Florian Antonescu

 [1]
 https://support.opennebula.pro/entries/352602-extending-the-monitoring-system

 ___
 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


[one-users] (no subject)

2012-01-19 Thread Son Thach
You should have ONE_AUTH set the first time you start
OpenNebula as it is used to set the credentials for
the administrator user.
help me!

-- 
Son Van Thach
ET2-K52
Hanoi University of Science and Technology
Mobile: +84972000940
Email: sonhut...@gmail.com
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] bug? in xen support (in opennebula 3.2)

2012-01-19 Thread Javier Fontan
This bug should be fixed with this patch

http://dev.opennebula.org/projects/opennebula/repository/diff?rev=7bace8a793c96dd60c8624200ca16d0ced1475a6type=sbs

Downloadable link:
http://dev.opennebula.org/projects/opennebula/repository/revisions/7bace8a793c96dd60c8624200ca16d0ced1475a6/diff?format=difftype=sbs

On Wed, Jan 18, 2012 at 12:48 PM, Rolandas Naujikas
rolandas.nauji...@mif.vu.lt wrote:
 Hi,

 After some usage of Xen support in opennebula I found several bash -s
 processes (and connections) hung in Xen nodes. In previous version (3.0)
 it was not here. Restart of oned cleans them up.

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



-- 
Javier Fontán Muiños
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | jfon...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Download link for OpenNebula 3.2 tar.gz archive

2012-01-19 Thread Mohit Dhingra
http://downloads.opennebula.org/
Select OpenNebula3.2.0 tar ball
*

Thanks  Regards
Mohit Dhingra
+919611190435*


On 19 January 2012 19:27, Florian Antonescu florinantone...@gmail.comwrote:

 Can anyone tell me the download link for OpenNebula 3.2 tar.gz archive?
 For ONE 3.0 it was wget
 http://dev.opennebula.org/attachments/download/478/opennebula-3.0.0.tar.gzbut 
 I don't seem to find a similar one for version 3.2.

 Thank you,
 Florian Antonescu

 ___
 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


[one-users] one3.2: Problem creating image

2012-01-19 Thread Florian Antonescu
I am trying to create an image using OpenNebula 3.2 and the provided
ttylinux but I get some strange errors (see below). The strange thing is
that if I manually try to copy the image with cp
/srv/cloud/one/one-templates/ttylinux.img /srv/cloud/one/var/images/ it
works just fine. The /srv/cloud/one/var folder is exported using nfs to the
frontend and oneadmin can read and write both one-templates and var/images
folders.
Any ideas?

Thank you,
Florian Antonescu

Thu Jan 19 08:19:26 2012 [ReM][D]: ImageAllocate method invoked
Thu Jan 19 08:19:26 2012 [ImM][I]: Copying
/srv/cloud/one/one-templates/ttylinux.img to repository for image 2
Thu Jan 19 08:19:27 2012 [ImG][D]: Message received: LOG I 2 Command
execution fail: /srv/cloud/one/var/remotes/image/fs/cp
/srv/cloud/one/one-templates/ttylinux.img 2 2
Thu Jan 19 08:19:27 2012 [ImM][I]: Command execution fail:
/srv/cloud/one/var/remotes/image/fs/cp
/srv/cloud/one/one-templates/ttylinux.img 2 2
Thu Jan 19 08:19:27 2012 [ImG][D]: Message received: LOG E 2 cp: Not
allowed to copy images from /srv/cloud/one/var/ /srv/cloud/one/etc/
/srv/cloud/one/ /etc/
Thu Jan 19 08:19:27 2012 [ImM][E]: cp: Not allowed to copy images from
/srv/cloud/one/var/ /srv/cloud/one/etc/ /srv/cloud/one/ /etc/
Thu Jan 19 08:19:27 2012 [ImG][D]: Message received: LOG E 2 Not allowed to
copy image file /srv/cloud/one/one-templates/ttylinux.img
Thu Jan 19 08:19:27 2012 [ImM][E]: Not allowed to copy image file
/srv/cloud/one/one-templates/ttylinux.img
Thu Jan 19 08:19:27 2012 [ImG][D]: Message received: LOG I 2 ExitCode: 255
Thu Jan 19 08:19:27 2012 [ImM][I]: ExitCode: 255
Thu Jan 19 08:19:27 2012 [ImG][D]: Message received: CP FAILURE 2 Not
allowed to copy image file /srv/cloud/one/one-templates/ttylinux.img
Thu Jan 19 08:19:27 2012 [ImM][E]: Error copying image in the repository:
Not allowed to copy image file /srv/cloud/one/one-templates/ttylinux.img
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Download link for OpenNebula 3.2 tar.gz archive

2012-01-19 Thread Florian Antonescu
I want to use the download link with wget, not with a browser, in order to
use it in a script.

On Thu, Jan 19, 2012 at 5:25 PM, Mohit Dhingra mohitdhing...@gmail.comwrote:

 http://downloads.opennebula.org/
 Select OpenNebula3.2.0 tar ball
 *
 
 Thanks  Regards
 Mohit Dhingra
 +919611190435*


 On 19 January 2012 19:27, Florian Antonescu florinantone...@gmail.comwrote:

 Can anyone tell me the download link for OpenNebula 3.2 tar.gz archive?
 For ONE 3.0 it was wget
 http://dev.opennebula.org/attachments/download/478/opennebula-3.0.0.tar.gzbut
  I don't seem to find a similar one for version 3.2.

 Thank you,
 Florian Antonescu

 ___
 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


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


Re: [one-users] Opennebula 3.2: Problem running install_gems

2012-01-19 Thread Javier Fontan
xmlparser needs expat-devel pacage installed to compile. install_gems
script should install this package but anyway, can you check that it
is installed?

On Thu, Jan 19, 2012 at 1:31 PM, Florian Antonescu
florinantone...@gmail.com wrote:
 I get an error (see below) when trying to
 run opennebula-3.2.0/share/install_gems/install_gems Can someone give me a
 hint on how to proceed?

 Best regards,
 Florian Antonescu

 No LSB modules are available.
 Distribution debian detected.
 About to install these dependencies:
 * gcc
 * libexpat1-dev

 Press enter to continue...

 apt-get install gcc libexpat1-dev
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 gcc is already the newest version.
 libexpat1-dev is already the newest version.
 0 upgraded, 0 newly installed, 0 to remove and 303 not upgraded.
 About to install the gems for these components:
 * optional
 * sunstone
 * quota
 * cloud
 * ozones_server
 * acct
 * auth_ldap

 Press enter to continue...

 rake=/usr/bin/rake gem install --no-ri --no-rdoc xmlparser
 Building native extensions.  This could take a while...
 ERROR:  Error installing xmlparser:
         ERROR: Failed to build gem native extension.

         /usr/bin/rake
 RUBYARCHDIR=/var/lib/gems/1.8/gems/xmlparser-0.6.81/lib
 RUBYLIBDIR=/var/lib/gems/1.8/gems/xmlparser-0.6.81/lib
 rm -rf test/coverage
 NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It
 will be removed on or after 2011-10-01.
 Gem::Specification#has_rdoc= called from
 /var/lib/gems/1.8/gems/mkrf-0.2.3/lib/mkrf/rakehelper.rb:81
 .
 NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It
 will be removed on or after 2011-10-01.
 Gem::Specification#has_rdoc= called from
 /var/lib/gems/1.8/gems/xmlparser-0.6.81/Rakefile:30
 .
 /usr/bin/ruby1.8 mkrf_conf.rb
 (in /var/lib/gems/1.8/gems/xmlparser-0.6.81)
 rake
 gcc  -fPIC -fno-strict-aliasing -g -g -O2  -fPIC    -DHAVE_EXPAT_H
 -I/usr/include -I/usr/lib/ruby/1.8/x86_64-linux
 -I/usr/local/lib/site_ruby/1.8 -I. -c xmlparser.c
 (in /var/lib/gems/1.8/gems/xmlparser-0.6.81/ext/xmlparser)
 xmlparser.c: In function âXMLParser_getIdAttrributeâ:
 xmlparser.c:2022:16: error: âXMLParserâ has no member named âlastAttrsâ
 rake aborted!
 Command failed with status (1): [gcc  -fPIC -fno-strict-aliasing -g -g -O2
 ...]
 /var/lib/gems/1.8/gems/xmlparser-0.6.81/ext/xmlparser/Rakefile:29
 (See full trace by running task with --trace)
 rake aborted!
 Command failed with status (1): [rake...]

 (See full trace by running task with --trace)


 Gem files will remain installed in /var/lib/gems/1.8/gems/xmlparser-0.6.81
 for inspection.
 Results logged to /var/lib/gems/1.8/gems/xmlparser-0.6.81/./gem_make.out
 Error executing rake=/usr/bin/rake gem install --no-ri --no-rdoc xmlparser

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




-- 
Javier Fontán Muiños
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | jfon...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] oZones problems in 3.2

2012-01-19 Thread Rolandas Naujikas
Hi,

I just installed oZones and run it.
When I added my opennebula installation to it as zone I can see (as
oZones admin) all users and hosts (and virtual networks), but I see only
some images and templates and no virtual machines.

Regards, Rolandas Naujikas

P.S. http://opennebula.org/documentation:rel3.2:ozonescfg there is some
strange references There should be at least one Zone based on an
OpenNebula 3.0 installation

P.S. Documentation propose to use sqlite, mysql or postgresql for
database, but ozones-server (and corresponding ruby script) supports
only sqlite (and there no hints about other possibilities in
ozones-server.conf).
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] opennebula + OCCI

2012-01-19 Thread salma rebai
Hi all ,
I have used this  link
http://dev.opennebula.org/projects/ogf-occi/wiki/Example_requests  to test
some examples for creating resources with OpenNebula and this OCCI
Interface. These examples  work fine , But I don't find any information
about including context information to the VM (the Attribute CONTEXT in the
VM template) . Did OCCI interface support context?? how can I mention VM's
context (ip_address, private_addresse, rsa_keys)

Thanks in advance for your help :)
Cheers,

-- 
Salma REBAI
Ingénieur Informatique
Mastère Réseaux et Systèmes Multimédia
Ecole Nationale des Sciences Informatiques Univ. Manouba, Tunisie
Institut Télécom SudParis
rebai.sa...@gmail.com
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] oZones problems in 3.2

2012-01-19 Thread Tino Vazquez
Dear Rolandas,

I did reproduce the problem, and opened a ticket accordingly [1] in
order to keep track of the solution.

About the sentence

--
There should be at least one Zone based on an OpenNebula 3.0 installation
--

I've changed it to

--
There should be at least one Zone based on an OpenNebula 3.0+ installation
--

And about the different DBs,you should have a

:databasetype: sqlite

in /etc/one/ozones-server.conf. Please let me know if this is missing,
and which exact version ar you using.

Regards,

-Tino

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

--
Constantino Vázquez Blanco, MSc
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | @tinova79 | @OpenNebula



On Thu, Jan 19, 2012 at 6:12 PM, Rolandas Naujikas
rolandas.nauji...@mif.vu.lt wrote:
 Hi,

 I just installed oZones and run it.
 When I added my opennebula installation to it as zone I can see (as
 oZones admin) all users and hosts (and virtual networks), but I see only
 some images and templates and no virtual machines.

 Regards, Rolandas Naujikas

 P.S. http://opennebula.org/documentation:rel3.2:ozonescfg there is some
 strange references There should be at least one Zone based on an
 OpenNebula 3.0 installation

 P.S. Documentation propose to use sqlite, mysql or postgresql for
 database, but ozones-server (and corresponding ruby script) supports
 only sqlite (and there no hints about other possibilities in
 ozones-server.conf).
 ___
 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


[one-users] ONE 3.2 VM Management issues

2012-01-19 Thread Deep Dish
Good day,


I’m performing an initial deployment of OpenNebula 3.2 (same issues
persist on 2.2, 3.0 as well) and having several challenges:

The environment:


Ubuntu 11.10 server (front-end + compute nodes)

ONE 3.2 built from source

Installed as per instructions on OpenNebula.org for v3.2.

QEMU is running as user oneadmin and group cloud.

1.  A VM can be deployed using a template I create and .raw disk
image uploaded as an image.   The VM enters the RUNNING state, however
issues exist when attempting to stop the image.   It seems that
there’s permissions missing somewhere.

2.  Automatic assignment of hostname + network address does not
work.   Although, when the VM is in RUNNING state an IP address is
properly leased out to the instance from the available pool, it is not
configured on the instance.   VM NIC is configured for DHCP
assignment.


/var/log/libvirt/libvirt.log:

13:30:44.127: 1478: error : virFileOpenAsNoFork:669 : cannot chown
'/var/lib/one//3/images/checkpoint' to (0, 0): Invalid argument

13:30:44.128: 1478: error : qemudDomainSaveFlag:2084 : Failed to
create domain save file '/var/lib/one//3/images/checkpoint': Invalid
argument



3.log:

Thu Jan 19 13:28:17 2012 [DiM][I]: New VM state is ACTIVE.

Thu Jan 19 13:28:17 2012 [LCM][I]: New VM state is PROLOG.

Thu Jan 19 13:28:17 2012 [VM][I]: Virtual Machine has no context

Thu Jan 19 13:28:33 2012 [TM][D]: tm_clone.sh:
hst04:/var/lib/one/images/0deab2bb9b8d75c9f1e9c195a2aa4eed
hst05:/var/lib/one//3/images/disk.0

Thu Jan 19 13:28:33 2012 [TM][D]: tm_clone.sh: DST:
/var/lib/one//3/images/disk.0

Thu Jan 19 13:28:33 2012 [TM][I]: tm_clone.sh: Creating directory
/var/lib/one//3/images

Thu Jan 19 13:28:33 2012 [TM][I]: tm_clone.sh: Executed mkdir -p
/var/lib/one//3/images.

Thu Jan 19 13:28:33 2012 [TM][I]: tm_clone.sh: Executed chmod a+w
/var/lib/one//3/images.

Thu Jan 19 13:28:33 2012 [TM][I]: tm_clone.sh: Cloning
/var/lib/one/images/0deab2bb9b8d75c9f1e9c195a2aa4eed

Thu Jan 19 13:28:33 2012 [TM][I]: tm_clone.sh: Executed cp -r
/var/lib/one/images/0deab2bb9b8d75c9f1e9c195a2aa4eed
/var/lib/one//3/images/disk.0.

Thu Jan 19 13:28:33 2012 [TM][I]: tm_clone.sh: Executed chmod a+rw
/var/lib/one//3/images/disk.0.

Thu Jan 19 13:28:33 2012 [TM][I]: ExitCode: 0

Thu Jan 19 13:29:27 2012 [LCM][I]: New VM state is BOOT

Thu Jan 19 13:29:27 2012 [VMM][I]: Generating deployment file:
/var/lib/one/3/deployment.0

Thu Jan 19 13:29:27 2012 [VMM][I]: ExitCode: 0

Thu Jan 19 13:29:27 2012 [VMM][I]: Successfully execute network driver
operation: pre.

Thu Jan 19 13:29:29 2012 [VMM][I]: ExitCode: 0

Thu Jan 19 13:29:29 2012 [VMM][I]: Successfully execute virtualization
driver operation: deploy.

Thu Jan 19 13:29:29 2012 [VMM][I]: ExitCode: 0

Thu Jan 19 13:29:29 2012 [VMM][I]: Successfully execute network driver
operation: post.

Thu Jan 19 13:29:34 2012 [LCM][I]: New VM state is RUNNING

Thu Jan 19 13:30:43 2012 [LCM][I]: New VM state is SAVE_STOP

Thu Jan 19 13:30:44 2012 [VMM][I]: Command execution fail:
/var/tmp/one/vmm/kvm/save one-3 /var/lib/one//3/images/checkpoint
hst05 3 hst05

Thu Jan 19 13:30:44 2012 [VMM][E]: save: Command virsh --connect
qemu:///system save one-3 /var/lib/one//3/images/checkpoint failed.

Thu Jan 19 13:30:44 2012 [VMM][E]: save: error: Failed to save domain
one-3 to /var/lib/one//3/images/checkpoint

Thu Jan 19 13:30:44 2012 [VMM][I]: error: Failed to create domain save
file '/var/lib/one//3/images/checkpoint': Invalid argument

Thu Jan 19 13:30:44 2012 [VMM][E]: Could not save one-3 to
/var/lib/one//3/images/checkpoint

Thu Jan 19 13:30:44 2012 [VMM][I]: ExitCode: 1

Thu Jan 19 13:30:44 2012 [VMM][I]: Failed to execute virtualization
driver operation: save.

Thu Jan 19 13:30:44 2012 [VMM][E]: Error saving VM state: Could not
save one-3 to /var/lib/one//3/images/checkpoint

Thu Jan 19 13:30:44 2012 [LCM][I]: Fail to save VM state. Assuming
that the VM is still RUNNING (will poll VM).

Thu Jan 19 13:30:44 2012 [VMM][I]: ExitCode: 0

Thu Jan 19 13:30:45 2012 [VMM][D]: Monitor Information:

    CPU   : 25

    Memory: 1048576

    Net_TX: 0

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