Re: [one-users] Opennebula and openvswitch problem.

2014-04-04 Thread Leszek Master
I've ended on the new deployment of opennebula on clean installation of
ubuntu server 14.04. I've had too many problems with settings this
production ready. I'll write a feedback after setting it up.


2014-04-03 21:50 GMT+02:00 Campbell, Bill bcampb...@axcess-financial.com:

 I use the Libvirt provided on the Ubuntu Cloud Archive (along with Qemu
 and Open vSwitch packages) and everything works well out of the box.



 *From:* Leszek Master [mailto:keks...@gmail.com]
 *Sent:* Thursday, April 03, 2014 3:43 PM
 *To:* Campbell, Bill
 *Cc:* Users OpenNebula; Stefan Kooman

 *Subject:* Re: [one-users] Opennebula and openvswitch problem.



 I described this parameters in the datastore before. I've added the
 BRIDGE_LIST, DISK_TYPE, CEPH_USER, POOL_NAME, CEPH_SECRET, CEPH HOST (with
 port) and rest of the attributes that were added automatically after i
 choose ceph datastore type. It worked like a charm before i've upgraded my
 libvirt. Is it possible that i've compiled libvirt without ceph support
 (i've added flag --with-storage-rbd)? Or maybe i need to compile something
 more than only libvirt 1.0?



 2014-04-03 21:00 GMT+02:00 Campbell, Bill bcampb...@axcess-financial.com
 :

 Libvirt versions greater than 1.0 handle clusters with CephX
 authentication differently.  It is no longer as simple as adding the
 ceph.conf and keyring to the /etc/ceph directory, you MUST specify a
 libvirt secret and cluster configuration information within the VM
 definition file (using the attributes for the datastores as specified in
 the OpenNebula documentation for Ceph Datastores).  Libvirt before would
 just look into the /etc/ceph directory for information if the appropriate
 configuration information did not exist, yet the new versions expect that
 information in the definition, otherwise it assumes there is NO cephx
 authentication in use.


 --

 *From: *Leszek Master keks...@gmail.com
 *To: *Bill Campbell bcampb...@axcess-financial.com

 *Cc: *Users OpenNebula users@lists.opennebula.org, Stefan Kooman 
 ste...@bit.nl
 *Sent: *Thursday, April 3, 2014 1:30:59 PM


 *Subject: *Re: [one-users] Opennebula and openvswitch problem.



 Yes i'm using ceph. It happened after compiling libvirt from sources to
 version 1.0.

 3 kwi 2014 19:29 Campbell, Bill bcampb...@axcess-financial.com
 napisał(a):

 That looks like it's having a problem locating the disk file.  Are you
 using Ceph?


 --

 *From: *Leszek Master keks...@gmail.com
 *To: *Bill Campbell bcampb...@axcess-financial.com
 *Cc: *Stefan Kooman ste...@bit.nl, Users OpenNebula 
 users@lists.opennebula.org
 *Sent: *Thursday, April 3, 2014 12:19:09 PM
 *Subject: *Re: [one-users] Opennebula and openvswitch problem.



 I tried this now, the same error:



 migrate: Command virsh --connect qemu:///system migrate --live one-9
 qemu+ssh://node-01/system failed: error: cannot open file 'one/one-4-9-0':
 No such file or directory



 I can migrate a VM to other VM's with older virsh version, may it be
 because the difference in virsh versions?





 2014-04-03 13:35 GMT+02:00 Campbell, Bill bcampb...@axcess-financial.com
 :

 You could also leverage the Ubuntu Cloud Archive to update Open vSwitch, I
 believe the version on that official PPA is the version referenced as
 fixing that bug in the link provided.

 We use 12.04.x LTS w/ packages from the cloud archive and have no issues.


 --

 *From: *Stefan Kooman ste...@bit.nl
 *To: *Leszek Master keks...@gmail.com
 *Cc: *Users OpenNebula users@lists.opennebula.org
 *Sent: *Thursday, April 3, 2014 5:01:12 AM


 *Subject: *Re: [one-users] Opennebula and openvswitch problem.



 Quoting Leszek Master (keks...@gmail.com):
  I'm waiting for official relese of next LTS version, i can use only LTS
 in
  my production, so i was testing it on the 12.04. If there isn't any
  official manual how ot solve this problem i'll upgrade my distro and try
  then :) Thanks for your help.



 Precise/quantal suffers from this bug:
 https://bugs.launchpad.net/bugs/1084028



 Fixed in newer releases: saucy / trusty (tested by me). This is apart
 from the legacy bridging stuff. With virtualization development
 happening so quickly I would recommend going for newer instead of older.
 Hopefully linux 3.14 and Qemu 2.0 will make it into Trusty ...



 Gr. Stefan



 --
 | BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
 | GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl

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





 *NOTICE: Protect the information in this message in accordance with the
 company's security policies. If you received this message in error,
 immediately notify the sender and destroy all copies.*









 *NOTICE: Protect the information in this message in accordance with the
 company's security policies. If 

[one-users] Let a user install its own VM

2014-04-04 Thread Christophe Duez
Hello all,
Is there a way to use the an ISO of CentOS, Ubuntu, Debian or Windows and
let a user install its own VM from scratch.
I would like to do that instead of giving the user the choices between pre
installed versions of above OS's.
Is there a way to do this? Or how can I do this?

-- 
Kind regards,
Duez Christophe
Student at University of Antwerp :
Master of Industrial Sciences: Electronics-ICT

E christophe.d...@student.uantwperen.be
L linkedin duez-christophehttp://www.linkedin.com/pub/duez-christophe/74/7/39
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Assigning limited admin rights

2014-04-04 Thread Carlos Martín Sánchez
Hi,

Adding to what Rubén said, the acl modification is only allowed for users
in the oneadmin group.

Make sure you use the reference command-auth tables in the xml-rpc doc [1]
to create your rules.

For example, oneuser passwd requires USER:MANAGE. The rule #user_id
USER/* USE+MANAGE+ADMIN will allow your user to change oneadmin's password.
In this case, you will want to create a rule targeting each group
(excluding oneadmin).

Regards

[1]
http://docs.opennebula.org/4.4/integration/system_interfaces/api.html#authorization-requests-reference
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org


On Thu, Apr 3, 2014 at 2:19 PM, Ruben S. Montero
rsmont...@opennebula.orgwrote:

 Hi

 Probably, the following may work...

 oneacl create #user_id USER/* CREATE
 oneacl create #user_id USER/* USE+MANAGE+ADMIN

 Take a look to the ACL guide for more info:


 http://docs.opennebula.org/4.4/administration/users_and_groups/manage_acl.html

 Cheers

 Ruben



 On Thu, Apr 3, 2014 at 12:08 PM, Wilma Hermann wilma.herm...@gmail.comwrote:

 Hi,

 Is it possible to assign limited admin rights to certain accounts? I
 would like to have a user that is allowed to do all the user
 management (creating users, adding users to existing groups, etc.)
 without adding this user to the oneadmin-group. In particular, I would
 like to deny this user access to all other users' VMs, templates,
 images, etc. The user also shouldn't have write-access to the ACLs
 (otherwise limits would make no sense obviously).

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




 --
 --
 Ruben S. Montero, PhD
 Project co-Lead and Chief Architect
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula

 ___
 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] Let a user install its own VM

2014-04-04 Thread Jaime Melis
Christophe,

take a look at this blog post:
http://opennebula.org/screencast-bootstrapping-opennebula-3-4-and-creating-a-vm-from-scratch/

It's for an older version of OpenNebula (you won't even recognize the
interface), but the principles are still the same.

cheers,
Jaime


On Fri, Apr 4, 2014 at 10:06 AM, Christophe Duez 
christophe.d...@student.uantwerpen.be wrote:

 Hello all,
 Is there a way to use the an ISO of CentOS, Ubuntu, Debian or Windows and
 let a user install its own VM from scratch.
 I would like to do that instead of giving the user the choices between pre
 installed versions of above OS's.
 Is there a way to do this? Or how can I do this?

 --
 Kind regards,
 Duez Christophe
 Student at University of Antwerp :
 Master of Industrial Sciences: Electronics-ICT

 E christophe.d...@student.uantwperen.be
 L linkedin 
 duez-christophehttp://www.linkedin.com/pub/duez-christophe/74/7/39

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




-- 
Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Let a user install its own VM

2014-04-04 Thread Stuart Longland
On 04/04/14 18:06, Christophe Duez wrote:
 Hello all,
 Is there a way to use the an ISO of CentOS, Ubuntu, Debian or Windows
 and let a user install its own VM from scratch.

I've found the easiest way to do this is to create your image as an
empty datablock, make it persistent, then create a template that mounts
it as your first disk, along with any installation media.

The VM's BIOS will see the lack of an OS on the disk, and go looking for
CD-ROMs and PXE servers to boot from.

When your OS installation is complete, you can blow away the VM, update
the template to drop the references to the images, and optionally,
toggle the persistence state of the image.  Voilá, there's your image.

For Linux, I'd recommend setting up a PXE boot server to install the
image.  We do this for deploying real PCs on our network (in fact, our
OpenNebula hosts are deployed that way: Ubuntu pre-seed scripts over
PXE), and it works equally as well for VMs.

Bonus being you don't need to edit the template at the end, you just
toggle the 'persistent' state on the image.
-- 
Stuart Longland
Systems Engineer
 _ ___
\  /|_) |   T: +61 7 3535 9619
 \/ | \ | 38b Douglas StreetF: +61 7 3535 9699
   SYSTEMSMilton QLD 4064   http://www.vrt.com.au


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


Re: [one-users] Opennebula and openvswitch problem.

2014-04-04 Thread Leszek Master
Ubuntu server 14.04 doesn't have opennebula in repo. So i decidec to do
Campbell way. I've installed clean Ubuntu Server 12.04 LTS, added cloud
repository and installed everything. I've got the same error:

failed: error: Unable to add bridge br0 port vnet0: Operation not supported

It still doesn't work without brcompat :(. Now i have to manually downgrade
openvswitch version from 1.10.2 to 1.4.6 to get brcompat working.





2014-04-04 9:03 GMT+02:00 Leszek Master keks...@gmail.com:

 I've ended on the new deployment of opennebula on clean installation of
 ubuntu server 14.04. I've had too many problems with settings this
 production ready. I'll write a feedback after setting it up.


 2014-04-03 21:50 GMT+02:00 Campbell, Bill bcampb...@axcess-financial.com
 :

 I use the Libvirt provided on the Ubuntu Cloud Archive (along with Qemu
 and Open vSwitch packages) and everything works well out of the box.



 *From:* Leszek Master [mailto:keks...@gmail.com]
 *Sent:* Thursday, April 03, 2014 3:43 PM
 *To:* Campbell, Bill
 *Cc:* Users OpenNebula; Stefan Kooman

 *Subject:* Re: [one-users] Opennebula and openvswitch problem.



 I described this parameters in the datastore before. I've added the
 BRIDGE_LIST, DISK_TYPE, CEPH_USER, POOL_NAME, CEPH_SECRET, CEPH HOST (with
 port) and rest of the attributes that were added automatically after i
 choose ceph datastore type. It worked like a charm before i've upgraded my
 libvirt. Is it possible that i've compiled libvirt without ceph support
 (i've added flag --with-storage-rbd)? Or maybe i need to compile something
 more than only libvirt 1.0?



 2014-04-03 21:00 GMT+02:00 Campbell, Bill bcampb...@axcess-financial.com
 :

 Libvirt versions greater than 1.0 handle clusters with CephX
 authentication differently.  It is no longer as simple as adding the
 ceph.conf and keyring to the /etc/ceph directory, you MUST specify a
 libvirt secret and cluster configuration information within the VM
 definition file (using the attributes for the datastores as specified in
 the OpenNebula documentation for Ceph Datastores).  Libvirt before would
 just look into the /etc/ceph directory for information if the appropriate
 configuration information did not exist, yet the new versions expect that
 information in the definition, otherwise it assumes there is NO cephx
 authentication in use.


 --

 *From: *Leszek Master keks...@gmail.com
 *To: *Bill Campbell bcampb...@axcess-financial.com

 *Cc: *Users OpenNebula users@lists.opennebula.org, Stefan Kooman 
 ste...@bit.nl
 *Sent: *Thursday, April 3, 2014 1:30:59 PM


 *Subject: *Re: [one-users] Opennebula and openvswitch problem.



 Yes i'm using ceph. It happened after compiling libvirt from sources to
 version 1.0.

 3 kwi 2014 19:29 Campbell, Bill bcampb...@axcess-financial.com
 napisał(a):

 That looks like it's having a problem locating the disk file.  Are you
 using Ceph?


 --

 *From: *Leszek Master keks...@gmail.com
 *To: *Bill Campbell bcampb...@axcess-financial.com
 *Cc: *Stefan Kooman ste...@bit.nl, Users OpenNebula 
 users@lists.opennebula.org
 *Sent: *Thursday, April 3, 2014 12:19:09 PM
 *Subject: *Re: [one-users] Opennebula and openvswitch problem.



 I tried this now, the same error:



 migrate: Command virsh --connect qemu:///system migrate --live one-9
 qemu+ssh://node-01/system failed: error: cannot open file 'one/one-4-9-0':
 No such file or directory



 I can migrate a VM to other VM's with older virsh version, may it be
 because the difference in virsh versions?





 2014-04-03 13:35 GMT+02:00 Campbell, Bill bcampb...@axcess-financial.com
 :

 You could also leverage the Ubuntu Cloud Archive to update Open vSwitch,
 I believe the version on that official PPA is the version referenced as
 fixing that bug in the link provided.

 We use 12.04.x LTS w/ packages from the cloud archive and have no issues.


 --

 *From: *Stefan Kooman ste...@bit.nl
 *To: *Leszek Master keks...@gmail.com
 *Cc: *Users OpenNebula users@lists.opennebula.org
 *Sent: *Thursday, April 3, 2014 5:01:12 AM


 *Subject: *Re: [one-users] Opennebula and openvswitch problem.



 Quoting Leszek Master (keks...@gmail.com):
  I'm waiting for official relese of next LTS version, i can use only LTS
 in
  my production, so i was testing it on the 12.04. If there isn't any
  official manual how ot solve this problem i'll upgrade my distro and try
  then :) Thanks for your help.



 Precise/quantal suffers from this bug:
 https://bugs.launchpad.net/bugs/1084028



 Fixed in newer releases: saucy / trusty (tested by me). This is apart
 from the legacy bridging stuff. With virtualization development
 happening so quickly I would recommend going for newer instead of older.
 Hopefully linux 3.14 and Qemu 2.0 will make it into Trusty ...



 Gr. Stefan



 --
 | BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
 | GPG: 0xD14839C6   +31 318 648 

Re: [one-users] Opennebula and openvswitch problem.

2014-04-04 Thread Stefan Kooman
Quoting Leszek Master (keks...@gmail.com):
 Ubuntu server 14.04 doesn't have opennebula in repo. So i decidec to do
 Campbell way. I've installed clean Ubuntu Server 12.04 LTS, added cloud
 repository and installed everything. I've got the same error:
 
 failed: error: Unable to add bridge br0 port vnet0: Operation not supported
 
 It still doesn't work without brcompat :(. Now i have to manually downgrade
 openvswitch version from 1.10.2 to 1.4.6 to get brcompat working.

You might want to do it another way:

hypervisors: Trusty
In a virtual machine: opennebula on precise/raring/quantal/saucy

Gr. Stefan

-- 
| BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
| GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] data store not created in VMHosts

2014-04-04 Thread Jaime Melis
Hi Hyun,

I've looked at this issue and you're completely right. If
/var/lib/one/datastores does not exist in the VMHost it will report that it
doesn't have free space and therefore it will never deploy the VM, which
means that the directory will never be created, which is a Catch 22.

We haven't noticed this earlier because usually people share
/var/lib/one/datastores and therefore you don't hit this issue. And people
using SSH and upgrading from earlier version will not hit it because in
previous pervious the disk capacity wasn't checked so it always created the
directory.

Long story short, bug confirmed, applying patch to monitor_ds.sh

Thanks for the heads up.

Cheers,
Jaime


On Mon, Mar 31, 2014 at 11:25 AM, Carlos Martín Sánchez 
cmar...@opennebula.org wrote:

 Hi,

 On Fri, Mar 28, 2014 at 7:40 PM, Hyun Woo Kim hyun...@fnal.gov wrote:

  If HostXML::test_ds_capacity only creates  $DATASTORE_LOCATION/id
 assuming  $DATASTORE_LOCATION itself exists,
 my next question here might be,
 which code creates  $DATASTORE_LOCATION itself and when?

  I don't think I missed an instruction to create  $DATASTORE_LOCATION
 manually in the ON documentation..
 i.e.  $DATASTORE_LOCATION must be created by ON codes (maybe) during the
 first VM deployment.

  But like I described in the original email, our test ON4.4  fails at
 this.

  Hyunwoo Kim
 FermiCloud


 The $DATASTORE_LOCATION/id dir is created by the tm drivers on the first
 deployment, using the ssh_make_path function (mkdir -p). As I said, I think
 the problem is not the dir creation, is with the mechanism to decide the
 first deployment on a new host.

 Regards

 --
 Carlos Martín, MSc
 Project Engineer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org
  | @OpenNebula http://twitter.com/opennebula

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




-- 
Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Opennebula and openvswitch problem.

2014-04-04 Thread Campbell, Bill
Can you send the chunk of the log surrounding that error?  I've not run into
any issues around that so long as appropriate permissions/sudo privileges
are configured.

 

From: Leszek Master [mailto:keks...@gmail.com] 
Sent: Friday, April 04, 2014 7:10 AM
To: Campbell, Bill
Cc: Users OpenNebula; Stefan Kooman
Subject: Re: [one-users] Opennebula and openvswitch problem.

 

Ubuntu server 14.04 doesn't have opennebula in repo. So i decidec to do
Campbell way. I've installed clean Ubuntu Server 12.04 LTS, added cloud
repository and installed everything. I've got the same error:

 

failed: error: Unable to add bridge br0 port vnet0: Operation not supported

 

It still doesn't work without brcompat :(. Now i have to manually downgrade
openvswitch version from 1.10.2 to 1.4.6 to get brcompat working.

 

 

 

 

2014-04-04 9:03 GMT+02:00 Leszek Master keks...@gmail.com
mailto:keks...@gmail.com :

I've ended on the new deployment of opennebula on clean installation of
ubuntu server 14.04. I've had too many problems with settings this
production ready. I'll write a feedback after setting it up.

 

2014-04-03 21:50 GMT+02:00 Campbell, Bill bcampb...@axcess-financial.com
mailto:bcampb...@axcess-financial.com :

 

I use the Libvirt provided on the Ubuntu Cloud Archive (along with Qemu and
Open vSwitch packages) and everything works well out of the box.

 

From: Leszek Master [mailto:keks...@gmail.com mailto:keks...@gmail.com ] 
Sent: Thursday, April 03, 2014 3:43 PM
To: Campbell, Bill
Cc: Users OpenNebula; Stefan Kooman


Subject: Re: [one-users] Opennebula and openvswitch problem.

 

I described this parameters in the datastore before. I've added the
BRIDGE_LIST, DISK_TYPE, CEPH_USER, POOL_NAME, CEPH_SECRET, CEPH HOST (with
port) and rest of the attributes that were added automatically after i
choose ceph datastore type. It worked like a charm before i've upgraded my
libvirt. Is it possible that i've compiled libvirt without ceph support
(i've added flag --with-storage-rbd)? Or maybe i need to compile something
more than only libvirt 1.0?

 

2014-04-03 21:00 GMT+02:00 Campbell, Bill bcampb...@axcess-financial.com
mailto:bcampb...@axcess-financial.com :

Libvirt versions greater than 1.0 handle clusters with CephX authentication
differently.  It is no longer as simple as adding the ceph.conf and keyring
to the /etc/ceph directory, you MUST specify a libvirt secret and cluster
configuration information within the VM definition file (using the
attributes for the datastores as specified in the OpenNebula documentation
for Ceph Datastores).  Libvirt before would just look into the /etc/ceph
directory for information if the appropriate configuration information did
not exist, yet the new versions expect that information in the definition,
otherwise it assumes there is NO cephx authentication in use.

 


  _  


From: Leszek Master keks...@gmail.com mailto:keks...@gmail.com 
To: Bill Campbell bcampb...@axcess-financial.com
mailto:bcampb...@axcess-financial.com 

Cc: Users OpenNebula users@lists.opennebula.org
mailto:users@lists.opennebula.org , Stefan Kooman ste...@bit.nl
mailto:ste...@bit.nl 
Sent: Thursday, April 3, 2014 1:30:59 PM


Subject: Re: [one-users] Opennebula and openvswitch problem.

 

Yes i'm using ceph. It happened after compiling libvirt from sources to
version 1.0.

3 kwi 2014 19:29 Campbell, Bill bcampb...@axcess-financial.com
mailto:bcampb...@axcess-financial.com  napisał(a):

That looks like it's having a problem locating the disk file.  Are you using
Ceph?

 


  _  


From: Leszek Master keks...@gmail.com mailto:keks...@gmail.com 
To: Bill Campbell bcampb...@axcess-financial.com
mailto:bcampb...@axcess-financial.com 
Cc: Stefan Kooman ste...@bit.nl mailto:ste...@bit.nl , Users
OpenNebula users@lists.opennebula.org mailto:users@lists.opennebula.org

Sent: Thursday, April 3, 2014 12:19:09 PM
Subject: Re: [one-users] Opennebula and openvswitch problem.

 

I tried this now, the same error:

 

migrate: Command virsh --connect qemu:///system migrate --live one-9
qemu+ssh://node-01/system failed: error: cannot open file 'one/one-4-9-0':
No such file or directory

 

I can migrate a VM to other VM's with older virsh version, may it be because
the difference in virsh versions?

 

 

2014-04-03 13:35 GMT+02:00 Campbell, Bill bcampb...@axcess-financial.com
mailto:bcampb...@axcess-financial.com :

You could also leverage the Ubuntu Cloud Archive to update Open vSwitch, I
believe the version on that official PPA is the version referenced as fixing
that bug in the link provided.

We use 12.04.x LTS w/ packages from the cloud archive and have no issues.

 


  _  


From: Stefan Kooman ste...@bit.nl mailto:ste...@bit.nl 
To: Leszek Master keks...@gmail.com mailto:keks...@gmail.com 
Cc: Users OpenNebula users@lists.opennebula.org
mailto:users@lists.opennebula.org 
Sent: Thursday, April 3, 2014 5:01:12 AM


Subject: Re: [one-users] Opennebula and openvswitch problem.

 

Quoting Leszek Master 

Re: [one-users] Opennebula and openvswitch problem.

2014-04-04 Thread Shankhadeep Shome
Well, 2.0 will break libvirt in a couple of ways and opennebula uses
libvirt so I don't think its gonna work out so well for early adopters. As
for Linux 3.14, LTS gets regular kernel updates so it will have it
eventually. I don't think its a good idea to stick to LTS for hypervisors,
you will miss too much. KVM based hypervisors should get updated yearly to
the latest stable build. VM infrastructures are easy when it comes to in
place upgrades, especially opennebula. You can always add new nodes and
retire older ones gracefully.


On Thu, Apr 3, 2014 at 5:01 AM, Stefan Kooman ste...@bit.nl wrote:

 Quoting Leszek Master (keks...@gmail.com):
  I'm waiting for official relese of next LTS version, i can use only LTS
 in
  my production, so i was testing it on the 12.04. If there isn't any
  official manual how ot solve this problem i'll upgrade my distro and try
  then :) Thanks for your help.

 Precise/quantal suffers from this bug:
 https://bugs.launchpad.net/bugs/1084028

 Fixed in newer releases: saucy / trusty (tested by me). This is apart
 from the legacy bridging stuff. With virtualization development
 happening so quickly I would recommend going for newer instead of older.
 Hopefully linux 3.14 and Qemu 2.0 will make it into Trusty ...

 Gr. Stefan

 --
 | BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
 | GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl
 ___
 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] scheduler interval

2014-04-04 Thread Shankhadeep Shome
If you look at openstack, they use a message queue for dispatching
(rabbitmq), but I think opennebula has a more elegant and simpler solution.
VMs in large environments can be deployed in batches because there are
several nodes that can deploy them at once, so once in 30 seconds for a
opennebula cluster of 50 hypervisors like in our environment is 6000 VMs
per hour!


On Fri, Mar 7, 2014 at 10:29 AM, Andrea Gardiman
andreagardi...@gmail.comwrote:

 Ok, but I don't understand why it works like a pull model instead of push.
 Is so because of a too high load matter or only because the initial
 architectural decision was to work like that and now it is still so?

 What would be the drawbacks if were the core,immediately every time a
 request arrive, tell to the scheduler to schedule that request?

 My question comes because I'm working on improving the deployment time of
 VMs for my master thesis, and I understood that I can choose to deploy VMs
 little by little, or immediately as they come but I can't see the cases in
 which deploy VMs little by little would be better that process them
 immediately.

 Thanks a lot,

  Andrea Gardiman.
 On Mar 7, 2014 10:58 AM, Carlos Martín Sánchez cmar...@opennebula.org
 wrote:

 Hi,

 On Thu, Mar 6, 2014 at 1:30 PM, Andrea Gardiman andreagardi...@gmail.com
  wrote:

 Dear all,
 I do not understand the usefulness of the scheduler parameter
 SCHED_INTERVAL. Why the scheduler act as a periodic task and have to wait
 a fixed period to schedule all the pending jobs instead of to be
 event-driven and schedule immediately a request?
 What are the benefits and the drawbacks, besides the wait?

 Thanks a lot,
  Andrea Gardiman.


 The scheduler is a separate daemon. So it polls the core periodically to
 look for pending VMs.

 The usefulness of the SCHED_INTERVAL is that, combined with the other
 config parameters [1] MAX_DISPATCH and MAX_HOST, allows you to configure a
 buffer to deploy VMs little by little, or immediately as they come.

 Regards

 [1] http://docs.opennebula.org/stable/administration/references/schg.html

 --
 Carlos Martín, MSc
 Project Engineer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | cmar...@opennebula.org | 
 @OpenNebulahttp://twitter.com/opennebulacmar...@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