Re: [one-users] Vlan template

2013-05-21 Thread Gandalf Corvotempesta
2013/5/20 Jaime Melis jme...@opennebula.org:
 However, you can only tag one VLAN per interfaces, which as far as I know,
 is the only thing that makes sense?

Why? Trunk interfaces carries multiple vlan, is absolutely standard.
I have not less than 58 VLANs on a single interface on my XenServer host.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] fibre channel datastore

2013-05-21 Thread Denis J. Cirulis
Hello,

I have to setup proof of concept cloud using opennebula and zfs san.
I can not understand the correct scenario of running virtual machines from
FC:

1. Do I have to connect the FC datastore to opennebula server ?
2. Which driver should I use on compute nodes ?
3. Will my virtual machines be persistent during infrastructure reboots ?

I already had similar setup but with plain libvirt and kvm, the concept was
to use one lun per datastore from fc storage using fc hba and switch, which
was advertised to compute nodes as lvm vg, then each virtual machine had
1+n logical volumes from this vg as its hard drive. Backup was performed
via lvm snapshot and dd/rsync. There was a possibility to migrate storage
from one node to another without vm downtime using virsh block-copy --live.

What are the correct steps to achieve the same functionality on opennebula
4.0 ?
I'm running CentOS 6.4 both on opennebula server and compute nodes.

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


[one-users] First Keynote Speakers for the OpenNebula Conference 2013

2013-05-21 Thread Tino Vazquez
Dear OpenNebula users,

We are proud to announce the first, partial list of Keynote Speakers
for OpenNebula Conference 2013 [1]. This list will be growing over the
next weeks, with extra interesting additions, so stay tuned because
more Keynotes Speakers will be announced soon!

The list includes world’s leading corporate and research institutions.

 * Steven Timm, //FermiLab// - will speak about Enabling Scientific
Workflows on FermiCloud using OpenNebula

 * Zhihong Zhang, //China Mobile// - will speak about OpenNebula at China Mobile

 * Daniel Concepción, //Produban – Santander Group// - will speak
about Discovering the Bumpy Road to the Cloud

There are limited places for speakers and attendees in the OpenNebula
Conference 2013. If you are interested in:

  1) Giving a talk, please fill the proposal form [2]

  2) Attending the conference, please fill in the registration form [3]

See you at Berlin this September!

Best regards,

The OpenNebula Team

[1] http://blog.opennebula.org/?p=4575
[2] http://opennebulaconf.com/proposals/
[3] http://opennebulaconf.com/registration/

--
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
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] fibre channel datastore

2013-05-21 Thread Jaime Melis
Hello Denis,

1. Do I have to connect the FC datastore to opennebula server ?

No. You don't need to (you could, but there's really no point).

 2. Which driver should I use on compute nodes ?

The LVM drivers.

 3. Will my virtual machines be persistent during infrastructure reboots ?

Yes.

The similar setup you have described is exactly what you want to replicate
with OpenNebula. You need the LVM drivers for this. I have just added a
diagram to the LVM guide [1] to show you exactly the setup you need. The
idea is to export the same LUN to all the OpenNebula nodes and create a
cLVM* on top of it. OpenNebula will speak to just one of the nodes of that
cluster ($HOST parameter in the Datastore template). If the FC
configuration is persistent, and the cLVM configuration is also persistent,
then your VMs will persist during reboots.

Note that the underlying storage doesn't affect OpenNebula at all, you
could do this with FC, iSCSI, or even a NAS, as long as you export the same
block device to all the hosts (are configure it to persist after reboots).

By the way, I strongly recommend reading this article, written by the
people at MTA SZTAKI, explaining many things about LVM deployment. You will
find a lot of hints, best practices and troubleshooting tips in there.

* Maybe you don't need cLVM, after reading the article [2] you will be able
to understand the pros and cons of using it.

[1] http://opennebula.org/documentation:rel4.0:lvm_ds
[2] http://wiki.opennebula.org/shared_lvm

Cheers,
Jaime

On Tue, May 21, 2013 at 9:35 AM, Denis J. Cirulis
denis.ciru...@gmail.comwrote:

 Hello,

 I have to setup proof of concept cloud using opennebula and zfs san.
 I can not understand the correct scenario of running virtual machines from
 FC:

 1. Do I have to connect the FC datastore to opennebula server ?
 2. Which driver should I use on compute nodes ?
 3. Will my virtual machines be persistent during infrastructure reboots ?

 I already had similar setup but with plain libvirt and kvm, the concept
 was to use one lun per datastore from fc storage using fc hba and switch,
 which was advertised to compute nodes as lvm vg, then each virtual machine
 had 1+n logical volumes from this vg as its hard drive. Backup was
 performed via lvm snapshot and dd/rsync. There was a possibility to migrate
 storage from one node to another without vm downtime using virsh block-copy
 --live.

 What are the correct steps to achieve the same functionality on opennebula
 4.0 ?
 I'm running CentOS 6.4 both on opennebula server and compute nodes.

 Thanks in advance!

 ___
 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


[one-users] OpenNebula 4.0.1 Released!

2013-05-21 Thread Tino Vazquez
Dear OpenNebula users,

The OpenNebula project is proud to announce the general availability
of OpenNebula 4.0.1 [1]. This is a maintenance release that fixes bugs
reported by the community after 4.0 was released. This release only
includes bug fixes and it is a recommended update for everyone running
any 3.x. or 4.0 version of OpenNebula.

This maintenance release fixes several bugs of the new sunstone
interface, and incorporates a mechanism to recover VMs stuck in a
transient state.

Check out the OpenNebula 4.0 Eagle release notes [2] for the release
highlights and a summary of the new features incorporated in
OpenNebula 4.0.

Hope you enjoy using it as much as we did developing it ;)

Best,

The OpenNebula Project

[1] http://opennebula.org/software:rnotes:rn-rel4.0.1
[2] http://opennebula.org/software:rnotes:rn-rel4.0

--
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
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


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

2013-05-21 Thread ahernandez
Hi, I solved the solution reinstaled the OpenNebula. I think that my 
problem was that I setting wrong the drivers of OpenNebula for VMware.


Tino, thanks, for you time




El 2013-05-20 05:46, Tino Vazquez escribió:

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 

[one-users] Opennebula Debian 7.0 Wheezy Xen 4.1

2013-05-21 Thread Alberto Picón Couselo

Hello everybody.

We are testing Debian 7.0 Wheezy Xen 4.1.4 hypervisor using Opennebula 
3.8.3 and we have found several deployment problems.


We added the host to the infrastructure and Sunstone seems to monitor it 
correctly.


[InM][I]: Monitoring host xen-hv (14)
[InM][D]: Host 14 successfully monitored.

When we try to deploy a Xen VM, Opennebula creates the network bridge 
correctly:


[TM][D]: Message received: TRANSFER SUCCESS 224 -
[VMM][D]: Message received: LOG I 224 pre: Executed sudo /sbin/brctl 
addbr br_test.
[VMM][D]: Message received: LOG I 224 pre: Executed sudo /sbin/ip link 
set br_test up.

[VMM][D]: Message received: LOG I 224 Device eth1.4000 does not exist.
[VMM][D]: Message received: LOG I 224 pre: Executed sudo /sbin/vconfig 
add eth1 4000.
[VMM][D]: Message received: LOG I 224 pre: Executed sudo /sbin/ip link 
set eth1.4000 up.
[VMM][D]: Message received: LOG I 224 pre: Executed sudo /sbin/brctl 
addif br_test eth1.4000.

[VMM][D]: Message received: LOG I 224 ExitCode: 0
[VMM][D]: Message received: LOG I 224 Successfully execute network 
driver operation: pre.

[VMM][D]: Message received: LOG D 224 deploy: Credits set to 128
[VMM][D]: Message received: LOG I 224 Error: Subcommand sched-cred not 
found!

[VMM][D]: Message received: LOG E 224 deploy: Unable to set VM credits
[VMM][D]: Message received: LOG I 224 ExitCode: 0
[VMM][D]: Message received: LOG I 224 Successfully execute 
virtualization driver operation: deploy.


Xen VM is launched and it boots correctly at the Xen 4.1.4 hypervisor. 
We can access it using xm console.


However, Opennebula fails and returns the following error (VM is shown 
as FAILED in Sunstone):


[VMM][D]: Message received: LOG I 224 Command execution fail: 
/var/lib/one/remotes/vnm/802.1Q/post  ---XXXbase64codeXXX--- Usage: xm 
subcommand [args]

[VMM][D]: Message received: LOG I 224
[VMM][D]: Message received: LOG I 224
[VMM][D]: Message received: LOG I 224 Control, list, and manipulate Xen 
guest instances.

[VMM][D]: Message received: LOG I 224
[VMM][D]: Message received: LOG I 224 Common 'xm' commands:
[VMM][D]: Message received: LOG I 224
[VMM][D]: Message received: LOG I 224 console  Attach to 
Domain's console.
[VMM][D]: Message received: LOG I 224 vncviewerAttach to 
Domain's VNC server.
[VMM][D]: Message received: LOG I 224 create   Create a 
domain based on ConfigFile.
[VMM][D]: Message received: LOG I 224 new  Adds a domain 
to Xend domain management
[VMM][D]: Message received: LOG I 224 delete   Remove a 
domain from Xend domain management.
[VMM][D]: Message received: LOG I 224 destroy  Terminate a 
domain immediately.
[VMM][D]: Message received: LOG I 224 dump-coreDump core for 
a specific domain.
[VMM][D]: Message received: LOG I 224 help Display this 
message.
[VMM][D]: Message received: LOG I 224 list List 
information about all/some domains.
[VMM][D]: Message received: LOG I 224 mem-set  Set the 
current memory usage for a domain.
[VMM][D]: Message received: LOG I 224 migrate  Migrate a 
domain to another machine.
[VMM][D]: Message received: LOG I 224 pausePause 
execution of a domain.

[VMM][D]: Message received: LOG I 224 reboot   Reboot a domain.
[VMM][D]: Message received: LOG I 224 resetReset a domain.
[VMM][D]: Message received: LOG I 224 restore  Restore a 
domain from a saved state.
[VMM][D]: Message received: LOG I 224 resume   Resume a Xend 
managed domain
[VMM][D]: Message received: LOG I 224 save Save a domain 
state to restore later.
[VMM][D]: Message received: LOG I 224 shellLaunch an 
interactive shell.
[VMM][D]: Message received: LOG I 224 shutdown Shutdown a 
domain.
[VMM][D]: Message received: LOG I 224 startStart a Xend 
managed domain
[VMM][D]: Message received: LOG I 224 suspend  Suspend a 
Xend managed domain
[VMM][D]: Message received: LOG I 224 top  Monitor a 
host and the domains in real time.
[VMM][D]: Message received: LOG I 224 unpause  Unpause a 
paused domain.
[VMM][D]: Message received: LOG I 224 uptime   Print uptime 
for all/some domains.
[VMM][D]: Message received: LOG I 224 usb-add  Add the usb 
device to FV VM.
[VMM][D]: Message received: LOG I 224 usb-del  Delete the 
usb device to FV VM.
[VMM][D]: Message received: LOG I 224 domstate get the state 
of a domain
[VMM][D]: Message received: LOG I 224 vcpu-set Set the 
number of active VCPUs for allowed for

[VMM][D]: Message received: LOG I 224 the domain.
[VMM][D]: Message received: LOG I 224
[VMM][D]: Message received: LOG I 224 Domain can either be the Domain 
Name or Id.
[VMM][D]: Message received: LOG I 224 For more help on 'xm' see the 
xm(1) man page.
[VMM][D]: Message 

Re: [one-users] VM failed to start

2013-05-21 Thread Mohammad Fazli Ahmat Jalaluddin
Thank you

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

 Hi,

 The domain one-100 already exists, it looks like opennebula could not
 properly clean the VM.
 You can delete it in the host using 'virsh destroy one-100', and try again.

 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 Thu, May 16, 2013 at 4:23 AM, Mohammad Fazli Ahmat Jalaluddin 
 fazli@gmail.com wrote:

 Hi,

 Before this, the VM is running. After I restarted the physical machine,
 it failed to boot.

 This is the VM log:

 Thu May 16 10:20:44 2013 [LCM][I]: New VM state is BOOT
 Thu May 16 10:20:44 2013 [VMM][I]: Generating deployment file: 
 /var/lib/one/var/vms/100/deployment.6
 Thu May 16 10:20:44 2013 [VMM][I]: ExitCode: 0
 Thu May 16 10:20:44 2013 [VMM][I]: Successfully execute network driver 
 operation: pre.
 Thu May 16 10:20:45 2013 [VMM][I]: Command execution fail: cat  EOT | 
 /var/tmp/one/vmm/kvm/deploy /var/lib/one/var//datastores/0/100/deployment.6 
 onehost1 100 onehost1
 Thu May 16 10:20:45 2013 [VMM][I]: error: Failed to create domain from 
 /var/lib/one/var//datastores/0/100/deployment.6
 Thu May 16 10:20:45 2013 [VMM][I]: error: operation failed: domain 'one-100' 
 already exists with uuid 2e91d383-f3bd-5538-b94b-5fb5d4a007e4Thu May 16 
 10:20:45 2013 [VMM][E]: Could not create domain from 
 /var/lib/one/var//datastores/0/100/deployment.6
 Thu May 16 10:20:45 2013 [VMM][I]: ExitCode: 255
 Thu May 16 10:20:45 2013 [VMM][I]: Failed to execute virtualization driver 
 operation: deploy.Thu May 16 10:20:45 2013 [VMM][E]: Error deploying virtual 
 machine: Could not create domain from 
 /var/lib/one/var//datastores/0/100/deployment.6
 Thu May 16 10:20:46 2013 [DiM][I]: New VM state is FAILED


 Please help,
 Thank you

 --
 Regards,
 Fazli

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





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


[one-users] 4.0.1 still not yet ready for upgrade from 3.8.x

2013-05-21 Thread Rolandas Naujikas

Probably we forgot to solve http://dev.opennebula.org/issues/2011.
This is very user visible bug making very difficult to put it into 
production.


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