Re: [one-users] I am getting following error when i tried to install CentOS VM with an ISO file and an empty Datablock. Boot failed: Could not read from CDROM (code 0004) No bootable device.

2015-05-26 Thread Duverne, Cyrille


Hello Vivek,

 

Could you tell which version of OpenNebula you're running ?

Could you paste the template you're using to instantiate your VM ?

 

If you just want to run a basic CentOS image, you can use the one
available on OpenNebula's Marketplace (available from Sunstone).

 

Enjoy

CyD

At Wednesday, 29/04/2015 on 18:04 VIVEK THALORA wrote:

  Hi,

I am a newbie to OpenNebula, from the past one week i am trying to
bring up a Virtual Machine by using an ISO file (CENTOS-6.6-Minimal)
and an empty datablock. I was doing it through Opennebula Sunstone  I
was referring following website
(http://www.whotouchedmygun.com/2014/03/17/create-a-vm-image-in-opennebula/)
for the help. But after completion when i tried to start the VM i am
getting following error, Boot failed: Could not read from CDROM (code
0004) No bootable device. 
In my case KVM Hypervisor,Opennebula Server all are on the same server
and storage is local hard disk. Please suggest me if anything i need
to modify. I couldn't get a proper solution on my internet search, or
if there is any other alternate approach for the fulfillment of the
same goal please suggest. Any solution from your side will be greatly
appreciated.

The output of file /var/lib/one/datastores/0/9/deployment.0 is,
        one-9
        
                1024
        
        524288
        
                hvm
                
        
        
                /usr/libexec/qemu-kvm
                
                        
                        
                        
                        
                
                
                        
                        
                        
                
                
                        
                        
                        
                        
                
                
                        
                        
                
                
        
        
                
        

 If required please find the output of the following commands,

[root@virtsvr02 ~]# file /var/lib/one/datastores/0/9/*
/var/lib/one/datastores/0/9/deployment.0: ASCII text
/var/lib/one/datastores/0/9/disk.0: symbolic link to
`/var/lib/one/datastores/1/f90ddbc1ca16ca09b5474b4d672e834e'
/var/lib/one/datastores/0/9/disk.1: symbolic link to
`/var/lib/one/datastores/1/88b232605a7c139ff34c977652de25b4'
/var/lib/one/datastores/0/9/disk.2: # ISO 9660 CD-ROM filesystem data
'CONTEXT '
/var/lib/one/datastores/0/9/disk.2.iso: symbolic link to
`/var/lib/one/datastores/0/9/disk.2'

[root@virtsvr02 ~]# ls ltr /var/lib/one/datastores/0/9/*
lrwxrwxrwx 1 oneadmin oneadmin 58 Apr 29 11:06
/var/lib/one/datastores/0/9/disk.0 -
/var/lib/one/datastores/1/f90ddbc1ca16ca09b5474b4d672e834e
lrwxrwxrwx 1 oneadmin oneadmin 58 Apr 29 11:06
/var/lib/one/datastores/0/9/disk.1 -
/var/lib/one/datastores/1/88b232605a7c139ff34c977652de25b4
-rw-r--r- 1 oneadmin oneadmin 374784 Apr 29 11:06
/var/lib/one/datastores/0/9/disk.2
lrwxrwxrwx 1 oneadmin oneadmin 34 Apr 29 11:06
/var/lib/one/datastores/0/9/disk.2.iso 
/var/lib/one/datastores/0/9/disk.2
-rw-rw-r- 1 oneadmin oneadmin 1051 Apr 29 11:06
/var/lib/one/datastores/0/9/deployment.0

[root@virtsvr02 ~]# file /var/lib/one/datastores/1/*
/var/lib/one/datastores/1/88b232605a7c139ff34c977652de25b4: QEMU QCOW
Image (v3), 7340032000 bytes
/var/lib/one/datastores/1/c012276cfb37c4306ab33d11d722d28d: QEMU QCOW
Image (v2), 10737418240 bytes
/var/lib/one/datastores/1/f90ddbc1ca16ca09b5474b4d672e834e: # ISO 9660
CD-ROM filesystem data 'CentOS 7 x86_64 ' (bootable)

[root@virtsvr02 ~]# ls ltr /var/lib/one/datastores/1/*
-rw-r--r- 1 oneadmin oneadmin 870252544 Apr 23 05:53
/var/lib/one/datastores/1/c012276cfb37c4306ab33d11d722d28d
rw-r--r- 1 oneadmin oneadmin 197120 Apr 24 09:34
/var/lib/one/datastores/1/88b232605a7c139ff34c977652de25b4
rw-r--r- 1 oneadmin oneadmin 666894336 Apr 24 09:42
/var/lib/one/datastores/1/f90ddbc1ca16ca09b5474b4d672e834e

Thanks  Regards,
Vivek P V


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


Re: [one-users] OCCI Vagrant

2014-09-09 Thread Duverne, Cyrille
Hello Daniel,

Wow, indeed !
Thanks for the tip, I'll check that, and keep you posted !

Kind regards
Cyrille

At Monday, 08/09/2014 on 11:16 Daniel Molina wrote:

Hi Cyrille,

From the docs of the Vagrant plugin, you have to use the rOCCI server
and not the old occi server that was included in opennebula:

https://github.com/gwdg/rOCCI-server/

Cheers

On 5 September 2014 16:40, Duverne, Cyrille  wrote:

Hello guys,

I was paying around with this module :
https://github.com/eucher/opennebula-provider

Therefore I configured OCCI on my opennebula cluster.

Here below my occi-server.conf :

​##
Server configuration
#

# Directory to store temp files when uploading images
:tmpdir: /var/tmp

# OpenNebula server contact information
:one_xmlrpc: http://localhost:2633/RPC2

# Host and port where OCCI server will run
:host: 127.0.0.1
:port: 4567

#
# Auth
#

# Authentication driver for incomming requests
#   occi, for OpenNebula's user-password scheme
#   x509, for x509 certificates based authentication
#   opennebula, use the driver defined for the user in OpenNebula
:auth: occi

# Authentication driver to communicate with OpenNebula core
#   cipher, for symmetric cipher encryption of tokens
#   x509, for x509 certificate encryption of tokens
:core_auth: cipher

I tried to put http://IP-OCCIServer:2633/RPC2 as endpoint and my ONE
username and password for auth info.

I get a strange 404 error, even when http://IP-OCCIServer:2633/RPC2 in
a browser gives 405 error page.

In a general matter, is there a way to test that OCCI interface is
working correctly ? To be sure it's on the tool I'm using and not on
my setup.

Thanks in advance.
Cyrille

___
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 [1] | dmol...@opennebula.org | @OpenNebula



Links:
--
[1] http://www.OpenNebula.org

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


[one-users] OCCI Vagrant

2014-09-05 Thread Duverne, Cyrille
Hello guys,

I was paying around with this module :
https://github.com/eucher/opennebula-provider

Therefore I configured OCCI on my opennebula cluster.

Here below my occi-server.conf :

​##
Server configuration
#

# Directory to store temp files when uploading images
:tmpdir: /var/tmp

# OpenNebula server contact information
:one_xmlrpc: http://localhost:2633/RPC2

# Host and port where OCCI server will run
:host: 127.0.0.1
:port: 4567

#
# Auth
#

# Authentication driver for incomming requests
#   occi, for OpenNebula's user-password scheme
#   x509, for x509 certificates based authentication
#   opennebula, use the driver defined for the user in OpenNebula
:auth: occi

# Authentication driver to communicate with OpenNebula core
#   cipher, for symmetric cipher encryption of tokens
#   x509, for x509 certificate encryption of tokens
:core_auth: cipher

I tried to put http://IP-OCCIServer:2633/RPC2 as endpoint and my ONE
username and password for auth info.

I get a strange 404 error, even when http://IP-OCCIServer:2633/RPC2 in
a browser gives 405 error page.

In a general matter, is there a way to test that OCCI interface is
working correctly ? To be sure it's on the tool I'm using and not on
my setup.

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


Re: [one-users] Problem while creating VMs

2014-06-08 Thread Duverne, Cyrille
Hello Guys !

I've upgraded to 4.6 and I'm now able to create VMs.
Some questions still :

- When, from sunstone, I want to create a new VM following a template
(4.2 compliant), they are stuck in PENDING state until I click on
Deploy - I've browse the doc without finding precise explanation on
this behaviour of the scheduler.

- Regarding the 4.2 templates, it looks like a lot changed. Find below
my actual template + init.sh, could you tell me ht to change to be 4.6
ready ?

Template :

FEATURES=[ACPI=yes]
CONTEXT=[HOSTNAME=VM-$VMID,
IP_PUBLIC=$NIC[IP, NETWORK=\Big Network\],
GATEWAY=10.0.3.1,
FILES=/nebuladata/scripts/init.sh,
TARGET=vdb,
DATABLOCK=vdc]
NIC=[NETWORK=Big Network]
OS=[ARCH=x86_64,BOOT=hd]
MEMORY=512
CPU=0.2
TEMPLATE_ID=31
GRAPHICS=[TYPE=vnc,KEYMAP=fr]
DISK=[IMAGE=Ubuntu10gContexted,TARGET=vda,CACHE=writeback]
DISK=[SIZE=15000,FORMAT=ext3,TYPE=fs,TARGET=vdc,CACHE=writeback]

init.sh :

#!/bin/bash

if [ -f /mnt/context/context.sh ]
then
  . /mnt/context/context.sh
fi

#Mount datablock if specified, and change default owner
if [ -n $DATABLOCK ]; then
    mount -t ext3 /dev/$DATABLOCK /mnt/data
        #if [ -n $DISTFS ]; then
        #fi
    chown enx:enx /mnt/data
fi

#Change hostname by the one specified in context
if [ -n $HOSTNAME ]; then
    echo $HOSTNAME  /etc/hostname
    hostname $HOSTNAME
    rm /etc/hosts
    echo 127.0.0.1 localhost  /etc/hosts
    echo 127.0.0.1 $HOSTNAME $HOSTNAME.local  /etc/hosts
fi

#Specify IP
if [ -n $IP_PUBLIC ]; then
    ifconfig eth0 $IP_PUBLIC
fi

#Specify Netmask
if [ -n $NETMASK ]; then
    ifconfig eth0 netmask $NETMASK
    echo 'nameserver 192.168.0.1'  /etc/resolv.conf
fi

#Specify Gateway
if [ -n $GATEWAY ]; then
    route add default gw $GATEWAY eth0
    service networking restart
fi

I understood that a lot changed, and the new layout is pretty sexy,
I'm acking of some upgrade guidance for custom developments, e.g : If
you were using this kind of CONTEXT, you should use that instead

Thanks in advance for your help !
CyD

At Friday, 06/06/2014 on 18:45 Duverne, Cyrille wrote:

Hello !

I'm facing a strange behaviour, when creating a new VM I get : 

Fri Jun 6 18:15:19 2014 [DiM][I]: New VM state is ACTIVE.
Fri Jun 6 18:15:20 2014 [LCM][I]: New VM state is PROLOG.
Fri Jun 6 18:15:20 2014 [TM][I]: Command execution fail:
/var/lib/one/remotes/tm/shared/clone
inferno:/var/lib/one/datastores/1/b241670f66f9589d3c22afcc708c75c3
orthanc.local:/var/lib/one/datastores/0/283/disk.0 283 1
Fri Jun 6 18:15:20 2014 [TM][I]: sh: 1:
/var/lib/one/remotes/tm/shared/clone: not found
Fri Jun 6 18:15:20 2014 [TM][I]: ExitCode: 127
Fri Jun 6 18:15:20 2014 [TM][E]: Error executing image transfer script
Fri Jun 6 18:15:21 2014 [DiM][I]: New VM state is FAILED

As you can see /var/lib/one/remotes/tm/shared/clone isn't found.
Indeed there is no clone file in this directory :

oneadmin@inferno:/nebuladata/one-data/remotes/tm$ ls shared
cpds  mkimage  mkswap  postmigrate  premigrate

Some help here could be great !

Thanks
Cyrille


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


[one-users] Problem while creating VMs

2014-06-06 Thread Duverne, Cyrille
Hello !

I'm facing a strange behaviour, when creating a new VM I get : 

Fri Jun 6 18:15:19 2014 [DiM][I]: New VM state is ACTIVE.
Fri Jun 6 18:15:20 2014 [LCM][I]: New VM state is PROLOG.
Fri Jun 6 18:15:20 2014 [TM][I]: Command execution fail:
/var/lib/one/remotes/tm/shared/clone
inferno:/var/lib/one/datastores/1/b241670f66f9589d3c22afcc708c75c3
orthanc.local:/var/lib/one/datastores/0/283/disk.0 283 1
Fri Jun 6 18:15:20 2014 [TM][I]: sh: 1:
/var/lib/one/remotes/tm/shared/clone: not found
Fri Jun 6 18:15:20 2014 [TM][I]: ExitCode: 127
Fri Jun 6 18:15:20 2014 [TM][E]: Error executing image transfer script
Fri Jun 6 18:15:21 2014 [DiM][I]: New VM state is FAILED

As you can see /var/lib/one/remotes/tm/shared/clone isn't found.
Indeed there is no clone file in this directory :

oneadmin@inferno:/nebuladata/one-data/remotes/tm$ ls shared
cpds  mkimage  mkswap  postmigrate  premigrate

Some help here could be great !

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


[one-users] VM endlessly pausing

2013-10-31 Thread Duverne, Cyrille
Hello guys,

I'm facing a strange behaviour on my Ubuntu VMs, running on KVM.

They are endlessly pausing, I resume them, and they're pausing again.

Where do I have to look to understand this ? I read some forum threads
about disk space security on libvirt.

Thanks in advance
CyD

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


Re: [one-users] VM endlessly pausing

2013-10-31 Thread Duverne, Cyrille
Hello Jaime,

df isn't saying anything since the VM is just pausing.
When making a df in the datastores, i get a disk of 60G, but quite
normal since I allocated a disk of 60G to the VM...

At Thursday, 31/10/2013 on 15:47 Jaime Melis wrote:

Hi Cyrille,

yeah, this is usually related to disk-space. What does 'df' say?

cheers,
Jaime

 On Thu, Oct 31, 2013 at 3:17 PM, Duverne, Cyrille  wrote:

 Hello guys,

I'm facing a strange behaviour on my Ubuntu VMs, running on KVM.

They are endlessly pausing, I resume them, and they're pausing again.

Where do I have to look to understand this ? I read some forum threads
about disk space security on libvirt.

Thanks in advance
CyD

___
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 [1] | jme...@opennebula.org



Links:
--
[1] http://www.OpenNebula.org

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


[one-users] VM won't be created after upgrade

2013-10-05 Thread Duverne, Cyrille
Hello guys,

I just upgraded from 3.8 to 4.2, moved the VM directory etc...
Everything went well, except that I can't create new VMs anymore,
getting the error :

internal error process exited while connecting to monitor: kvm: -drive
file=/var/lib/one//datastores/0/232/disk.0,if=none,id=drive-virtio-disk0,format=raw,cache=none:
could not open disk image /var/lib/one//datastores/0/232/disk.0:
Invalid argument

Drive is accessible from the host, ssh keys OK, duplicated the KVM
conf in oned.conf as described in the doc...

Any thought ?

Thanks in advance
Cyrille

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


Re: [one-users] VM won't be created after upgrade

2013-10-05 Thread Duverne, Cyrille
Hello again,

So so so, for an unknown reason I now have to specify
CACHE=writeback in the DISK section in my templates.
I've been using glusterFS forever but this is now showing itself...
Strange.

VM are finally booting.

Regards
Cyrille

At Saturday, 05/10/2013 on 11:54 Duverne, Cyrille wrote:

Hello guys,

I just upgraded from 3.8 to 4.2, moved the VM directory etc...
Everything went well, except that I can't create new VMs anymore,
getting the error :

internal error process exited while connecting to monitor: kvm: -drive
file=/var/lib/one//datastores/0/232/disk.0,if=none,id=drive-virtio-disk0,format=raw,cache=none:
could not open disk image /var/lib/one//datastores/0/232/disk.0:
Invalid argument

Drive is accessible from the host, ssh keys OK, duplicated the KVM
conf in oned.conf as described in the doc...

Any thought ?

Thanks in advance
Cyrille


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


[one-users] Open Nebula Conference - Slideshows

2013-10-01 Thread Duverne, Cyrille
Hello guys,

Would that be possible to make all the presentations of the ONE conf
available somewhere ?

Thanks in advance
Cyrille

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


[one-users] OpenNebula Conference : It's over.

2013-09-30 Thread Duverne, Cyrille
Hello all,

For those who were not able to make it, and those who wants to extend
the conference, I've just written an article on the conference :
http://blog.euranova.eu/2013/09/opennebula-conference/

Feel free to react !

Kind regards
CyD

Cyrille Duverne
Eura Nova
Twitter : @CydsWorld

Respecter la tradition et oser l'insolence, 
car l'un ne saurait aller sans l'autre.
Christian Dior


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


Re: [one-users] Migrate error with OpenNebula 3.4.1 using KVM hypervisor on Ubuntu 12.05 box

2013-09-26 Thread Duverne, Cyrille
Hello Thai,

Looks like the ownership of disk.1 isn't correct, this might be due to
bad dynamic_ownership config in /etc/libvirt/qemu.conf.

Could you run : sudo cat /etc/libvirt/qemu.conf | grep ownership
If you get dynamic_ownership=1 , please edit the file and set it to 0

To gain access on the disk.1 of your VM, run : sudo chown
oneadmin:oneadmin /var/lib/one/var//datastores/0/8/disk.1

And try to livemigrate your VM again, and try to create a new one and
livemigrate it as well.

Hope you'll fix your issue.
Kind regards
Cyrille

At Thursday, 26/09/2013 on 9:51 thái bình wrote:

Dear Cyrille,

I got mistake editing the commad ls. I correct it output in the red.

Best regards,
NDTBinh 

-
  From: thái bình 
To: Duverne, Cyrille ; users@lists.opennebula.org  
Sent: Thursday, September 26, 2013 2:44 PM
Subject: Re: [one-users] Migrate error with OpenNebula 3.4.1 using
KVMhypervisor on Ubuntu 12.05 box

Dear Cyrlle,

Thanks for your support.

According to your metions, here is the output I got out:

oneadmin@OneVMHost:~/var/11$ ls -lArth
/var/lib/one/var//datastores/0/8/disk.1
-rw-rw 1 libvirt-qemu kvm 370K Sep 26 00:12
/var/lib/one/var//datastores/0/8/disk.1

oneadmin@OneVMHost:~/var/11$ cat /etc/group |grep oneadmin
root:x:0:oneadmin
oneadmin:x:1:oneadmin
kvm:x:110:oneadmin
libvirtd:x:111:thaibinhtt,oneadmin
oneadmin@OneVMHost:~/var/11$

Best Regards,
NDTBinh

-
  From: Duverne, Cyrille 
To: thái bình ; users@lists.opennebula.org  
Sent: Wednesday, September 25, 2013 11:18 PM
Subject: Re: [one-users] Migrate error with OpenNebula 3.4.1 using KVM
hypervisor on Ubuntu 12.05 box

Hello Thai,

Could you give the output of : ls
-lArth /var/lib/one/var//datastores/0/8/disk.1 ?
Another thought : Is oneadmin part of the libvirt group ?

Cheers
Cyrille
Eura Nova
Twitter : @CydsWorld

At Tuesday, 24/09/2013 on 19:58 thái bình wrote:

Dear,

I am trying to live migrate from KVM host to another KVM host but I
always catch an error message which I quote below. Does anyone know
the reason and how to solve this problem ?

oneadmin@OneVMHost:~/var/8$ cat vm.log
Tue Sep 24 10:20:48 2013 [DiM][I]: New VM state is ACTIVE.
Tue Sep 24 10:20:48 2013 [LCM][I]: New VM state is PROLOG.
Tue Sep 24 10:21:31 2013 [TM][I]: clone: Cloning ../../win2k3sp2.qcow2
in OneVMHost:/var/lib/one/var//datastores/0/8/disk.0
Tue Sep 24 10:21:31 2013 [TM][I]: ExitCode: 0
Tue Sep 24 10:21:32 2013 [TM][I]: context: Generating context block
device at OneVMHost:/var/lib/one/var//datastores/0/8/disk.1
Tue Sep 24 10:21:32 2013 [TM][I]: ExitCode: 0
Tue Sep 24 10:21:32 2013 [LCM][I]: New VM state is BOOT
Tue Sep 24 10:21:32 2013 [VMM][I]: Generating deployment file:
/var/lib/one/var/8/deployment.0
Tue Sep 24 10:21:32 2013 [VMM][I]: ExitCode: 0
Tue Sep 24 10:21:32 2013 [VMM][I]: Successfully execute network driver
operation: pre.
Tue Sep 24 10:21:33 2013 [VMM][I]: ExitCode: 0
Tue Sep 24 10:21:33 2013 [VMM][I]: Successfully execute virtualization
driver operation: deploy.
Tue Sep 24 10:21:33 2013 [VMM][I]: ExitCode: 0
Tue Sep 24 10:21:33 2013 [VMM][I]: Successfully execute network driver
operation: post.
Tue Sep 24 10:21:33 2013 [LCM][I]: New VM state is RUNNING
Tue Sep 24 10:30:49 2013 [LCM][I]: New VM state is SAVE_MIGRATE
Tue Sep 24 10:31:04 2013 [VMM][I]: ExitCode: 0
Tue Sep 24 10:31:04 2013 [VMM][I]: Successfully execute virtualization
driver operation: save.
Tue Sep 24 10:31:04 2013 [VMM][I]: ExitCode: 0
Tue Sep 24 10:31:04 2013 [VMM][I]: Successfully execute network driver
operation: clean.
Tue Sep 24 10:31:04 2013 [LCM][I]: New VM state is PROLOG_MIGRATE
Tue Sep 24 10:31:04 2013 [TM][I]: ExitCode: 0
Tue Sep 24 10:31:04 2013 [TM][I]: ExitCode: 0
Tue Sep 24 10:31:04 2013 [LCM][I]: New VM state is BOOT
Tue Sep 24 10:31:04 2013 [VMM][I]: ExitCode: 0
Tue Sep 24 10:31:04 2013 [VMM][I]: Successfully execute network driver
operation: pre.
Tue Sep 24 10:31:05 2013 [VMM][I]: Command execution fail:
/var/tmp/one/vmm/kvm/restore
/var/lib/one/var//datastores/0/8/checkpoint VMHost1 8 VMHost1
Tue Sep 24 10:31:05 2013 [VMM][E]: restore: Command virsh --connect
qemu:///system restore /var/lib/one/var//datastores/0/8/checkpoint
failed: error: Failed to restore domain from
/var/lib/one/var//datastores/0/8/checkpoint
Tue Sep 24 10:31:05 2013 [VMM][I]: error: unable to open disk path
/var/lib/one/var//datastores/0/8/disk.1: Permission denied
Tue Sep 24 10:31:05 2013 [VMM][E]: Could not restore from
/var/lib/one/var//datastores/0/8/checkpoint
Tue Sep 24 10:31:05 2013 [VMM][I]: ExitCode: 1
Tue Sep 24 10:31:05 2013 [VMM][I]: Failed to execute virtualization
driver operation: restore.
Tue Sep 24 10:31:05 2013 [VMM][E]: Error restoring VM: Could not
restore from /var/lib/one/var//datastores/0/8/checkpoint
Tue Sep 24 10:31:05 2013 [DiM][I]: New VM state is FAILED

Many thanks,
NDTBinh

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

Re: [one-users] Migrate error with OpenNebula 3.4.1 using KVM hypervisor on Ubuntu 12.05 box

2013-09-25 Thread Duverne, Cyrille
Hello Thai,

Could you give the output of : ls
-lArth /var/lib/one/var//datastores/0/8/disk.1 ?
Another thought : Is oneadmin part of the libvirt group ?

Cheers
Cyrille
Eura Nova
Twitter : @CydsWorld

At Tuesday, 24/09/2013 on 19:58 thái bình wrote:

Dear,

I am trying to live migrate from KVM host to another KVM host but I
always catch an error message which I quote below. Does anyone know
the reason and how to solve this problem ?

oneadmin@OneVMHost:~/var/8$ cat vm.log
Tue Sep 24 10:20:48 2013 [DiM][I]: New VM state is ACTIVE.
Tue Sep 24 10:20:48 2013 [LCM][I]: New VM state is PROLOG.
Tue Sep 24 10:21:31 2013 [TM][I]: clone: Cloning ../../win2k3sp2.qcow2
in OneVMHost:/var/lib/one/var//datastores/0/8/disk.0
Tue Sep 24 10:21:31 2013 [TM][I]: ExitCode: 0
Tue Sep 24 10:21:32 2013 [TM][I]: context: Generating context block
device at OneVMHost:/var/lib/one/var//datastores/0/8/disk.1
Tue Sep 24 10:21:32 2013 [TM][I]: ExitCode: 0
Tue Sep 24 10:21:32 2013 [LCM][I]: New VM state is BOOT
Tue Sep 24 10:21:32 2013 [VMM][I]: Generating deployment file:
/var/lib/one/var/8/deployment.0
Tue Sep 24 10:21:32 2013 [VMM][I]: ExitCode: 0
Tue Sep 24 10:21:32 2013 [VMM][I]: Successfully execute network driver
operation: pre.
Tue Sep 24 10:21:33 2013 [VMM][I]: ExitCode: 0
Tue Sep 24 10:21:33 2013 [VMM][I]: Successfully execute virtualization
driver operation: deploy.
Tue Sep 24 10:21:33 2013 [VMM][I]: ExitCode: 0
Tue Sep 24 10:21:33 2013 [VMM][I]: Successfully execute network driver
operation: post.
Tue Sep 24 10:21:33 2013 [LCM][I]: New VM state is RUNNING
Tue Sep 24 10:30:49 2013 [LCM][I]: New VM state is SAVE_MIGRATE
Tue Sep 24 10:31:04 2013 [VMM][I]: ExitCode: 0
Tue Sep 24 10:31:04 2013 [VMM][I]: Successfully execute virtualization
driver operation: save.
Tue Sep 24 10:31:04 2013 [VMM][I]: ExitCode: 0
Tue Sep 24 10:31:04 2013 [VMM][I]: Successfully execute network driver
operation: clean.
Tue Sep 24 10:31:04 2013 [LCM][I]: New VM state is PROLOG_MIGRATE
Tue Sep 24 10:31:04 2013 [TM][I]: ExitCode: 0
Tue Sep 24 10:31:04 2013 [TM][I]: ExitCode: 0
Tue Sep 24 10:31:04 2013 [LCM][I]: New VM state is BOOT
Tue Sep 24 10:31:04 2013 [VMM][I]: ExitCode: 0
Tue Sep 24 10:31:04 2013 [VMM][I]: Successfully execute network driver
operation: pre.
Tue Sep 24 10:31:05 2013 [VMM][I]: Command execution fail:
/var/tmp/one/vmm/kvm/restore
/var/lib/one/var//datastores/0/8/checkpoint VMHost1 8 VMHost1
Tue Sep 24 10:31:05 2013 [VMM][E]: restore: Command virsh --connect
qemu:///system restore /var/lib/one/var//datastores/0/8/checkpoint
failed: error: Failed to restore domain from
/var/lib/one/var//datastores/0/8/checkpoint
Tue Sep 24 10:31:05 2013 [VMM][I]: error: unable to open disk path
/var/lib/one/var//datastores/0/8/disk.1: Permission denied
Tue Sep 24 10:31:05 2013 [VMM][E]: Could not restore from
/var/lib/one/var//datastores/0/8/checkpoint
Tue Sep 24 10:31:05 2013 [VMM][I]: ExitCode: 1
Tue Sep 24 10:31:05 2013 [VMM][I]: Failed to execute virtualization
driver operation: restore.
Tue Sep 24 10:31:05 2013 [VMM][E]: Error restoring VM: Could not
restore from /var/lib/one/var//datastores/0/8/checkpoint
Tue Sep 24 10:31:05 2013 [DiM][I]: New VM state is FAILED

Many thanks,
NDTBinh


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


Re: [one-users] Upgrade from 3.8.1 to 4.2

2013-09-05 Thread Duverne, Cyrille
Hello Carlos,

Thanks ! Seems indeed seamless.

Kind regards
Cyrille

At Thursday, 05/09/2013 on 12:53 Carlos Martín Sánchez wrote:

Hi,

On Thu, Sep 5, 2013 at 11:43 AM, Duverne, Cyrille  wrote:

 What about the upgrade process from 3.8.1 to 4.2 via packages ? Is
this seemless ? Can I just suspend my VMs and resume them afterward ?
Or do I have to foresee a deeper upgrade ?

 

The process is seamless in the sense that you will retain your
configuration and existing VMs. You don't even need to suspend or
shutdown them, OpenNebula will continue to monitor and manage them
once the upgrade is done.

But it will require some manual intervention. Please read these guides
before the upgrade:
http://opennebula.org/documentation:rel4.2:upgrade

http://opennebula.org/documentation:archives:rel4.0:upgrade

http://opennebula.org/documentation:rel4.2:compatibility

http://opennebula.org/documentation:archives:rel4.0:compatibility

Regards

--
Join us at OpenNebulaConf2013 [1] in Berlin, 24-26 September, 2013
--Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org [2] | cmar...@opennebula.org | @OpenNebula [3] [4]

On Thu, Sep 5, 2013 at 11:43 AM, Duverne, Cyrille  wrote:

 Hello guys,

What about the upgrade process from 3.8.1 to 4.2 via packages ? Is
this seemless ? Can I just suspend my VMs and resume them afterward ?
Or do I have to foresee a deeper upgrade ?

Kind regards
Cyrille

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



Links:
--
[1] http://opennebulaconf.com
[2] http://www.OpenNebula.org
[3] http://twitter.com/opennebula
[4] mailto:cmar...@opennebula.org

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


[one-users] VM images management

2013-09-03 Thread Duverne, Cyrille
Hello guys,

I'd like to start a little feed on the mailing list : How are you
industrializing your VM images ?

How are you creating your images ? Which OS are you using ? How do you
maintain the images ? Do you use a specific tool ?

I would be more than happy to read your feedback.

Kind regards
Cyrille
Eura Nova


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


Re: [one-users] VMs stuck in UNKNOWN State

2013-04-03 Thread Duverne, Cyrille
Hello,

Indeed, state is still d , as you can see here :

* Wed Apr  3 10:34:13 2013 [VMM][I]: Monitoring VM 294.

* Wed Apr  3 10:34:13 2013 [VMM][D]: Message received: LOG I 294
ExitCode: 0

* Wed Apr  3 10:34:13 2013 [VMM][D]: Message received: POLL SUCCESS
294 STATE=d

* 

Any thought ?
By consciousness, I verified that all users etc... were still correct
on all machines, the oneadmin is able to ssh directly etc...

Thanks in advance
Cyrille

At Tuesday, 02/04/2013 on 22:31 Ruben S. Montero wrote:

So the VMs are now running, and correctly reported by libvirt, but
OpenNebula does not move them from UNKNOWN to RUNNING?, Are the
messages still reporting STATE=d for these VMs in oned.log?

 Ruben

On Tue, Apr 2, 2013 at 3:57 PM, Duverne, Cyrille  wrote:

Hello,

Anything new on this ?

Seems really weird to me...

Thanks in advance
Cyrille 

At Friday, 29/03/2013 on 10:06 Duverne, Cyrille wrote:

Hello Ruben !

Thanks for this feedback.

I tried to restart libvirt, which succeeded (WOW ! :p)

But the VMs are still stuck on Unknown state.

the 'virsh list' shows correctly the domains, which are running :

virsh list
 Id Name                 State
--
  1 one-294              running
  2 one-304              running

Any other thought ? I'm a bit confused by this behaviour and the
workflow to monitor the VMs, it could be interesting to have a
'refresh monitoring' button or whatever on Sunstone to try to get
fresh monitoring information.

Thanks in advance
Cyrille

 Always do right. This will gratify some people and astonish the
rest.
Mark Twain

At Thursday, 28/03/2013 on 0:56 Ruben S. Montero wrote:

Ok 

So this is strange... 

On one hand you try to restart the VM and virsh says it is already
defined (vm.log: main 'one-294' already exists) . And on the other
hand when you monitor the VM virsh list does not show it (oned.log:
POLL SUCCESS 294 STATE=d)

Is the domain really defined at the host (virsh list)? Can this be a
libvirt issue, any chance to restart libvirt and try again?

Cheers

Ruben

On Tue, Mar 26, 2013 at 10:37 PM, Duverne, Cyrille  wrote:

Hello Ruben,

Indeed this happens for some of them, but for some others they are
still in UNKNOWs state.
Here is an extract of the VM log :

Thu Mar 21 11:55:56 2013 [LCM][I]: New VM state is SAVE_SUSPENDThu
Mar 21 11:57:49 2013 [VMM][I]: ExitCode: 0 Thu Mar 21 11:57:49 2013
[VMM][I]: Successfully execute virtualization driver operation: save.
Thu Mar 21 11:57:50 2013 [VMM][I]: ExitCode: 0 Thu Mar 21 11:57:50
2013 [VMM][I]: Successfully execute network driver operation: clean.
Thu Mar 21 11:57:50 2013 [DiM][I]: New VM state is SUSPENDED Tue Mar
26 17:27:48 2013 [DiM][I]: New VM state is ACTIVE. Tue Mar 26 17:27:48
2013 [LCM][I]: Restoring VM Tue Mar 26 17:27:48 2013 [LCM][I]: New
state is BOOT_SUSPENDED Tue Mar 26 17:27:49 2013 [VMM][I]: ExitCode: 0
Tue Mar 26 17:27:49 2013 [VMM][I]: Successfully execute network driver
operation: pre. Tue Mar 26 17:28:37 2013 [VMM][I]: ExitCode: 0 Tue Mar
26 17:28:37 2013 [VMM][I]: Successfully execute virtualization driver
operation: restore. Tue Mar 26 17:28:37 2013 [VMM][I]: ExitCode: 0 Tue
Mar 26 17:28:37 2013 [VMM][I]: Successfully execute network driver
operation: post. Tue Mar 26 17:28:38 2013 [LCM][I]: New VM state is
RUNNING Tue Mar 26 17:28:38 2013 [VMM][I]: ExitCode: 0 Tue Mar 26
17:28:39 2013 [VMM][I]: VM running but it was not found. Restart and
delete actions available or try to recover it manually Tue Mar 26
17:28:39 2013 [LCM][I]: New VM state is UNKNOWN Tue Mar 26 17:36:48
2013 [LCM][I]: New VM state is BOOT_UNKNOWN Tue Mar 26 17:36:48 2013
[VMM][I]: Generating deployment file: /var/lib/one/294/deployment.1
Tue Mar 26 17:36:52 2013 [VMM][I]: ExitCode: 0 Tue Mar 26 17:36:52
2013 [VMM][I]: Successfully execute network driver operation: pre. Tue
Mar 26 17:36:52 2013 [VMM][I]: Command execution fail: cat 

Links:
--
[1] http://www.OpenNebula.org

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


Re: [one-users] VMs stuck in UNKNOWN State

2013-04-03 Thread Duverne, Cyrille
Ok ok, that's indeed fun :

ruby -wd /var/tmp/one/vmm/kvm/poll one-294
STATE=a NETTX=19039830 USEDCPU=0.1 USEDMEMORY=1121828 NETRX=416126660

Seems that the polling is correctly working.
Possible that the state is still on cache or in the DB and not updated
or something ? 

Cheers
Cyrille

At Wednesday, 03/04/2013 on 15:15 Ruben S. Montero wrote:

Could you execute the vmm probe in the host

/var/tmp/one/vmm/kvm/poll one-294

and check for errors, or try to debug the script... (maybe running it
with ruby -wd)

Ruben

On Wed, Apr 3, 2013 at 10:42 AM, Duverne, Cyrille  wrote:

Hello,

Indeed, state is still d , as you can see here :

*  Wed Apr  3 10:34:13 2013 [VMM][I]: Monitoring VM 294.

*  Wed Apr  3 10:34:13 2013 [VMM][D]: Message received: LOG I 294
ExitCode: 0

*  Wed Apr  3 10:34:13 2013 [VMM][D]: Message received: POLL SUCCESS
294 STATE=d

* 
Any thought ?
By consciousness, I verified that all users etc were still correct
on all machines, the oneadmin is able to ssh directly etc...

Thanks in advance
Cyrille

At Tuesday, 02/04/2013 on 22:31 Ruben S. Montero wrote:

 So the VMs are now running, and correctly reported by libvirt, but
OpenNebula does not move them from UNKNOWN to RUNNING?, Are the
messages still reporting STATE=d for these VMs in oned.log?

 Ruben

On Tue, Apr 2, 2013 at 3:57 PM, Duverne, Cyrille  wrote:

Hello,

Anything new on this ?

Seems really weird to me

Thanks in advance
Cyrille 

At Friday, 29/03/2013 on 10:06 Duverne, Cyrille wrote:

Hello Ruben !

Thanks for this feedback.

I tried to restart libvirt, which succeeded (WOW ! :p)

But the VMs are still stuck on Unknown state.

the 'virsh list' shows correctly the domains, which are running :

virsh list
 Id Name                 State
--
  1 one-294              running
  2 one-304              running

Any other thought ? I'm a bit confused by this behaviour and the
workflow to monitor the VMs, it could be interesting to have a
'refresh monitoring' button or whatever on Sunstone to try to get
fresh monitoring information.

Thanks in advance
Cyrille

 Always do right.. This will gratify some people and astonish the
rest.
Mark Twain

At Thursday, 28/03/2013 on 0:56 Ruben S. Montero wrote:

Ok 

So this is strange... 

On one hand you try to restart the VM and virsh says it is already
defined (vm.log: main 'one-294' already exists) . And on the other
hand when you monitor the VM virsh list does not show it (oned.log:
POLL SUCCESS 294 STATE=d)

Is the domain really defined at the host (virsh list)? Can this be a
libvirt issue, any chance to restart libvirt and try again?

Cheers

Ruben

On Tue, Mar 26, 2013 at 10:37 PM, Duverne, Cyrille  wrote:

Hello Ruben,

Indeed this happens for some of them, but for some others they are
still in UNKNOWs state.
Here is an extract of the VM log :

Thu Mar 21 11:55:56 2013 [LCM][I]: New VM state is SAVE_SUSPENDThu
Mar 21 11:57:49 2013 [VMM][I]: ExitCode: 0 Thu Mar 21 11:57:49 2013
[VMM][I]: Successfully execute virtualization driver operation: save.
Thu Mar 21 11:57:50 2013 [VMM][I]: ExitCode: 0 Thu Mar 21 11:57:50
2013 [VMM][I]: Successfully execute network driver operation: clean.
Thu Mar 21 11:57:50 2013 [DiM][I]: New VM state is SUSPENDED Tue Mar
26 17:27:48 2013 [DiM][I]: New VM state is ACTIVE. Tue Mar 26 17:27:48
2013 [LCM][I]: Restoring VM Tue Mar 26 17:27:48 2013 [LCM][I]: New
state is BOOT_SUSPENDED Tue Mar 26 17:27:49 2013 [VMM][I]: ExitCode: 0
Tue Mar 26 17:27:49 2013 [VMM][I]: Successfully execute network driver
operation: pre. Tue Mar 26 17:28:37 2013 [VMM][I]: ExitCode: 0 Tue Mar
26 17:28:37 2013 [VMM][I]: Successfully execute virtualization driver
operation: restore. Tue Mar 26 17:28:37 2013 [VMM][I]: ExitCode: 0 Tue
Mar 26 17:28:37 2013 [VMM][I]: Successfully execute network driver
operation: post. Tue Mar 26 17:28:38 2013 [LCM][I]: New VM state is
RUNNING Tue Mar 26 17:28:38 2013 [VMM][I]: ExitCode: 0 Tue Mar 26
17:28:39 2013 [VMM][I]: VM running but it was not found. Restart and
delete actions available or try to recover it manually Tue Mar 26
17:28:39 2013 [LCM][I]: New VM state is UNKNOWN Tue Mar 26 17:36:48
2013 [LCM][I]: New VM state is BOOT_UNKNOWN Tue Mar 26 17:36:48 2013
[VMM][I]: Generating deployment file: /var/lib/one/294/deployment.1
Tue Mar 26 17:36:52 2013 [VMM][I]: ExitCode: 0 Tue Mar 26 17:36:52
2013 [VMM][I]: Successfully execute network driver operation: pre. Tue
Mar 26 17:36:52 2013 [VMM][I]: Command execution fail: cat 

Links:
--
[1] http://www.OpenNebula.org

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


Re: [one-users] VMs stuck in UNKNOWN State

2013-04-02 Thread Duverne, Cyrille
Hello,

Anything new on this ?

Seems really weird to me...

Thanks in advance
Cyrille

At Friday, 29/03/2013 on 10:06 Duverne, Cyrille wrote:

Hello Ruben !

Thanks for this feedback.

I tried to restart libvirt, which succeeded (WOW ! :p)

But the VMs are still stuck on Unknown state.

the 'virsh list' shows correctly the domains, which are running :

virsh list
 Id Name                 State
--
  1 one-294              running
  2 one-304              running

Any other thought ? I'm a bit confused by this behaviour and the
workflow to monitor the VMs, it could be interesting to have a
'refresh monitoring' button or whatever on Sunstone to try to get
fresh monitoring information.

Thanks in advance
Cyrille

 Always do right.. This will gratify some people and astonish the
rest.
Mark Twain

At Thursday, 28/03/2013 on 0:56 Ruben S. Montero wrote:

Ok

So this is strange... 

On one hand you try to restart the VM and virsh says it is already
defined (vm.log: main 'one-294' already exists) . And on the other
hand when you monitor the VM virsh list does not show it (oned.log:
POLL SUCCESS 294 STATE=d)

Is the domain really defined at the host (virsh list)? Can this be a
libvirt issue, any chance to restart libvirt and try again?

Cheers

Ruben

On Tue, Mar 26, 2013 at 10:37 PM, Duverne, Cyrille  wrote:

Hello Ruben,

Indeed this happens for some of them, but for some others they are
still in UNKNOWs state.
Here is an extract of the VM log :

Thu Mar 21 11:55:56 2013 [LCM][I]: New VM state is SAVE_SUSPENDThu
Mar 21 11:57:49 2013 [VMM][I]: ExitCode: 0 Thu Mar 21 11:57:49 2013
[VMM][I]: Successfully execute virtualization driver operation: save.
Thu Mar 21 11:57:50 2013 [VMM][I]: ExitCode: 0 Thu Mar 21 11:57:50
2013 [VMM][I]: Successfully execute network driver operation: clean.
Thu Mar 21 11:57:50 2013 [DiM][I]: New VM state is SUSPENDED Tue Mar
26 17:27:48 2013 [DiM][I]: New VM state is ACTIVE. Tue Mar 26 17:27:48
2013 [LCM][I]: Restoring VM Tue Mar 26 17:27:48 2013 [LCM][I]: New
state is BOOT_SUSPENDED Tue Mar 26 17:27:49 2013 [VMM][I]: ExitCode: 0
Tue Mar 26 17:27:49 2013 [VMM][I]: Successfully execute network driver
operation: pre. Tue Mar 26 17:28:37 2013 [VMM][I]: ExitCode: 0 Tue Mar
26 17:28:37 2013 [VMM][I]: Successfully execute virtualization driver
operation: restore. Tue Mar 26 17:28:37 2013 [VMM][I]: ExitCode: 0 Tue
Mar 26 17:28:37 2013 [VMM][I]: Successfully execute network driver
operation: post. Tue Mar 26 17:28:38 2013 [LCM][I]: New VM state is
RUNNING Tue Mar 26 17:28:38 2013 [VMM][I]: ExitCode: 0 Tue Mar 26
17:28:39 2013 [VMM][I]: VM running but it was not found. Restart and
delete actions available or try to recover it manually Tue Mar 26
17:28:39 2013 [LCM][I]: New VM state is UNKNOWN Tue Mar 26 17:36:48
2013 [LCM][I]: New VM state is BOOT_UNKNOWN Tue Mar 26 17:36:48 2013
[VMM][I]: Generating deployment file: /var/lib/one/294/deployment.1
Tue Mar 26 17:36:52 2013 [VMM][I]: ExitCode: 0 Tue Mar 26 17:36:52
2013 [VMM][I]: Successfully execute network driver operation: pre. Tue
Mar 26 17:36:52 2013 [VMM][I]: Command execution fail: cat 

Links:
--
[1] http://www.OpenNebula.org

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


Re: [one-users] VMs stuck in UNKNOWN State

2013-03-29 Thread Duverne, Cyrille
Hello Ruben !

Thanks for this feedback.

I tried to restart libvirt, which succeeded (WOW ! :p)

But the VMs are still stuck on Unknown state.

the 'virsh list' shows correctly the domains, which are running :

virsh list
 Id Name                 State
--
  1 one-294              running
  2 one-304              running

Any other thought ? I'm a bit confused by this behaviour and the
workflow to monitor the VMs, it could be interesting to have a
'refresh monitoring' button or whatever on Sunstone to try to get
fresh monitoring information.

Thanks in advance
Cyrille

 Always do right.. This will gratify some people and astonish the
rest.
Mark Twain

At Thursday, 28/03/2013 on 0:56 Ruben S. Montero wrote:

Ok

So this is strange... 

On one hand you try to restart the VM and virsh says it is already
defined (vm.log: main 'one-294' already exists) . And on the other
hand when you monitor the VM virsh list does not show it (oned.log:
POLL SUCCESS 294 STATE=d)

Is the domain really defined at the host (virsh list)? Can this be a
libvirt issue, any chance to restart libvirt and try again?

Cheers

Ruben

On Tue, Mar 26, 2013 at 10:37 PM, Duverne, Cyrille  wrote:

Hello Ruben,

Indeed this happens for some of them, but for some others they are
still in UNKNOWs state.
Here is an extract of the VM log :

Thu Mar 21 11:55:56 2013 [LCM][I]: New VM state is SAVE_SUSPENDThu
Mar 21 11:57:49 2013 [VMM][I]: ExitCode: 0 Thu Mar 21 11:57:49 2013
[VMM][I]: Successfully execute virtualization driver operation: save.
Thu Mar 21 11:57:50 2013 [VMM][I]: ExitCode: 0 Thu Mar 21 11:57:50
2013 [VMM][I]: Successfully execute network driver operation: clean.
Thu Mar 21 11:57:50 2013 [DiM][I]: New VM state is SUSPENDED Tue Mar
26 17:27:48 2013 [DiM][I]: New VM state is ACTIVE. Tue Mar 26 17:27:48
2013 [LCM][I]: Restoring VM Tue Mar 26 17:27:48 2013 [LCM][I]: New
state is BOOT_SUSPENDED Tue Mar 26 17:27:49 2013 [VMM][I]: ExitCode: 0
Tue Mar 26 17:27:49 2013 [VMM][I]: Successfully execute network driver
operation: pre. Tue Mar 26 17:28:37 2013 [VMM][I]: ExitCode: 0 Tue Mar
26 17:28:37 2013 [VMM][I]: Successfully execute virtualization driver
operation: restore. Tue Mar 26 17:28:37 2013 [VMM][I]: ExitCode: 0 Tue
Mar 26 17:28:37 2013 [VMM][I]: Successfully execute network driver
operation: post. Tue Mar 26 17:28:38 2013 [LCM][I]: New VM state is
RUNNING Tue Mar 26 17:28:38 2013 [VMM][I]: ExitCode: 0 Tue Mar 26
17:28:39 2013 [VMM][I]: VM running but it was not found. Restart and
delete actions available or try to recover it manually Tue Mar 26
17:28:39 2013 [LCM][I]: New VM state is UNKNOWN Tue Mar 26 17:36:48
2013 [LCM][I]: New VM state is BOOT_UNKNOWN Tue Mar 26 17:36:48 2013
[VMM][I]: Generating deployment file: /var/lib/one/294/deployment.1
Tue Mar 26 17:36:52 2013 [VMM][I]: ExitCode: 0 Tue Mar 26 17:36:52
2013 [VMM][I]: Successfully execute network driver operation: pre. Tue
Mar 26 17:36:52 2013 [VMM][I]: Command execution fail: cat 

Links:
--
[1] http://www.OpenNebula.org

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


[one-users] VMs stuck in UNKNOWN State

2013-03-26 Thread Duverne, Cyrille
Hello,

I just finished the reboot of our lab after electric shutdown,
everything went fine.

But some of the VMs are stuck in UNKNOWN state after resuming them.
I tried to restart them, but they are actually running on the
Hypervisors, it's just that sunstone is displaying UNKNOWN.

Any thought to solve this ?

Thanks in advance
Cyrille


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


Re: [one-users] VMs stuck in UNKNOWN State

2013-03-26 Thread Duverne, Cyrille
Hello Ruben,

Indeed this happens for some of them, but for some others they are
still in UNKNOWs state.
Here is an extract of the VM log :

Thu Mar 21 11:55:56 2013 [LCM][I]: New VM state is SAVE_SUSPENDThu
Mar 21 11:57:49 2013 [VMM][I]: ExitCode: 0 Thu Mar 21 11:57:49 2013
[VMM][I]: Successfully execute virtualization driver operation: save.
Thu Mar 21 11:57:50 2013 [VMM][I]: ExitCode: 0 Thu Mar 21 11:57:50
2013 [VMM][I]: Successfully execute network driver operation: clean.
Thu Mar 21 11:57:50 2013 [DiM][I]: New VM state is SUSPENDED Tue Mar
26 17:27:48 2013 [DiM][I]: New VM state is ACTIVE.. Tue Mar 26 17:27:48
2013 [LCM][I]: Restoring VM Tue Mar 26 17:27:48 2013 [LCM][I]: New
state is BOOT_SUSPENDED Tue Mar 26 17:27:49 2013 [VMM][I]: ExitCode: 0
Tue Mar 26 17:27:49 2013 [VMM][I]: Successfully execute network driver
operation: pre. Tue Mar 26 17:28:37 2013 [VMM][I]: ExitCode: 0 Tue Mar
26 17:28:37 2013 [VMM][I]: Successfully execute virtualization driver
operation: restore. Tue Mar 26 17:28:37 2013 [VMM][I]: ExitCode: 0 Tue
Mar 26 17:28:37 2013 [VMM][I]: Successfully execute network driver
operation: post. Tue Mar 26 17:28:38 2013 [LCM][I]: New VM state is
RUNNING Tue Mar 26 17:28:38 2013 [VMM][I]: ExitCode: 0 Tue Mar 26
17:28:39 2013 [VMM][I]: VM running but it was not found. Restart and
delete actions available or try to recover it manually Tue Mar 26
17:28:39 2013 [LCM][I]: New VM state is UNKNOWN Tue Mar 26 17:36:48
2013 [LCM][I]: New VM state is BOOT_UNKNOWN Tue Mar 26 17:36:48 2013
[VMM][I]: Generating deployment file: /var/lib/one/294/deployment.1
Tue Mar 26 17:36:52 2013 [VMM][I]: ExitCode: 0 Tue Mar 26 17:36:52
2013 [VMM][I]: Successfully execute network driver operation: pre. Tue
Mar 26 17:36:52 2013 [VMM][I]: Command execution fail: cat 

Links:
--
[1] http://www.OpenNebula.org

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


[one-users] Info VM suspension and electric shutdown

2013-03-07 Thread Duverne, Cyrille
Dear mailing list

I'll have to plan a maintenance slot on my ONE infra.

During the maintenance the whole infra has to be shut down (electric
maintenance), I have active VM in the infra. May I suspend them, shut
all machines down, and reactivate them after the reboot ?

Is this tested ? Safe ?
Any other idea ? (Save VM as isn't an option :) )

Thanks in advance
Cyrille

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


Re: [one-users] Ganglia + sFlow + OpenNebula

2013-02-06 Thread Duverne, Cyrille
I will for sure :)
As soon as I get a damn working version  :p

Cheers
Cyrille

 Imagination is more important than Knowledge
Albert Einstein

Mercredi 06/02/2013 à 11:22 Javier Fontan a écrit:

I've never tried ganglia+sflow for VM monitoring. It would be great
sharing the experience with it if you test it.

On Fri, Jan 18, 2013 at 1:06 PM, Duverne, Cyrille
 wrote:
 Hello guys,

 Did someone already set up ganglia + sflow to monitor VM on the fly
?
 How ? With which version of softwares ?

 Tons of tips are available but no formalised feedback.

 Thanks in advance.
 CyD

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


-- 
Javier Fontán Muiños
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | jfon...@opennebula.org | @OpenNebula


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


Re: [one-users] ubuntu-image from marketplace doesn't get an IP

2013-01-30 Thread Duverne, Cyrille
Hello,

You have to add the Arch flag in your template, here below an example
:OS = [ARCH = X86_64]
Hope this will help you,
Kind regards
CyD

Mercredi 30/01/2013 à 14:50 Marco Jagodzinska a écrit:

 Thanks for your great tip!

I installed noVNC and add this to ubuntu.one:

GRAPHICS = [
  type    = vnc,
  listen  = 0.0.0.0,
  port    = 5902  ]

Now I'm able to view whats wrong with the VM.

It's stuck with the message: This kernel requires an x86-64 CPU, but
only detected an i686 CPU.

I'm a little bit confused because I'm using 64bit:

oneadmin@Arbeitsrechner:~/one-templates$ uname -m
x86_64

What have I to configure for being able to use 64bit VMs?

Cheers,
Marco

Am 30.01.2013 12:39, schrieb Marco Jagodzinska:

 For VNC-Access I have to put the following into ubuntu.one?
GRAPHICS = [ type = vnc, listen = 1.2.3.4, port = 5902 ] How can
I check if my machine has a route to access 192.168.122.0/24
associated to virbr0? (I can't login into this machine)  And btw: is
there a possibility to change ubuntu.one without doing a resubmit?
Because this takes about ten minutes and slows down my PC.
In other words, I'm searching for a way to use the image again that
already has been copied via ssh.

Cheers,
Marco

Am 30.01.2013 11:30, schrieb Javier Fontan:

 Your VM configuration seems to be ok. Can you check that your machine
has a route to access 192.168.122.0/24 associated to virbr0?
Alternatively try to access the machine using VNC. Maybe there is a
problem with the machine and is unable to start. On Tue, Jan 29, 2013
at 4:24 PM, Marco Jagodzinska  [1] wrote:  

 (Sorry, I didn't answer to the group just to Javier...) Hey, thanks
for your answer! I try to give all neeeded information (and hopefully
not more ;)) oneadmin@Arbeitsrechner:~/one-templates$ ifconfig virbr0
virbr0 Link encap:Ethernet Hardware Adresse fe:00:c0:a8:7a:06 inet
Adresse:192.168.122.1 Bcast:192.168.122.255 Maske:255.255.255.0 UP
BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1 RX packets:92 errors:0
dropped:0 overruns:0 frame:0 TX packets:1116 errors:0 dropped:0
overruns:0 carrier:0 Kollisionen:0 Sendewarteschlangenlänge:0
RX-Bytes:10519 (10.5 KB) TX-Bytes:115616 (115.6 KB)
oneadmin@Arbeitsrechner:~/one-templates$ cat network/small_network.net
NAME = public TYPE = FIXED BRIDGE = virbr0 LEASES = [
IP=192.168.122.5] LEASES = [ IP=192.168.122.6] LEASES = [
IP=192.168.122.7] NETWORK_ADDRESS=192.168.122.0
NETWORK_MASK=255.255.255.0 GATEWAY=192.168.122.1 DNS=8.8.8.8 8.8.4.4
#(also tried: 192..168.122.1) oneadmin@Arbeitsrechner:~/one-templates$
cat ubuntu.one NAME = ubuntu CPU = 0.7 MEMORY = 1024 DISK = [ IMAGE =
Ubuntu ] NIC = [ NETWORK = public ] FEATURES = [ acpi=no ]
CONTEXT=[ ETH0_IP = $NIC[IP, NETWORK=\public\], ETH0_NETWORK =
$NETWORK[NETWORK_ADDRESS, NETWORK=\public\], ETH0_MASK =
$NETWORK[NETWORK_MASK, NETWORK=\public\], ETH0_GATEWAY =
$NETWORK[GATEWAY, NETWORK=\public\], ETH0_DNS = $NETWORK[DNS,
NETWORK=\public\], SSH_PUBLIC_KEY = ssh-rsa
B3NzaC1yc2EDAQABAAABAQCo0VdfEFgPO6fzNYiKvH19jmF/6ARD0O41VyKal8fE0WpBL54SzwbnP5TjjIojDPF4BHKeAQ7P9DehUZHWsrOzpEe862AsDBjeJXK3MPO8pSztS11fUb84sxFoPlrvzX6VkiVD7D1CDVV8Jq4cudOe+DGAreQXV408mF9RAMT7G4jkawd99YF4a5NmvnCxqSp+Fi6GBW/g36w0p6JKYzSKnqzGQZ8phrE6FL63lfO/OnlDgD/xntJ+bVx4MUI/MJS0OKoDvMsjfirYtOLNeuaH6SFDHlK/EJE2jocLrzB+BhalFgfsCm3oCuIyzi+AHRy9F3dNME+4K96PyJsCPZ/T
oneadmin@Arbeitsrechner ] oneadmin@Arbeitsrechner:~/one-templates$
onevm list ID USER GROUP NAME STAT UCPU UMEM HOST TIME 41 oneadmin
oneadmin ttylinux runn 5 64M localhost 0d 05h21 42 oneadmin oneadmin
ubuntu runn 0 1024M localhost 0d 02h07
oneadmin@Arbeitsrechner:~/one-templates$ onevm show 42 | grep IP
ETH0_IP=192.168.122.7, IP=192.168.122.7,
oneadmin@Arbeitsrechner:~/one-templates$ ssh root@192.168.122.7 ssh:
connect to host 192.168.122.7 port 22: No route to host Cheers, Marco
Am 29.01.2013 15:25, schrieb Javier Fontan: I've just tested the
ubuntu image and gets the IP selected by OpenNebula. It also
configures the root authorized_keys wth SSH_PUBLIC_KEY parameter in
context. Can you send us the template used to create the VM? On Mon,
Jan 21, 2013 at 6:16 PM, Marco Jagodzinska  [1] wrote: In Addition:
The whole system is just on one computer so there is no need for
contacting other computers. And also no need for bridging? Am
21.01.2013 12:23, schrieb Marco Jagodzinska: Thank you! I will try it,
but why is ttylinux working when virbr0 isn't associated with any
physical interface? Am 21.01.2013 12:10, schrieb Javier Fontan: virbr0
is a bridge automatically created by libvirt and is not associated to
any physical interface (vnet0 is not a physical interface). You should
create a new bridge or associate a physical interface to virbr0. I
think it is better to create a new one. If you are using ubuntu you
can find more information in these two guides:
https://help.ubuntu.com/10.04/serverguide/network-configuration.html#bridging

[one-users] Ganglia + sFlow + OpenNebula

2013-01-18 Thread Duverne, Cyrille
Hello guys,

Did someone already set up ganglia + sflow to monitor VM on the fly ?
How ? With which version of softwares ?

Tons of tips are available but no formalised feedback.

Thanks in advance.
CyD


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


[one-users] Unable to live migrate

2013-01-15 Thread Duverne, Cyrille
Hello dear mailing list,

I'm experiencing a nasty issue with my 4 new hosts.
I can't live migrate between and them.

VM provisionning is working on them, no problem on this side.

But when I try to  live migrate a VM toward one of these hosts, I'm
getting the following :

Tue Jan 15 09:44:08 2013 [LCM][I]: New VM state is MIGRATE Tue Jan 15
09:44:08 2013 [VMM][I]: ExitCode: 0 Tue Jan 15 09:44:08 2013 [VMM][I]:
Successfully execute transfer manager driver operation: tm_premigrate.
Tue Jan 15 09:44:09 2013 [VMM][I]: ExitCode: 0 Tue Jan 15 09:44:09
2013 [VMM][I]: Successfully execute network driver operation: pre. Tue
Jan 15 09:44:13 2013 [VMM][I]: Command execution fail:
/var/tmp/one/vmm/kvm/migrate one-236 arrakis.local inferno.local 236
inferno.local Tue Jan 15 09:44:13 2013 [VMM][E]: migrate: Command
virsh --connect qemu:///system migrate --live one-236
qemu+ssh://arrakis.local/system failed: error: Unable to resolve
address 'arrakis' service '49152': No address associated with hostname
Tue Jan 15 09:44:13 2013 [VMM][E]: Could not migrate one-236 to
arrakis.local Tue Jan 15 09:44:13 2013 [VMM][I]: ExitCode: 1 Tue Jan
15 09:44:13 2013 [VMM][I]: Failed to execute virtualization driver
operation: migrate. Tue Jan 15 09:44:13 2013 [VMM][E]: Error live
migrating VM: Could not migrate one-236 to arrakis.local Tue Jan 15
09:44:14 2013 [LCM][I]: Fail to live migrate VM. Assuming that the VM
is still RUNNING (will poll VM).The point with resolution is a bit
tricky... I don't know where it's going to seek this info, the host is
working and seen properly in Sunstone...

Thanks in advance for your help.
Cheers
CyD


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


Re: [one-users] MONITOR FAILURE 4 Error executing kvm.rb

2013-01-14 Thread Duverne, Cyrille
Hello Marco,

Did you launch livirt with the -l option ? 
As described in the tutorial :


*  /etc/libvirt/libvirtd.conf : Uncomment “listen_tcp = 1”.
Security configuration is left to the admin's choice, file is full of
useful comments to achieve a correct configuration. As a tip, if you
don't want to use TLS for connections set listen_tls = 0.

*  /etc/default/libvirt-bin : add -L option to libvirtd_opts 



Just my 2 cents.

Kind regards
CyD

Lundi 14/01/2013 à 14:20 Marco Jagodzinska a écrit:

Hello again,

next try, hoping for an answer ;)

(I'm using Xubuntu 12.04 and the latest OpenNebula 3.8.3)

If I follow the tutorial for configuring KVM 
(http://opennebula.org/documentation:rel3.8:kvmg), I receive an error 
message when I try to onehost create localhost -i im_kvm -v vmm_kvm
-n 
dummy

The error (onehost show):

ERROR=[
   MESSAGE=Error monitoring host 4 : MONITOR FAILURE 4 Error
executing 
kvm.rb
,
   TIMESTAMP=Mon Jan 14 14:10:11 2013 ]

It seems that the step leading to this error is changing qemu.conf so 
that it reads as follows:

$ grep -vE '^($|#)' /etc/libvirt/qemu.conf
user = oneadmin
group = oneadmin
dynamic_ownership = 0

Anybody able to help me?

Cheers,
Marco

___
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] MONITOR FAILURE 4 Error executing kvm.rb

2013-01-14 Thread Duverne, Cyrille
Hello again,

As mentionned here as well :
http://lists.opennebula.org/pipermail/users-opennebula.org/2011-March/014614.html

You have to run libvirt as oneadmin.

Could you try again ?

Cheers
Cyrille

Lundi 14/01/2013 à 14:50 Marco Jagodzinska a écrit:

 Hello Cyrille,

thanks for your answer!

I tried both.

With -l the command service libvirt-bin restart isn't longer
working properly:
root@Arbeitsrechner:/# service libvirt-bin restart
stop: Unknown instance: 
libvirt-bin start/running, process 25471

Without -l the restart is working fine:
root@Arbeitsrechner:/# service libvirt-bin restart
libvirt-bin stop/waiting
libvirt-bin start/running, process 25673

And onehost create fails in both cases...

Cheers,
Marco

Am 14.01.2013 14:38, schrieb Duverne, Cyrille:

 Hello Marco,

Did you launch livirt with the -l option ? 
As described in the tutorial :
 

*   /etc/libvirt/libvirtd.conf : Uncomment “listen_tcp = 1”.
Security configuration is left to the admin's choice, file is full of
useful comments to achieve a correct configuration. As a tip, if you
don't want to use TLS for connections set listen_tls = 0.

*   /etc/default/libvirt-bin : add -L option to libvirtd_opts 



Just my 2 cents.

Kind regards
CyD

Lundi 14/01/2013 à 14:20 Marco Jagodzinska a écrit:

Hello again,

next try, hoping for an answer ;)

(I'm using Xubuntu 12.04 and the latest OpenNebula 3.8.3)

If I follow the tutorial for configuring KVM 
(http://opennebula.org/documentation:rel3.8:kvmg), I receive an error 
message when I try to onehost create localhost -i im_kvm -v vmm_kvm
-n 
dummy

The error (onehost show):

ERROR=[
   MESSAGE=Error monitoring host 4 : MONITOR FAILURE 4 Error
executing 
kvm.rb
,
   TIMESTAMP=Mon Jan 14 14:10:11 2013 ]

It seems that the step leading to this error is changing qemu.conf so 
that it reads as follows:

$ grep -vE '^($|#)' /etc/libvirt/qemu.conf
user = oneadmin
group = oneadmin
dynamic_ownership = 0

Anybody able to help me?

Cheers,
Marco

___
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] MONITOR FAILURE 4 Error executing kvm.rb

2013-01-14 Thread Duverne, Cyrille
Marco,

Just to be 100% sure, are you launching and using ONE as oneadmin ?

Cheers
Cyrille

Lundi 14/01/2013 à 15:51 Marco Jagodzinska a écrit:

Hello again,

so you mean changing the two following two parts in 
|/etc/libvirt/libvirtd.conf| ?/

unix_sock_group = libvirt -  unix_sock_group = oneadmin///

and
/
//unix_sock_rw_perms = 0770 -  unix_sock_rw_perms = 0777

I tried it and it still isn't working.

But that strangest thing is: when I don't change anything at all
onehost create is working.
I thought because of later errors with onevm create (see mail:
[one-users] Could not  create domain while trying to start a vm,
9.1.), I have to follow the steps for KVM configuration from the
official site.

I dont want to believe that following the official tutorial leads to
errors you doesn't would have when you do nothing ;)

Cheers,
Marco
/

Am 14.01.2013 14:54, schrieb Duverne, Cyrille:
 Hello again,

 As mentionned here as well : 

http://lists.opennebula.org/pipermail/users-opennebula.org/2011-March/014614.html

 You have to run libvirt as oneadmin.

 Could you try again ?

 Cheers
 Cyrille

 Lundi 14/01/2013 à 14:50 Marco Jagodzinska a écrit:

 Hello Cyrille,

 thanks for your answer!

 I tried both.

 With -l the command service libvirt-bin restart isn't
longer
 working properly:
 root@Arbeitsrechner:/# service libvirt-bin restart
 stop: Unknown instance:
 libvirt-bin start/running, process 25471

 Without -l the restart is working fine:
 root@Arbeitsrechner:/# service libvirt-bin restart
 libvirt-bin stop/waiting
 libvirt-bin start/running, process 25673

 And onehost create fails in both cases...

 Cheers,
 Marco



 Am 14.01.2013 14:38, schrieb Duverne, Cyrille:
 Hello Marco,

 Did you launch livirt with the -l option ?
 As described in the tutorial :
 

  *
 |/etc/libvirt/libvirtd.conf| : Uncomment
“listen_tcp = 1”.
 Security configuration is left to the admin's
choice, file is
 full of useful comments to achieve a correct
configuration.
 As a tip, if you don't want to use TLS for
connections set
 |listen_tls = 0|.

  *
 |/etc/default/libvirt-bin| : add *-l* option to
|libvirtd_opts|

 

 Just my 2 cents.

 Kind regards
 CyD


 Lundi 14/01/2013 à 14:20 Marco Jagodzinska a écrit:

 Hello again,

 next try, hoping for an answer ;)

 (I'm using Xubuntu 12.04 and the latest OpenNebula
3.8.3)

 If I follow the tutorial for configuring KVM
 (http://opennebula.org/documentation:rel3.8:kvmg),
I receive
 an error
 message when I try to onehost create localhost -i
im_kvm -v
 vmm_kvm -n
 dummy

 The error (onehost show):

 ERROR=[
MESSAGE=Error monitoring host 4 : MONITOR
FAILURE 4 Error
 executing
 kvm.rb
 ,
TIMESTAMP=Mon Jan 14 14:10:11 2013 ]



 It seems that the step leading to this error is
changing
 qemu.conf so
 that it reads as follows:

 $ grep -vE '^($|#)' /etc/libvirt/qemu.conf
 user = oneadmin
 group = oneadmin
 dynamic_ownership = 0


 Anybody able to help me?

 Cheers,
 Marco


 ___
 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] Info on ONE Instance for testing purpose

2013-01-11 Thread Duverne, Cyrille

Hello Hector,

Thanks for this, I tried to compile ONE in a self-contained mode.

Then I downloaded the tarball in a local directory
Untared it
Tried to launch : scons -j2
And getting an error about can't find xmlrpc libraries.

I've downloaded xmlrpc libraries, and I tried to check if everything
went well with : xmlrpc-c-config --version
And get an answer.

Where is the trick ?

Thanks in advance
CyD Imagination is more important than Knowledge
Albert Einstein

Mardi 08/01/2013 à 21:25 Hector Sanjuan a écrit:

 Yes but dont forget that you can make a self-contained installation
on a single folder (-d option
http://opennebula.org/documentation:rel3.8:compile). So you can have a
selfcontained install with sqlite and dummy drivers withing your
project, that you can use for testing purposes. Or your tests can
install a fresh instance everytime, then you provide the right
oned.conf and sqlite file with the initial testing state

Hector

On Tue, 08 Jan 2013 13:02:55 +0100, Duverne, Cyrille  wrote:

Hello,

Thanks a lot Carlos for this.

So I still need to install OpenNebula somewhere to be able to simulate
the API.

Kind regards
Cyrille

Mardi 08/01/2013 à 12:36 Carlos Martín Sánchez a écrit:

Hi,

When we don't need to check the interaction with real infrastructure
we use the dummy drivers for hosts (im, vmm, network) and datastores
(ds  tm)

$ onehost create dummyhost -i im_dummy -v vmm_dummy -n dummy

$ onedatastore show 0

DATASTORE TEMPLATE                                  
                           
TM_MAD=dummy

 $ onedatastore show 1

DATASTORE TEMPLATE                                  
                           
DS_MAD=dummy
TM_MAD=dummy

You may need to uncomment some of them in oned.conf. The drivers can
be found in /var/lib/one/remotes

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org [1] | cmar...@opennebula.org | @OpenNebula [2]

On Tue, Jan 8, 2013 at 9:36 AM, Duverne, Cyrille  wrote:

 Hello,

Do you know if such a thing exists ? If no it could be a great feature
to be able to simulate ONE answers to API commands instead of having a
full working infrastructure.

Do you use a Continuous Integration tool in ONE development ? Do you
test all features and builds ?

Thanks in advance
Cyrille

Mercredi 02/01/2013 à 21:04 Duverne, Cyrille a écrit: 

Hello,

We are creating a new scalable middleware product, and we need to have
a fake RPC server for test purpose to launch commands from our
continuous integration server.

Is there any available on your side ?

Thanks in advance
Cyrille

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

-- 
Hector Sanjuan
@hecsanjuan



Links:
--
[1] http://www.OpenNebula.org
[2] http://twitter.com/opennebula

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


[one-users] Contextualisation Issue

2013-01-11 Thread Duverne, Cyrille
Hello,

I'm facing some contextualisation issue with the new package 3.8.1.
Is there an easy way to debug this ?

Thanks in advance
Cyrille


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


Re: [one-users] Info on ONE Instance for testing purpose

2013-01-08 Thread Duverne, Cyrille
Hello,

Do you know if such a thing exists ? If no it could be a great feature
to be able to simulate ONE answers to API commands instead of having a
full working infrastructure.

Do you use a Continuous Integration tool in ONE development ? Do you
test all features and builds ?

Thanks in advance
Cyrille

Mercredi 02/01/2013 à 21:04 Duverne, Cyrille a écrit:

Hello,

We are creating a new scalable middleware product, and we need to have
a fake RPC server for test purpose to launch commands from our
continuous integration server.

Is there any available on your side ?

Thanks in advance
Cyrille


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


Re: [one-users] Info on ONE Instance for testing purpose

2013-01-08 Thread Duverne, Cyrille
Hello,

Thanks a lot Carlos for this.

So I still need to install OpenNebula somewhere to be able to simulate
the API..

Kind regards
Cyrille

Mardi 08/01/2013 à 12:36 Carlos Martín Sánchez a écrit:

Hi,

When we don't need to check the interaction with real infrastructure
we use the dummy drivers for hosts (im, vmm, network) and datastores
(ds  tm)

$ onehost create dummyhost -i im_dummy -v vmm_dummy -n dummy

$ onedatastore show 0

DATASTORE TEMPLATE                                  
                           
TM_MAD=dummy

 $ onedatastore show 1

DATASTORE TEMPLATE                                  
                           
DS_MAD=dummy
TM_MAD=dummy

You may need to uncomment some of them in oned.conf. The drivers can
be found in /var/lib/one/remotes

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org [1] | cmar...@opennebula.org | @OpenNebula [2] [3]

On Tue, Jan 8, 2013 at 9:36 AM, Duverne, Cyrille  wrote:

 Hello,

Do you know if such a thing exists ? If no it could be a great feature
to be able to simulate ONE answers to API commands instead of having a
full working infrastructure..

Do you use a Continuous Integration tool in ONE development ? Do you
test all features and builds ?

Thanks in advance
Cyrille

Mercredi 02/01/2013 à 21:04 Duverne, Cyrille a écrit: 

Hello,

We are creating a new scalable middleware product, and we need to have
a fake RPC server for test purpose to launch commands from our
continuous integration server..

Is there any available on your side ?

Thanks in advance
Cyrille

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



Links:
--
[1] http://www.OpenNebula.org
[2] http://twitter.com/opennebula
[3] mailto:cmar...@opennebula.org

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


[one-users] Info on ONE Instance for testing purpose

2013-01-02 Thread Duverne, Cyrille
Hello,

We are creating a new scalable middleware product, and we need to have
a fake RPC server for test purpose to launch commands from our
continuous integration server.

Is there any available on your side ?

Thanks in advance
Cyrille


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


Re: [one-users] Unable to upload VMDK

2012-12-31 Thread Duverne, Cyrille
Hello,

Did you check the permission on var/lib/one ?
It has to be oneadmin:oneadmin (or the user and group you defined for
opennebula), moreover check that libvirt is part of the same group

Cheers
Cyrille

Lundi 31/12/2012 à 11:06 SRINIVASAN-ACCEL a écrit:

Hi

 

Scenario : Created a Windows XP Virtual Machine using Vmware
Workstation ( Hardware version 8) and uploaded the VMDK to opennebula
through Sunstone interface.

 

Error Message : After completing the upload the status become
“ERROR” with the error message as 

 

MESSAGE=ERROR COPYING IMAGE IN THE DATASTORE: ERROR RENAMING DISK
FILE /VAR/LIB/ONE/DATASTORES/100/FAF6CE317BEDFF04615B8E1086B83073 TO
DISK.VMDK,


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


Re: [one-users] Installation of OpenNebula Cloud

2012-12-31 Thread Duverne, Cyrille
Of course you can,

Just follow the installation guide here : 
http://opennebula.org/documentation:rel3.8

Cheers
Cyrille

Lundi 31/12/2012 à 2:48 SIDHARTHA a écrit:

Note: Forwarded message attached

-- Original Message --

From: SIDHARTHA sidhartha_karyamp...@rediffmail.com
To: users@lists.opennebula.org
Subject: Installation of OpenNebula Cloud

K. RAMA KRISHNA SIDHARTHA

 [1]

Catch India as it happens with the REDIFF NEWS APP. To download it for
FREE, click here [2]



Links:
--
[1]
http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?
[2]
http://track.rediff.com/click?url=___http://www.rediff.com/newsapp___lnk=signaturenewservice=newsapp

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


Re: [one-users] Ganglia integration

2012-12-14 Thread Duverne, Cyrille
Hello Olivier,

Thanks for this feedback.

My request wasn't clear enough, I already monitor my hosts and I see
the OPENNEBULA-VMS-INFORMATION variable in Ganglia, but I don't know
how to use it to provide graphs on the VM usage.

Will the VM information be displayed in Sunstone ? In Ganglia ? 

Any help is welcome on this.

Cheers
Cyrille

Jeudi 13/12/2012 à 17:31 Olivier Sallou a écrit:

Le 12/13/12 3:27 PM, Duverne, Cyrille a écrit :

 Dear mailing-list, (these days it's like saying dear Santa, :) )

I've set up a ganglia environment in my lab and can see the monitoring
information for my hosts.

I've followed the manual about ganglia integration and updated the
nodes, updated oned.conf, created the cron as follow :

*/1 * * * * oneadmin gmetric -n OPENNEBULA_VMS_INFORMATION -t string
-v `/var/lib/one/remotes/vmm/kvm/poll --kvm`

I've updated the probe file to point to my central ganglia server.

But I can't see anything on Ganglia web.

I might be missing something on the ganglia server side... but what ?
Where are the VM information defines for Ganglia to display them ?

 Ganglia does not provide graphics for the VMs with opennebula.  VM
information are stored in a variable accessible for each  host  with
name OPENNEBULA_VMS_INFORMATION (base64 encoded).
Then opennebula will trigger ganglia to get the status of the VMs
running on this host.

OpenNebula uses Ganglia to extract the information, and not the
contrary

If you want to monitor your host with Ganglia you can use standard
metrics provided by gmetric (cpu,ram,)

Olivier

Thanks in advance for your feedback
Cheers
Cyrille

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

-- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu,
35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438
(keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D
78DC 68DB 326D 8438  


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


Re: [one-users] Ganglia integration

2012-12-14 Thread Duverne, Cyrille
Hello Valentin, Olivier,

The sFlow seems to be exactly what I'm looking for, i'll launch an
implementation and keep you posted of the result.

Thanks a lot.
Cyrille

Vendredi 14/12/2012 à 11:25 Valentin Bud a écrit:

Hello World,

On Friday, December 14, 2012, Olivier Sallou wrote:

Le 12/14/12 9:32 AM, Duverne, Cyrille a écrit :

 Hello Olivier,

Thanks for this feedback.

My request wasn't clear enough, I already monitor my hosts and I see
the OPENNEBULA-VMS-INFORMATION variable in Ganglia, but I don't know
how to use it to provide graphs on the VM usage.

Will the VM information be displayed in Sunstone ? In Ganglia ? 

 OPENNEBULA-VMS-INFORMATION  provides global VM status information to
opennebula. Some graphs are available in Sunstone to monitor the VM
help with this data (when you click on your vm in suntone)

If you want Ganglia monitoring of your VM, you have to setup gmond in
the VM itself.

Or one can use Host sFlow [1] to gather CPU, RAM and network
statistics. There is a blog post [2] describing the installation
procedure. Works with Ganglia 3.2+. If you need other metrics you'd
have to install gmond inside the VM. Enjoy.

[1]: http://host-sflow.sourceforge.net/
[2]: http://blog.sflow.com/2012/01/using-ganglia-to-monitor-virtual.html

v

Olivier

Any help is welcome on this.

Cheers
Cyrille

Jeudi 13/12/2012 à 17:31 Olivier Sallou a écrit:

Le 12/13/12 3:27 PM, Duverne, Cyrille a écrit :

 Dear mailing-list, (these days it's like saying dear Santa, :) )

I've set up a ganglia environment in my lab and can see the monitoring
information for my hosts.

I've followed the manual about ganglia integration and updated the
nodes, updated oned.conf, created the cron as follow :

*/1 * * * * oneadmin gmetric -n OPENNEBULA_VMS_INFORMATION -t string
-v `/var/lib/one/remotes/vmm/kvm/poll --kvm`

I've updated the probe file to point to my central ganglia server.

But I can't see anything on Ganglia web.

I might be missing something on the ganglia server side... but what ?
Where are the VM information defines for Ganglia to display them ?

 Ganglia does not provide graphics for the VMs with opennebula.  VM
information are stored in a variable accessible for each  host  with
name OPENNEBULA_VMS_INFORMATION (base64 encoded).
Then opennebula will trigger ganglia to get the status of the VMs
running on this host.

OpenNebula uses Ganglia to extract the information, and not the
contrary

If you want to monitor your host with Ganglia you can use standard
metrics provided by gmetric (cpu,ram,)

Olivier

Thanks in advance for your feedback
Cheers
Cyrille

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

-- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu,
35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438
(keyring.debian.org [1]) Key fingerprint = 5FB4 6F83 D3B9 5204 6335
D26D 78DC 68DB 326D 8438  

-- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu,
35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438
(keyring.debian.org [1]) Key fingerprint = 5FB4 6F83 D3B9 5204 6335
D26D 78DC 68DB 326D 8438  



Links:
--
[1] http://keyring.debian.org

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


[one-users] Ganglia integration

2012-12-13 Thread Duverne, Cyrille
Dear mailing-list, (these days it's like saying dear Santa, :) )

I've set up a ganglia environment in my lab and can see the monitoring
information for my hosts.

I've followed the manual about ganglia integration and updated the
nodes, updated oned.conf, created the cron as follow :

*/1 * * * * oneadmin gmetric -n OPENNEBULA_VMS_INFORMATION -t string
-v `/var/lib/one/remotes/vmm/kvm/poll --kvm`

I've updated the probe file to point to my central ganglia server.

But I can't see anything on Ganglia web.

I might be missing something on the ganglia server side... but what ?
Where are the VM information defines for Ganglia to display them ?

Thanks in advance for your feedback
Cheers
Cyrille


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


Re: [one-users] Info on Partition and volatile disks

2012-12-10 Thread Duverne, Cyrille
Hello,

It seems a bit overkill for what I want to achieve here, but the
product is interesting, I keep it in mind :)

Does anyone has an idea to keep a base image at 3G pointing /var /usr
in a volatile storage ? startup script seems not so adequate...

Thanks in advance.
Cyrille

Imagination is more important than Knowledge
Albert Einstein

Lundi 03/12/2012 à 23:28 Evan Fraser a écrit:

Hi Cyrille,

 

Try taking a look at UnionFS: http://unionfs.filesystems.org/

 

It can be mounted overtop of the root filesystem giving you access to
the files in the filesystem beneath, while changes are recorded in the
unionfs filesystem.

 

An example using a compressed squashfs image as the root filesystem
and then mounting unionfs over top can be found here:
http://www.tldp.org/HOWTO/html_single/SquashFS-HOWTO/#sqwrite

 

Cheers, Evan.

 

FROM: users-boun...@lists.opennebula.org
[mailto:users-boun...@lists.opennebula.org] ON BEHALF OF Duverne,
Cyrille
SENT: Tuesday, 4 December 2012 11:12 a.m.
TO: Mailing List OPENNEBULA
SUBJECT: [one-users] Info on Partition and volatile disks

 

Dear mailing list,

I always have some topics to make your brain run as fast as light :) :

- I have a base image of 3Gb of Ubuntu Server
- Depending on the request I add a volatile disk of 15 / 50 / 150 Gb
(this to avoid copying 150G each time I deploy a VM)

But since the root partition is 3G large, some users are making it
exploding without using the 15G free.

I'd like to use the free storage as hosting partition for /var, /usr,
/home.
How could I achieve this since the disk volatile and provisioned on
the fly at the deployment.

I'm trying to mv /var etc... in init.sh at startup, but it make the VM
to never start (maybe because /var/lock, /var/run aren't accessible)

I think symlinks are the best way to do this, I might be wrong.

Please help :)
Regards
CyD


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


Re: [one-users] Info noVNC

2012-12-03 Thread Duverne, Cyrille
Hello,

Indeed the 'vnc' did the trick and the icon is now clickable, but when
clicking the web interface shows : 
Server disconnected (code: 1006)

Help ! :p
Cheers
Cyrille

Jeudi 29/11/2012 à 12:05 Carlos Martín Sánchez a écrit:

Hi,

You need to set the graphics type to the downcase string vnc.
This doesn't look very user-friendly, so I've opened a ticket [1]

Regards

[1] http://dev.opennebula.org/issues/1669
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org [1] | cmar...@opennebula.org | @OpenNebula [2] [3]

On Mon, Nov 26, 2012 at 11:10 PM, Duverne, Cyrille  wrote:

 Dear ONE users,

It seems that noVNC and 3.8 are trendy topics these days :)

I've followed the troubleshooting section of noVNC in the doc, but I
can't access my VMs through it : VNC icon remains grey

- Template includes a GRAPHICS section :
GRAPHICS=[
  LISTEN=0.0.0.0,
  TYPE=VNC ]

- VMs created in 3.6 don't show anything in the logs, unlike the ones
created in 3.8 :
Mon Nov 26 22:59:31 2012 [VMM][I]: Generating deployment file:
/var/lib/one/224/deployment.0 Mon Nov 26 22:59:31 2012 [VMM][W]:
Graphics not supported or undefined, ignored.

- I checked the noVNC installation and found that numpy was missing, I
installed it and relaunched the novnc_install script

- I tried to launch the websockify command with oneadmin and I get the
following error :

oneadmin@inferno:/home/manager$ python
/usr/share/opennebula/websockify/websocketproxy.py
--target-config=/var/lib/one/sunstone_vnc_tokens
Traceback (most recent call last):
File /usr/share/opennebula/websockify/websocketproxy.py, line 390,
in 
websockify_init()
File /usr/share/opennebula/websockify/websocketproxy.py, line 364,
in websockify_init
if args[0].count(':')  0:
IndexError: list index out of range

I'm using KVM as hypervisor.

Any help on this ?

Thanks in advance
CyD

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



Links:
--
[1] http://www.OpenNebula.org
[2] http://twitter.com/opennebula
[3] mailto:cmar...@opennebula.org

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


Re: [one-users] Info noVNC

2012-12-03 Thread Duverne, Cyrille
Hello Ruben,

My arms just felt from my shoulders...

I tried your command indeed, and it worked. I tried it as oneadmin and
it worked.
I tried to restart sunstone-server, and now it works...

It's incredible ! :)

Thanks a lot.
Cyrille

Lundi 03/12/2012 à 22:36 Ruben S. Montero a écrit:

Hi,

Take a look to sunstone-server.log, there should be a line about
starting the web proxy:

: Starting VNC proxy: python
/home/cloud/one/share/websockify/websockify
--target-config=/home/ruben/Virtual/one/var/sunstone_vnc_tokens
 29876

You can try to execute the line directly in the shell... Any error? Is
there any firewall rule filtering out these ports...?

Cheers

Ruben 

On Mon, Dec 3, 2012 at 9:21 PM, Duverne, Cyrille  wrote:

 Hello,

Indeed the 'vnc' did the trick and the icon is now clickable, but when
clicking the web interface shows : 
Server disconnected (code: 1006)

Help ! :p
Cheers
Cyrille

Jeudi 29/11/2012 à 12:05 Carlos Martín Sánchez a écrit:

 Hi,

You need to set the graphics type to the downcase string vnc.
This doesn't look very user-friendly, so I've opened a ticket [1]

Regards

[1] http://dev.opennebula..org/issues/1669
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org [1] | cmar...@opennebula.org | @OpenNebula [2] [3]

On Mon, Nov 26, 2012 at 11:10 PM, Duverne, Cyrille  wrote:

 Dear ONE users,

It seems that noVNC and 3.8 are trendy topics these days :)

I've followed the troubleshooting section of noVNC in the doc, but I
can't access my VMs through it : VNC icon remains grey

- Template includes a GRAPHICS section :
GRAPHICS=[
  LISTEN=0.0.0.0,
  TYPE=VNC ]

- VMs created in 3.6 don't show anything in the logs, unlike the ones
created in 3.8 :
Mon Nov 26 22:59:31 2012 [VMM][I]: Generating deployment file:
/var/lib/one/224/deployment.0 Mon Nov 26 22:59:31 2012 [VMM][W]:
Graphics not supported or undefined, ignored.

- I checked the noVNC installation and found that numpy was missing, I
installed it and relaunched the novnc_install script

- I tried to launch the websockify command with oneadmin and I get the
following error :

oneadmin@inferno:/home/manager$ python
/usr/share/opennebula/websockify/websocketproxy.py
--target-config=/var/lib/one/sunstone_vnc_tokens
Traceback (most recent call last):
File /usr/share/opennebula/websockify/websocketproxy.py, line 390,
in 
websockify_init()
File /usr/share/opennebula/websockify/websocketproxy.py, line 364,
in websockify_init
if args[0].count(':')  0:
IndexError: list index out of range

I'm using KVM as hypervisor.

Any help on this ?

Thanks in advance
CyD

___
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 - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org [1] | rsmont...@opennebula.org | @OpenNebula



Links:
--
[1] http://www.OpenNebula.org
[2] http://twitter.com/opennebula
[3] mailto:cmar...@opennebula.org

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


[one-users] Info on Partition and volatile disks

2012-12-03 Thread Duverne, Cyrille
Dear mailing list,

I always have some topics to make your brain run as fast as light :) :

- I have a base image of 3Gb of Ubuntu Server
- Depending on the request I add a volatile disk of 15 / 50 / 150 Gb
(this to avoid copying 150G each time I deploy a VM)

But since the root partition is 3G large, some users are making it
exploding without using the 15G free.

I'd like to use the free storage as hosting partition for /var, /usr,
/home.
How could I achieve this since the disk volatile and provisioned on
the fly at the deployment.

I'm trying to mv /var etc... in init.sh at startup, but it make the VM
to never start (maybe because /var/lock, /var/run aren't accessible)

I think symlinks are the best way to do this, I might be wrong.

Please help :)
Regards
CyD


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


Re: [one-users] Info noVNC

2012-12-03 Thread Duverne, Cyrille

Ok that's great ! :)

Thanks a lot Ruben, I think that the documentation could embed some
example for this attribute (just add a e.g : KEYMAP=fr for FR
keyboard etc...
Otherwise it's not really talkative.

Cheers
CyrilleImagination is more important than Knowledge
Albert Einstein

Lundi 03/12/2012 à 22:58 Ruben S. Montero a écrit:

I am not sure, but you can try the keymap option for VNC (in
graphics...) KEYMAP=es works on my spanish keyboard...

Cheers

Ruben

On Mon, Dec 3, 2012 at 10:50 PM, Duverne, Cyrille  wrote:

Let me recall my mail :)

The characters I send via the Web VNC are coded well, my keyboard is
recognized as a QWERTY in tthis websocket...

How to put it back as an AZERTY ?

Cheers
Cyrille Imagination is more important than Knowledge
Albert Einstein

Lundi 03/12/2012 à 22:47 Duverne, Cyrille a écrit:

Hello Ruben,

My arms just felt from my shoulders...

I tried your command indeed, and it worked. I tried it as oneadmin and
it worked.
I tried to restart sunstone-server, and now it works...

It's incredible ! :)

Thanks a lot.
Cyrille

Lundi 03/12/2012 à 22:36 Ruben S. Montero a écrit:

Hi,

Take a look to sunstone-server.log, there should be a line about
starting the web proxy:

: Starting VNC proxy: python
/home/cloud/one/share/websockify/websockify
--target-config=/home/ruben/Virtual/one/var/sunstone_vnc_tokens
 29876

You can try to execute the line directly in the shell... Any error? Is
there any firewall rule filtering out these ports...?

Cheers

Ruben 

On Mon, Dec 3, 2012 at 9:21 PM, Duverne, Cyrille  wrote:

 Hello,

Indeed the 'vnc' did the trick and the icon is now clickable, but when
clicking the web interface shows : 
Server disconnected (code: 1006)

Help ! :p
Cheers
Cyrille

Jeudi 29/11/2012 à 12:05 Carlos Martín Sánchez a écrit:

  Hi,

You need to set the graphics type to the downcase string vnc.
This doesn't look very user-friendly, so I've opened a ticket [1]

Regards

[1] http://dev.opennebula.org/issues/1669
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org [1] | cmar...@opennebula.org | @OpenNebula [2] [3]

On Mon, Nov 26, 2012 at 11:10 PM, Duverne, Cyrille  wrote:

 Dear ONE users,

It seems that noVNC and 3.8 are trendy topics these days :)

I've followed the troubleshooting section of noVNC in the doc, but I
can't access my VMs through it : VNC icon remains grey

- Template includes a GRAPHICS section :
GRAPHICS=[
  LISTEN=0.0.0.0,
  TYPE=VNC ]

- VMs created in 3.6 don't show anything in the logs, unlike the ones
created in 3.8 :
Mon Nov 26 22:59:31 2012 [VMM][I]: Generating deployment file:
/var/lib/one/224/deployment.0 Mon Nov 26 22:59:31 2012 [VMM][W]:
Graphics not supported or undefined, ignored.

- I checked the noVNC installation and found that numpy was missing, I
installed it and relaunched the novnc_install script

- I tried to launch the websockify command with oneadmin and I get the
following error :

oneadmin@inferno:/home/manager$ python
/usr/share/opennebula/websockify/websocketproxy.py
--target-config=/var/lib/one/sunstone_vnc_tokens
Traceback (most recent call last):
File /usr/share/opennebula/websockify/websocketproxy.py, line 390,
in 
websockify_init()
File /usr/share/opennebula/websockify/websocketproxy.py, line 364,
in websockify_init
if args[0].count(':')  0:
IndexError: list index out of range

I'm using KVM as hypervisor.

Any help on this ?

Thanks in advance
CyD

___
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 - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org [1] | rsmont...@opennebula.org | @OpenNebula

-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org [1] | rsmont...@opennebula.org | @OpenNebula



Links:
--
[1] http://www.OpenNebula.org
[2] http://twitter.com/opennebula
[3] mailto:cmar...@opennebula.org

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


[one-users] Info noVNC

2012-11-26 Thread Duverne, Cyrille
Dear ONE users,

It seems that noVNC and 3.8 are trendy topics these days :)

I've followed the troubleshooting section of noVNC in the doc, but I
can't access my VMs through it : VNC icon remains grey

- Template includes a GRAPHICS section :
GRAPHICS=[
  LISTEN=0.0.0.0,
  TYPE=VNC ]

- VMs created in 3.6 don't show anything in the logs, unlike the ones
created in 3.8 :
Mon Nov 26 22:59:31 2012 [VMM][I]: Generating deployment file:
/var/lib/one/224/deployment.0 Mon Nov 26 22:59:31 2012 [VMM][W]:
Graphics not supported or undefined, ignored.

- I checked the noVNC installation and found that numpy was missing, I
installed it and relaunched the novnc_install script

- I tried to launch the websockify command with oneadmin and I get the
following error :

oneadmin@inferno:/home/manager$ python
/usr/share/opennebula/websockify/websocketproxy.py
--target-config=/var/lib/one/sunstone_vnc_tokens
Traceback (most recent call last):
File /usr/share/opennebula/websockify/websocketproxy.py, line 390,
in 
websockify_init()
File /usr/share/opennebula/websockify/websocketproxy.py, line 364,
in websockify_init
if args[0].count(':')  0:
IndexError: list index out of range

I'm using KVM as hypervisor.

Any help on this ?

Thanks in advance
CyD


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


Re: [one-users] Can't live migrate VM

2012-11-22 Thread Duverne, Cyrille
Hello Ruben,

Thanks a lot for this !

I actually upgraded to 3.8 since I now have a permission issue.

But the VMs history are still looking the same, but the migration
fails because of a permission issue explained in the thread : Upgrade
3.8.1

Thanks in advance to have a look to this :)

Cheers
Cyrille

Imagination is more important than Knowledge
Albert Einstein

Jeudi 22/11/2012 à 10:45 Ruben S. Montero a écrit:

Hi Cyrille,

This is a known bug for 3.6 

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

It is solved in 3.8, the patch should apply in 3.6, though if you are
interested

On Wed, Nov 14, 2012 at 4:14 PM, Duverne, Cyrille  wrote:

Hello,

I had to restart one and after I get the following history for several
VM for which a live migrate failed :

 SEQ HOST    REASON  
START    TIME PROLOG_TIME
   0 inferno.local   user    11/09 10:52:06    5d
04h01m00s    0d 00h01m21s
   1 orthanc.local   none    11/14 14:53:04    0d
01h20m50s    0d 00h00m00s
   2 inferno.local   user    11/14 14:53:06    0d
00h00m51s    0d 00h00m00s
   3 orthanc.local   user    11/14 14:53:33    0d
00h21m00s    0d 00h00m00s
   4 inferno.local   none    11/14 15:14:27    0d
00h59m27s    0d 00h00m00s
   5 orthanc.local   user    11/14 15:14:33    0d
00h07m31s    0d 00h00m00s
   6 inferno.local   none    11/14 15:22:01    0d
00h51m53s    0d 00h00m00s
   7 orthanc.local   none    11/14 15:22:04    0d
00h51m50s    0d 00h00m00s

Then I can't live migrate those VMs anymore.
i found some old post saying to update the history table etc... but
withour giving clear commands..

Could you help by providing the good steps and commands ?

Kind regards
Cyrille

PS : I'm running 3.6 and won't upgrade before solving this if
possible.

___
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 - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org [1] | rsmont...@opennebula.org | @OpenNebula



Links:
--
[1] http://www.OpenNebula.org

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


Re: [one-users] Can't live migrate VM

2012-11-22 Thread Duverne, Cyrille

For the records, I had this issues because I changed the property of
my user oneadmin and set back the permissions of the directory etc
to this new UID, in order to get an homogeneous situation in all the
servers.

This wasn't caused by the upgrade..

Cheers
CyD Imagination is more important than Knowledge
Albert Einstein

Jeudi 22/11/2012 à 11:10 Rodolfo Conte Brufatto a écrit:

This is why i haven' upgraded yet.. I am afraid get these issues as
well and certainly will take some time to figure.

Cheers

On Thu, Nov 22, 2012 at 7:56 AM, Duverne, Cyrille  wrote:

Hello Ruben,

Thanks a lot for this !

I actually upgraded to 3.8 since I now have a permission issue.

But the VMs history are still looking the same, but the migration
fails because of a permission issue explained in the thread : Upgrade
3.8.1

Thanks in advance to have a look to this :)

Cheers
Cyrille

Imagination is more important than Knowledge
Albert Einstein

Jeudi 22/11/2012 à 10:45 Ruben S. Montero a écrit:

 Hi Cyrille,

This is a known bug for 3.6 

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

It is solved in 3.8, the patch should apply in 3.6, though if you are
interested

On Wed, Nov 14, 2012 at 4:14 PM, Duverne, Cyrille  wrote:

Hello,

I had to restart one and after I get the following history for several
VM for which a live migrate failed :

 SEQ HOST    REASON  
START    TIME PROLOG_TIME
   0 inferno.local   user    11/09 10:52:06    5d
04h01m00s    0d 00h01m21s
   1 orthanc.local   none    11/14 14:53:04    0d
01h20m50s    0d 00h00m00s
   2 inferno.local   user    11/14 14:53:06    0d
00h00m51s    0d 00h00m00s
   3 orthanc.local   user    11/14 14:53:33    0d
00h21m00s    0d 00h00m00s
   4 inferno.local   none    11/14 15:14:27    0d
00h59m27s    0d 00h00m00s
   5 orthanc.local   user    11/14 15:14:33    0d
00h07m31s    0d 00h00m00s
   6 inferno.local   none    11/14 15:22:01    0d
00h51m53s    0d 00h00m00s
   7 orthanc.local   none    11/14 15:22:04    0d
00h51m50s    0d 00h00m00s

Then I can't live migrate those VMs anymore.
i found some old post saying to update the history table etc... but
withour giving clear commands.

Could you help by providing the good steps and commands ?

Kind regards
Cyrille

PS : I'm running 3.6 and won't upgrade before solving this if
possible.

___
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 - The Open Source Solution for Data Center Virtualization
www.OpenNebula..org [1] | rsmont...@opennebula.org | @OpenNebula

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

-- 
Have you tried turning it off and on again?



Links:
--
[1] http://www.OpenNebula.org

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


Re: [one-users] Upgrade 3.8.1

2012-11-19 Thread Duverne, Cyrille
Hello,

What about sudoers ? 

This line makes me think about a bad uid permission on some
files/folders but I don't know how to solve this since all Opennebula
doc are set to oneadmin:oneadmin, the UID 107 is the old UID of my
oneadmin user, the new one is 1001 
 
Thu Nov 15 16:16:42 2012 [VMM][I]: error: internal error cannot
getpwuid_r(107): Success

Thanks for your answer.
CyD

Lundi 19/11/2012 à 9:49 Olivier Sallou a écrit:

Le 11/18/12 10:13 PM, Duverne, Cyrille a écrit :

Hello all,

Any help on this, could be of use :)

Maybe an issue with user rights on host you are trying to migrate
(sudoers ?)

In advance, thanks.
CyD

Imagination is more important than Knowledge
Albert Einstein

Jeudi 15/11/2012 à 16:30 Duverne, Cyrille a écrit:

 Hello,

I finally solved my ssh password issue by rebooting ssh daemons on all
host.

But I can't create or move or do anything with VMs.

The creation start and fall in FAILED with the message :

Thu Nov 15 16:14:36 2012 [DiM][I]: New VM state is ACTIVE. Thu Nov 15
16:14:37 2012 [LCM][I]: New VM state is PROLOG. Thu Nov 15 16:16:18
2012 [TM][I]: clone: Cloning
/var/lib/one/datastores/1/f1b8e48b3dff8d26e3f35dff501ae691 in
inferno.local:/var/lib/one/datastores/0/219/disk.0 Thu Nov 15 16:16:18
2012 [TM][I]: ExitCode: 0 Thu Nov 15 16:16:36 2012 [TM][I]: mkimage:
Making filesystem of 15000M and type ext3 at
inferno.local:/var/lib/one/datastores/0/219/disk.1 Thu Nov 15 16:16:36
2012 [TM][I]: ExitCode: 0 Thu Nov 15 16:16:38 2012 [TM][I]: context:
Generating context block device at
inferno.local:/var/lib/one/datastores/0/219/disk.2 Thu Nov 15 16:16:38
2012 [TM][I]: ExitCode: 0 Thu Nov 15 16:16:38 2012 [LCM][I]: New VM
state is BOOT Thu Nov 15 16:16:38 2012 [VMM][I]: Generating deployment
file: /var/lib/one/219/deployment.0 Thu Nov 15 16:16:38 2012 [VMM][W]:
Graphics not supported or undefined, ignored. Thu Nov 15 16:16:39 2012
[VMM][I]: ExitCode: 0 Thu Nov 15 16:16:39 2012 [VMM][I]: Successfully
execute network driver operation: pre. Thu Nov 15 16:16:42 2012
[VMM][I]: Command execution fail: cat 
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Upgrade 3.8.1

2012-11-19 Thread Duverne, Cyrille
Hello,

I put my hands in an already installed evironment, in which I added 4
news hosts, on each host there was other users which were using the
UID 107 and were running critical processes.

Thus, I decided to update the old oneadmin user from the 1st farm to
1001, so I won't have further problem with new hosts, I thought.

I then found all directories and files which were owned by UID 107 and
chowned them to 1001, and then start the disaster :)

Does oneadmin have to be a sudoer ? 

It's already part of libvirt and kvm groups...

Regards
Cyrille

Imagination is more important than Knowledge
Albert Einstein

Lundi 19/11/2012 à 13:16 Olivier Sallou a écrit:

Le 11/19/12 10:00 AM, Duverne, Cyrille a écrit :

07 is the old UID of my oneadmin user, the new one is 1001 

 Why did it changed ?

Did you try to add oneadmin to sudoers (at least regarding libvirt
etc..). There is a paragraph on required rights I think in Opennebula
documentation..

-- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu,
35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438
(keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D
78DC 68DB 326D 8438  


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


Re: [one-users] Upgrade 3.8.1

2012-11-19 Thread Duverne, Cyrille

Hello,

It should be fine ? Ok but still not working :)

Should I send you some other information ?

Cheers
CyD

Imagination is more important than Knowledge
Albert Einstein

Lundi 19/11/2012 à 14:18 olivier.sal...@codeless.fr a écrit:

Le 11/19/12 2:02 PM, Duverne, Cyrille a écrit :

 Hello,

I put my hands in an already installed evironment, in which I added 4
news hosts, on each host there was other users which were using the
UID 107 and were running critical processes.

Thus, I decided to update the old oneadmin user from the 1st farm to
1001, so I won't have further problem with new hosts, I thought.

I then found all directories and files which were owned by UID 107 and
chowned them to 1001, and then start the disaster :)

 yes, all opennebula dirs are owned by oneadmin. But your issues
rather looks like system rights issue.

Does oneadmin have to be a sudoer ? 

 not necessary

 It's already part of libvirt and kvm groups

 should be fine

Regards
Cyrille

Imagination is more important than Knowledge
Albert Einstein

Lundi 19/11/2012 à 13:16 Olivier Sallou a écrit:

Le 11/19/12 10:00 AM, Duverne, Cyrille a écrit :

07 is the old UID of my oneadmin user, the new one is 1001 

 Why did it changed ?

Did you try to add oneadmin to sudoers (at least regarding libvirt
etc..). There is a paragraph on required rights I think in Opennebula
documentation..

-- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu,
35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438
(keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D
78DC 68DB 326D 8438  

-- gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint =
5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 


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


Re: [one-users] Upgrade 3.8.1

2012-11-18 Thread Duverne, Cyrille

Hello all,

Any help on this, could be of use :)

In advance, thanks.
CyD

Imagination is more important than Knowledge
Albert Einstein

Jeudi 15/11/2012 à 16:30 Duverne, Cyrille a écrit:

Hello,

I finally solved my ssh password issue by rebooting ssh daemons on all
host.

But I can't create or move or do anything with VMs.

The creation start and fall in FAILED with the message :

Thu Nov 15 16:14:36 2012 [DiM][I]: New VM state is ACTIVE. Thu Nov 15
16:14:37 2012 [LCM][I]: New VM state is PROLOG. Thu Nov 15 16:16:18
2012 [TM][I]: clone: Cloning
/var/lib/one/datastores/1/f1b8e48b3dff8d26e3f35dff501ae691 in
inferno.local:/var/lib/one/datastores/0/219/disk.0 Thu Nov 15 16:16:18
2012 [TM][I]: ExitCode: 0 Thu Nov 15 16:16:36 2012 [TM][I]: mkimage:
Making filesystem of 15000M and type ext3 at
inferno.local:/var/lib/one/datastores/0/219/disk.1 Thu Nov 15 16:16:36
2012 [TM][I]: ExitCode: 0 Thu Nov 15 16:16:38 2012 [TM][I]: context:
Generating context block device at
inferno.local:/var/lib/one/datastores/0/219/disk.2 Thu Nov 15 16:16:38
2012 [TM][I]: ExitCode: 0 Thu Nov 15 16:16:38 2012 [LCM][I]: New VM
state is BOOT Thu Nov 15 16:16:38 2012 [VMM][I]: Generating deployment
file: /var/lib/one/219/deployment.0 Thu Nov 15 16:16:38 2012 [VMM][W]:
Graphics not supported or undefined, ignored. Thu Nov 15 16:16:39 2012
[VMM][I]: ExitCode: 0 Thu Nov 15 16:16:39 2012 [VMM][I]: Successfully
execute network driver operation: pre. Thu Nov 15 16:16:42 2012
[VMM][I]: Command execution fail: cat 
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Upgrade 3.8.1

2012-11-15 Thread Duverne, Cyrille
Hello,

I finally solved my ssh password issue by rebooting ssh daemons on all
host.

But I can't create or move or do anything with VMs.

The creation start and fall in FAILED with the message :

Thu Nov 15 16:14:36 2012 [DiM][I]: New VM state is ACTIVE. Thu Nov 15
16:14:37 2012 [LCM][I]: New VM state is PROLOG. Thu Nov 15 16:16:18
2012 [TM][I]: clone: Cloning
/var/lib/one/datastores/1/f1b8e48b3dff8d26e3f35dff501ae691 in
inferno.local:/var/lib/one/datastores/0/219/disk.0 Thu Nov 15 16:16:18
2012 [TM][I]: ExitCode: 0 Thu Nov 15 16:16:36 2012 [TM][I]: mkimage:
Making filesystem of 15000M and type ext3 at
inferno.local:/var/lib/one/datastores/0/219/disk.1 Thu Nov 15 16:16:36
2012 [TM][I]: ExitCode: 0 Thu Nov 15 16:16:38 2012 [TM][I]: context:
Generating context block device at
inferno.local:/var/lib/one/datastores/0/219/disk.2 Thu Nov 15 16:16:38
2012 [TM][I]: ExitCode: 0 Thu Nov 15 16:16:38 2012 [LCM][I]: New VM
state is BOOT Thu Nov 15 16:16:38 2012 [VMM][I]: Generating deployment
file: /var/lib/one/219/deployment.0 Thu Nov 15 16:16:38 2012 [VMM][W]:
Graphics not supported or undefined, ignored. Thu Nov 15 16:16:39 2012
[VMM][I]: ExitCode: 0 Thu Nov 15 16:16:39 2012 [VMM][I]: Successfully
execute network driver operation: pre. Thu Nov 15 16:16:42 2012
[VMM][I]: Command execution fail: cat 
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Can't live migrate VM

2012-11-14 Thread Duverne, Cyrille
Hello,

I had to restart one and after I get the following history for several
VM for which a live migrate failed :

 SEQ HOST    REASON  
START    TIME PROLOG_TIME
   0 inferno.local   user    11/09 10:52:06    5d
04h01m00s    0d 00h01m21s
   1 orthanc.local   none    11/14 14:53:04    0d
01h20m50s    0d 00h00m00s
   2 inferno.local   user    11/14 14:53:06    0d
00h00m51s    0d 00h00m00s
   3 orthanc.local   user    11/14 14:53:33    0d
00h21m00s    0d 00h00m00s
   4 inferno.local   none    11/14 15:14:27    0d
00h59m27s    0d 00h00m00s
   5 orthanc.local   user    11/14 15:14:33    0d
00h07m31s    0d 00h00m00s
   6 inferno.local   none    11/14 15:22:01    0d
00h51m53s    0d 00h00m00s
   7 orthanc.local   none    11/14 15:22:04    0d
00h51m50s    0d 00h00m00s

Then I can't live migrate those VMs anymore.
i found some old post saying to update the history table etc... but
withour giving clear commands.

Could you help by providing the good steps and commands ?

Kind regards
Cyrille

PS : I'm running 3.6 and won't upgrade before solving this if
possible.


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


Re: [one-users] Can't live migrate VM

2012-11-14 Thread Duverne, Cyrille
Hello,

Here is the last records of vm-214 :

Wed Nov 14 15:22:01 2012 [LCM][I]: New VM state is MIGRATE
Wed Nov 14 15:22:01 2012 [VMM][I]: ExitCode: 0
Wed Nov 14 15:22:01 2012 [VMM][I]: Successfully execute network driver
operation: pre.
Wed Nov 14 15:22:04 2012 [VMM][I]: Command execution fail:
/var/tmp/one/vmm/kvm/migrate one-214 inferno.local orthanc.local 214
orthanc.local
Wed Nov 14 15:22:04 2012 [VMM][E]: migrate: Command virsh --connect
qemu:///system migrate --live one-214 qemu+ssh://inferno.local/system
failed: error: internal error cannot getpwuid_r(107): Success
Wed Nov 14 15:22:04 2012 [VMM][E]: Could not migrate one-214 to
inferno.local
Wed Nov 14 15:22:04 2012 [VMM][I]: ExitCode: 1
Wed Nov 14 15:22:04 2012 [VMM][I]: Failed to execute virtualization
driver operation: migrate.
Wed Nov 14 15:22:04 2012 [VMM][E]: Error live migrating VM: Could not
migrate one-214 to inferno.local
Wed Nov 14 15:22:05 2012 [LCM][I]: Fail to live migrate VM. Assuming
that the VM is still RUNNING (will poll VM).
Wed Nov 14 15:22:06 2012 [VMM][I]: ExitCode: 0
Wed Nov 14 15:22:06 2012 [VMM][D]: Monitor Information:
        CPU   : 0
        Memory: 535148
        Net_TX: 4970
        Net_RX: 548861
Wed Nov 14 15:29:38 2012 [LCM][I]: New VM state is SAVE_SUSPEND
Wed Nov 14 15:30:00 2012 [VMM][I]: ExitCode: 0
Wed Nov 14 15:30:00 2012 [VMM][I]: Successfully execute virtualization
driver operation: save.
Wed Nov 14 15:30:01 2012 [VMM][I]: ExitCode: 0
Wed Nov 14 15:30:01 2012 [VMM][I]: Successfully execute network driver
operation: clean.
Wed Nov 14 15:30:01 2012 [DiM][I]: New VM state is SUSPENDED
Wed Nov 14 15:30:54 2012 [DiM][I]: New VM state is ACTIVE.
Wed Nov 14 15:30:54 2012 [LCM][I]: Restoring VM
Wed Nov 14 15:30:54 2012 [LCM][I]: New state is BOOT
Wed Nov 14 15:30:54 2012 [VMM][I]: ExitCode: 0
Wed Nov 14 15:30:54 2012 [VMM][I]: Successfully execute network driver
operation: pre.
Wed Nov 14 15:31:02 2012 [VMM][I]: ExitCode: 0
Wed Nov 14 15:31:02 2012 [VMM][I]: Successfully execute virtualization
driver operation: restore.
Wed Nov 14 15:31:02 2012 [VMM][I]: ExitCode: 0
Wed Nov 14 15:31:02 2012 [VMM][I]: Successfully execute network driver
operation: post.
Wed Nov 14 15:31:02 2012 [LCM][I]: New VM state is RUNNING

This akward situation happend after I changed the uid of oneadmin
users account to be in the same situation in all hosts.

Thanks in advance
Cyrille
Mercredi 14/11/2012 à 16:32 Olivier Sallou a écrit:

Le 11/14/12 4:14 PM, Duverne, Cyrille a écrit :

 Hello,

I had to restart one and after I get the following history for several
VM for which a live migrate failed :

 SEQ HOST    REASON  
START    TIME PROLOG_TIME
   0 inferno.local   user    11/09 10:52:06    5d
04h01m00s    0d 00h01m21s
   1 orthanc.local   none    11/14 14:53:04    0d
01h20m50s    0d 00h00m00s
   2 inferno.local   user    11/14 14:53:06    0d
00h00m51s    0d 00h00m00s
   3 orthanc.local   user    11/14 14:53:33    0d
00h21m00s    0d 00h00m00s
   4 inferno.local   none    11/14 15:14:27    0d
00h59m27s    0d 00h00m00s
   5 orthanc.local   user    11/14 15:14:33    0d
00h07m31s    0d 00h00m00s
   6 inferno.local   none    11/14 15:22:01    0d
00h51m53s    0d 00h00m00s
   7 orthanc.local   none    11/14 15:22:04    0d
00h51m50s    0d 00h00m00s

Then I can't live migrate those VMs anymore.
i found some old post saying to update the history table etc... but
withour giving clear commands.

Could you help by providing the good steps and commands ?

 Don't you have the VM log for the migrate command and/or oned.log ?
(vmid.log)

Kind regards
Cyrille

PS : I'm running 3.6 and won't upgrade before solving this if
possible.

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

-- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu,
35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438
(keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D
78DC 68DB 326D 8438  


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


[one-users] Upgrade 3.8.1

2012-11-14 Thread Duverne, Cyrille

Hello,

Can't wait to solve this live migrate issue, I updated to 3.8.1

The DB seems consistent for sums of quotas etc...

But no news on live migrate side.

Furthermore I lost the SSH connectivity to hosts and can ssh
passwordlessly, and hosts now appear in ERROR
The .ssh directory is still available for all oneadmin users etc...

Could you help ?

Regards
Cyrille

 Imagination is more important than Knowledge
Albert Einstein


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


[one-users] Failed to delete VM

2012-11-09 Thread Duverne, Cyrille
Hello dear mailing list,

I made a mistake :)
I tried to create VMs in a bulk, this work as a charm for 15/16
machines, but 1 failed and didn't fall back to pending when
resubmitting.

I then manually remove his directory from the storage but the VM still
appears in failed state in sunstone.

How could I solve this ?

Thanks in advance.
Cyrille


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


Re: [one-users] Failed to delete VM

2012-11-09 Thread Duverne, Cyrille

Hello Valentin,

Thanks for this, but the onevm delete gave the same result :)

Cheers
Cyrille Imagination is more important than Knowledge
Albert Einstein

Vendredi 09/11/2012 à 11:23 Valentin Bud a écrit:

Hello Cyrille,

On Fri, Nov 09, 2012 at 11:11:50AM +0100, Duverne, Cyrille wrote:
 
 Hello,
 
 A dirty nasty DELETE from DB worked as a charm :)

You could have used `onevm` CLI program.

``` 
$ onevm delete `vm_id`
```

I don't know if deleting a VM form the DB is safe, using one* CLI
commands is definitely safe. 

Cheers and Goodwill,
v

 
 Cheers
 Cyrille



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


[one-users] VM Sum isn't consistent

2012-10-23 Thread Duverne, Cyrille
Hello,

Facing a little issue,

I have 2 images in use, and 16 active VMs.
on Sunstone I see that the 1st image is used by 7 VMs and the 2nd by 5
VMs

Basic maths : 7 + 5 = 12 != 16

How could we solve this ?
Bug or feature ?

Thanks in advance
Cyrille


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


Re: [one-users] CentOS Contextualization

2012-10-15 Thread Duverne, Cyrille

Hello,

The contextualisation package are great :)

http://opennebula.org/documentation:rel3.6:cong#contextualization_packages_for_vm_images

Have a look there.

Regards
Cyrille
Blog : http://blog.cduverne.com
Twitter : @CydsWorld

Imagination is more important than Knowledge
Albert Einstein

Lundi 15/10/2012 à 15:21 Kannadhasan Thangadurai a écrit:

Hi Team,

I have installed Opennebula 3..6 and sunstone successively on centos
6.3, are working in default market place image.

I am trying to contextualize CentOS image, Could you please  guide me
on this.

Kindly share if you have any proper document.

Thanks,
Kannadhasan Thangadurai.


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


Re: [one-users] The STAT flag of Host is Error.

2012-10-03 Thread Duverne, Cyrille
Hello Tuan,

Could you send the output of :  ls -lArth /var/lib/one/.ssh/config 

I suspect you didn't chown -R the directory.

Kind regards
CyD

Blog : http://blog.cduverne.com
Twitter : @CydsWorld

Imagination is more important than Knowledge
Albert Einstein

Mercredi 03/10/2012 à 6:58 Tuan Le Doan a écrit:

Dear all,

 
I have installed Opennebula 3.6 and KVM successful on single machine
(CentOS 6.3).

But when I add host and run “onehost list” command, the state of
host is error.

I checked the log file and saw “Bad owner or permisions on
/var/lib/one/.ssh/config” message.

 
So I think my error is the password less connection to host was lost.

I tried to change permission of /var/lib/one to oneadmin user with
“sudo chown oneadmin:oneadmin /var/lib/one” but it’s still
error.

I couldn’t create SSH key for oneadmin because of “Bad owner or
permisions on /var/lib/one/.ssh/config” error.

 
Anyone can help me to fix it?

 
Regards.

-- 
LE DOAN TUAN-
Undergraduate Student of School of Electronics  Telecommunications.
Hanoi University of Science  Technology
Tel    : +84 987 248 215
Yahoo: ledoantuan1
Skype: ledoantuan1


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


Re: [one-users] Old Vms directory not deleted - DB compromised

2012-10-03 Thread Duverne, Cyrille
Hello Carlos,

Thanks a lot for your feedback.

Regarding the Hooks, it works like a charm.
But you said that it was normal to not delete the old directory of
destroyed VMs, why ?

Regarding the reserved image, I haven't any VM in any state which is
using it... :)

Kind regards
CyD

Blog : http://blog.cduverne.com
Twitter : @CydsWorld

Imagination is more important than Knowledge
Albert Einstein

Mardi 02/10/2012 à 13:42 Carlos Martín Sánchez a écrit:

Hi,

On Mon, Oct 1, 2012 at 2:42 PM, Duverne, Cyrille  wrote:

 I've noticed that when I delete a VM, the directory
/var/lib/one/one-data/$VMID is left behind and never deleted.
Is this normal ?
I've seen this behaviour in 3.2, but it's still happening in 3.8

The VM dirs are left behind, that's normal. You can clean-up them
using hooks [1], take a look at this ticket [2].

VM_HOOK = [
   name      = vmdir_cleanup,
   on        = DONE,
   command   = /bin/rm,
   arguments = -r /var/lib/one/$VMID ]

VM_HOOK = [
   name      = log_cleanup,
   on        = DONE,
   command   = /bin/rm,
   arguments = /var/log/one/$VMID.log ]

In previous versions the dirs would be recreated, but it should work
in 3.6.

By the way, where did you get opennebula 3.8? Can I take a look at it?
That will speed development! :-)

And on another side, I have an image that can't be deleted, Sunstone
says that it's used by 4 VMs, but none is running, and the image can't
be deleted from the DB I think.

The Image can still be reserved for VMs in states other than running,
like stopped or suspended.
Is this your case?

Regards

[1] http://opennebula.org/documentation:rel3.6:hooks
[2] http://dev.opennebula.org/issues/1026
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org [1] | cmar...@opennebula.org | @OpenNebula [2] [3]

On Mon, Oct 1, 2012 at 2:42 PM, Duverne, Cyrille  wrote:

 Hello dear community,

I've noticed that when I delete a VM, the directory
/var/lib/one/one-data/$VMID is left behind and never deleted.
Is this normal ?
I've seen this behaviour in 3.2, but it's still happening in 3.8

And on another side, I have an image that can't be deleted, Sunstone
says that it's used by 4 VMs, but none is running, and the image can't
be deleted from the DB I think.

Any idea ?

Thanks in advance..

PS : ONE 3.6 rocksss !!! :p

Cyrille

Blog : http://blog.cduverne.com
Twitter : @CydsWorld

Imagination is more important than Knowledge
Albert Einstein

Lundi 01/10/2012 à 12:57 Carlos Martín Sánchez a écrit:

Hi,

The files should have been deleted. Do you have any error messages in
/var/log/one/oned.log?

You can also check each image file path using 'oneimage show', it's
the SOURCE attribute.

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org [1] | cmar...@opennebula.org | @OpenNebula [2] [3]

On Mon, Oct 1, 2012 at 8:58 AM, Christoph Robbert  wrote:

 Hello,

my hard drive is running out of space. So i deleted some unused images
in Opennebula via the sunstone gui.
But i didn't get any additional free hard drive space. But the
datastore contains only files with hash names.
Why happen this? Is this a bug or a feature?

Regards,

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

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



Links:
--
[1] http://www.OpenNebula.org
[2] http://twitter.com/opennebula
[3] mailto:cmar...@opennebula.org

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


Re: [one-users] Openvswitch db corruption

2012-10-03 Thread Duverne, Cyrille
Hello,

This happened to me yesterday, elecritic tension failure, all servers
rebooted, VMs unknown, everything failed...

Don't know...

CyD
Blog : http://blog.cduverne.com
 Twitter : @CydsWorld

Imagination is more important than Knowledge
Albert Einstein

Mercredi 03/10/2012 à 13:31 Rodolfo Conte Brufatto a écrit:

Hello everyone,
I am facing some weird behaviours in a full openvswitch based
environment (3.6 and KVM based). We faced some power outages in the
last month that caused VMs to fail.
The main reason is that the interfaces are not available for the
instances after we restart them and being unable to bind them to the
instances we had several failing images (testing env).
I don't know what could be related to that. In 3.2 we were able to
develop some scripts to solve those problems tho.
I would like to know if anyone else is facing this same issue after an
unclean shutdown.

Cheers

-- 
Have you tried turning it off and on again?


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


[one-users] Old Vms directory not deleted - DB compromised

2012-10-01 Thread Duverne, Cyrille
Hello dear community,

I've noticed that when I delete a VM, the directory
/var/lib/one/one-data/$VMID is left behind and never deleted.
Is this normal ?
I've seen this behaviour in 3.2, but it's still happening in 3.8

And on another side, I have an image that can't be deleted, Sunstone
says that it's used by 4 VMs, but none is running, and the image can't
be deleted from the DB I think.

Any idea ?

Thanks in advance.

PS : ONE 3.6 rocksss !!! :p

Cyrille

Blog : http://blog.cduverne.com
Twitter : @CydsWorld

Imagination is more important than Knowledge
Albert Einstein

Lundi 01/10/2012 à 12:57 Carlos Martín Sánchez a écrit:

Hi,

The files should have been deleted. Do you have any error messages in
/var/log/one/oned.log?

You can also check each image file path using 'oneimage show', it's
the SOURCE attribute.

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org [1] | cmar...@opennebula.org | @OpenNebula [2] [3]

On Mon, Oct 1, 2012 at 8:58 AM, Christoph Robbert  wrote:

 Hello,

my hard drive is running out of space. So i deleted some unused images
in Opennebula via the sunstone gui.
But i didn't get any additional free hard drive space. But the
datastore contains only files with hash names.
Why happen this? Is this a bug or a feature?

Regards,

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



Links:
--
[1] http://www.OpenNebula.org
[2] http://twitter.com/opennebula
[3] mailto:cmar...@opennebula.org

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


Re: [one-users] Feedback After Upgrade

2012-09-30 Thread Duverne, Cyrille
Hello, 
Thanks for this quick feedback.

here below my environment :

OS : Ubuntu Server 12.04 - 64bits
OpenNebula 3.6
Installed via opennebula official .deb package

let's take a concreat example : Working template, working image,
working network etc :

Host 1 : SUCCESS deployment :
#id oneadmin
uid=107(oneadmin) gid=114(oneadmin)
groups=114(oneadmin),115(kvm),116(libvirtd)

qemu.conf is filled of commented lines (no specific change)

Apparmor : nothing special

Host 2 : FAILED deployment

#id oneadmin
uid=107(oneadmin) gid=114(oneadmin)
groups=114(oneadmin),115(kvm),116(libvirtd)

qemu.conf is filled of commented lines (no specific change)

Apparmor : nothing special

The hosts are looking identical...

Thanks in advance

Cyrille
Blog : http://blog.cduverne.com
Twitter : @CydsWorld

Imagination is more important than Knowledge
Albert Einstein

Dimanche 30/09/2012 à 19:54 Rodolfo Conte Brufatto a écrit:

Ah, btw don know which distro or OS you're using, but if you have
upgraded from a binary package... be aware that the oneadmin group has
changed (from cloud to oneadmin as well). So again, re-check the
permissions and then give it another shot.

Regards,

On Sun, Sep 30, 2012 at 2:51 PM, Rodolfo Conte Brufatto  wrote:

Have you checked the permissions on datastores dir?
Also since by default it uses shared fs. I don't know how was your set
up before the upgrade... 
But it is worth to check the dynamic_ownership option in qemu
configuration file and also apparmor settings.
I did the same upgrade but i had an issue with the databases (mysql
backend), so I ended up reinstalling the new database again.
I haven't tried to instantiate any VMs since i need to configure all
my old images and i am between a dilema in my environment in which
datastore to use since i was using file based disks.
I will perform deep checkings in my environment tho and see if I face
the same problema as yours.

Regards,

On Sun, Sep 30, 2012 at 2:04 PM, Duverne, Cyrille  wrote:

Hello,

Following the 3.2 to 3.6 upgrade, I have the following issues :

1/ the one.db still contains a template indicating to be used by 4
VMs, except that no VMs are using this one. How could I fix it ?

2/ One of my hosts refuses to create new VMs (which was working before
the upgrade), I didn't change anything on this one and here below the
error message :
Sun Sep 30 18:57:09 2012 [DiM][I]: New VM state is ACTIVE. Sun Sep 30
18:57:11 2012 [LCM][I]: New VM state is PROLOG. Sun Sep 30 19:00:33
2012 [TM][I]: clone: Cloning ../../1/14617469c72d931764fc6cba4d3b97c1
in asgaror.local:/var/lib/one//datastores/0/162/disk.0 Sun Sep 30
19:00:33 2012 [TM][I]: ExitCode: 0 Sun Sep 30 19:00:40 2012 [TM][I]:
context: Generating context block device at
asgaror.local:/var/lib/one//datastores/0/162/disk.1 Sun Sep 30
19:00:40 2012 [TM][I]: ExitCode: 0 Sun Sep 30 19:00:40 2012 [LCM][I]:
New VM state is BOOT Sun Sep 30 19:00:40 2012 [VMM][I]: Generating
deployment file: /var/lib/one/162/deployment.0 Sun Sep 30 19:00:41
2012 [VMM][I]: ExitCode: 0 Sun Sep 30 19:00:41 2012 [VMM][I]:
Successfully execute network driver operation: pre. Sun Sep 30
19:00:46 2012 [VMM][I]: Command execution fail: cat 
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Feedback After Upgrade

2012-09-30 Thread Duverne, Cyrille
Found something :

Working host :
$ ls -lArth /var/lib/one//datastores/0/162/disk.0
-rw-r- 1 libvirt-qemu kvm 3.0G Sep 30 19:21
/var/lib/one//datastores/0/162/disk.0

Failing host :
$ ls -lArth /var/lib/one//datastores/0/165/disk.0
-rw-r- 1 oneadmin oneadmin 3.0G Sep 30 19:17
/var/lib/one//datastores/0/165/disk.0

How could I solve this ?

Cyrille Duverne
Consultant
Eura Nova

GSM : +32 (0) 493 25 32 63
Blog : http://blog.cduverne.com
Twitter : @CydsWorld

Imagination is more important than Knowledge
Albert Einstein

Dimanche 30/09/2012 à 20:05 Duverne, Cyrille a écrit:

Hello, 
Thanks for this quick feedback.

here below my environment :

OS : Ubuntu Server 12.04 - 64bits
OpenNebula 3.6
Installed via opennebula official .deb package

let's take a concreat example : Working template, working image,
working network etc :

Host 1 : SUCCESS deployment :
#id oneadmin
uid=107(oneadmin) gid=114(oneadmin)
groups=114(oneadmin),115(kvm),116(libvirtd)

qemu.conf is filled of commented lines (no specific change)

Apparmor : nothing special

Host 2 : FAILED deployment

#id oneadmin
uid=107(oneadmin) gid=114(oneadmin)
groups=114(oneadmin),115(kvm),116(libvirtd)

qemu.conf is filled of commented lines (no specific change)

Apparmor : nothing special

The hosts are looking identical...

Thanks in advance

Cyrille
Blog : http://blog.cduverne.com
Twitter : @CydsWorld

Imagination is more important than Knowledge
Albert Einstein

Dimanche 30/09/2012 à 19:54 Rodolfo Conte Brufatto a écrit:

Ah, btw don know which distro or OS you're using, but if you have
upgraded from a binary package... be aware that the oneadmin group has
changed (from cloud to oneadmin as well). So again, re-check the
permissions and then give it another shot.

Regards,

On Sun, Sep 30, 2012 at 2:51 PM, Rodolfo Conte Brufatto  wrote:

Have you checked the permissions on datastores dir?
Also since by default it uses shared fs. I don't know how was your set
up before the upgrade... 
But it is worth to check the dynamic_ownership option in qemu
configuration file and also apparmor settings.
I did the same upgrade but i had an issue with the databases (mysql
backend), so I ended up reinstalling the new database again.
I haven't tried to instantiate any VMs since i need to configure all
my old images and i am between a dilema in my environment in which
datastore to use since i was using file based disks.
I will perform deep checkings in my environment tho and see if I face
the same problema as yours.

Regards,

On Sun, Sep 30, 2012 at 2:04 PM, Duverne, Cyrille  wrote:

Hello,

Following the 3.2 to 3.6 upgrade, I have the following issues :

1/ the one.db still contains a template indicating to be used by 4
VMs, except that no VMs are using this one. How could I fix it ?

2/ One of my hosts refuses to create new VMs (which was working before
the upgrade), I didn't change anything on this one and here below the
error message :
Sun Sep 30 18:57:09 2012 [DiM][I]: New VM state is ACTIVE. Sun Sep 30
18:57:11 2012 [LCM][I]: New VM state is PROLOG. Sun Sep 30 19:00:33
2012 [TM][I]: clone: Cloning ../../1/14617469c72d931764fc6cba4d3b97c1
in asgaror.local:/var/lib/one//datastores/0/162/disk.0 Sun Sep 30
19:00:33 2012 [TM][I]: ExitCode: 0 Sun Sep 30 19:00:40 2012 [TM][I]:
context: Generating context block device at
asgaror.local:/var/lib/one//datastores/0/162/disk.1 Sun Sep 30
19:00:40 2012 [TM][I]: ExitCode: 0 Sun Sep 30 19:00:40 2012 [LCM][I]:
New VM state is BOOT Sun Sep 30 19:00:40 2012 [VMM][I]: Generating
deployment file: /var/lib/one/162/deployment.0 Sun Sep 30 19:00:41
2012 [VMM][I]: ExitCode: 0 Sun Sep 30 19:00:41 2012 [VMM][I]:
Successfully execute network driver operation: pre. Sun Sep 30
19:00:46 2012 [VMM][I]: Command execution fail: cat 
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] onevm saveas compromised one.db

2012-09-14 Thread Duverne, Cyrille
Hello Carlos,

To be completely clear :

1/ Download 3..6 installation package
2/ DELETE all VMs.
3/ Stop Sunstone etc
4/ Backup DB Config and /etc/one
5/ Installation of 3.6
6/ Update 3.6 config files with previous parameters
7/ Update DB
8/ Copy images etc... to their new location (to avoid symbolic links
issues)
9/ Launch Sunstone etc...

My images will still be present, so will be my templates etc... ?

Thanks in advance
Cyrille

Vendredi 14/09/2012 à 11:40 Carlos Martín Sánchez a écrit:

Hi,
You can install 3.6 directly, and the upgrade process will upgrade
automatically to 3.4 and then 3.6.
The 3.4 brought a lot of storage backend changes, and the upgrade
requires to shutdown or delete all your VMs; they cannot be stopped.

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center
Virtualizationwww.OpenNebula.org [1] | cmar...@opennebula..org |
@OpenNebula [2] [3]

On Thu, Sep 13, 2012 at 5:59 PM, Duverne, Cyrille  wrote:

 Hello Carlos,

Thanks a lot,

If I understood well the upgrade guide, I have to go from 3.2 to 3.4
and to 3.4 to 3.6 ?
If so, I read that I have to shutdown or delete all active VMs, should
I just stop them ?

Thanks in advance
Cyrille

Lundi 10/09/2012 à 12:36 Carlos Martín Sánchez a écrit:

 Hi,

Datastores were introduced in 3.4. Unless there is a good reason not
to, I'd suggest you to upgrade to the latest 3.6 version.

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center
Virtualizationwww.OpenNebula.org [1] | cmar...@opennebula.org |
@OpenNebula [2] [3]

On Fri, Sep 7, 2012 at 8:38 AM, Duverne, Cyrille  wrote:

 Hello Carlos,

As you might have read it, i'm using ONE 3.2 packaged in Ubuntu 12.04.
onedatastore show isn't a supported command of this version... Or at
least I get a command not found

How could I retrieve this info from ?

Regards
CyD

Thanks in advance.
Cyrille

Cyrille Duverne
Blog : http://blog.cduverne.com
Twitter : @CydsWorld

Imagination is more important than Knowledge
Albert Einstein

Mercredi 05/09/2012 à 12:34 Carlos Martín Sánchez a écrit:

 Hi,

What I need to know are the DS_MAD and TM_MAD datastore drivers for
the system Datastore 0, and the Datastore where the images are
registered (I guess 'default', 1). You can get them using the
'onedatastore show' command.

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org [1] | cmar...@opennebula.org | @OpenNebula [2] [3]

On Tue, Sep 4, 2012 at 5:55 PM, Duverne, Cyrille  wrote:

 Hello Carlos,

Thanks for your quick answer.

I'm using KVM and my images are only clones...

Regards
Cyrille

Mardi 04/09/2012 à 15:14 Carlos Martín Sánchez a écrit: 

Hi,

I can't reproduce this behaviour.
I'm using the drivers -,shared for the system datastore; and fs,shared
for the default datastore. What drivers are you using? Are your images
persistent?

About the CLI-Sunstone commands consistency, both end calling the ruby
OCA and then the core, so they should always have the same  outcome.

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center
Virtualizationwww.OpenNebula.org [1] | cmar...@opennebula.org |
@OpenNebula [2] [3]

On Mon, Aug 27, 2012 at 10:10 AM, Duverne, Cyrille  wrote:

 Hello All,

I've faced a strange behaviour with Sunstone.

1/ I created a VM using Sunstone
2/ I modified the VM to be consistent with my new config
3/ I launched a onevm saveas directly from the Hypervisor
4/ I chmoded the image dor my current user
5/ The new image was ready after a shutdown of the VM
6/ I created a new VM using this new image
7/ modified it again
8/ Launched a onevm saveas with the same image name and the command
passed
9/ I found 2 images with the same name (different ownership) 
10/ The 2nd image has never been ready.
11/ I removed the most recent image
12/ The remaining image is compromised and can't be found on the disk
because pointing to a file that has been deleted in the process.

I know that a saveas command is available on sunstone but I'd like to
test the consistence between actions done via oneadmin in the CLI and
on Sunstone.

Have you ever experienced this ?

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



Links:
--
[1] http://www.OpenNebula.org
[2] http://twitter.com/opennebula
[3] mailto:cmar...@opennebula.org

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


Re: [one-users] onevm saveas compromised one.db

2012-09-07 Thread Duverne, Cyrille
Hello Carlos,

As you might have read it, i'm using ONE 3.2 packaged in Ubuntu 12.04.
onedatastore show isn't a supported command of this version... Or at
least I get a command not found

How could I retrieve this info from ?

Regards
CyD

Thanks in advance.
Cyrille

Cyrille Duverne
Blog : http://blog.cduverne.com
Twitter : @CydsWorld

Imagination is more important than Knowledge
Albert Einstein

Mercredi 05/09/2012 à 12:34 Carlos Martín Sánchez a écrit:

Hi,

What I need to know are the DS_MAD and TM_MAD datastore drivers for
the system Datastore 0, and the Datastore where the images are
registered (I guess 'default', 1). You can get them using the
'onedatastore show' command.

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org [1] | cmar...@opennebula.org | @OpenNebula [2] [3]

On Tue, Sep 4, 2012 at 5:55 PM, Duverne, Cyrille  wrote:

 Hello Carlos,

Thanks for your quick answer.

I'm using KVM and my images are only clones...

Regards
Cyrille

Mardi 04/09/2012 à 15:14 Carlos Martín Sánchez a écrit: 

Hi,

I can't reproduce this behaviour.
I'm using the drivers -,shared for the system datastore; and fs,shared
for the default datastore. What drivers are you using? Are your images
persistent?

About the CLI-Sunstone commands consistency, both end calling the ruby
OCA and then the core, so they should always have the same  outcome.

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center
Virtualizationwww.OpenNebula.org [1] | cmar...@opennebula.org |
@OpenNebula [2] [3]

On Mon, Aug 27, 2012 at 10:10 AM, Duverne, Cyrille  wrote:

 Hello All,

I've faced a strange behaviour with Sunstone.

1/ I created a VM using Sunstone
2/ I modified the VM to be consistent with my new config
3/ I launched a onevm saveas directly from the Hypervisor
4/ I chmoded the image dor my current user
5/ The new image was ready after a shutdown of the VM
6/ I created a new VM using this new image
7/ modified it again
8/ Launched a onevm saveas with the same image name and the command
passed
9/ I found 2 images with the same name (different ownership) 
10/ The 2nd image has never been ready.
11/ I removed the most recent image
12/ The remaining image is compromised and can't be found on the disk
because pointing to a file that has been deleted in the process.

I know that a saveas command is available on sunstone but I'd like to
test the consistence between actions done via oneadmin in the CLI and
on Sunstone.

Have you ever experienced this ?

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



Links:
--
[1] http://www.OpenNebula.org
[2] http://twitter.com/opennebula
[3] mailto:cmar...@opennebula.org

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


Re: [one-users] onevm saveas compromised one.db

2012-09-04 Thread Duverne, Cyrille
Hello Carlos,

Thanks for your quick answer.

I'm using KVM and my images are only clones...

Regards
Cyrille

Mardi 04/09/2012 à 15:14 Carlos Martín Sánchez a écrit:

Hi,

I can't reproduce this behaviour.
I'm using the drivers -,shared for the system datastore; and fs,shared
for the default datastore. What drivers are you using? Are your images
persistent?

About the CLI-Sunstone commands consistency, both end calling the ruby
OCA and then the core, so they should always have the same  outcome.

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center
Virtualizationwww.OpenNebula.org [1] | cmar...@opennebula.org |
@OpenNebula [2] [3]

On Mon, Aug 27, 2012 at 10:10 AM, Duverne, Cyrille  wrote:

 Hello All,

I've faced a strange behaviour with Sunstone.

1/ I created a VM using Sunstone
2/ I modified the VM to be consistent with my new config
3/ I launched a onevm saveas directly from the Hypervisor
4/ I chmoded the image dor my current user
5/ The new image was ready after a shutdown of the VM
6/ I created a new VM using this new image
7/ modified it again
8/ Launched a onevm saveas with the same image name and the command
passed
9/ I found 2 images with the same name (different ownership) 
10/ The 2nd image has never been ready.
11/ I removed the most recent image
12/ The remaining image is compromised and can't be found on the disk
because pointing to a file that has been deleted in the process.

I know that a saveas command is available on sunstone but I'd like to
test the consistence between actions done via oneadmin in the CLI and
on Sunstone.

Have you ever experienced this ?

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



Links:
--
[1] http://www.OpenNebula.org
[2] http://twitter.com/opennebula
[3] mailto:cmar...@opennebula.org

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


[one-users] onevm saveas compromised one.db

2012-08-27 Thread Duverne, Cyrille
Hello All,

I've faced a strange behaviour with Sunstone.

1/ I created a VM using Sunstone
2/ I modified the VM to be consistent with my new config
3/ I launched a onevm saveas directly from the Hypervisor
4/ I chmoded the image dor my current user
5/ The new image was ready after a shutdown of the VM
6/ I created a new VM using this new image
7/ modified it again
8/ Launched a onevm saveas with the same image name and the command
passed
9/ I found 2 images with the same name (different ownership) 
10/ The 2nd image has never been ready.
11/ I removed the most recent image
12/ The remaining image is compromised and can't be found on the disk
because pointing to a file that has been deleted in the process.

I know that a saveas command is available on sunstone but I'd like to
test the consistence between actions done via oneadmin in the CLI and
on Sunstone.

Have you ever experienced this ?


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


Re: [one-users] Unable to see on the fly disk in KVM VMs

2012-08-26 Thread Duverne, Cyrille

Hello,

Did anyone get the time to look at this ?

Thanks in advance.
CyD

Vendredi 24/08/2012 à 14:24 Duverne, Cyrille a écrit:

Hello,

I'm having quite an issue when creating VMs with an attached datablock
:

I'm running OpenNebula 3.4 with KVM + Sunstone.

Here below my VM template :

CONTEXT=[
  FILES=/nebuladata/scripts/init.sh,
  HOSTNAME=\VM-\$VMID,
  IP_PUBLIC=$NIC[IP, NETWORK=\Big Network\],
  TARGET=vdb ]
CPU=0.2
DISK=[
  IMAGE=UbuntuContext,
  TARGET=vda ]
DISK=[
  FORMAT=ext3,
  SIZE=4,
  TARGET=vde,
  TYPE=fs ]
FEATURES=[
  ACPI=yes ]
GRAPHICS=[
  TYPE=VNC ]
MEMORY=512
NAME=ubuntu
NIC=[
  NETWORK=Big Network ]
OS=[
  ARCH=x86_64,
  BOOT=hd ]
TEMPLATE_ID=20

Here below what happens in ONE when creating the VM :

Fri Aug 24 14:07:05 2012 [DiM][I]: New VM state is ACTIVE. Fri Aug 24
14:07:05 2012 [LCM][I]: New VM state is PROLOG. Fri Aug 24 14:07:39
2012 [TM][D]: tm_clone.sh:
inferno:/var/lib/one/images/b1240e874bec231c993568433c5a314a
orthanc.local:/var/lib/one//121/images/disk.0 Fri Aug 24 14:07:39 2012
[TM][D]: tm_clone.sh: DST: /var/lib/one//121/images/disk.0 Fri Aug 24
14:07:39 2012 [TM][I]: tm_clone.sh: Creating directory
/var/lib/one//121/images Fri Aug 24 14:07:39 2012 [TM][I]:
tm_clone.sh: Executed mkdir -p /var/lib/one//121/images. Fri Aug 24
14:07:39 2012 [TM][I]: tm_clone.sh: Executed chmod a+w
/var/lib/one//121/images. Fri Aug 24 14:07:39 2012 [TM][I]:
tm_clone.sh: Cloning
/var/lib/one/images/b1240e874bec231c993568433c5a314a Fri Aug 24
14:07:39 2012 [TM][I]: tm_clone.sh: Executed cp -r
/var/lib/one/images/b1240e874bec231c993568433c5a314a
/var/lib/one//121/images/disk.0. Fri Aug 24 14:07:39 2012 [TM][I]:
tm_clone.sh: Executed chmod a+rw /var/lib/one//121/images/disk.0.
Fri Aug 24 14:07:39 2012 [TM][I]: ExitCode: 0 Fri Aug 24 14:07:57 2012
[TM][I]: tm_mkimage.sh: Executed mkdir -p /var/lib/one//121/images.
Fri Aug 24 14:07:57 2012 [TM][I]: tm_mkimage.sh: Executed dd
if=/dev/zero of=/var/lib/one//121/images/disk.1 bs=1 count=1
seek=4M. Fri Aug 24 14:07:57 2012 [TM][I]: tm_mkimage.sh:
Executed mkfs -t ext3 -F /var/lib/one//121/images/disk.1. Fri Aug 24
14:07:57 2012 [TM][I]: tm_mkimage.sh: Executed chmod a+rw
/var/lib/one//121/images/disk.1. Fri Aug 24 14:07:57 2012 [TM][I]:
ExitCode: 0 Fri Aug 24 14:07:58 2012 [TM][I]: tm_context.sh: Executed
mkdir -p /var/lib/one//121/images/isofiles. Fri Aug 24 14:07:58 2012
[TM][I]: tm_context.sh: Executed cp -R /var/lib/one/121/context.sh
/var/lib/one//121/images/isofiles. Fri Aug 24 14:07:58 2012 [TM][I]:
tm_context.sh: Executed cp -R /nebuladata/scripts/init.sh
/var/lib/one//121/images/isofiles. Fri Aug 24 14:07:58 2012 [TM][I]:
tm_context.sh: Executed genisoimage -o
/var/lib/one//121/images/disk.2 -J -R
/var/lib/one//121/images/isofiles. Fri Aug 24 14:07:58 2012 [TM][I]:
tm_context.sh: Executed rm -rf /var/lib/one//121/images/isofiles.
Fri Aug 24 14:07:58 2012 [TM][I]: ExitCode: 0 Fri Aug 24 14:07:58 2012
[LCM][I]: New VM state is BOOT Fri Aug 24 14:07:58 2012 [VMM][I]:
Generating deployment file: /var/lib/one/121/deployment.0 Fri Aug 24
14:07:58 2012 [VMM][I]: ExitCode: 0 Fri Aug 24 14:07:58 2012 [VMM][I]:
Successfully execute network driver operation: pre. Fri Aug 24
14:08:00 2012 [VMM][I]: ExitCode: 0 Fri Aug 24 14:08:00 2012 [VMM][I]:
Successfully execute virtualization driver operation: deploy. Fri Aug
24 14:08:00 2012 [VMM][I]: ExitCode: 0 Fri Aug 24 14:08:00 2012
[VMM][I]: Successfully execute network driver operation: post. Fri Aug
24 14:08:01 2012 [LCM][I]: New VM state is RUNNING

Here below a df -h result in the VM :

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/ENX-root 2.3G 914M 1.3G 42% /
udev 237M 4.0K 237M 1% /dev
tmpfs 99M 232K 99M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 246M 0 246M 0% /run/shm
/dev/vda1 228M 25M 192M 12% /boot

The result of a sudo fdisk -l :

Disk /dev/vdb: 0 MB, 374784 bytes
16 heads, 63 sectors/track, 0 cylinders, total 732 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x

Disk /dev/vdb doesn't contain a valid partition table

Disk /dev/vdc: 41.9 GB, 4194304 bytes
16 heads, 63 sectors/track, 81269 cylinders, total 8192 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x

Disk /dev/vdc doesn't contain a valid partition table

Disk /dev/mapper/ENX-root: 2424 MB, 2424307712 bytes
255 heads, 63 sectors/track, 294 cylinders, total 4734976 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x

---

I tried to use it in a non-LVM VM, which was the same.
Tried to use hd or sd instead of vd and nothing worked...

Please help, this is driving me crazy...

Thanks in advance
CyD

Re: [one-users] Unable to see on the fly disk in KVM VMs

2012-08-26 Thread Duverne, Cyrille

Thanks a lot Ruben,

Indeed, this was that simple, I tried so much different config that I
lost the basics.

But, I configured this datablock to be mapped to vde and it's mapped
to vdc, why ?

Thanks in advance.
CyD

Dimanche 26/08/2012 à 20:59 Ruben S. Montero a écrit:

Hi

It is normal not to see a partition table, note that the disk is made
of a raw file, and then is given ext3 format. The devices are shown in
your VM, so just mount them

mount -t ext3 /dev/vdc /mnt

Cheers

Ruben

On Sun, Aug 26, 2012 at 11:12 AM, Duverne, Cyrille  wrote:

Hello,

Did anyone get the time to look at this ?

Thanks in advance.
CyD

Vendredi 24/08/2012 à 14:24 Duverne, Cyrille a écrit:

 Hello,

I'm having quite an issue when creating VMs with an attached datablock
:

I'm running OpenNebula 3.4 with KVM + Sunstone.

Here below my VM template :

CONTEXT=[
  FILES=/nebuladata/scripts/init.sh,
  HOSTNAME=\VM-\$VMID,
  IP_PUBLIC=$NIC[IP, NETWORK=\Big Network\],
  TARGET=vdb ]
CPU=0.2
DISK=[
  IMAGE=UbuntuContext,
  TARGET=vda ]
DISK=[
  FORMAT=ext3,
  SIZE=4,
  TARGET=vde,
  TYPE=fs ]
FEATURES=[
  ACPI=yes ]
GRAPHICS=[
  TYPE=VNC ]
MEMORY=512
NAME=ubuntu
NIC=[
  NETWORK=Big Network ]
OS=[
  ARCH=x86_64,
  BOOT=hd ]
TEMPLATE_ID=20

Here below what happens in ONE when creating the VM :

Fri Aug 24 14:07:05 2012 [DiM][I]: New VM state is ACTIVE. Fri Aug 24
14:07:05 2012 [LCM][I]: New VM state is PROLOG. Fri Aug 24 14:07:39
2012 [TM][D]: tm_clone.sh:
inferno:/var/lib/one/images/b1240e874bec231c993568433c5a314a
orthanc.local:/var/lib/one//121/images/disk.0 Fri Aug 24 14:07:39 2012
[TM][D]: tm_clone.sh: DST: /var/lib/one//121/images/disk.0 Fri Aug 24
14:07:39 2012 [TM][I]: tm_clone.sh: Creating directory
/var/lib/one//121/images Fri Aug 24 14:07:39 2012 [TM][I]:
tm_clone.sh: Executed mkdir -p /var/lib/one//121/images. Fri Aug 24
14:07:39 2012 [TM][I]: tm_clone.sh: Executed chmod a+w
/var/lib/one//121/images. Fri Aug 24 14:07:39 2012 [TM][I]:
tm_clone.sh: Cloning
/var/lib/one/images/b1240e874bec231c993568433c5a314a Fri Aug 24
14:07:39 2012 [TM][I]: tm_clone.sh: Executed cp -r
/var/lib/one/images/b1240e874bec231c993568433c5a314a
/var/lib/one//121/images/disk.0. Fri Aug 24 14:07:39 2012 [TM][I]:
tm_clone.sh: Executed chmod a+rw /var/lib/one//121/images/disk.0.
Fri Aug 24 14:07:39 2012 [TM][I]: ExitCode: 0 Fri Aug 24 14:07:57 2012
[TM][I]: tm_mkimage.sh: Executed mkdir -p /var/lib/one//121/images.
Fri Aug 24 14:07:57 2012 [TM][I]: tm_mkimage.sh: Executed dd
if=/dev/zero of=/var/lib/one//121/images/disk.1 bs=1 count=1
seek=4M. Fri Aug 24 14:07:57 2012 [TM][I]: tm_mkimage..sh:
Executed mkfs -t ext3 -F /var/lib/one//121/images/disk.1. Fri Aug 24
14:07:57 2012 [TM][I]: tm_mkimage.sh: Executed chmod a+rw
/var/lib/one//121/images/disk.1. Fri Aug 24 14:07:57 2012 [TM][I]:
ExitCode: 0 Fri Aug 24 14:07:58 2012 [TM][I]: tm_context.sh: Executed
mkdir -p /var/lib/one//121/images/isofiles. Fri Aug 24 14:07:58 2012
[TM][I]: tm_context.sh: Executed cp -R /var/lib/one/121/context.sh
/var/lib/one//121/images/isofiles. Fri Aug 24 14:07:58 2012 [TM][I]:
tm_context.sh: Executed cp -R /nebuladata/scripts/init.sh
/var/lib/one//121/images/isofiles. Fri Aug 24 14:07:58 2012 [TM][I]:
tm_context.sh: Executed genisoimage -o
/var/lib/one//121/images/disk.2 -J -R
/var/lib/one//121/images/isofiles. Fri Aug 24 14:07:58 2012 [TM][I]:
tm_context.sh: Executed rm -rf /var/lib/one//121/images/isofiles.
Fri Aug 24 14:07:58 2012 [TM][I]: ExitCode: 0 Fri Aug 24 14:07:58 2012
[LCM][I]: New VM state is BOOT Fri Aug 24 14:07:58 2012 [VMM][I]:
Generating deployment file: /var/lib/one/121/deployment.0 Fri Aug 24
14:07:58 2012 [VMM][I]: ExitCode: 0 Fri Aug 24 14:07:58 2012 [VMM][I]:
Successfully execute network driver operation: pre. Fri Aug 24
14:08:00 2012 [VMM][I]: ExitCode: 0 Fri Aug 24 14:08:00 2012 [VMM][I]:
Successfully execute virtualization driver operation: deploy. Fri Aug
24 14:08:00 2012 [VMM][I]: ExitCode: 0 Fri Aug 24 14:08:00 2012
[VMM][I]: Successfully execute network driver operation: post. Fri Aug
24 14:08:01 2012 [LCM][I]: New VM state is RUNNING

Here below a df -h result in the VM :

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/ENX-root 2.3G 914M 1.3G 42% /
udev 237M 4.0K 237M 1% /dev
tmpfs 99M 232K 99M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 246M 0 246M 0% /run/shm
/dev/vda1 228M 25M 192M 12% /boot

The result of a sudo fdisk -l :

Disk /dev/vdb: 0 MB, 374784 bytes
16 heads, 63 sectors/track, 0 cylinders, total 732 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x

Disk /dev/vdb doesn't contain a valid partition table

Disk /dev/vdc: 41.9 GB, 4194304 bytes
16 heads, 63 sectors/track, 81269 cylinders, total 8192 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x

Disk /dev/vdc

Re: [one-users] Unable to see on the fly disk in KVM VMs

2012-08-26 Thread Duverne, Cyrille
Indeed :)

Thanks a lot Ruben, that solved a lot of questions.

Kind regards
CyD

Dimanche 26/08/2012 à 23:38 Ruben S. Montero a écrit:

Hi

The final mapping of devices are made by libvirt, and depending on the
version, for example it will not left any gap in the bus. Note also
that the guest may present the device under different forms...

OpenNebula has some automatic target naming (check [1]) so I think
that it is better to just set DEV_PREFIX to choose a bus (vd in your
case) and that's it.

Cheers

Ruben

[1]
http://opennebula.org/documentation:rel3.6:template#disks_device_mapping

On Sun, Aug 26, 2012 at 9:19 PM, Duverne, Cyrille
 wrote:

 Thanks a lot Ruben,

 Indeed, this was that simple, I tried so much different config that
I lost
 the basics.

 But, I configured this datablock to be mapped to vde and it's mapped
to vdc,
 why ?

 Thanks in advance.
 CyD


 Dimanche 26/08/2012 à 20:59 Ruben S. Montero a écrit:

 Hi

 It is normal not to see a partition table, note that the disk is
made of a
 raw file, and then is given ext3 format. The devices are shown in
your VM,
 so just mount them

 mount -t ext3 /dev/vdc /mnt

 Cheers

 Ruben

 On Sun, Aug 26, 2012 at 11:12 AM, Duverne, Cyrille
  wrote:


 Hello,

 Did anyone get the time to look at this ?

 Thanks in advance.
 CyD



 Vendredi 24/08/2012 à 14:24 Duverne, Cyrille a écrit:

 Hello,

 I'm having quite an issue when creating VMs with an attached
datablock :

 I'm running OpenNebula 3.4 with KVM + Sunstone.

 Here below my VM template :

 CONTEXT=[
   FILES=/nebuladata/scripts/init.sh,
   HOSTNAME=\VM-\$VMID,
   IP_PUBLIC=$NIC[IP, NETWORK=\Big Network\],
   TARGET=vdb ]
 CPU=0.2
 DISK=[
   IMAGE=UbuntuContext,
   TARGET=vda ]
 DISK=[
   FORMAT=ext3,
   SIZE=4,
   TARGET=vde,
   TYPE=fs ]
 FEATURES=[
   ACPI=yes ]
 GRAPHICS=[
   TYPE=VNC ]
 MEMORY=512
 NAME=ubuntu
 NIC=[
   NETWORK=Big Network ]
 OS=[
   ARCH=x86_64,
   BOOT=hd ]
 TEMPLATE_ID=20

 Here below what happens in ONE when creating the VM :

 Fri Aug 24 14:07:05 2012 [DiM][I]: New VM state is ACTIVE.
 Fri Aug 24 14:07:05 2012 [LCM][I]: New VM state is PROLOG.
 Fri Aug 24 14:07:39 2012 [TM][D]: tm_clone.sh:
 inferno:/var/lib/one/images/b1240e874bec231c993568433c5a314a
 orthanc.local:/var/lib/one//121/images/disk.0
 Fri Aug 24 14:07:39 2012 [TM][D]: tm_clone.sh: DST:
 /var/lib/one//121/images/disk.0
 Fri Aug 24 14:07:39 2012 [TM][I]: tm_clone.sh: Creating directory
 /var/lib/one//121/images
 Fri Aug 24 14:07:39 2012 [TM][I]: tm_clone.sh: Executed mkdir -p
 /var/lib/one//121/images.
 Fri Aug 24 14:07:39 2012 [TM][I]: tm_clone.sh: Executed chmod a+w
 /var/lib/one//121/images.
 Fri Aug 24 14:07:39 2012 [TM][I]: tm_clone.sh: Cloning
 /var/lib/one/images/b1240e874bec231c993568433c5a314a
 Fri Aug 24 14:07:39 2012 [TM][I]: tm_clone.sh: Executed cp -r
 /var/lib/one/images/b1240e874bec231c993568433c5a314a
 /var/lib/one//121/images/disk.0.
 Fri Aug 24 14:07:39 2012 [TM][I]: tm_clone.sh: Executed chmod a+rw
 /var/lib/one//121/images/disk.0.
 Fri Aug 24 14:07:39 2012 [TM][I]: ExitCode: 0
 Fri Aug 24 14:07:57 2012 [TM][I]: tm_mkimage.sh: Executed mkdir -p
 /var/lib/one//121/images.
 Fri Aug 24 14:07:57 2012 [TM][I]: tm_mkimage.sh: Executed dd
if=/dev/zero
 of=/var/lib/one//121/images/disk.1 bs=1 count=1 seek=4M.
 Fri Aug 24 14:07:57 2012 [TM][I]: tm_mkimage.sh: Executed mkfs -t
ext3 -F
 /var/lib/one//121/images/disk.1.
 Fri Aug 24 14:07:57 2012 [TM][I]: tm_mkimage.sh: Executed chmod
a+rw
 /var/lib/one//121/images/disk.1.
 Fri Aug 24 14:07:57 2012 [TM][I]: ExitCode: 0
 Fri Aug 24 14:07:58 2012 [TM][I]: tm_context.sh: Executed mkdir -p
 /var/lib/one//121/images/isofiles.
 Fri Aug 24 14:07:58 2012 [TM][I]: tm_context.sh: Executed cp -R
 /var/lib/one/121/context.sh /var/lib/one//121/images/isofiles.
 Fri Aug 24 14:07:58 2012 [TM][I]: tm_context.sh: Executed cp -R
 /nebuladata/scripts/init.sh /var/lib/one//121/images/isofiles.
 Fri Aug 24 14:07:58 2012 [TM][I]: tm_context.sh: Executed
genisoimage -o
 /var/lib/one//121/images/disk.2 -J -R
/var/lib/one//121/images/isofiles.
 Fri Aug 24 14:07:58 2012 [TM][I]: tm_context.sh: Executed rm -rf
 /var/lib/one//121/images/isofiles.
 Fri Aug 24 14:07:58 2012 [TM][I]: ExitCode: 0
 Fri Aug 24 14:07:58 2012 [LCM][I]: New VM state is BOOT
 Fri Aug 24 14:07:58 2012 [VMM][I]: Generating deployment file:
 /var/lib/one/121/deployment.0
 Fri Aug 24 14:07:58 2012 [VMM][I]: ExitCode: 0
 Fri Aug 24 14:07:58 2012 [VMM][I]: Successfully execute network
driver
 operation: pre.
 Fri Aug 24 14:08:00 2012 [VMM][I]: ExitCode: 0
 Fri Aug 24 14:08:00 2012 [VMM][I]: Successfully execute
virtualization
 driver operation: deploy.
 Fri Aug 24 14:08:00 2012 [VMM][I]: ExitCode: 0
 Fri Aug 24 14:08:00 2012 [VMM][I]: Successfully execute network
driver
 operation: post.
 Fri Aug 24 14:08:01 2012 [LCM][I]: New VM state is RUNNING

 Here below a df -h result in the VM :

 FilesystemSize  Used Avail Use% Mounted
on
 /dev/mapper/ENX-root  2.3G  914M  1.3G  42% /
 udev

[one-users] Unable to see on the fly disk in KVM VMs

2012-08-24 Thread Duverne, Cyrille
Hello,

I'm having quite an issue when creating VMs with an attached datablock
:

I'm running OpenNebula 3.4 with KVM + Sunstone.

Here below my VM template :

CONTEXT=[
  FILES=/nebuladata/scripts/init.sh,
  HOSTNAME=\VM-\$VMID,
  IP_PUBLIC=$NIC[IP, NETWORK=\Big Network\],
  TARGET=vdb ]
CPU=0.2
DISK=[
  IMAGE=UbuntuContext,
  TARGET=vda ]
DISK=[
  FORMAT=ext3,
  SIZE=4,
  TARGET=vde,
  TYPE=fs ]
FEATURES=[
  ACPI=yes ]
GRAPHICS=[
  TYPE=VNC ]
MEMORY=512
NAME=ubuntu
NIC=[
  NETWORK=Big Network ]
OS=[
  ARCH=x86_64,
  BOOT=hd ]
TEMPLATE_ID=20

Here below what happens in ONE when creating the VM :

Fri Aug 24 14:07:05 2012 [DiM][I]: New VM state is ACTIVE. Fri Aug 24
14:07:05 2012 [LCM][I]: New VM state is PROLOG. Fri Aug 24 14:07:39
2012 [TM][D]: tm_clone.sh:
inferno:/var/lib/one/images/b1240e874bec231c993568433c5a314a
orthanc.local:/var/lib/one//121/images/disk.0 Fri Aug 24 14:07:39 2012
[TM][D]: tm_clone.sh: DST: /var/lib/one//121/images/disk.0 Fri Aug 24
14:07:39 2012 [TM][I]: tm_clone.sh: Creating directory
/var/lib/one//121/images Fri Aug 24 14:07:39 2012 [TM][I]:
tm_clone.sh: Executed mkdir -p /var/lib/one//121/images. Fri Aug 24
14:07:39 2012 [TM][I]: tm_clone.sh: Executed chmod a+w
/var/lib/one//121/images. Fri Aug 24 14:07:39 2012 [TM][I]:
tm_clone.sh: Cloning
/var/lib/one/images/b1240e874bec231c993568433c5a314a Fri Aug 24
14:07:39 2012 [TM][I]: tm_clone.sh: Executed cp -r
/var/lib/one/images/b1240e874bec231c993568433c5a314a
/var/lib/one//121/images/disk.0. Fri Aug 24 14:07:39 2012 [TM][I]:
tm_clone.sh: Executed chmod a+rw /var/lib/one//121/images/disk.0.
Fri Aug 24 14:07:39 2012 [TM][I]: ExitCode: 0 Fri Aug 24 14:07:57 2012
[TM][I]: tm_mkimage.sh: Executed mkdir -p /var/lib/one//121/images.
Fri Aug 24 14:07:57 2012 [TM][I]: tm_mkimage.sh: Executed dd
if=/dev/zero of=/var/lib/one//121/images/disk.1 bs=1 count=1
seek=4M. Fri Aug 24 14:07:57 2012 [TM][I]: tm_mkimage.sh:
Executed mkfs -t ext3 -F /var/lib/one//121/images/disk.1. Fri Aug 24
14:07:57 2012 [TM][I]: tm_mkimage.sh: Executed chmod a+rw
/var/lib/one//121/images/disk.1. Fri Aug 24 14:07:57 2012 [TM][I]:
ExitCode: 0 Fri Aug 24 14:07:58 2012 [TM][I]: tm_context.sh: Executed
mkdir -p /var/lib/one//121/images/isofiles. Fri Aug 24 14:07:58 2012
[TM][I]: tm_context.sh: Executed cp -R /var/lib/one/121/context.sh
/var/lib/one//121/images/isofiles. Fri Aug 24 14:07:58 2012 [TM][I]:
tm_context.sh: Executed cp -R /nebuladata/scripts/init.sh
/var/lib/one//121/images/isofiles. Fri Aug 24 14:07:58 2012 [TM][I]:
tm_context.sh: Executed genisoimage -o
/var/lib/one//121/images/disk.2 -J -R
/var/lib/one//121/images/isofiles. Fri Aug 24 14:07:58 2012 [TM][I]:
tm_context.sh: Executed rm -rf /var/lib/one//121/images/isofiles.
Fri Aug 24 14:07:58 2012 [TM][I]: ExitCode: 0 Fri Aug 24 14:07:58 2012
[LCM][I]: New VM state is BOOT Fri Aug 24 14:07:58 2012 [VMM][I]:
Generating deployment file: /var/lib/one/121/deployment.0 Fri Aug 24
14:07:58 2012 [VMM][I]: ExitCode: 0 Fri Aug 24 14:07:58 2012 [VMM][I]:
Successfully execute network driver operation: pre. Fri Aug 24
14:08:00 2012 [VMM][I]: ExitCode: 0 Fri Aug 24 14:08:00 2012 [VMM][I]:
Successfully execute virtualization driver operation: deploy. Fri Aug
24 14:08:00 2012 [VMM][I]: ExitCode: 0 Fri Aug 24 14:08:00 2012
[VMM][I]: Successfully execute network driver operation: post. Fri Aug
24 14:08:01 2012 [LCM][I]: New VM state is RUNNING

Here below a df -h result in the VM :

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/ENX-root 2.3G 914M 1.3G 42% /
udev 237M 4.0K 237M 1% /dev
tmpfs 99M 232K 99M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 246M 0 246M 0% /run/shm
/dev/vda1 228M 25M 192M 12% /boot

The result of a sudo fdisk -l :

Disk /dev/vdb: 0 MB, 374784 bytes
16 heads, 63 sectors/track, 0 cylinders, total 732 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x

Disk /dev/vdb doesn't contain a valid partition table

Disk /dev/vdc: 41.9 GB, 4194304 bytes
16 heads, 63 sectors/track, 81269 cylinders, total 8192 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x

Disk /dev/vdc doesn't contain a valid partition table

Disk /dev/mapper/ENX-root: 2424 MB, 2424307712 bytes
255 heads, 63 sectors/track, 294 cylinders, total 4734976 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x

---

I tried to use it in a non-LVM VM, which was the same.
Tried to use hd or sd instead of vd and nothing worked...

Please help, this is driving me crazy...

Thanks in advance
CyD


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