Re: [one-users] minimum version requirement for ruby gems on oned/sunstone

2013-11-07 Thread Daniel Molina
Hi Stefan,

In our quality assurance and certification process we use the gems that are
packaged with each distribution, so it should be fine if you use those
packages.

$ egrep -o 'ruby-\w+' control|sort -u
ruby-amazon
ruby-json
ruby-mysql
ruby-nokogiri
ruby-opennebula
ruby-password
ruby-rack
ruby-sequel
ruby-sinatra
ruby-sqlite3
ruby-uuidtools

You can see the certified platform components for each opennebula version
in the release notes [1]

I have also opened a ticket in our dev page to deal with gem versions when
using the install_gems tool that we provide to install the dependencies
using gem install [2]

Hope this helps


[1] http://opennebula.org/software:rnotes:rn-rel4.2
[2] http://dev.opennebula.org/issues/2433




On 16 October 2013 16:47, Stefan Kooman ste...@bit.nl wrote:

 Hi,

 I'm wondering what are the minimum (and maximum supported?) version
 requirements for ruby packages on oned/sunstone. I would like to install
 (ubuntu) packages instead of  doing a gem install. It would make
 package mangement easier for me. Currently I've installed the following
 gems on a sunstone/oned/host test setup:

 # gem list

 *** LOCAL GEMS ***

 amazon-ec2 (0.9.17)
 curb (0.8.4)
 daemons (1.1.9)
 eventmachine (1.0.3)
 json (1.8.0)
 mysql (2.9.1)
 net-ldap (0.3.1)
 nokogiri (1.5.9)
 rack (1.5.2)
 rack-protection (1.5.0)
 sequel (4.1.1, 3.47.0)
 sinatra (1.4.3, 1.4.2)
 sqlite3 (1.3.7)
 thin (1.5.1)
 tilt (1.4.1)
 uuidtools (2.1.4)
 xml-simple (1.1.2)

 Thanks,

 Stefan


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

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (GNU/Linux)

 iF4EAREIAAYFAlJepx8ACgkQTyGgYdFIOcbgpwEAt2rgIwAV2s77Q+89BHtTjTth
 1jz7d1u+xRsWWFRhc7MA/iAY4GHhZjN19gq1mNO880lY4IJXRzRYcvlr3jJKfqoD
 =8T6y
 -END PGP SIGNATURE-

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




--
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Hybrid deployments with Deltacloud

2013-11-07 Thread Marcin Jarzab

Hello,

I just installed the Deltacloud service and wondering if OpenNebula can 
be integrated with service in such way

that inside hosts there can be configured external cloud installation.
Such configuration is supported by the EC2 driver when using  Amazon clouds.

In the following blog there is elaborated such deployment but how this 
can be achieved?


http://blog.opennebula.org/?p=569

Marcin

--
Ph.D. Eng. Marcin Jarzab
m...@agh.edu.pl
http://www.ics.agh.edu.pl/people/mj

Department of Computer Science
AGH University of Science and Technology
Kawiory 21, Building D17, 30-055  Krakow, POLAND
phone: +48 (12) 328 33 72
==

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


[one-users] *no go*, using Linux br0 to contact ONE VMs -- (was) RE: VM networking configuration CentOS

2013-11-07 Thread Mark Biggers
Yet another Mark, here:

This is perhaps a related question.   I completely missed the  CONTEXT = [ 
NETWORK = YES ]  in my ONE templates, and thereby was screwed.  Fixed, thanks 
for this
( this needs to be **better documented**, please... )

However, I still can't get the ebtables / brN (Linux bridging) to work, for 
ping / ssh / VNC going , to my VM network 192.168.122.0.   Notes below.  Need 
the ONE
team's help, thank you.

Here's how I configured the br0 bridge, on openSUSE 12.3 Linux :

sudo  ifdown br0 || echo no way to down bridge br0 :)
sudo  brctl delbr br0 || echo no bridge br0 :)

sudo  ifconfig eth0 promisc up
sudo  brctl show

sudo  brctl addbr br0
sudo  brctl show

sudo  ifconfig eth0 0.0.0.0 up
sudo  brctl addif br0 eth0
sudo  brctl show

sudo  ifconfig br0 192.168.1.250   # previous addr of eth0

sudo route add default gw 192.168.1.1
sudo route add -net 192.168.122.0  gw 192.168.1.250 netmask 255.255.255.0

 supporting info =

r...@sealion.ine.corp:~ # ip addr | dpaste
  http://dpaste.de/csGz 
 
oneadmin@sealion:~  onevnet show -x 4 | dpaste
  http://dpaste.de/594n 

oneadmin@sealion:~  onetemplate show 18 -x | dpaste
  http://dpaste.de/OIya 
 
oneadmin@sealion:~  onevm show 20 -x | dpaste
  http://dpaste.de/pXEZ 

r...@sealion.ine.corp:~ # cat typescript | dpaste  ## pinging, netstats
  http://dpaste.de/9OwD 


mark



From: users-boun...@lists.opennebula.org [users-boun...@lists.opennebula.org] 
On Behalf Of Jaime Melis [jme...@opennebula.org]
Sent: Wednesday, November 06, 2013 10:50 AM
To: Mark Kusch
Cc: Users OpenNebula
Subject: Re: [one-users] VM networking configuration CentOS

Hi Mark,

I think the problem is that you are not using the CONTEXT = [ NETWORK = YES ] 
option. If you don't, the VM will infer its IP from the MAC, converting the 
last 4 bytes of the MAC to decimal:

MAC=54:52:00:c0:de:0a, = 00 . c0 . de . 0a = 0.192.222.10

If you add the CONTEXT bit from before to your template everything should work 
OK.

cheers,
Jaime




On Mon, Oct 21, 2013 at 4:14 PM, Mark Kusch 
mark.ku...@silpion.demailto:mark.ku...@silpion.de wrote:
Hi list!

Problem solved... Still it FEELS like NetworkManager broke networking
in the VMs, still not confirmed.

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


Re: [one-users] VMFS datastore marketplace import image

2013-11-07 Thread cosmin cucu
Any ideas on this new error?

Thanks,
Cosmin





On Wednesday, November 6, 2013 1:18 PM, cosmin cucu cosminc...@yahoo.com 
wrote:
 
It was indeed a permission issue, i managed to make it working. I did create 
the image, and the template. But when i deploy a VM i get the following error 
in it's log : 

Wed Nov  6 06:12:07 2013 [TM][I]: clone: Cloning 
OpenNebula:/vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527 in 
192.168.10.10:/vmfs/volumes/100/37/disk.0
Wed Nov  6 06:12:07 2013 [TM][E]: clone: Command cd /vmfs/volumes/100/37
Wed Nov  6 06:12:07 2013 [TM][I]:
Wed Nov  6 06:12:07 2013 [TM][I]: export PATH=/usr/sbin:/sbin:$PATH
Wed Nov  6 06:12:07 2013 [TM][I]:
Wed Nov  6 06:12:07 2013 [TM][I]: if [ FILE != CDROM ]; then
Wed Nov  6 06:12:07 2013 [TM][I]: if [ ! -d /vmfs/volumes/100/37/disk.0 ]; then
Wed Nov  6 06:12:07 2013 [TM][I]: mkdir -p /vmfs/volumes/100/37/disk.0
Wed Nov  6 06:12:07 2013 [TM][I]: fi
Wed Nov  6 06:12:07 2013 [TM][I]:
Wed Nov  6 06:12:07 2013 [TM][I]: vmkfstools -U 
/vmfs/volumes/100/37/disk.0/disk.vmdk
Wed Nov  6 06:12:07 2013 [TM][I]: rm -f /vmfs/volumes/100/37/disk.0/*
Wed Nov  6 06:12:07 2013 [TM][I]:
Wed
 Nov  6 06:12:07 2013 [TM][I]: vmkfstools -i 
/vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527/disk.vmdk -d thin 
/vmfs/volumes/100/37/disk.0/disk.vmdk
Wed Nov  6 06:12:07 2013 [TM][I]: else
Wed Nov  6 06:12:07 2013 [TM][I]: if [ ! -d /vmfs/volumes/100/37 ]; then
Wed Nov  6 06:12:07 2013 [TM][I]: mkdir -p /vmfs/volumes/100/37
Wed Nov  6 06:12:07 2013 [TM][I]: fi
Wed Nov  6 06:12:07 2013 [TM][I]:
Wed Nov  6 06:12:07 2013 [TM][I]: rm -f /vmfs/volumes/100/37/disk.0
Wed Nov  6 06:12:07 2013 [TM][I]:
Wed Nov  6 06:12:07 2013 [TM][I]: cp 
/vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527 /vmfs/volumes/100/37/disk.0
Wed Nov  6 06:12:07 2013 [TM][I]: ln -s /vmfs/volumes/100/37/disk.0 
/vmfs/volumes/100/37/disk.0.iso
Wed Nov  6 06:12:07 2013 [TM][I]: fi failed: sh: cd: line 0: can't cd to 
/vmfs/volumes/100/37
Wed Nov  6 06:12:07 2013 [TM][I]: Failed to delete virtual
 disk: The system cannot find the file specified (25).
Wed Nov  6 06:12:07 2013 [TM][I]: DiskLib_Check() failed for source disk The 
system cannot find the file specified (25).
Wed Nov  6 06:12:07 2013 [TM][E]: Error cloning 
OpenNebula:/vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527 to 
192.168.10.10:/vmfs/volumes/100/37/disk.0
Wed Nov  6 06:12:07 2013 [TM][I]: ExitCode: 255
Wed Nov  6 06:12:07 2013 [TM][E]: Error executing image transfer script: Error 
cloning OpenNebula:/vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527 to 
192.168.10.10:/vmfs/volumes/100/37/disk.0
Wed Nov  6 06:12:07 2013 [DiM][I]: New VM state is FAILED

Any ideas?

Thanks.
Cosmin
___
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] VMFS datastore marketplace import image

2013-11-07 Thread Tino Vazquez
Hi,

Can you check if this file exists in the ESX node?

 /vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527

If it doesn't, you may need to register the image again.

Regards,

-Tino
--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and
any accompanying documents, unless otherwise expressly indicated, is
confidential and privileged, and is intended solely for the person
and/or entity to whom it is addressed (i.e. those identified in the
To and cc box). They are the property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this
communication, or any part thereof, is strictly prohibited and may be
unlawful. If you have received this e-mail in error, please notify us
immediately by e-mail at ab...@c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.


On Thu, Nov 7, 2013 at 4:39 PM, cosmin cucu cosminc...@yahoo.com wrote:
 Any ideas on this new error?

 Thanks,
 Cosmin


 On Wednesday, November 6, 2013 1:18 PM, cosmin cucu cosminc...@yahoo.com
 wrote:
 It was indeed a permission issue, i managed to make it working. I did create
 the image, and the template. But when i deploy a VM i get the following
 error in it's log :

 Wed Nov  6 06:12:07 2013 [TM][I]: clone: Cloning
 OpenNebula:/vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527 in
 192.168.10.10:/vmfs/volumes/100/37/disk.0
 Wed Nov  6 06:12:07 2013 [TM][E]: clone: Command cd /vmfs/volumes/100/37
 Wed Nov  6 06:12:07 2013 [TM][I]:
 Wed Nov  6 06:12:07 2013 [TM][I]: export PATH=/usr/sbin:/sbin:$PATH
 Wed Nov  6 06:12:07 2013 [TM][I]:
 Wed Nov  6 06:12:07 2013 [TM][I]: if [ FILE != CDROM ]; then
 Wed Nov  6 06:12:07 2013 [TM][I]: if [ ! -d /vmfs/volumes/100/37/disk.0 ];
 then
 Wed Nov  6 06:12:07 2013 [TM][I]: mkdir -p /vmfs/volumes/100/37/disk.0
 Wed Nov  6 06:12:07 2013 [TM][I]: fi
 Wed Nov  6 06:12:07 2013 [TM][I]:
 Wed Nov  6 06:12:07 2013 [TM][I]: vmkfstools -U
 /vmfs/volumes/100/37/disk.0/disk.vmdk
 Wed Nov  6 06:12:07 2013 [TM][I]: rm -f /vmfs/volumes/100/37/disk.0/*
 Wed Nov  6 06:12:07 2013 [TM][I]:
 Wed Nov  6 06:12:07 2013 [TM][I]: vmkfstools -i
 /vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527/disk.vmdk -d thin
 /vmfs/volumes/100/37/disk.0/disk.vmdk
 Wed Nov  6 06:12:07 2013 [TM][I]: else
 Wed Nov  6 06:12:07 2013 [TM][I]: if [ ! -d /vmfs/volumes/100/37 ]; then
 Wed Nov  6 06:12:07 2013 [TM][I]: mkdir -p /vmfs/volumes/100/37
 Wed Nov  6 06:12:07 2013 [TM][I]: fi
 Wed Nov  6 06:12:07 2013 [TM][I]:
 Wed Nov  6 06:12:07 2013 [TM][I]: rm -f /vmfs/volumes/100/37/disk.0
 Wed Nov  6 06:12:07 2013 [TM][I]:
 Wed Nov  6 06:12:07 2013 [TM][I]: cp
 /vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527
 /vmfs/volumes/100/37/disk.0
 Wed Nov  6 06:12:07 2013 [TM][I]: ln -s /vmfs/volumes/100/37/disk.0
 /vmfs/volumes/100/37/disk.0.iso
 Wed Nov  6 06:12:07 2013 [TM][I]: fi failed: sh: cd: line 0: can't cd to
 /vmfs/volumes/100/37
 Wed Nov  6 06:12:07 2013 [TM][I]: Failed to delete virtual disk: The system
 cannot find the file specified (25).
 Wed Nov  6 06:12:07 2013 [TM][I]: DiskLib_Check() failed for source disk The
 system cannot find the file specified (25).
 Wed Nov  6 06:12:07 2013 [TM][E]: Error cloning
 OpenNebula:/vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527 to
 192.168.10.10:/vmfs/volumes/100/37/disk.0
 Wed Nov  6 06:12:07 2013 [TM][I]: ExitCode: 255
 Wed Nov  6 06:12:07 2013 [TM][E]: Error executing image transfer script:
 Error cloning OpenNebula:/vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527
 to 192.168.10.10:/vmfs/volumes/100/37/disk.0
 Wed Nov  6 06:12:07 2013 [DiM][I]: New VM state is FAILED

 Any ideas?

 Thanks.
 Cosmin

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




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

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


[one-users] KVM process at 99% CPU

2013-11-07 Thread Daniel Dehennin
Hello,

On our 3.8 dual-node ONE I got this morning a OVERLOADED node with load
average of 35.

I found one my own VMs eating 99% CPU, it was just booted and waiting
at ISO boot menu prompt.

It looks to be related to KVM as I reproduce it on a 4.2.

I can reproduce it by defining a template using an Ubuntu Server AMD64 ISO
and instanciate it.

I just let the VMs at ISO boot menu, and the KVM process quickly eat 99%
of CPU.

If someone has an idea.

Here is the template:

oneadmin@nebula:~$ onetemplate show 17
TEMPLATE 17 INFORMATION 

ID : 17  
NAME   : Install ISO AMD64 20G
USER   : eole
GROUP  : oneadmin
REGISTER TIME  : 10/11 19:29:17  

PERMISSIONS 

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

TEMPLATE CONTENTS   

CONTEXT=[
  NETWORK=YES,
  SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY] ]
CPU=0.2
DISK=[
  IMAGE_ID=0 ]
DISK=[
  CACHE=none,
  IMAGE_ID=43 ]
FEATURES=[
  ACPI=yes,
  PAE=no ]
GRAPHICS=[
  KEYMAP=fr,
  LISTEN=0.0.0.0,
  TYPE=VNC ]
INPUT=[
  BUS=usb,
  TYPE=tablet ]
MEMORY=768
NIC=[
  MODEL=virtio,
  NETWORK_ID=1 ]
OS=[
  ARCH=x86_64,
  BOOT=hd ]
VCPU=2

And here the ISO:

oneadmin@nebula:~$ oneimage show 43
IMAGE 43 INFORMATION

ID : 43  
NAME   : Ubuntu 13.10 server AMD64
USER   : eole
GROUP  : oneadmin
DATASTORE  : ISO 
TYPE   : CDROM   
REGISTER TIME  : 11/07 16:29:06  
PERSISTENT : No  
SOURCE :
/var/lib/one//datastores/100/39670c51a99879ca3e221d5fc8027dce
PATH   : /var/tmp/thin-body20131107-1782-yqfomp
SIZE   : 672M
STATE  : used
RUNNING_VMS: 1   

PERMISSIONS 

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

IMAGE TEMPLATE  

DEV_PREFIX=hd
DRIVER=raw

VIRTUAL MACHINES

ID USER GROUPNAMESTAT UCPUUMEM HOSTTIME
   117 eole oneadmin userver-testrunn   99768M nebula  0d 00h06

Regards.

-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF


pgp2fs2gWG7nw.pgp
Description: PGP signature
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] KVM process at 99% CPU

2013-11-07 Thread Javier Fontan
Most, if not all, modern operating systems set the CPU to sleep mode
when they don't need to be used. The problem here is that the VMs are
not running a OS but a boot loader and it does not implement this
feature so it is using all the CPU cycles doing nothing. In this
regard KVM nor OpenNebula can help.

The only tip I can give you is to use cgroups to limit the total
amount of CPU a VM can use:

http://opennebula.org/documentation:rel4.2:kvmg#working_with_cgroups_optional

On Thu, Nov 7, 2013 at 4:38 PM, Daniel Dehennin
daniel.dehen...@baby-gnu.org wrote:
 Hello,

 On our 3.8 dual-node ONE I got this morning a OVERLOADED node with load
 average of 35.

 I found one my own VMs eating 99% CPU, it was just booted and waiting
 at ISO boot menu prompt.

 It looks to be related to KVM as I reproduce it on a 4.2.

 I can reproduce it by defining a template using an Ubuntu Server AMD64 ISO
 and instanciate it.

 I just let the VMs at ISO boot menu, and the KVM process quickly eat 99%
 of CPU.

 If someone has an idea.

 Here is the template:

 oneadmin@nebula:~$ onetemplate show 17
 TEMPLATE 17 INFORMATION
 ID : 17
 NAME   : Install ISO AMD64 20G
 USER   : eole
 GROUP  : oneadmin
 REGISTER TIME  : 10/11 19:29:17

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

 TEMPLATE CONTENTS
 CONTEXT=[
   NETWORK=YES,
   SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY] ]
 CPU=0.2
 DISK=[
   IMAGE_ID=0 ]
 DISK=[
   CACHE=none,
   IMAGE_ID=43 ]
 FEATURES=[
   ACPI=yes,
   PAE=no ]
 GRAPHICS=[
   KEYMAP=fr,
   LISTEN=0.0.0.0,
   TYPE=VNC ]
 INPUT=[
   BUS=usb,
   TYPE=tablet ]
 MEMORY=768
 NIC=[
   MODEL=virtio,
   NETWORK_ID=1 ]
 OS=[
   ARCH=x86_64,
   BOOT=hd ]
 VCPU=2

 And here the ISO:

 oneadmin@nebula:~$ oneimage show 43
 IMAGE 43 INFORMATION
 ID : 43
 NAME   : Ubuntu 13.10 server AMD64
 USER   : eole
 GROUP  : oneadmin
 DATASTORE  : ISO
 TYPE   : CDROM
 REGISTER TIME  : 11/07 16:29:06
 PERSISTENT : No
 SOURCE :
 /var/lib/one//datastores/100/39670c51a99879ca3e221d5fc8027dce
 PATH   : /var/tmp/thin-body20131107-1782-yqfomp
 SIZE   : 672M
 STATE  : used
 RUNNING_VMS: 1

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

 IMAGE TEMPLATE
 DEV_PREFIX=hd
 DRIVER=raw

 VIRTUAL MACHINES

 ID USER GROUPNAMESTAT UCPUUMEM HOSTTIME
117 eole oneadmin userver-testrunn   99768M nebula  0d 
 00h06

 Regards.

 --
 Daniel Dehennin
 Récupérer ma clef GPG:
 gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF

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




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


Re: [one-users] Backup and Restore

2013-11-07 Thread Ruben S. Montero
You can also try (Xen, VMware also supported in this method) save_as the VM
disks (live), sync the FS (within the VMs) before doing it to prevent
inconsistencies. You will have a copy of the disks in the Image datastore,
that can be used as backup or to instantiate other VMs.

Cheers


On Thu, Oct 31, 2013 at 9:44 AM, Carlo Daffara 
carlo.daff...@cloudweavers.eu wrote:

 There are many solutions; apart from using kvm snapshots (and later image
 rebuild to have a single clone) we prefer the use of a filesystem that
 allows for atomic snapshots (like BTRFS) or
 a distributed filesystem with the same properties (like Ceph). You
 snapshot the entire datastore or the single file you want, and then
 reimport it within opennebula.
 Take care of one thing: if you are using cache=writeback in KVM (or the
 equivalent in xen or vmware) you are risking inconsistencies, unless you
 stop the VM, as there are probably outstanding writes that needs to be
 committed to disk that will not appear in the snapshot at all.
 Carlo Daffara

 - Messaggio originale -
 Da: Soeren Malchow soeren.malc...@mcon.net
 A: users@lists.opennebula.org
 Inviato: Giovedì, 31 ottobre 2013 7:41:35
 Oggetto: [one-users] Backup and Restore



 Dear all,



 i already searched the documentation and the mailing list, but did not
 come up with an answer.



 I would like to know how to backup virtual machines in OpenNebula WITHOUT
 shutting the down, or if there is a solution at all.



 We have an existing backup system that should be reused, exposure of the
 virtual machines images files or something like that should be sufficient.



 Can anybody point me into the right direction ?



 Regards

 Soeren

 ___
 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




-- 
-- 
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


Re: [one-users] Creating images how to

2013-11-07 Thread Documented Facts
Bellow links have described how to do it. Read them and get it done.

http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU

http://wiki.centos.org/HowTos/KVM

http://wiki.xen.org/wiki/CentOS_6_Virtual_Machine_installation_on_Xen

Inside images is still same as Cent OS usage.


On Thu, Nov 7, 2013 at 10:52 PM, users-requ...@lists.opennebula.org wrote:

 Send Users mailing list submissions to
 users@lists.opennebula.org

 To subscribe or unsubscribe via the World Wide Web, visit
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 or, via email, send a message with subject or body 'help' to
 users-requ...@lists.opennebula.org

 You can reach the person managing the list at
 users-ow...@lists.opennebula.org

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Users digest...


 Today's Topics:

1. KVM process at 99% CPU (Daniel Dehennin)
2. Re: VMFS datastore marketplace import image (cosmin cucu)
3. Re: VMFS datastore marketplace import image (Tino Vazquez)
4. Creating images how to (Amier Anis)


 --

 Message: 1
 Date: Thu, 07 Nov 2013 16:38:31 +0100
 From: Daniel Dehennin daniel.dehen...@baby-gnu.org
 To: users@lists.opennebula.org
 Subject: [one-users] KVM process at 99% CPU
 Message-ID: 87siv89q88@hati.baby-gnu.org
 Content-Type: text/plain; charset=utf-8

 Hello,

 On our 3.8 dual-node ONE I got this morning a OVERLOADED node with load
 average of 35.

 I found one my own VMs eating 99% CPU, it was just booted and waiting
 at ISO boot menu prompt.

 It looks to be related to KVM as I reproduce it on a 4.2.

 I can reproduce it by defining a template using an Ubuntu Server AMD64 ISO
 and instanciate it.

 I just let the VMs at ISO boot menu, and the KVM process quickly eat 99%
 of CPU.

 If someone has an idea.

 Here is the template:

 oneadmin@nebula:~$ onetemplate show 17
 TEMPLATE 17 INFORMATION
 ID : 17
 NAME   : Install ISO AMD64 20G
 USER   : eole
 GROUP  : oneadmin
 REGISTER TIME  : 10/11 19:29:17

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

 TEMPLATE CONTENTS
 CONTEXT=[
   NETWORK=YES,
   SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY] ]
 CPU=0.2
 DISK=[
   IMAGE_ID=0 ]
 DISK=[
   CACHE=none,
   IMAGE_ID=43 ]
 FEATURES=[
   ACPI=yes,
   PAE=no ]
 GRAPHICS=[
   KEYMAP=fr,
   LISTEN=0.0.0.0,
   TYPE=VNC ]
 INPUT=[
   BUS=usb,
   TYPE=tablet ]
 MEMORY=768
 NIC=[
   MODEL=virtio,
   NETWORK_ID=1 ]
 OS=[
   ARCH=x86_64,
   BOOT=hd ]
 VCPU=2

 And here the ISO:

 oneadmin@nebula:~$ oneimage show 43
 IMAGE 43 INFORMATION
 ID : 43
 NAME   : Ubuntu 13.10 server AMD64
 USER   : eole
 GROUP  : oneadmin
 DATASTORE  : ISO
 TYPE   : CDROM
 REGISTER TIME  : 11/07 16:29:06
 PERSISTENT : No
 SOURCE :
 /var/lib/one//datastores/100/39670c51a99879ca3e221d5fc8027dce
 PATH   : /var/tmp/thin-body20131107-1782-yqfomp
 SIZE   : 672M
 STATE  : used
 RUNNING_VMS: 1

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

 IMAGE TEMPLATE
 DEV_PREFIX=hd
 DRIVER=raw

 VIRTUAL MACHINES

 ID USER GROUPNAMESTAT UCPUUMEM HOSTTIME
117 eole oneadmin userver-testrunn   99768M nebula  0d
 00h06

 Regards.

 --
 Daniel Dehennin
 R?cup?rer ma clef GPG:
 gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF
 -- next part --
 A non-text attachment was scrubbed...
 Name: not available
 Type: application/pgp-signature
 Size: 229 bytes
 Desc: not available
 URL: 
 http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131107/15670525/attachment-0001.pgp
 

 --

 Message: 2
 Date: Thu, 7 Nov 2013 07:39:50 -0800 (PST)
 From: cosmin cucu cosminc...@yahoo.com
 To: cosmin cucu cosminc...@yahoo.com, Tino Vazquez
 cvazq...@c12g.com
 Cc: users Users@lists.opennebula.org
 Subject: Re: [one-users] VMFS datastore marketplace import image
 Message-ID:
 1383838790.42263.yahoomail...@web141501.mail.bf1.yahoo.com
 Content-Type: text/plain; charset=iso-8859-1

 Any ideas on this new error?

 Thanks,
 Cosmin





 On Wednesday, November 6, 2013 1:18 PM, cosmin cucu cosminc...@yahoo.com
 wrote:

 It was indeed a permission issue, i managed to make it working. I did
 create the image, and the template. But when i deploy a VM i get the
 following error in it's log :

 Wed Nov? 6 06:12:07 2013 [TM][I]: clone: Cloning
 OpenNebula:/vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527 in
 192.168.10.10:/vmfs/volumes/100/37/disk.0
 Wed Nov? 6

[one-users] datastore log info missing from oned.log in v4.2

2013-11-07 Thread Gary S. Cuozzo
Hi All, 
I have recently upgraded our environment from 3.8.x to 4.2 version. Running on 
Ubuntu 12.04LTS. I have some custom datastore/tm drivers that I wrote which 
worked well in 3.8. I am trying to troubleshoot something related to live 
migration and my log messages are not getting to /var/log/one/oned.log file. I 
have logging set to debug in oned.conf. I see debug level messages for other 
subsystems, such as [ReM] but nothing related to the datastore or tm. 

Just as a sanity check, I have another server that I did a clean install on and 
I'm seeing the same results. 

I also tested adding some log entries into the stock ONE drivers and I do not 
see anything logged. 

Any ideas? 

Thanks in advance, 
gary 

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