Re: [one-users] Reference CONTEXT variables within CONTEXT

2013-05-20 Thread Valentin Bud
Hi,

On Sat, May 18, 2013 at 12:05 PM, Valentin Bud valentin@gmail.comwrote:

 Hello Carlos,

 I would gladly open a request if you and others from the community think
 this is useful.
 I see this topic as a Request For Comments :-).

 For me the NAME of the VM would prove useful to be available within
 CONTEXT. The NAME being the `onetemplate instantiate 8 --name NAME`

 This way I could have the following template which the users could use:

 CONTEXT=[
   CONTEXT_FILES_LOCATION=$CONTEXT_FILES_LOCATION,
   DOMAIN=$DOMAIN,
   FILES=$CONTEXT_FILES_LOCATION/$FQDN/ssh_host_rsa_key
   $CONTEXT_FILES_LOCATION/$FQDN/ssh_host_rsa_key.pub,
   FQDN=$HOSTNAME.$DOMAIN.,
   HOSTNAME=$HOSTNAME ]
 CONTEXT_FILES_LOCATION=/var/lib/cloud/context
 CPU=1
 DISK=[
   IMAGE=debian6-stable ]
 DISK=[
   IMAGE=vdb.$HOSTNAME.$DOMAIN ]
 DOMAIN=domain.tld
 GRAPHICS=[
   LISTEN=0.0.0.0,
   TYPE=vnc ]
 ** HOSTNAME=$NAME  **
 MEMORY=2048
 NIC=[
   NETWORK=dev.domain.tld ]
  OS=[
   ARCH=x86_64 ]
 VCPU=4

 From Sunstone, at instantiation time you are asked to give the VM a name.
 That NAME could be used in the template also. Maybe NAME is not the proper
 way for this variable.


I meant that maybe NAME is not the proper name for this variable. Another
question would be: could I use a variable, DB_NAME for example, in the
template and reference that from within IMAGE? I will try this today and
come back with the results.

DB_NAME=dbtest
HOSTNAME=$DB_NAME

DISK=[
  IMAGE=vdb.$DB_NAME.domain.tld ]

I am trying to simplify the instantiation process for the users by
providing the template and creating the second disk on the fly. In this way
the user would only change the DB_NAME to a given name and everything would
happen automagically behind the scenes.

For now, the user needs to clone a persistent image for the second disk,
change the $HOSTNAME and the name of the second disk to the one previously
cloned. After this two steps the user can instantiate the new VM. This
process is prone to human errors.

If I could save the second disk and reference the DB_NAME from within IMAGE
I would restrict all the attributes from the template besides DB_NAME and
the process would be less prone to errors.

Does the above make any sense?



 The above applies to my use case. In my case each project I run on top of
 OpenNebula is a (sub)domain.

 The above would ease the process of instantiating a new VM. Maybe I could
 even use a hook to create the second image on the fly at CREATE time,
 though I think OpenNebula would complain that the disk is missing. Haven't
 tested this yet.


I am off the track here. It would be nice to be able to save the Volatile
disks. In my use case we need to preserve the disk on which the DB lives
for accounting purposes. I don't see a point in reinventing the wheel with
a hook.

Thanks for your input on this matter.
Cheers and Goodwill,



 Thoughts? Thanks.

 Cheers and Goodwill,


 On Fri, May 17, 2013 at 4:47 PM, Carlos Martín Sánchez 
 cmar...@opennebula.org wrote:

 Hi,

 I'm glad you found a way to make it work.

 If it is really needed, we could add support to reference other context
 attributes. Please open a request If you still think it would be better.

 Cheers,
 Carlos

 --
 Join us at OpenNebulaConf2013 http://opennebulaconf.com in Berlin,
 24-26 September, 2013
 --
 Carlos Martín, MSc
 Project Engineer
 OpenNebula - The Open-source Solution for Data Center Virtualization
 www.OpenNebula.org | cmar...@opennebula.org | 
 @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org


 On Thu, May 16, 2013 at 2:14 PM, Valentin Bud valentin@gmail.comwrote:

 Hello Community,

 First of all, I apologise I forgot to say hi in my previous E-Mail :|.

 On Thu, May 16, 2013 at 10:28:14AM +0300, Valentin Bud wrote:
  I am trying to reference the CONTEXT variables from within CONTEXT.
 
  For example, I define the DOMAIN=domain.tld and the HOSTNAME=host.
  I would like to have a variable FQDN=$HOST.$DOMAIN..
 
  I have tried to achieve the above using the following in CONTEXT
 section
  of the template.
 
  Case I
  --
 
  $ onetemplate show vars
 
  TEMPLATE CONTENTS
  CONTEXT=[
DOMAIN=domain.tld,
FQDN=$DOMAIN.$HOSTNAME.,
HOSTNAME=host ]
 
  [... output omitted for brevity ...]
 
  Instantiating the template results in the following variables added to
  the VM.
 
  $ onevm show vars
 
  VIRTUAL MACHINE TEMPLATE
  CONTEXT=[
DISK_ID=1,
DOMAIN=domain.tld,
*FQDN=..,*
HOSTNAME=host,
TARGET=hda ]
 
  Case II
  --
 
  $ onetemplate show vars
 
  CONTEXT=[
DOMAIN=domain.tld,
FQDN=$CONTEXT[$DOMAIN].$CONTEXT[$HOSTNAME].,
HOSTNAME=host ]
  [... output omitted for brevity ...]
 
  Same result in the VM.
 
  $ onevm show vars
 
  VIRTUAL MACHINE TEMPLATE
  CONTEXT=[
DISK_ID=1,
DOMAIN=domain.tld,
*FQDN=..*,
HOSTNAME=host,
TARGET=hda ]
  [... output omitted for brevity ...]
 
  Is it possible to achieve what am I trying or should I search for a new
  solution?
 
  

Re: [one-users] Probelm with vmware.rb when onehost create with vmware drivers in OpenNebula4.0

2013-05-20 Thread Tino Vazquez
Hi,

Let's see if libvirt is working then. As oneadmin, in the front-end
(this will ask for the ESX credentials):

$ virsh -c das-vsilo23.cimex.com.cu --readonly nodeinfo

BTW, what version of ruby are you using?

Regards,

-Tino
--
Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013 |
www.opennebulaconf.com

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


On Fri, May 17, 2013 at 8:18 PM,  ahernan...@tesla.cujae.edu.cu wrote:
 I used this ESXi for up a cloud with OpenNebula 3.8.3 and work ,,, the
 connection is ok.

 Other Ideas?


 El 2013-05-17 05:03, Tino Vazquez escribió:

 Hi,

 Let's discard connectivity issues. Can you telnet
 das-vsilo23.cimex.com.cu, ports 80 and 443?

 Regards,

 -Tino
 --
 Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013 |
 www.opennebulaconf.com

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


 On Thu, May 16, 2013 at 3:25 PM,  ahernan...@tesla.cujae.edu.cu wrote:

 Hi Tino

 I run ruby -dw /var/lib/one/remotes/im/vmware.d/vmware.rb vmware 7
 das-vsilo23.cimex.com.cu

 oneadmin@opennebula:~$ ruby -dw
 /var/lib/one/remotes/im/vmware.d/vmware.rb
 vmware 7 das-vsilo23.cimex.com.cu
 /var/lib/one/remotes/im/vmware.d/vmware.rb:131: warning: ambiguous first
 argument; put parentheses or even spaces
 /var/lib/one/remotes/im/vmware.d/vmware.rb:172: warning: ambiguous first
 argument; put parentheses or even spaces
 /var/lib/one/remotes/im/vmware.d/vmware.rb:184: warning: ambiguous first
 argument; put parentheses or even spaces
 Exception `NoMethodError' at /usr/lib/ruby/1.8/rational.rb:78 - undefined
 method `gcd' for Rational(1, 2):Rational
 Exception `LoadError' at /usr/lib/ruby/vendor_ruby/1.8/rubygems.rb:1241 -
 no
 such file to load -- rubygems/defaults/operating_system
 /usr/lib/one/ruby/opennebula/xml_pool.rb:24: warning: method redefined;
 discarding old initialize
 /usr/lib/one/ruby/opennebula/xml_pool.rb:30: warning: method redefined;
 discarding old each_element
 Exception `LoadError' at
 /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36 - no such
 file
 to load -- nokogiri
 Exception `LoadError' at
 /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36 - no such
 file
 to load -- xmlparser
 Exception `LoadError' at
 /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:62 - no such
 file
 to load -- xmlparser
 /usr/lib/one/ruby/opennebula/host.rb:123: warning: ambiguous first
 argument;
 put parentheses or even spaces
 ^CException `Interrupt' at /usr/lib/one/ruby/CommandManager.rb:79 -

 /usr/lib/one/ruby/CommandManager.rb:79:in `read': Interrupt
 from /usr/lib/one/ruby/CommandManager.rb:79:in `run'
 from /usr/lib/one/ruby/CommandManager.rb:50:in `run'
 from /var/lib/one/remotes/im/vmware.d/vmware.rb:65:in `do_action'
 from /var/lib/one/remotes/im/vmware.d/vmware.rb:147


 I analyze the output and decide install libxml-parser-ruby and
 libnokogiri-ruby

 #apt-get install libxml-parser-ruby
 #apt-get install libnokogiri-ruby

 I run again ruby -dw /var/lib/one/remotes/im/vmware.d/vmware.rb vmware 7
 das-vsilo23.cimex.com.cu, and get this output

 oneadmin@opennebula:~$ ruby -dw
 /var/lib/one/remotes/im/vmware.d/vmware.rb
 vmware 7 das-vsilo23.cimex.com.cu
 /var/lib/one/remotes/im/vmware.d/vmware.rb:131: warning: ambiguous first
 argument; put parentheses or even spaces
 /var/lib/one/remotes/im/vmware.d/vmware.rb:172: warning: ambiguous first
 argument; put parentheses or even spaces
 /var/lib/one/remotes/im/vmware.d/vmware.rb:184: warning: ambiguous first
 argument; put parentheses or even spaces
 Exception `NoMethodError' at /usr/lib/ruby/1.8/rational.rb:78 - undefined
 method `gcd' for Rational(1, 2):Rational
 Exception `LoadError' at /usr/lib/ruby/vendor_ruby/1.8/rubygems.rb:1241 -
 no
 such file to load -- rubygems/defaults/operating_system
 /usr/lib/one/ruby/opennebula/xml_pool.rb:24: warning: method redefined;
 discarding old initialize
 /usr/lib/one/ruby/opennebula/xml_pool.rb:30: warning: method redefined;
 discarding old each_element
 /usr/lib/one/ruby/opennebula/host.rb:123: warning: ambiguous first
 argument;
 put parentheses or even spaces

 I push Ctrl+C because command froze, and get

 ^CException `Interrupt' at /usr/lib/one/ruby/CommandManager.rb:79 -

 /usr/lib/one/ruby/CommandManager.rb:79:in `read': Interrupt
 from /usr/lib/one/ruby/CommandManager.rb:79:in `run'
 from /usr/lib/one/ruby/CommandManager.rb:50:in `run'
 from /var/lib/one/remotes/im/vmware.d/vmware.rb:65:in `do_action'
 from /var/lib/one/remotes/im/vmware.d/vmware.rb:147

 The Process complete is:

 oneadmin@opennebula:~$ ruby -dw
 /var/lib/one/remotes/im/vmware.d/vmware.rb
 vmware 7 das-vsilo23.cimex.com.cu
 

[one-users] Problem while copying image using default datastore configuration of OpenNebula 4

2013-05-20 Thread Andranik Hayrapetyan
Good day.

I installed OpenNebula 4 on Centos 6.4 and tried to configure it with the
guides provided in official website. it seems everything was OK. but now I
have an error while I am trying to create a vm.

here is the log of vm:

Mon May 20 10:44:45 2013 [DiM][I]: New VM state is ACTIVE.
Mon May 20 10:44:45 2013 [LCM][I]: New VM state is PROLOG.
Mon May 20 10:44:45 2013 [VM][I]: Virtual Machine has no context
Mon May 20 10:44:46 2013 [TM][I]: Command execution fail:
/var/lib/one/remotes/tm/shared/clone
dashboard.blacksea-cloud.net:/var/lib/one/datastores/1/c2dae15f10749835ff97d4ae713de233
node2:/var/lib/one//datastores/0/2/disk.0 2 1
Mon May 20 10:44:46 2013 [TM][I]: clone: Cloning
/var/lib/one/datastores/1/c2dae15f10749835ff97d4ae713de233 in
node2:/var/lib/one//datastores/0/2/disk.0
Mon May 20 10:44:46 2013 [TM][E]: clone: Command cd
/var/lib/one/datastores/0/2; cp -r
/var/lib/one/datastores/1/c2dae15f10749835ff97d4ae713de233
/var/lib/one/datastores/0/2/disk.0 failed: cp: cannot stat
`/var/lib/one/datastores/1/c2dae15f10749835ff97d4ae713de233': No such file
or directory
Mon May 20 10:44:46 2013 [TM][E]: Error copying
dashboard.blacksea-cloud.net:/var/lib/one/datastores/1/c2dae15f10749835ff97d4ae713de233
to node2:/var/lib/one//datastores/0/2/disk.0
Mon May 20 10:44:46 2013 [TM][I]: ExitCode: 1
Mon May 20 10:44:46 2013 [TM][E]: Error executing image transfer script:
Error copying 
dashboard.blacksea-cloud.net:/var/lib/one/datastores/1/c2dae15f10749835ff97d4ae713de233
to node2:/var/lib/one//datastores/0/2/disk.0
Mon May 20 10:44:46 2013 [DiM][I]: New VM state is FAILED

can anyone help me??

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


Re: [one-users] QEMU hangs on Booting from hard disk

2013-05-20 Thread Carlos Martín Sánchez
Hi,

Maybe you could try the ttylinux sample Vm to discard any problems in your
infrastructure.

http://marketplace.c12g.com/appliance/4fc76a938fb81d351703

Cheers

--
Join us at OpenNebulaConf2013 http://opennebulaconf.com in Berlin, 24-26
September, 2013
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org


On Sat, May 4, 2013 at 3:04 PM, Sangeeth Kumar
sangeethkumar...@gmail.comwrote:

 I'm trying to install windows xp in a vm using virsh command. While I'm
 trying to access the vm through VNC viewer, the QEMU hangs with a message
 Booting from hard disk. I don't know what's the problem. Can u please
 help me?

 ___
 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] Problem Configuring Opennebula

2013-05-20 Thread Daniel Molina
Hi,


On 17 May 2013 13:01, Sururah Apinke apinkebe...@yahoo.com wrote:

 Hello,
 I did
 bello@bello-OptiPlex-755:~$ /srv/cloud/one/bin/sunstone-server -H start
 It gave the message below
 Usage: sunstone-server {start|stop|restart}
 then, i did
 bello@bello-OptiPlex-755:~$ /srv/cloud/one/bin/sunstone-server start
 another error message

 grep: /etc/one/sunstone-server.conf: No such file or directory
 Cannot find /usr/lib/one/sunstone/sunstone-server.rb.
 Then I install rack-protection
 I did
 bello@bello-OptiPlex-755:~$ /srv/cloud/one/bin/sunstone-server start
 Error again
 grep: /etc/one/sunstone-server.conf: No such file or directory
 Cannot find /usr/lib/one/sunstone/sunstone-server.rb.

 What can I do please?


How did you install OpenNebula and what version?

Cheers.

-- 
Join us at OpenNebulaConf2013 http://opennebulaconf.com/ in Berlin, 24-26
September, 2013
--
Daniel Molina
Project Engineer
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Error executing image transfer script: Transfer Driver 'shared' not available

2013-05-20 Thread Carlos Martín Sánchez
Hi,

With that configuration, you are enabling the ssh driver in oned.conf. But
you still need to set it for the datastores.

If you do a onedatastore list/show, you will see the 'shared' tm mad driver
is used. This can be changed to 'ssh' with the onedatastore update command.

Cheers

--
Join us at OpenNebulaConf2013 http://opennebulaconf.com in Berlin, 24-26
September, 2013
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org


On Thu, May 9, 2013 at 2:43 PM, Me OpenN meandopenneb...@gmail.com wrote:

 Hei,
 I am using trying to create a VM But when I list the VM its status is
 pending. The log for the VM is bellow. I am *suspicious about some
 configuration in oned.conf  file:*
 *

 # SSH Transfer Manager Driver Configuration
 TM_MAD = [
   name= tm_ssh,
   executable = one_tm,
   arguments  = -t 15 -d ssh ]

 DATASTORE_MAD = [
 executable = one_datastore,
 arguments  = -t 15 -d fs,vmware,vmfs,iscsi,lvm
 ]

 *
 Is this configuration right if i use NonShared datastore and using SSH as
 transfer method?! How can i solve this issue?!

 Cheers, Behzad




 root@pc-66:/tmp/ttylinux# cat /var/log/one/2.log
 Thu May  9 14:34:24 2013 [DiM][I]: New VM state is ACTIVE.
 Thu May  9 14:34:24 2013 [LCM][I]: New VM state is PROLOG.
 Thu May  9 14:34:24 2013 [VM][I]: Virtual Machine has no context
 Thu May  9 14:34:24 2013 [TM][E]: Error executing image transfer script:
 Transfer Driver 'shared' not available
 Thu May  9 14:34:24 2013 [DiM][I]: New VM state is FAILED
 Thu May  9 14:34:24 2013 [DiM][I]: New VM state is CLEANUP.
 Thu May  9 14:34:24 2013 [TM][E]: Error executing image transfer script:
 Transfer Driver 'shared' not available
 Thu May  9 14:34:24 2013 [DiM][I]: New VM state is PENDING
 Thu May  9 14:34:24 2013 [HKM][I]: ExitCode: 0
 Thu May  9 14:34:24 2013 [HKM][I]: Success executing Hook:
 on_failure_resubmit: .
 Thu May  9 14:34:54 2013 [DiM][I]: New VM state is ACTIVE.
 Thu May  9 14:34:54 2013 [LCM][I]: New VM state is PROLOG.
 Thu May  9 14:34:54 2013 [VM][I]: Virtual Machine has no context
 Thu May  9 14:34:54 2013 [TM][E]: Error executing image transfer script:
 Transfer Driver 'shared' not available
 Thu May  9 14:34:54 2013 [DiM][I]: New VM state is FAILED
 Thu May  9 14:34:54 2013 [DiM][I]: New VM state is CLEANUP.
 Thu May  9 14:34:54 2013 [TM][E]: Error executing image transfer script:
 Transfer Driver 'shared' not available
 Thu May  9 14:34:54 2013 [DiM][I]: New VM state is PENDING
 Thu May  9 14:34:54 2013 [HKM][I]: ExitCode: 0
 Thu May  9 14:34:54 2013 [HKM][I]: Success executing Hook:
 on_failure_resubmit: .
 root@pc-66:/tmp/ttylinux#


 ___
 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] vm deployment error

2013-05-20 Thread Carlos Martín Sánchez
Hi,

It may be a problem with your shared storage. Please check that the
datastore paths are correctly exported to the hosts, and that oneadmin has
rights to us them.

Cheers


--
Join us at OpenNebulaConf2013 http://opennebulaconf.com in Berlin, 24-26
September, 2013
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org


On Wed, May 15, 2013 at 8:20 AM, anagha b banag...@gmail.com wrote:

 Hi,

 Installed opennebula-3.8.3 in self contained mode.

 I have created vm successfully before but after that lost pwdless
 connection between host n opennbula frontend so restablished ssh pwdless
 connection.While creating this pwdless ssh new keys copied from frontend to
 host and restarted ssh service.

 Now i am trying to create vm then getting error

 this is my vm template
 --

 VIRTUAL MACHINE TEMPLATE

 CPU=1
 DISK=[
   CLONE=YES,
   DATASTORE=default,
   DATASTORE_ID=1,
   DEV_PREFIX=hd,
   DISK_ID=0,
   IMAGE=u10,
   IMAGE_ID=82,
   IMAGE_UNAME=oneadmin,
   READONLY=YES,
   SAVE=NO,

 SOURCE=/srv/cloud/one/var/datastores/1/b57cc7b81e62e2f819263913a7c2d599,
   TARGET=hdb,
   TM_MAD=shared,
   TYPE=CDROM ]
 DISK=[
   CLONE=NO,
   DATASTORE=default,
   DATASTORE_ID=1,
   DEV_PREFIX=hd,
   DISK_ID=1,
   IMAGE=u10db,
   IMAGE_ID=83,
   IMAGE_UNAME=oneadmin,
   PERSISTENT=YES,
   READONLY=NO,
   SAVE=YES,

 SOURCE=/srv/cloud/one/var/datastores/1/31758c6ed595ba4f7b54980e8e533ce3,
   TARGET=hda,
   TM_MAD=shared,
   TYPE=FILE ]
 ERROR=[
   MESSAGE=Error executing image transfer script: Error copying anagha*
 [frontend]*:/srv/cloud/one/var/datastores/1/b57cc7b81e62e2f819263913a7c2d599
 to hostip*[host]*:/srv/cloud/one/var//datastores/0/150/disk.0,
   TIMESTAMP=Wed May 15 11:19:04 2013 ]
 FEATURES=[
   ACPI=yes ]
 GRAPHICS=[
   KEYMAP=es,
   PORT=6050,
   TYPE=vnc ]
 MEMORY=1024
 NAME=one-150
 NIC=[
   BRIDGE=virbr0,
   IP=192.168.1.1,
   MAC=02:00:c0:a8:01:01,
   NETWORK=mynet,
   NETWORK_ID=6,
   NETWORK_UNAME=oneadmin,
   PHYDEV=eth1,
   VLAN=YES ]
 OS=[
   ARCH=i686,
   BOOT=cdrom ]
 RAW=[
   TYPE=kvm ]
 TEMPLATE_ID=98
 VCPU=1
 VMID=150
 ---

 plz help

 ___
 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] self service portal in sanbox Openebula cloud

2013-05-20 Thread Carlos Martín Sánchez
Hi,

The sandbox VM is just a regular OpenNebula 4.0 installation, with
localhost setup as a qemu host. You can then add other VMware hosts.

Regards.

--
Join us at OpenNebulaConf2013 http://opennebulaconf.com in Berlin, 24-26
September, 2013
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org


On Sat, May 18, 2013 at 11:32 AM, Mahzad Zahedi ict.mywork2...@gmail.comwrote:

 Hi Dear All

 I am New in Open Nebula!

 I need to deploy an open source self service portal with VM Ware
 infrastructure.Is it sandbox version for this purpose?

 On 5/18/13, Mahzad Zahedi ict.mywork2...@gmail.com wrote:
  Hi Dear All
 
  I am New in Open Nebula!
 
  I need to deploy an open source self service portal with VM Ware
  infrastructure.Is it sandbox version for this purpose?
 
 ___
 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] Problem while copying image using default datastore configuration of OpenNebula 4

2013-05-20 Thread Carlos Martín Sánchez
Hi,

You are using the 'shared' tm drivers for the datastore 1. Can you please
check that the path is correctly exported to node2, and that oneadmin can
access it?

Cheers

--
Join us at OpenNebulaConf2013 http://opennebulaconf.com in Berlin, 24-26
September, 2013
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org


On Mon, May 20, 2013 at 1:01 PM, Andranik Hayrapetyan 
andranik@gmail.com wrote:

 Good day.

 I installed OpenNebula 4 on Centos 6.4 and tried to configure it with the
 guides provided in official website. it seems everything was OK. but now I
 have an error while I am trying to create a vm.

 here is the log of vm:

 Mon May 20 10:44:45 2013 [DiM][I]: New VM state is ACTIVE.
 Mon May 20 10:44:45 2013 [LCM][I]: New VM state is PROLOG.
 Mon May 20 10:44:45 2013 [VM][I]: Virtual Machine has no context
 Mon May 20 10:44:46 2013 [TM][I]: Command execution fail:
 /var/lib/one/remotes/tm/shared/clone 
 dashboard.blacksea-cloud.net:/var/lib/one/datastores/1/c2dae15f10749835ff97d4ae713de233
 node2:/var/lib/one//datastores/0/2/disk.0 2 1
 Mon May 20 10:44:46 2013 [TM][I]: clone: Cloning
 /var/lib/one/datastores/1/c2dae15f10749835ff97d4ae713de233 in
 node2:/var/lib/one//datastores/0/2/disk.0
 Mon May 20 10:44:46 2013 [TM][E]: clone: Command cd
 /var/lib/one/datastores/0/2; cp -r
 /var/lib/one/datastores/1/c2dae15f10749835ff97d4ae713de233
 /var/lib/one/datastores/0/2/disk.0 failed: cp: cannot stat
 `/var/lib/one/datastores/1/c2dae15f10749835ff97d4ae713de233': No such file
 or directory
 Mon May 20 10:44:46 2013 [TM][E]: Error copying
 dashboard.blacksea-cloud.net:/var/lib/one/datastores/1/c2dae15f10749835ff97d4ae713de233
 to node2:/var/lib/one//datastores/0/2/disk.0
  Mon May 20 10:44:46 2013 [TM][I]: ExitCode: 1
 Mon May 20 10:44:46 2013 [TM][E]: Error executing image transfer script:
 Error copying 
 dashboard.blacksea-cloud.net:/var/lib/one/datastores/1/c2dae15f10749835ff97d4ae713de233
 to node2:/var/lib/one//datastores/0/2/disk.0
 Mon May 20 10:44:46 2013 [DiM][I]: New VM state is FAILED

 can anyone help me??

 Thanks in advance

 ___
 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] Image Source

2013-05-20 Thread Jaime Melis
Hi Harald,

this is a tricky one.

There is no easy way to do this, but I can suggest two paths:

1 - The easy one (you don't care about Quotas)

Edit /var/lib/one/remotes/datastore/ceph/cp and add return $RBD_SOURCE in
L86 (
https://github.com/OpenNebula/one/blob/master/src/datastore_mad/remotes/ceph/cp#L86
)
The you can register a ceph image in ceph datastore (type = rbd, etc...)
but select a bogus path, such as /etc/hosts. Let's say this produced
image number 10.
The source would then be the ceph pool (one by default) and the image is
one-ID = that will produce a source one/one-10
Then simply rename your image to one-10, and there you go.
Remember to set the proper Ceph pool in the ceph.conf

The drawback of this method is that you won't have the proper size, since
the size will be the one of /etc/hosts, so it's not good image size based
quotas...

2 - The hard way (you DO care about Quotas)

Do option 1 and modify /var/lib/one/remotes/datastore/ceph/stat so it
actually ssh's into the ceph cluster and gets the SIZE.

cheers,
Jaime


On Wed, May 15, 2013 at 11:08 AM, Harald Rößler harald.roess...@btd.dewrote:

 Hi,

 is there a way to change the image source. because I have some existing
 rbd images in my ceph storage and  I want to migrate them to opennebula.
 Alternatively what is the best way to migrate existing vm's / images to
 opennebula.


 With Regards
 Harry

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




-- 
Join us at OpenNebulaConf2013 http://opennebulaconf.com/ in Berlin, 24-26
September, 2013
--
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] Clarification

2013-05-20 Thread Carlos Martín Sánchez
Hi,

On Thu, May 16, 2013 at 9:59 PM, Gandalf Corvotempesta 
gandalf.corvotempe...@gmail.com wrote:

 2013/5/16 Carlos Martín Sánchez cmar...@opennebula.org:
  You shouldn't have a problem with this. Actually, you can even use one of
  the sandbox VMs [1].

 Will I be able to manage these hosts with a single Sunstone installed
 on my PC or should I install one sunstone on each host?


One OpenNebula should be enough.

2013/5/16 Carlos Martín Sánchez cmar...@opennebula.org:
  This should work if the system DS uses the 'ssh' driver, and the images
 DS
  uses 'shared'.
 
  To register new images, you can use the SOURCE attribute directly [2]. Or
  edit the shared stat and cp scripts to do nothing.
  This will only work for non persistent images, otherwise you would need
 to
  find a way to synchronize the changes between hosts.

 I don't want to sync images.
 What I would like to do is replicate a standard installation of
 XenServer, where you
 install XenServer on a host and XenCenter on a Windows Workstation.

 Nothing more.


I though you wanted to have the same Images replicated in different hosts.
If you want to have hosts with different, independent storage, then you
need to:
- Create a cluster for each host
- Create a new System DS and one or more Image DS for each host, and add
them to the cluster

Regards


--
Join us at OpenNebulaConf2013 http://opennebulaconf.com/ in Berlin, 24-26
September, 2013
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org |
@OpenNebula http://twitter.com/opennebula cmar...@opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] vm state problem

2013-05-20 Thread Carlos Martín Sánchez
Hi,

If you are use non-persistent Images, the changes are lost when the VM
instance is shut down. Set your images as persistent instead.

Cheers

--
Join us at OpenNebulaConf2013 http://opennebulaconf.com in Berlin, 24-26
September, 2013
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org


On Fri, May 17, 2013 at 10:41 AM, anagha b banag...@gmail.com wrote:

 Hi

 installaed opennula-3.8.3. in self contained mode .

 When i shutdown vm and then restart it then instead of login screen the
 installation screen appears .
 i am not getting what is the problem?

 should i suspend vm instead of shutdown and resubmit it later for working
 with it.
 but when i suspend vm n resubmit it the host machine hangs.

 plz help.

 ___
 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] detach cdrom error

2013-05-20 Thread Carlos Martín Sánchez
Hi,

Give it a try with the disk in the sd bus, instead of ide.

Cheers.

--
Join us at OpenNebulaConf2013 http://opennebulaconf.com in Berlin, 24-26
September, 2013
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org


On Sat, May 18, 2013 at 9:48 AM, Tobias Honacker
t.honac...@googlemail.comwrote:

 dear community,

 detaching a cdrom on a running VM is causing an error:

 Sat May 18 09:40:33 2013 [VMM][D]: Message received: LOG I 13 Command
 execution fail: /var/lib/one/remotes/vmm/kvm/detach_disk one-13
 /var/lib/one/datastores/0/13/disk.0 hdb 1 13 kvm-priv01

 Sat May 18 09:40:33 2013 [VMM][D]: Message received: LOG E 13 detach_disk:
 Command virsh --connect qemu:///system detach-disk --domain one-13
 --target hdb failed: error: Failed to detach disk

 Sat May 18 09:40:33 2013 [VMM][D]: Message received: LOG I 13 error:
 unsupported configuration: disk device type 'cdrom' cannot be detached

 Sat May 18 09:40:33 2013 [VMM][D]: Message received: LOG E 13 Could not
 detach hdb from one-13

 Sat May 18 09:40:33 2013 [VMM][D]: Message received: LOG I 13 ExitCode: 1

 Sat May 18 09:40:33 2013 [VMM][D]: Message received: LOG I 13 Failed to
 execute virtualization driver operation: detach_disk.

 Sat May 18 09:40:33 2013 [VMM][D]: Message received: DETACHDISK FAILURE 13
 Could not detach hdb from one-13


 OS: Federa 18
 Version: 4.0.0

 [oneadmin@kvm-priv01 13]$ oneimage show -x 17
 IMAGE
   ID17/ID
   UID0/UID
   GID0/GID
   UNAMEoneadmin/UNAME
   GNAMEoneadmin/GNAME
   NAMECDROM - Debian Wheezy/NAME
   PERMISSIONS
 OWNER_U1/OWNER_U
 OWNER_M1/OWNER_M
 OWNER_A0/OWNER_A
 GROUP_U0/GROUP_U
 GROUP_M0/GROUP_M
 GROUP_A0/GROUP_A
 OTHER_U0/OTHER_U
 OTHER_M0/OTHER_M
 OTHER_A0/OTHER_A
   /PERMISSIONS
   TYPE1/TYPE
   DISK_TYPE0/DISK_TYPE
   PERSISTENT0/PERSISTENT
   REGTIME1368820496/REGTIME
   SOURCEkvm-priv01:vg0.lv-one-17/SOURCE
   PATH/iso/debian-7.0.0-amd64-netinst.iso/PATH
   FSTYPE/
   SIZE221/SIZE
   STATE2/STATE
   RUNNING_VMS1/RUNNING_VMS
   CLONING_OPS0/CLONING_OPS
   CLONING_ID-1/CLONING_ID
   DATASTORE_ID102/DATASTORE_ID
   DATASTOREISO-Abbild/DATASTORE
   VMS
 ID13/ID
   /VMS
   CLONES/
   TEMPLATE
 DESCRIPTION![CDATA[netinstall]]/DESCRIPTION
 DEV_PREFIX![CDATA[hd]]/DEV_PREFIX
 DRIVER![CDATA[raw]]/DRIVER
 TARGET![CDATA[hdb]]/TARGET
   /TEMPLATE
 /IMAGE


  [oneadmin@kvm-priv01 13]$ onedatastore show -x 102
 DATASTORE
   ID102/ID
   UID0/UID
   GID0/GID
   UNAMEoneadmin/UNAME
   GNAMEoneadmin/GNAME
   NAMEISO-Abbild/NAME
   PERMISSIONS
 OWNER_U1/OWNER_U
 OWNER_M1/OWNER_M
 OWNER_A0/OWNER_A
 GROUP_U1/GROUP_U
 GROUP_M0/GROUP_M
 GROUP_A0/GROUP_A
 OTHER_U0/OTHER_U
 OTHER_M0/OTHER_M
 OTHER_A0/OTHER_A
   /PERMISSIONS
   DS_MADlvm/DS_MAD
   TM_MADlvm/TM_MAD
   BASE_PATH/var/lib/one/datastores/102/BASE_PATH
   TYPE0/TYPE
   DISK_TYPE0/DISK_TYPE
   CLUSTER_ID100/CLUSTER_ID
   CLUSTERproduction/CLUSTER
   IMAGES
 ID17/ID
   /IMAGES
   TEMPLATE
 DS_MAD![CDATA[lvm]]/DS_MAD
 HOST![CDATA[kvm-priv01]]/HOST
 TM_MAD![CDATA[lvm]]/TM_MAD
 VG_NAME![CDATA[vg0]]/VG_NAME
   /TEMPLATE
 /DATASTORE

 Andy ideas? I'm confused about this MSG: unsupported configuration: disk
 device type 'cdrom' cannot be detached


 Best regards,
 Tobias

 ___
 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] Network topology

2013-05-20 Thread Jaime Melis
Hi Gandalf,

you can easily implement that network topology. It's in fact a very good
one. You can do it with either the Open vSwitch drivers or with the 802.1Q
ones, either ones.

You don't need an OpenFlow compatible switch, you just need it to be VLAN
enabled.

cheers,
Jaime


On Sat, May 18, 2013 at 4:58 PM, Shankhadeep Shome shank15...@gmail.comwrote:

 There is no reason why you cannot have several networks. You don't need
 openvswitch, standard Linux bridging works just fine.

 Shank


 On Sun, May 5, 2013 at 6:50 AM, Gandalf Corvotempesta 
 gandalf.corvotempe...@gmail.com wrote:

 2013/5/4 Ionut Popovici io...@hackaserver.com:
  With openvswicth u can make anything so everything  is posible.

 Does it require any OpenFlow compatibile switch?
 ___
 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




-- 
Join us at OpenNebulaConf2013 http://opennebulaconf.com/ in Berlin, 24-26
September, 2013
--
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] Booting the virtual machine concurrent to create bridge problem at the same time.

2013-05-20 Thread Jaime Melis
Hi David,

This was in fact a race condition bug. It was solved for OpenNebula 4.0:
http://dev.opennebula.org/issues/1722

Apologies for the late response

cheers,
Jaime

-- 
Join us at OpenNebulaConf2013 http://opennebulaconf.com/ in Berlin, 24-26
September, 2013
--
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] Vlan template

2013-05-20 Thread Jaime Melis
Hi,

I'm not sure I understand the problem, but I have the feeling your use case
is not supported.

You can implement VLANs either with the 802.1Q [1] or the Open vSwitch [2]
drivers.

However, you can only tag one VLAN per interfaces, which as far as I know,
is the only thing that makes sense?

[1] http://opennebula.org/documentation:rel4.0:hm-vlan
[2] http://opennebula.org/documentation:rel4.0:openvswitch

Cheers,
Jaime


On Wed, Apr 24, 2013 at 1:04 PM, Alexandre Bezroutchko a...@gremwell.comwrote:

 On 04/23/2013 08:18 PM, Ionut Popovici wrote:
  Hello i'm interested to know if there is any way to setup on and
  template a
  nic interface in TRUNK mode, the thing is that i wana a interface to
  join in
  more than 1 Vlan.
  An example is that i wana to add an router on the network and pass the
  traffic tru router but the router will handle more vlans, networks
 
  The ideea is to manage the traffic tru a router or more but i don't
  wana the
  opennebula host to get involed to any traffic.
 If you serious about your host not being involved into handling network
 traffic for VMs, you need to do PCI pass-through of your network cards
 to a separate network driver domain and do all bridging/routing there. I
 saw it in the list of features of xen-4.2 I think. Qubes OS uses such an
 arrangement, but they use earlier version of xen, probably backported
 some patches. You might be able to do the same with other hypervisors
 supporting PCI pass-through.

 If you put a bar little lower and accept the host working as a bridge,
 you should be able to have tagged traffic delivered from a physical
 interface to a VM using standard Linux bridge without any further
 trickery. Just use dummy network driver in Opennebula and terminate
 VLANs in your VM with vconfig.

 This will not let you choose what VLANs to bridge though. If you really
 need it perhaps you can use ebtables, use OpenVSwitch, or create a mess
 of intermediate bridges to extract individual VLANs and bridge them
 again together. None of this will be out-of-the-box though.

 Hope this helps.

 Cheers,
 Alex
 
  Ex in template is
  NIC=[
IP=x.x.x.x,
NETWORK=wan ]
  NIC=[
NETWORK=lan1,
NETWORK=lan2,
  VLAN=YES,
  VLAN_ID=64,
  VLAN_ID=65 ]
  TEMPLATE_ID=1023
 
  ideea is that on the second nic i i have an interface set on vlan
  trunk mode
  not access like vyatta
 
  ___
  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




-- 
Join us at OpenNebulaConf2013 http://opennebulaconf.com/ in Berlin, 24-26
September, 2013
--
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] Attach DATABLOCK disk to IDE bus

2013-05-20 Thread Dmitri Chebotarov
Thank you.

On May 17, 2013, at 9:28 , Carlos Martín Sánchez cmar...@opennebula.org wrote:

 Hi,
 
 As you said, attach and detach operations are only supported while the VM is 
 running.
 I've opened a ticket with your request [1].
 
 Meanwhile, you can set the Image as persistent, shutdown the VM, edit the 
 source template, and instantiate it again.
 
 Cheers,
 Carlos
 
 [1] http://dev.opennebula.org/issues/2065
 
 --
 Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013
 --
 Carlos Martín, MSc
 Project Engineer
 OpenNebula - The Open-source Solution for Data Center Virtualization
 www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula
 
 
 On Thu, May 16, 2013 at 6:17 PM, Dmitri Chebotarov dcheb...@gmu.edu wrote:
 Hello,
 
 How would one attach a disk to a VM with IDE bus?
 
 Since IDE is not hotpluggable I cannot attach 2nd DATABLOCK disk to a
 running VM.
 
 (Thu May 16 11:50:01 2013 [VMM][I]: error: unsupported configuration: disk
 bus 'ide' cannot be hot plugged.)
 
 When I shutdown VM (from within the OS or 'Power Off' from GUI), status
 changes to UNKNOWN/SHUTDOWN and 'Attach new disk' button is greyed-out.
 
 Do I have to update OS to support scsi/virtio in order to add/remove
 additional DATA disk(s)?
 I was hopping I could add disk(s) after I shutdown/poweroff VM.
 
 --
 Thank you,
 
 Dmitri Chebotarov
 VCL Sys Eng, Engineering  Architectural Support, TSD - Ent Servers 
 Messaging
 223 Aquia Building, Ffx, MSN: 1B5
 Phone: (703) 993-6175 | Fax: (703) 993-3404
 
 
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 



--
Thank you,

Dmitri Chebotarov
VCL Sys Eng, Engineering  Architectural Support, TSD - Ent Servers  Messaging
223 Aquia Building, Ffx, MSN: 1B5
Phone: (703) 993-6175 | Fax: (703) 993-3404



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


Re: [one-users] can not create VLAN network model - sudoer path need to change?

2013-05-20 Thread Jaime Melis
Hi Nicolas,

are you still experiencing this? Answering your question the proper way to
enable permissions is via sudo... so there might just be something a bit
wrong.
can you try the following:

oneadmin@onhost02:~$ sudo /sbin/vconfig add eth0 100

cheers,
Jaime


On Sat, Apr 20, 2013 at 2:32 PM, Nicolas Diogo nicolasdi...@gmx.com wrote:

  hi

 i am trying to setup the VLAN network option for opennebula - between
 fileserver, Sunstone, and 2 hosts.
 but i keep coming across this linux problem and not getting the correct
 permissions to the user 'oneadmin'

 i have cheched that i can successfully create VLAN using the root account
 on the hosts. and sunstone.
 the fileserver has the expected VLANs with static IP

 and my struggle is in allocating *oneadmin (*user) privileges to create
 VLAN.

 i have edited the sudoers file - *cat /etc/sudoers.d/opennebula-node* -
 adding the following

 ## enable VLAN tagging
 %cloudALL=(ALL) NOPASSWD: /sbin/vconfig *
 %cloudALL=(ALL) NOPASSWD: /sbin/brctl *
 %cloudALL=(ALL) NOPASSWD: /sbin/ip *

 then log as oneadmin on this host, and issue the following command:

 oneadmin@onhost02:~$ /sbin/vconfig add eth0 100
 WARNING:  Could not open /proc/net/vlan/config.  Maybe you need to load
 the 8021q module, or maybe you are not using PROCFS??
 ERROR: trying to add VLAN #100 to IF -:eth0:-  error: Operation not
 permitted

 as i said, i can create the VLAN using root.
 what is the correct way to enable permissions to *oneadmin
 *
 i tried looking through the system logs for a clue but it does show
 anything
 *
 *thanks,*
 *
 Nicolas


 --
  sent with Debian Linux (http://www.debian.org)
 free yourself into a safer internet
  this message is only intended to its recipient

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




-- 
Join us at OpenNebulaConf2013 http://opennebulaconf.com/ in Berlin, 24-26
September, 2013
--
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] Login

2013-05-20 Thread Javier Fontan
I've changed the example so it is easier to see that is a context
variable. As Jon says is easier to fill this using sunstone but is
also pretty easy using the CLI:

$ onetemplate create --name some_name --cpu 1 --memory 512 --disk
ubuntu --ssh ~/.ssh/id_rsa.pub

You can also use --dry parameter so the template is printed and not registered.

On Mon, Apr 29, 2013 at 2:30 AM, Jon three1...@gmail.com wrote:
 Hello Guilherme,

 I had the same problem.  How are you creating your template?  And what
 version of OpenNebula are you on?

 I'm using 4.0RC (3.9.90 I believe it is called), so what follows is based on
 my experience with the newest version.

 I've found it's easiest to use Sunstone to create my first template, then
 use that template for future cli interaction.

 If you're creating a template in Sunstone, follow the dialogue and on the
 Context tab there is a box for you to paste your SSH keys.  just make sure
 each key is on its own line, as the box is small, the key wraps making it
 hard to tell sometimes.

 e.g.:

 ssh-rsa ssh key f...@bar.com
 ssh-rsa ssh key r...@bar.com

 Hope that helps.

 Best Regards,
 Jon A


 On Sun, Apr 28, 2013 at 5:47 PM, Guilherme Guimaraes gboulh...@gmail.com
 wrote:


 How to use the root account setup SSH_PUBLIC_KEY to login. Well I
 downloaded the Ubuntu Marketplace, created the machines virtuias but does
 not come configured login. I downloaded the package context, did not
 understand the documentation.


 I thank you !!!
 --
 Atenciosamente,
 Guilherme B. Guimarães
 Mestrando em Ciência da Computação - PPGCC/UFPA
 Especialista em desenvovilemento para Internet - UFPA
 Bacharel em Ciência da Computação - UNAMA


 ___
 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




-- 
Join us at OpenNebulaConf2013 in Berlin from the 24th to the 26th of
September 2013!

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] vm contextualization problem

2013-05-20 Thread Javier Fontan
You have an overview on how to do this at
http://opennebula.org/documentation:archives:rel3.8:context_overview

On Fri, Apr 26, 2013 at 8:37 AM, anagha b banag...@gmail.com wrote:
 Hi,

 I am using opennebula-3.8.3 .
 Is it necessary to contextualize vm with 3.8.3.
 Followed video on youtube
 Bootstrapping opennbula-3.4 creating vm from scratch but unable to get
 /etc/rc.local script.
 we have to specify mount point in the script?


 Plz.help


 Thanks and regards.

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




-- 
Join us at OpenNebulaConf2013 in Berlin from the 24th to the 26th of
September 2013!

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] oned failed to start (raspberry pi - arch armv6, opennebula 3.8.1, selfcontained)

2013-05-20 Thread Ruben S. Montero
FYI,

This is fixed with

https://github.com/OpenNebula/one/commit/b1c036c91afc79cbe60ea543c04c7917754911db

With that it works out-of-the-box in a raspberry pi.

Cheers

Ruben


On Thu, Jan 10, 2013 at 10:20 AM, Paul Mayer equilibriu...@gmail.comwrote:

 Dear Carlos,

 Thanks for your reply. I will try to see whether I can get some more
 information through debugging.
 Since I cannot access the platform right now, it would be of great help if
 someone could tell me if there might
 be problems with ARM-based systems in general?

 Regards,
 Paul

 2013/1/8 Carlos Martín Sánchez cmar...@opennebula.org

 Hi,

 Try executing oned directly instead of one start, it may output more
 information.
 Anyway, if it fails before the log is created, you only need to debug
 what's happening in oned.cc main(), and Nebula.cc start()

 Regards
 --
 Carlos Martín, MSc
 Project Engineer
 OpenNebula - The Open-source Solution for Data Center Virtualization
 www.OpenNebula.org | cmar...@opennebula.org | 
 @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org


 On Tue, Jan 8, 2013 at 8:23 AM, Paul Mayer equilibriu...@gmail.comwrote:

 Hi,

 I have just built opennebula 3.8.1. from source on my raspberry pi
 (running arch).
 It's a self-contained install and my .bashrc contains ONE_LOCATION,
 ONE_AUTH and ONE_XMLRPC set.
 Also, PATH contains the bin folder of the install.
 However, if I try to run one start (as oneadmin), I just get:
 
 usage: oned [-h] [-v] [-f]
 oned failed to start
 
 That's it, there is no oned.log for me to check under var (only
 sched.log).
 The sched.log says:

 Tue Jan  8 08:21:00 2013 [SCHED][I]: Init Scheduler Log system
 Tue Jan  8 08:21:00 2013 [SCHED][I]: Starting Scheduler Daemon
 
  Scheduler Configuration File
 
 DEFAULT_SCHED=POLICY=1
 HYPERVISOR_MEM=0.1
 LIVE_RESCHEDS=0
 MAX_DISPATCH=30
 MAX_HOST=1
 MAX_VM=300
 ONED_PORT=2633
 SCHED_INTERVAL=30
 
 Tue Jan  8 08:21:00 2013 [SCHED][I]: Starting scheduler loop...
 Tue Jan  8 08:21:00 2013 [SCHED][I]: Scheduler loop started.
 Tue Jan  8 08:21:02 2013 [SCHED][I]: Stopping the scheduler...
 Tue Jan  8 08:21:02 2013 [SCHED][I]: Scheduler loop stopped.

 Is there anything apparently wrong in there? I have no idea where to
 start looking right now.

 Any help would be much appreciated!

 Thanks  Regards,
 Paul


 ___
 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




-- 
-- 
Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013
-- 
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] Python API for One

2013-05-20 Thread Ruben S. Montero
Hi Karan,

Currently there are no plans to work on a python binding...However we'll be
more than happy to help anyone interested in updating the python bindings.

Cheers

Ruben


On Mon, May 20, 2013 at 1:36 AM, Karanbir Singh mail-li...@karan.orgwrote:

 On 02/07/2013 09:38 PM, Zeeshan Ali Shah wrote:
  Hi, I found old Python api http://pypi.python.org/pypi/oca  here.
 
  Any one knows the latest oca python binding ?

 Looks like this no longer works with opennebula-4, were trying to go
 down the route of using the opennebula-ec2 interfacem and code via
 python-boto instead ( which has its own interesting challenges ).

 Are there any plans for a native opennebula-python binding ?


 --
 Karanbir Singh
 +44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
 GnuPG Key : http://www.karan.org/publickey.asc
 ___
 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
-- 
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