Re: [one-users] Virtual Machine keeps failing

2014-03-31 Thread Jaime Melis
Christophe,

are you still experiencing this problem? It looks like an NFS problem. If
you are still interested in debugging it, try to send us the output of
ls -l /var/lib/one//datastores/0/4/
in the node.

Cheers,
Jaime


On Tue, Mar 25, 2014 at 12:16 PM, Christophe Duez 
christophe.d...@student.uantwerpen.be wrote:

 Hello,
 I know that making templates is the hardest part of opennebula and I
 searched and tried as much as I can.
 So I need your help please...
 I want to setup any Virtual Machine (it does not even matter if it is a
 Linux, Ubuntu, Debian, CentOS, Windows )
 I use OpenNebula 4.4.1. with  Xen 4.2.4

 When I try to run a VM it fails and this is the log file:
 Can anyone help me with a good solid tutorial or something?

 Tue Mar 25 11:59:38 2014 [DiM][I]: New VM state is CLEANUP.

 Tue Mar 25 11:59:40 2014 [DiM][I]: New VM state is PENDING

 Tue Mar 25 11:59:51 2014 [DiM][I]: New VM state is ACTIVE.

 Tue Mar 25 11:59:51 2014 [LCM][I]: New VM state is PROLOG.

 Tue Mar 25 12:00:37 2014 [LCM][I]: New VM state is BOOT

 Tue Mar 25 12:00:37 2014 [VMM][I]: Generating deployment file:
 /var/lib/one/vms/4/deployment.1

 Tue Mar 25 12:00:37 2014 [VMM][I]: ExitCode: 0

 Tue Mar 25 12:00:37 2014 [VMM][I]: Successfully execute network driver
 operation: pre.

 Tue Mar 25 12:00:38 2014 [VMM][I]: Command execution fail: cat  EOT |
 /var/tmp/one/vmm/xen4/deploy '/var/lib/one//datastores/0/4/deployment.1'
 'rackserver7' 4 rackserver7

 Tue Mar 25 12:00:38 2014 [VMM][I]: libxl: error:
 libxl_utils.c:273:libxl_read_file_contents: failed to open
 /var/lib/one//datastores/0/4/deployment.1: Permission denied

 Tue Mar 25 12:00:38 2014 [VMM][I]: Failed to read config file:
 /var/lib/one//datastores/0/4/deployment.1: Permission denied

 Tue Mar 25 12:00:38 2014 [VMM][E]: Unable

 Tue Mar 25 12:00:38 2014 [VMM][I]: ExitCode: 3

 Tue Mar 25 12:00:38 2014 [VMM][I]: Failed to execute virtualization driver
 operation: deploy.

 Tue Mar 25 12:00:38 2014 [VMM][E]: Error deploying virtual machine: Unable

 Tue Mar 25 12:00:38 2014 [DiM][I]: New VM state is FAILED



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

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

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




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


Re: [one-users] Ceph image creation works ... but disk is empty (ONE 4.6 beta)

2014-03-31 Thread Jaime Melis
Stefan,

I think there is a bug here [1]

As soon as I debug it I'll let you know.

[1]
https://github.com/OpenNebula/one/blob/master/src/datastore_mad/remotes/downloader.sh#L194

Regards,
Jaime


On Tue, Mar 25, 2014 at 2:12 PM, Stefan Kooman ste...@bit.nl wrote:

 Hi List,

 I've setup a 5 node ceph cluster and 2 kvm nodes. Everything is working
 fine. Ceph cluster is healthy, etc. I'm able to list images on the
 frontend, kvm nodes. Datastore is added succesfully:

 DATASTORE 100 INFORMATION
 ID : 100
 NAME   : ceph_one_ds
 USER   : oneadmin
 GROUP  : oneadmin
 CLUSTER: -
 TYPE   : IMAGE
 DS_MAD : ceph
 TM_MAD : ceph
 BASE PATH  : /var/lib/one//datastores/100
 DISK_TYPE  : RBD

 DATASTORE CAPACITY
 TOTAL: : 1T
 FREE:  : 967.1G
 USED:  : 42.1G
 LIMIT: : -

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

 DATASTORE TEMPLATE
 BASE_PATH=/var/lib/one//datastores/
 BRIDGE_LIST=oned1
 CEPH_HOST=ceph1 ceph2 ceph3
 CEPH_SECRET=e6ba4d0a-0e20-4a3a-9053-0a7ef50a02b9
 CEPH_USER=libvirt
 CLONE_TARGET=SELF
 DISK_TYPE=RBD
 DS_MAD=ceph
 LN_TARGET=NONE
 POOL_NAME=one
 TM_MAD=ceph
 TYPE=IMAGE_DS

 IMAGES
 8
 9

 However, If I import an image from the marketplace it gets registered
 succesfully. But actually the image is empty:

 qemu-img info rbd:one/one-9
 image: rbd:one/one-9
 file format: raw
 virtual size: 0 (0 bytes)
 disk size: unavailable

 Image details:

 IMAGE 9 INFORMATION
 ID : 9
 NAME   : centos_ceph_test
 USER   : oneadmin
 GROUP  : oneadmin
 DATASTORE  : ceph_one_ds
 TYPE   : OS
 REGISTER TIME  : 03/24 10:47:10
 PERSISTENT : Yes
 SOURCE : one/one-9
 PATH   :
 http://marketplace.c12g.com/appliance/4fc76a938fb81d351702/download/0
 SIZE   : 10G
 STATE  : rdy
 RUNNING_VMS: 0

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

 IMAGE TEMPLATE
 DEV_PREFIX=hd
 MD5=94176fbba17f5efcabb0b05fc55b1a16

 I've manually created a qemu-image (qemu-img convert -f qcow2 -O raw
 debian_squeeze.qcow2 rbd:one/debian2) and made a libvirt xml based on
 openenbula default.  That image just works. Everything seems to be in
 order, no errors anywhere, but result in empty images nevertheless.

 Gr. Stefan

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




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


Re: [one-users] Hosts in error state.

2014-03-31 Thread Jaime Melis
Is the oned daemon running as oneadmin? can you try and manually
execute /var/lib/one/remotes/datastore/fs/monitor  as oneadmin in the
frontend to see if it allows you to execute it?

Regards,
Jaime


On Tue, Mar 25, 2014 at 6:35 PM, Meduri Jagadeesh
meduri.jagade...@msn.comwrote:

 I dint modified that file and these are the permissions:


 root@ubuntu:/var/lib/one/remotes/datastore/fs# ls -l
 total 19
 -rwxr-xr-x 1 oneadmin oneadmin 2488 Feb  3 20:42 clone
 -rwxr-xr-x 1 oneadmin oneadmin 3700 Feb  3 20:42 cp
 -rwxr-xr-x 1 oneadmin oneadmin 3032 Feb  3 20:42 mkfs
 -rwxr-xr-x 1 oneadmin oneadmin 2474 Feb  3 20:42 monitor
 -rwxr-xr-x 1 oneadmin oneadmin 2532 Feb  3 20:42 rm
 -rwxr-xr-x 1 oneadmin oneadmin 2433 Feb  3 20:42 stat

 --
 From: jme...@opennebula.org
 Date: Mon, 24 Mar 2014 15:21:00 +0100

 Subject: Re: [one-users] Hosts in error state.
 To: meduri.jagade...@msn.com
 CC: users@lists.opennebula.org

 Hi,

 you are getting sh: 1: /var/lib/one/remotes/datastore/fs/monitor:
 Permission denied

 have you modified that file? what are the permissions / owner of that
 file? they should belong to oneadmin. ls -l of that file would help.

 cheers,
 Jaime


 On Tue, Mar 18, 2014 at 8:00 PM, Meduri Jagadeesh 
 meduri.jagade...@msn.com wrote:

 Wed Mar 19 00:16:04 2014 [ReM][D]: Req:3136 UID:0 VirtualMachinePoolInfo
 result SUCCESS, VM_POOL/VM_POOL
 Wed Mar 19 00:16:04 2014 [ReM][D]: Req:6816 UID:0 VirtualMachinePoolInfo
 invoked, -2, -1, -1, -1
 Wed Mar 19 00:16:04 2014 [ReM][D]: Req:6816 UID:0 VirtualMachinePoolInfo
 result SUCCESS, VM_POOL/VM_POOL
 Wed Mar 19 00:16:05 2014 [ReM][D]: Req:2352 UID:0 VirtualMachinePoolInfo
 invoked, -2, -1, -1, -1
 Wed Mar 19 00:16:05 2014 [ReM][D]: Req:2352 UID:0 VirtualMachinePoolInfo
 result SUCCESS, VM_POOL/VM_POOL
 Wed Mar 19 00:16:05 2014 [InM][D]: Monitoring host localhost (32)
 Wed Mar 19 00:16:05 2014 [ReM][D]: Req:2352 UID:0 VirtualMachinePoolInfo
 invoked, -2, -1, -1, -1
 Wed Mar 19 00:16:05 2014 [InM][D]: Monitoring datastore default (1)
 Wed Mar 19 00:16:06 2014 [ImM][I]: Command execution fail:
 /var/lib/one/remotes/datastore/fs/monitor
 PERTX0RSSVZFUl9BQ1RJT05fREFUQT48REFUQVNUT1JFPjxJRD4xPC9JRD48VUlEPjA8L1VJRD48R0lEPjA8L0dJRD48VU5BTUU+b25lYWRtaW48L1VOQU1FPjxHTkFNRT5vbmVhZG1pbjwvR05BTUU+PE5BTUU+ZGVmYXVsdDwvTkFNRT48UEVSTUlTU0lPTlM+PE9XTkVSX1U+MTwvT1dORVJfVT48T1dORVJfTT4xPC9PV05FUl9NPjxPV05FUl9BPjA8L09XTkVSX0E+PEdST1VQX1U+MTwvR1JPVVBfVT48R1JPVVBfTT4wPC9HUk9VUF9NPjxHUk9VUF9BPjA8L0dST1VQX0E+PE9USEVSX1U+MTwvT1RIRVJfVT48T1RIRVJfTT4wPC9PVEhFUl9NPjxPVEhFUl9BPjA8L09USEVSX0E+PC9QRVJNSVNTSU9OUz48RFNfTUFEPmZzPC9EU19NQUQ+PFRNX01BRD5zaGFyZWQ8L1RNX01BRD48QkFTRV9QQVRIPi92YXIvbGliL29uZS8vZGF0YXN0b3Jlcy8xPC9CQVNFX1BBVEg+PFRZUEU+MDwvVFlQRT48RElTS19UWVBFPjA8L0RJU0tfVFlQRT48Q0xVU1RFUl9JRD4tMTwvQ0xVU1RFUl9JRD48Q0xVU1RFUj48L0NMVVNURVI+PFRPVEFMX01CPjE3MTg1PC9UT1RBTF9NQj48RlJFRV9NQj4xMzI4ODwvRlJFRV9NQj48VVNFRF9NQj4yMDc8L1VTRURfTUI+PElNQUdFUz48SUQ+NTwvSUQ+PElEPjg8L0lEPjwvSU1BR0VTPjxURU1QTEFURT48Q0xPTkVfVEFSR0VUPjwhW0NEQVRBW1NZU1RFTV1dPjwvQ0xPTkVfVEFSR0VUPjxESVNLX1RZUEU+PCFbQ0RBVEFbRklMRV1dPjwvRElTS19UWVBFPjxEU19NQUQ+PCFbQ0RBVEFbZnNdXT48L0RTX01BRD48TE5fVEFSR0VUPjwhW0NEQVRBW05PTkVdXT48L0xOX1RBUkdFVD48VE1fTUFEPjwhW0NEQVRBW3NoYXJlZF1dPjwvVE1fTUFEPjxUWVBFPjwhW0NEQVRBW0lNQUdFX0RTXV0+PC9UWVBFPjwvVEVNUExBVEU+PC9EQVRBU1RPUkU+PC9EU19EUklWRVJfQUNUSU9OX0RBVEE+
 1
 Wed Mar 19 00:16:06 2014 [ImM][I]: sh: 1:
 /var/lib/one/remotes/datastore/fs/monitor: Permission denied
 Wed Mar 19 00:16:06 2014 [ImM][I]: ExitCode: 126
 Wed Mar 19 00:16:06 2014 [ImM][E]: Error monitoring datastore 1: -
 Wed Mar 19 00:16:07 2014 [ReM][D]: Req:2352 UID:0 VirtualMachinePoolInfo
 result SUCCESS, VM_POOL/VM_POOL
 Wed Mar 19 00:16:07 2014 [InM][D]: Monitoring datastore files (2)
 Wed Mar 19 00:16:07 2014 [ImM][I]: Command execution fail:
 /var/lib/one/remotes/datastore/fs/monitor
 PERTX0RSSVZFUl9BQ1RJT05fREFUQT48REFUQVNUT1JFPjxJRD4yPC9JRD48VUlEPjA8L1VJRD48R0lEPjA8L0dJRD48VU5BTUU+b25lYWRtaW48L1VOQU1FPjxHTkFNRT5vbmVhZG1pbjwvR05BTUU+PE5BTUU+ZmlsZXM8L05BTUU+PFBFUk1JU1NJT05TPjxPV05FUl9VPjE8L09XTkVSX1U+PE9XTkVSX00+MTwvT1dORVJfTT48T1dORVJfQT4xPC9PV05FUl9BPjxHUk9VUF9VPjE8L0dST1VQX1U+PEdST1VQX00+MDwvR1JPVVBfTT48R1JPVVBfQT4wPC9HUk9VUF9BPjxPVEhFUl9VPjE8L09USEVSX1U+PE9USEVSX00+MDwvT1RIRVJfTT48T1RIRVJfQT4wPC9PVEhFUl9BPjwvUEVSTUlTU0lPTlM+PERTX01BRD5mczwvRFNfTUFEPjxUTV9NQUQ+c3NoPC9UTV9NQUQ+PEJBU0VfUEFUSD4vdmFyL2xpYi9vbmUvL2RhdGFzdG9yZXMvMjwvQkFTRV9QQVRIPjxUWVBFPjI8L1RZUEU+PERJU0tfVFlQRT4wPC9ESVNLX1RZUEU+PENMVVNURVJfSUQ+LTE8L0NMVVNURVJfSUQ+PENMVVNURVI+PC9DTFVTVEVSPjxUT1RBTF9NQj4xNzE4NTwvVE9UQUxfTUI+PEZSRUVfTUI+MTMyODg8L0ZSRUVfTUI+PFVTRURfTUI+MTwvVVNFRF9NQj48SU1BR0VTPjwvSU1BR0VTPjxURU1QTEFURT48Q0xPTkVfVEFSR0VUPjwhW0NEQVRBW1NZU1RFTV1dPjwvQ0xPTkVfVEFSR0VUPjxEU19NQUQ+PCFbQ0RBVEFbZnNdXT48L0RTX01BRD48TE5fVEFSR0VUPjwhW0NEQVRBW1NZU1RFTV1dPjwvTE5fVEFSR0VUPjxUTV9NQUQ+PCFbQ0RBVEFbc3NoXV0+PC9UTV9NQUQ+PFRZUEU+PCFbQ0RBVEFbRklMRV9EU11dPjwvVFlQRT48L1RFTVBMQVRFPjwvREFUQVNUT1JFPjwvRFNfRFJJVkVSX0FDVElPTl9EQVRBPg==
 2
 Wed Mar 19 

Re: [one-users] Virtual Machine keeps failing

2014-03-31 Thread Christophe Duez
Owkey, it works.
thank you for the help at freenode #opennebula

On Mon, Mar 31, 2014 at 9:07 AM, Jaime Melis jme...@opennebula.org wrote:

  Christophe,

  are you still experiencing this problem? It looks like an NFS problem.
 If you are still interested in debugging it, try to send us the output of
 ls -l /var/lib/one//datastores/0/4/
 in the node.

  Cheers,
 Jaime


 On Tue, Mar 25, 2014 at 12:16 PM, Christophe Duez 
 christophe.d...@student.uantwerpen.be wrote:

 Hello,
 I know that making templates is the hardest part of opennebula and I
 searched and tried as much as I can.
 So I need your help please...
 I want to setup any Virtual Machine (it does not even matter if it is a
 Linux, Ubuntu, Debian, CentOS, Windows )
 I use OpenNebula 4.4.1. with  Xen 4.2.4

  When I try to run a VM it fails and this is the log file:
 Can anyone help me with a good solid tutorial or something?

  Tue Mar 25 11:59:38 2014 [DiM][I]: New VM state is CLEANUP.

  Tue Mar 25 11:59:40 2014 [DiM][I]: New VM state is PENDING

  Tue Mar 25 11:59:51 2014 [DiM][I]: New VM state is ACTIVE.

  Tue Mar 25 11:59:51 2014 [LCM][I]: New VM state is PROLOG.

  Tue Mar 25 12:00:37 2014 [LCM][I]: New VM state is BOOT

  Tue Mar 25 12:00:37 2014 [VMM][I]: Generating deployment file:
 /var/lib/one/vms/4/deployment.1

  Tue Mar 25 12:00:37 2014 [VMM][I]: ExitCode: 0

  Tue Mar 25 12:00:37 2014 [VMM][I]: Successfully execute network driver
 operation: pre.

  Tue Mar 25 12:00:38 2014 [VMM][I]: Command execution fail: cat  EOT |
 /var/tmp/one/vmm/xen4/deploy '/var/lib/one//datastores/0/4/deployment.1'
 'rackserver7' 4 rackserver7

  Tue Mar 25 12:00:38 2014 [VMM][I]: libxl: error:
 libxl_utils.c:273:libxl_read_file_contents: failed to open
 /var/lib/one//datastores/0/4/deployment.1: Permission denied

  Tue Mar 25 12:00:38 2014 [VMM][I]: Failed to read config file:
 /var/lib/one//datastores/0/4/deployment.1: Permission denied

  Tue Mar 25 12:00:38 2014 [VMM][E]: Unable

  Tue Mar 25 12:00:38 2014 [VMM][I]: ExitCode: 3

  Tue Mar 25 12:00:38 2014 [VMM][I]: Failed to execute virtualization
 driver operation: deploy.

  Tue Mar 25 12:00:38 2014 [VMM][E]: Error deploying virtual machine:
 Unable

  Tue Mar 25 12:00:38 2014 [DiM][I]: New VM state is FAILED



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

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

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




  --
  Jaime Melis
 Project Engineer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | jme...@opennebula.org




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

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


[one-users] fault in opennebula?

2014-03-31 Thread Christophe Duez
fault in opennebula?
So I added a new datastore from the CLI :

$ cat system.ds
NAME= nfs_ds
TM_MAD  = shared
TYPE= SYSTEM_DS

$ onedatastore create system.ds
ID: 104

Now i'll go to opennebula and see that the path for that datastore is set
to :
Base path /var/lib/one//datastores/104

The only problem is that there is no file called:
/var/lib/one/datastores/104

fault in my thinking or in opennebula?


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

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


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

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

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

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

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

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

  Hyunwoo Kim
 FermiCloud


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

Regards

--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org |
@OpenNebula http://twitter.com/opennebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] fault in opennebula?

2014-03-31 Thread Tino Vazquez
Hi Christophe,

That may be OK, which version of OpenNebula are you using?

Best,

-Tino
--
OpenNebula - Flexible Enterprise Cloud Made Simple

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

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


On 31 March 2014 10:11, Christophe Duez
christophe.d...@student.uantwerpen.be wrote:
 fault in opennebula?
 So I added a new datastore from the CLI :

 $ cat system.ds
 NAME= nfs_ds
 TM_MAD  = shared
 TYPE= SYSTEM_DS

 $ onedatastore create system.ds
 ID: 104

 Now i'll go to opennebula and see that the path for that datastore is set to
 :
 Base path /var/lib/one//datastores/104

 The only problem is that there is no file called:
 /var/lib/one/datastores/104

 fault in my thinking or in opennebula?


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

 E christophe.d...@student.uantwperen.be
 L linkedin duez-christophe

 ___
 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] fault in opennebula?

2014-03-31 Thread Christophe Duez
Hi,
I'm using OpenNebula 4.4.1 http://opennebula.org/ by C12G
Labshttp://c12g.com/
.


On Mon, Mar 31, 2014 at 11:35 AM, Tino Vazquez cvazq...@c12g.com wrote:

 Hi Christophe,

 That may be OK, which version of OpenNebula are you using?

 Best,

 -Tino
 --
 OpenNebula - Flexible Enterprise Cloud Made Simple

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

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


 On 31 March 2014 10:11, Christophe Duez
 christophe.d...@student.uantwerpen.be wrote:
  fault in opennebula?
  So I added a new datastore from the CLI :
 
  $ cat system.ds
  NAME= nfs_ds
  TM_MAD  = shared
  TYPE= SYSTEM_DS
 
  $ onedatastore create system.ds
  ID: 104
 
  Now i'll go to opennebula and see that the path for that datastore is
 set to
  :
  Base path /var/lib/one//datastores/104
 
  The only problem is that there is no file called:
  /var/lib/one/datastores/104
 
  fault in my thinking or in opennebula?
 
 
  --
  Kind regards,
  Duez Christophe
  Student at University of Antwerp :
  Master of Industrial Sciences: Electronics-ICT
 
  E christophe.d...@student.uantwperen.be
  L linkedin duez-christophe
 
  ___
  Users mailing list
  Users@lists.opennebula.org
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 




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

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


Re: [one-users] Attaching big immutable disks to virtual machines

2014-03-31 Thread Ruben S. Montero
Hi

On a second thought, the low level operations for an image are controlled
by SAVE (will be copied back to the image repo) and CLONE (will be copied
vs linked).

We could deal with this volumes as if they were CDROMs, i.e. READONLY=YES,
CLONE=NO, SAVE=NO. The disk images will be linked and mounted by multiple
VMs at the same time in a ro mode, so no need to have a virtual SAN
underneath .

Would that make sense? I'll fill an issue for this if so...

Cheers

Ruben


On Fri, Dec 27, 2013 at 9:07 PM, Shankhadeep Shome shank15...@gmail.comwrote:

 A virtual glusterfs cluster works well for us, at a minimum you need 2
 nodes, We use a couple of open nebula managed vms to host that and point
 other vms that need to access shared data to it.


 On Thu, Dec 19, 2013 at 9:23 AM, Valerio Schiavoni 
 valerio.schiav...@gmail.com wrote:

 Hello,
 we have the following use-case for our ON deployment.
 Some of our users need to run lightweight VMs (a very simple
 ubuntu-server with few basic tools).
 These users share  some immutable data, which they used to access via a
 shared server.
 The size of such data is pretty big (few hundreds of gigabytes) and their
 content is immutable.

 What is the best approach to let their VMs see those big datas ?

 We use OpenNebula 4.4.

 Thanks,
 Valerio

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



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




-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Datastores

2014-03-31 Thread Christophe Duez
Hello,
I added an iSCSI target to my server that is running opennebula 4.4.1.
I mounted the iSCSI /dev/sdb on /var/lib/one/datastores/iSCSI1 type ext4
(rw)
Now I tried to added the Datastore to opennebula.
the problem is that opennebula does not get any information from the iSCSI.
anyone know what to do?
Thanks in advance

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


Re: [one-users] More ipv6 network questions

2014-03-31 Thread Ruben S. Montero
Hi Steven,

This is a limitation of the current model. We use the MAC address to
generate the host id using the EUI64. With the 64 bits from the host plus
the prefixes we derive the IPv6 addresses. That's the reason for not
storing the link local address, it is just derived from the MAC as in
linux. Basically it is assuming a stateless auto-configuration model.

Ranged leases only accepts MAC and IP. Just filled an issue to implement
this [1]. Till this is implemented the workaround is to set the IPv6
hardcoded in the context of the VM template.

Cheers

Ruben

[1] http://dev.opennebula.org/issues/2818


On Wed, Mar 26, 2014 at 11:04 PM, Steven Timm t...@fnal.gov wrote:



 A followup--I did find an example in the documentation but it is only for
 RANGED IPv6 network.  I need a FIXED IPv6 network.

 I saw that when I set an IP6_GLOBAL PREFIX in the network
 file it would then append the ipv6-ified mac address of the
 machine and construct an IP6_GLOBAL for me.  But that's not what I want.

 Would like to do something like this:
 LEASES = [ IP=131.225.41.182, MAC=54:52:00:02:0B:01,
 IP6_GLOBAL=2001:400:2410:29::182 ]
 LEASES = [ IP=131.225.41.183, MAC=54:52:00:02:0B:02,
 IP6_GLOBAL=2001:400:2410:29::183]
 LEASES = [ IP=131.225.41.184, MAC=54:52:00:02:0B:03,
 IP6_GLOBAL=2001:400:2410:29::184 ]
 LEASES = [ IP=131.225.41.185, MAC=54:52:00:02:0B:04,
 IP6_GLOBAL=2001:400:2410:29::185 ]
 LEASES = [ IP=131.225.41.186, MAC=54:52:00:02:0B:05,
 IP6_GLOBAL=2001:400:2410:29::186 ]

 But this doesn't work.  the IP6_GLOBAL in the LEASES field is ignored.

 Is there any IPV6-related field that is accepted in the LEASES
 field of a fixed-network network template?  This is of some urgency.
 (I promised my users who depend on ipv6 cloud vm's I would have them
 up this morning local time and it is now quitting time today).

 Steve



 On Wed, 26 Mar 2014, Steven Timm wrote:


 Below is the network template that I used to
 successfully create the IPV4 side of a dual stack ipv4/ipv6 network
 in one4.4.


 -bash-4.1$ cat static-ipv6-net
 NAME = Static_IPV6_Public
 TYPE = FIXED

 #Now we'll use the cluster private network (physical)
 BRIDGE = br0
 DNS = 131.225.0.254
 GATEWAY = 131.225.41.200
 NETWORK_MASK = 255.255.255.128
 LEASES = [ IP=131.225.41.132, MAC=00:16:3E:06:01:01 ]

 --

 and here's what I get back:

 -bash-4.1$ onevnet show 1
 VIRTUAL NETWORK 1 INFORMATION
 ID : 1
 NAME   : Static_IPV6_Public
 USER   : oneadmin
 GROUP  : oneadmin
 CLUSTER: -
 TYPE   : FIXED
 BRIDGE : br0
 VLAN   : No
 USED LEASES: 0

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

 VIRTUAL NETWORK TEMPLATE
 DNS=131.225.0.254
 GATEWAY=131.225.41.200
 NETWORK_MASK=255.255.255.128

 FREE LEASES
 LEASE=[ MAC=00:16:3e:06:01:01, IP=131.225.41.132,
 IP6_LINK=fe80::216:3eff:fe06:101, USED=0, VID=-1 ]

 VIRTUAL MACHINES

ID USER GROUPNAMESTAT UCPUUMEM HOST TIME

 
 I have several questions:

 1) Does the OpenNebula head node also have to have access to the
 IPv6 network too, or just the VM hosts?

 2) Is there any way to specify on a host by host basis
 the IPV6 address as well as the IPV4 address?  I.e. for
 this host fgt1x1.fnal.gov IPV4 is 131.225.41.132 and
 IPV6 Global address is 2001:400:2410:29::132

 It's puzzling because in the leases database table there
 is only room for id, ipv4 address, and body.
 the IP6_LINK field above is not anywhere stored in the database
 and yet it shows.

 3) Do the contextualization rpms as distributed with ONE4.0 and greater
 handle the
 process of setting up IPV6 addresses as part of contextualization?
 If so, what fields should we put in the CONTEXT section
 to set these values?

 Any help is appreciated as getting the ipv6 VM's up and running
 is of some urgency.  Right now I am forced to configure
 the ipv6 addresses by hand once the VM is up.

 Steve Timm

 --
 Steven C. Timm, Ph.D  (630) 840-8525
 t...@fnal.gov  http://home.fnal.gov/~timm/
 Fermilab Scientific Computing Division, Scientific Computing Services
 Quad.
 Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing


 --
 Steven C. Timm, Ph.D  (630) 840-8525
 t...@fnal.gov  http://home.fnal.gov/~timm/
 Fermilab Scientific Computing Division, Scientific Computing Services Quad.
 Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

 --
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 --
 Ruben S. Montero, PhD
 Project co-Lead and Chief 
 

Re: [one-users] Resume paused VM due to full system datastore

2014-03-31 Thread Ruben S. Montero
Hi

The recommended way is to recover the VMs manually and let the
monitorization process update the state in oned, as you describe in your
email. UNKNOWN state is to accommodate these failure situations (that may
require different recover procedures).

Note also that we can re-send from OpenNebula a deploy action (virsh
create, in your case) with onevm boot (or through the play icon in
Sunstone) for UNKNOWN, however there is no way to send from OpenNebula a
'virsh resume' command.

BTW OpenNebula 4.4 should control the system datastore usage (even not
shared) and not schedule VMs to prevent taking all the space, you can even
limit manually the size used by OpenNebula. Is this not working for you?

Cheers

Ruben


On Thu, Mar 27, 2014 at 4:51 PM, Daniel Dehennin 
daniel.dehen...@baby-gnu.org wrote:

 Hello,

 I just encounter an issue with KVM based VMs when the non shared system
 datastore became full.

 The libvirt/kvm paused the VMs trying to write on their discs and I have
 to run:

 for vm in $(virsh -c qemu:///system list | awk '/paused/ {print $1}')
 do
 virsh -c qemu:///system resume ${vm}
 done

 In ONE they was in UNKNOWN state.

 Shouldn't it be handled by ONE directly?

 Regards.
 --
 Daniel Dehennin
 Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
 Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF

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




-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Can sunstone 4.0 be deployed on apache2 + passenger

2014-03-31 Thread Daniel Molina
Sorry, the memcache feature was also supported in one-4.0, you just have to
configure it:
http://archives.opennebula.org/documentation:archives:rel4.0:suns_advance#configuring_memcached

Cheers


On 24 March 2014 09:51, Daniel Molina dmol...@opennebula.org wrote:

 Then, you'll have to limit the number of processes that are spawned by
 passenger (PassengerMaxProcesses) or upgrade opennebula to the last version
 and configure the memcache sessions


 On 22 March 2014 01:45, sam song samsong8...@gmail.com wrote:

  Hi Daniel,

 I am using Passenger with apache2, configured according to [1].

 [1]
 http://docs.opennebula.org/4.4/advanced_administration/scalability/suns_advance.html#running-sunstone-with-passenger-in-apache


 于 2014年03月21日 17:33, Daniel Molina 写道:




 On 21 March 2014 03:39, sam song samsong8...@gmail.com wrote:

  Hi all,

 Thanks for your reply.

 I have configured one 4.0 to run in apache2 as a vhost, but there is an
 another issue.
 After I login to sunstone successfully and the dashboard is shown, the
 browser is directed to the login page again at once.
 I think it may be a misconfiguration issue.
 I only changed the sunstone listening ip, session is managed by memory.


  Are you using Apache as a proxy or are you using Passenger?




 Any advice?

 Sam


 于 2014年03月21日 01:01, Daniel Molina 写道:


 On 20 March 2014 17:54, Daniel Molina dmol...@opennebula.org wrote:

 In OpenNebula you can run sunstone on top of apache but memcache is not
 supported, so you have to force only one server instance in your apache
 configuration, otherwise authentication won't work.


 This applies to one-4.0, in one-4.4 memcache is supported


  --
  --
  Daniel Molina
 Project Engineer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula



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




  --
  --
  Daniel Molina
 Project Engineer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula





 --
 --
 Daniel Molina
 Project Engineer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula




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


Re: [one-users] Configure hosts to use qemu without kvm hardware acceleration

2014-03-31 Thread Ruben S. Montero
Probably you need to modify

/etc/one/vmm_exec/vmm_exec_kvm.conf

and add

EMULATOR = /usr/libexec/qemu-kvm

Cheers

Ruben


On Tue, Mar 25, 2014 at 1:51 PM, Marco Fanti marco.fa...@studenti.polito.it
 wrote:

 Thank you for the answers,
 this was the log file of the vm that don't start because of the missing
 kvm module (so it does not fall back to qemu --no-kvm when the kvm module
 is not present on the system.

 Mon Mar 24 15:11:02 2014 [DiM][I]: New VM state is ACTIVE.
 Mon Mar 24 15:11:02 2014 [LCM][I]: New VM state is PROLOG.
 Mon Mar 24 15:11:02 2014 [VM][I]: Virtual Machine has no context
 Mon Mar 24 15:11:03 2014 [LCM][I]: New VM state is BOOT
 Mon Mar 24 15:11:03 2014 [VMM][I]: Generating deployment file:
 /var/lib/one/vms/2/deployment.0
 Mon Mar 24 15:11:03 2014 [VMM][I]: ExitCode: 0
 Mon Mar 24 15:11:03 2014 [VMM][I]: Successfully execute network driver
 operation: pre.
 Mon Mar 24 15:11:03 2014 [VMM][I]: Command execution fail: cat  EOT |
 /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/2/deployment.0'
 'on-compute1' 2 on-compute1
 Mon Mar 24 15:11:03 2014 [VMM][I]: error: Failed to create domain from
 /var/lib/one//datastores/0/2/deployment.0
 Mon Mar 24 15:11:03 2014 [VMM][I]: error: internal error Child process
 (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
 HOME=/ /usr/bin/kvm -no-user-config -device ? -device pci-assign,? -device
 virtio-blk-pci,? -device virtio-net-pci,? -device scsi-disk,?) unexpected
 exit status 1: Could not access KVM kernel module: No such file or directory
 Mon Mar 24 15:11:03 2014 [VMM][I]: failed to initialize KVM: No such file
 or directory
 Mon Mar 24 15:11:03 2014 [VMM][I]: No accelerator found!
 Mon Mar 24 15:11:03 2014 [VMM][I]:
 Mon Mar 24 15:11:03 2014 [VMM][E]: Could not create domain from
 /var/lib/one//datastores/0/2/deployment.0
 Mon Mar 24 15:11:03 2014 [VMM][I]: ExitCode: 255



 2014-03-25 13:14 GMT+01:00 Javier Fontan jfon...@opennebula.org:

 OpenNebula can be configured to use qemu emulation instead of kvm
 virtualization but not per VM but in the driver definition. The type
 of the VM driver can be changed from kvm to qemu in oned.conf. For
 example:

 --8--
 VM_MAD = [
 name   = kvm,
 executable = one_vmm_ssh,
 arguments  = -t 15 -r 0 kvm,
 default= vmm_ssh/vmm_ssh_kvm.conf,
 type   = qemu ]
 --8--

 This is used in the tryout images as they are already virtualized. It
 will be also useful for the infrastructure Marco Fanti wants to
 create.

 Still this is not useful to have mixed virtualized and emulated
 machines in the same host. Maybe this parameter can be changed to a VM
 setting instead of a driver setting.


 Thank you Javier, this solution is actually documented in the oned.conf
 comments, I'm sorry that i didn't noticed it before.



 On Tue, Mar 25, 2014 at 10:28 AM, Carlo Daffara
 carlo.daff...@cloudweavers.eu wrote:
  It is nevertheless an interesting feature. For example, when emulating
 legacy OSes like DOS or Windows 3.11 you
  have to disable KVM anyway, or the OS does not boot. (And yes, we *do*
 have sometimes to bring legacy operating systems
  into OpenNebula :-))
  Maybe we can add it as a feature? It should be mainly a matter of
 passing the -no-kvm switch
  cheers,
  Carlo Daffara
 
  - Messaggio originale -
  Da: Jon three1...@gmail.com
  A: Marco Fanti marco.fa...@studenti.polito.it
  Cc: Users OpenNebula users@lists.opennebula.org
  Inviato: Martedì, 25 marzo 2014 10:20:50
  Oggetto: Re: [one-users] Configure hosts to use qemu without kvm
 hardware   acceleration
 
 
 
  Shouldn't qemu fallback to paravitualization when hardware
 acceleration isn't available?
 
  http://blog.vmsplice.net/2011/03/should-i-use-qemu-or-kvm.html?m=1
 
  I was confident that qemu could detect on the fly if hardware
 virtualization was available and would enable it or not as appropriate.
 until your post...
 
  Are you getting an error with OpenNebula?
 
  Thanks,
  Jon A
  On Mar 25, 2014 1:41 AM, Marco Fanti  marco.fa...@studenti.polito.it 
  wrote:
 
 
 
  Hi all,
  I'm building a testing environment and I need to use some kvm virtual
 machines as host nodes.
  Since I cannot enable the hardware acceleration inside a virtual
 machine*, I'd like to know how to configure a host node like the
 configuration that there is in the kvm sandbox (that actually use qemu-kvm
 with the parameter -no-kvm).
  As frontend node and host nodes I'm using Debian 7, and opennebula is
 installed from the .deb packages for Debian 7 downloaded from the
 opennebula website.
 
  Thank you all,
  Marco Fanti
 
  *I know it is possible to enable nested kvm inside kvm, the guide is
 http://palexster.wordpress.com/2013/03/06/enable-nested-virtualization-on-kvm/,
  BUT this features has a lot of bug, especially in the old versions of
 kvm like the one in Debian Stable, so I'd like a more stable solution, like
 to use qemu without kvm as in the kvm sandbox
 
  

Re: [one-users] Resume paused VM due to full system datastore

2014-03-31 Thread Daniel Dehennin
Ruben S. Montero rsmont...@opennebula.org writes:

 Hi

Hello,


[...]

 Note also that we can re-send from OpenNebula a deploy action (virsh
 create, in your case) with onevm boot (or through the play icon in
 Sunstone) for UNKNOWN, however there is no way to send from OpenNebula a
 'virsh resume' command.

I was looking for this, or at least, the kvm monitoring could display
that the VMs is in “paused” state.

I'll emulate a DS full to see which information can be reported to the user.

 BTW OpenNebula 4.4 should control the system datastore usage (even not
 shared) and not schedule VMs to prevent taking all the space, you can even
 limit manually the size used by OpenNebula. Is this not working for
 you?

Unfortunately, this cluster is using ONE 4.2.

The problem occurs not on new scheduled VM but when qcow2 images grow
up, when the DS is full, any VM trying to write, making their disk
bigger, are “paused” by libvirt/kvm.

Regards.

-- 
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF


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


[one-users] Opennebula problem with cephdatastore.

2014-03-31 Thread Leszek Master
I want to use ceph with opennebula as datastore. I've created ceph
datastore using manual -
http://archives.opennebula.org/documentation:archives:rel4.0:ceph_ds and i
can see datastore space usage and i can import there image form market
place, but i cannot start the VM from this image. The error is: Error
deploying virtual machine: Could not create domain from
/var/lib/one//datastores/0/3/deployment.3

In the log i can see this: http://pastebin.com/9bUpxh1t

When i use cat  EOT | /var/tmp/one/vmm/kvm/deploy
'/var/lib/one//datastores/0/3/deployment.3' 'node-02' 3 node-02 in my
node-02 server i can see

http://pastebin.com/LbxqAEtV

My datastore config:

http://pastebin.com/QSqTBX6u

And my vm template:

http://pastebin.com/Gi72rwa3

I also have seen situation where file
/var/lib/one/datastores/0/3/deployment.3 is not empty, but the data from it
disappear few seconds after Failed to creating VM.

Please help me solve out my problem.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] How can I post virtual appliance to OpenNebula Marketplacy??

2014-03-31 Thread Daniel Molina
Hi,


On 29 March 2014 15:08, JungJungIn (Gmail:call518) call...@gmail.comwrote:

 I want to post virtual appliance.
 But i can not find sign-up menu or web page...
 Tell me the guide..
 Thanks.


This is the url of the OpenNebula Marketplace:
http://marketplace.c12g.com/appliance

And the steps for posting an appliance are described in the header of the
page.

If you have any doubts do not hesitate to ask us



 --



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




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


Re: [one-users] fault in opennebula?

2014-03-31 Thread Tino Vazquez
Hi,

Since you are using a shared system datastore, you have to ensure that
 /var/lib/one/datastores/104 exists both in the front-end and the
virtualization nodes. Please do the following:

   * create  /var/lib/one/datastores/104 in the front-end
   * export  /var/lib/one/datastores/104 via NFS
   * mount in all the virtualization nodes
/var/lib/one/datastores/104 (with the same path)

Best regards,

-Tino

--
OpenNebula - Flexible Enterprise Cloud Made Simple

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

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


On 31 March 2014 11:47, Christophe Duez
christophe.d...@student.uantwerpen.be wrote:
 Hi,
 I'm using OpenNebula 4.4.1 by C12G Labs.


 On Mon, Mar 31, 2014 at 11:35 AM, Tino Vazquez cvazq...@c12g.com wrote:

 Hi Christophe,

 That may be OK, which version of OpenNebula are you using?

 Best,

 -Tino
 --
 OpenNebula - Flexible Enterprise Cloud Made Simple

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

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


 On 31 March 2014 10:11, Christophe Duez
 christophe.d...@student.uantwerpen.be wrote:
  fault in opennebula?
  So I added a new datastore from the CLI :
 
  $ cat system.ds
  NAME= nfs_ds
  TM_MAD  = shared
  TYPE= SYSTEM_DS
 
  $ onedatastore create system.ds
  ID: 104
 
  Now i'll go to opennebula and see that the path for that datastore is
  set to
  :
  Base path /var/lib/one//datastores/104
 
  The only problem is that there is no file called:
  /var/lib/one/datastores/104
 
  fault in my thinking or in opennebula?
 
 
  --
  Kind regards,
  Duez Christophe
  Student at University of Antwerp :
  Master of Industrial Sciences: Electronics-ICT
 
  E christophe.d...@student.uantwperen.be
  L linkedin duez-christophe
 
  ___
  Users mailing list
  Users@lists.opennebula.org
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 




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

 E christophe.d...@student.uantwperen.be
 L linkedin duez-christophe
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] EC2 driver error (ONE 4.6 beta)

2014-03-31 Thread Stefan Kooman
Hi,

One of the TechDay attendee was so excited about cloud-bursting he
tried the same evening in his own cloud. At first he didn't succeed.
This turned out to be a template problem with a KEYPAIR containing a
space. I tried to reproduce that, but in the process I hit some errors:

Add a EC2 host:

onehost create eu-west-1 --im ec2 --vm ec2 --net dummy

Resulting in:

Mon Mar 31 14:56:06 2014 [InM][D]: Monitoring host eu-west-1 (4)
Mon Mar 31 14:56:07 2014 [InM][I]: Command execution fail:
/var/lib/one/remotes/im/run_probes ec2 /var/lib/one//datastores 4124 20
4 eu-west-1
Mon Mar 31 14:56:07 2014 [InM][I]:
/var/lib/one/remotes/vmm/ec2/ec2_driver.rb:304:in `*': nil can't be
coerced into Float (TypeError)
Mon Mar 31 14:56:07 2014 [InM][I]: from
/var/lib/one/remotes/vmm/ec2/ec2_driver.rb:304:in `block in
monitor_all_vms'
Mon Mar 31 14:56:07 2014 [InM][I]: from
/var/lib/one/remotes/vmm/ec2/ec2_driver.rb:303:in `each'
Mon Mar 31 14:56:07 2014 [InM][I]: from
/var/lib/one/remotes/vmm/ec2/ec2_driver.rb:303:in `monitor_all_vms'
Mon Mar 31 14:56:07 2014 [InM][I]: from ./poll:26:in `main'
Mon Mar 31 14:56:07 2014 [InM][E]: Error executing poll

Relevant info in ec2_driver.conf:

eu-west-1:
region_name: eu-west-1
access_key_id: STRING
secret_access_key: ANOTHER_STRING
capacity:
t1.micro: 1
m1.small:
m1.large:
m1.xlarge:

I added the t1.micro: 1.

This is opennebula 4.6 beta. Any hints?

Gr. Stefan


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


Re: [one-users] fault in opennebula?

2014-03-31 Thread Christophe Duez
thank you
I thought that i tried that before but it didn't work then.
Now it works!


On Mon, Mar 31, 2014 at 2:55 PM, Tino Vazquez cvazq...@c12g.com wrote:

 Hi,

 Since you are using a shared system datastore, you have to ensure that
  /var/lib/one/datastores/104 exists both in the front-end and the
 virtualization nodes. Please do the following:

* create  /var/lib/one/datastores/104 in the front-end
* export  /var/lib/one/datastores/104 via NFS
* mount in all the virtualization nodes
 /var/lib/one/datastores/104 (with the same path)

 Best regards,

 -Tino

 --
 OpenNebula - Flexible Enterprise Cloud Made Simple

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

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


 On 31 March 2014 11:47, Christophe Duez
 christophe.d...@student.uantwerpen.be wrote:
  Hi,
  I'm using OpenNebula 4.4.1 by C12G Labs.
 
 
  On Mon, Mar 31, 2014 at 11:35 AM, Tino Vazquez cvazq...@c12g.com
 wrote:
 
  Hi Christophe,
 
  That may be OK, which version of OpenNebula are you using?
 
  Best,
 
  -Tino
  --
  OpenNebula - Flexible Enterprise Cloud Made Simple
 
  --
  Constantino Vázquez Blanco, PhD, MSc
  Senior Infrastructure Architect at C12G Labs
  www.c12g.com | @C12G | es.linkedin.com/in/tinova
 
  --
  Confidentiality Warning: The information contained in this e-mail and
  any accompanying documents, unless otherwise expressly indicated, is
  confidential and privileged, and is intended solely for the person
  and/or entity to whom it is addressed (i.e. those identified in the
  To and cc box). They are the property of C12G Labs S.L..
  Unauthorized distribution, review, use, disclosure, or copying of this
  communication, or any part thereof, is strictly prohibited and may be
  unlawful. If you have received this e-mail in error, please notify us
  immediately by e-mail at ab...@c12g.com and delete the e-mail and
  attachments and any copy from your system. C12G thanks you for your
  cooperation.
 
 
  On 31 March 2014 10:11, Christophe Duez
  christophe.d...@student.uantwerpen.be wrote:
   fault in opennebula?
   So I added a new datastore from the CLI :
  
   $ cat system.ds
   NAME= nfs_ds
   TM_MAD  = shared
   TYPE= SYSTEM_DS
  
   $ onedatastore create system.ds
   ID: 104
  
   Now i'll go to opennebula and see that the path for that datastore is
   set to
   :
   Base path /var/lib/one//datastores/104
  
   The only problem is that there is no file called:
   /var/lib/one/datastores/104
  
   fault in my thinking or in opennebula?
  
  
   --
   Kind regards,
   Duez Christophe
   Student at University of Antwerp :
   Master of Industrial Sciences: Electronics-ICT
  
   E christophe.d...@student.uantwperen.be
   L linkedin duez-christophe
  
   ___
   Users mailing list
   Users@lists.opennebula.org
   http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
  
 
 
 
 
  --
  Kind regards,
  Duez Christophe
  Student at University of Antwerp :
  Master of Industrial Sciences: Electronics-ICT
 
  E christophe.d...@student.uantwperen.be
  L linkedin duez-christophe




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

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


Re: [one-users] fault in opennebula?

2014-03-31 Thread Christophe Duez
So this works now but the problem is when I want to add an new iso to this
datastore
(i made a system, image and file type)
the iso always turn to the error state


On Mon, Mar 31, 2014 at 2:55 PM, Tino Vazquez cvazq...@c12g.com wrote:

 Hi,

 Since you are using a shared system datastore, you have to ensure that
  /var/lib/one/datastores/104 exists both in the front-end and the
 virtualization nodes. Please do the following:

* create  /var/lib/one/datastores/104 in the front-end
* export  /var/lib/one/datastores/104 via NFS
* mount in all the virtualization nodes
 /var/lib/one/datastores/104 (with the same path)

 Best regards,

 -Tino

 --
 OpenNebula - Flexible Enterprise Cloud Made Simple

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

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


 On 31 March 2014 11:47, Christophe Duez
 christophe.d...@student.uantwerpen.be wrote:
  Hi,
  I'm using OpenNebula 4.4.1 by C12G Labs.
 
 
  On Mon, Mar 31, 2014 at 11:35 AM, Tino Vazquez cvazq...@c12g.com
 wrote:
 
  Hi Christophe,
 
  That may be OK, which version of OpenNebula are you using?
 
  Best,
 
  -Tino
  --
  OpenNebula - Flexible Enterprise Cloud Made Simple
 
  --
  Constantino Vázquez Blanco, PhD, MSc
  Senior Infrastructure Architect at C12G Labs
  www.c12g.com | @C12G | es.linkedin.com/in/tinova
 
  --
  Confidentiality Warning: The information contained in this e-mail and
  any accompanying documents, unless otherwise expressly indicated, is
  confidential and privileged, and is intended solely for the person
  and/or entity to whom it is addressed (i.e. those identified in the
  To and cc box). They are the property of C12G Labs S.L..
  Unauthorized distribution, review, use, disclosure, or copying of this
  communication, or any part thereof, is strictly prohibited and may be
  unlawful. If you have received this e-mail in error, please notify us
  immediately by e-mail at ab...@c12g.com and delete the e-mail and
  attachments and any copy from your system. C12G thanks you for your
  cooperation.
 
 
  On 31 March 2014 10:11, Christophe Duez
  christophe.d...@student.uantwerpen.be wrote:
   fault in opennebula?
   So I added a new datastore from the CLI :
  
   $ cat system.ds
   NAME= nfs_ds
   TM_MAD  = shared
   TYPE= SYSTEM_DS
  
   $ onedatastore create system.ds
   ID: 104
  
   Now i'll go to opennebula and see that the path for that datastore is
   set to
   :
   Base path /var/lib/one//datastores/104
  
   The only problem is that there is no file called:
   /var/lib/one/datastores/104
  
   fault in my thinking or in opennebula?
  
  
   --
   Kind regards,
   Duez Christophe
   Student at University of Antwerp :
   Master of Industrial Sciences: Electronics-ICT
  
   E christophe.d...@student.uantwperen.be
   L linkedin duez-christophe
  
   ___
   Users mailing list
   Users@lists.opennebula.org
   http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
  
 
 
 
 
  --
  Kind regards,
  Duez Christophe
  Student at University of Antwerp :
  Master of Industrial Sciences: Electronics-ICT
 
  E christophe.d...@student.uantwperen.be
  L linkedin duez-christophe




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

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


Re: [one-users] Opennebula problem with cephdatastore.

2014-03-31 Thread Jaime Melis
Hi Leszek,

what does /var/log/libvirtd/qemu/one-vmid.log say? (in the worker node)

Also, the fact that /var/lib/one/datastores/0/3/deployment.3 is truncated
after the failure is very strange, and I suspect it has nothing to do with
OpenNebula.


On Mon, Mar 31, 2014 at 2:27 PM, Leszek Master keks...@gmail.com wrote:

 I want to use ceph with opennebula as datastore. I've created ceph
 datastore using manual -
 http://archives.opennebula.org/documentation:archives:rel4.0:ceph_ds and
 i can see datastore space usage and i can import there image form market
 place, but i cannot start the VM from this image. The error is: Error
 deploying virtual machine: Could not create domain from
 /var/lib/one//datastores/0/3/deployment.3

 In the log i can see this: http://pastebin.com/9bUpxh1t

 When i use cat  EOT | /var/tmp/one/vmm/kvm/deploy
 '/var/lib/one//datastores/0/3/deployment.3' 'node-02' 3 node-02 in my
 node-02 server i can see

 http://pastebin.com/LbxqAEtV

 My datastore config:

 http://pastebin.com/QSqTBX6u

 And my vm template:

 http://pastebin.com/Gi72rwa3

 I also have seen situation where file
 /var/lib/one/datastores/0/3/deployment.3 is not empty, but the data from it
 disappear few seconds after Failed to creating VM.

 Please help me solve out my problem.

 ___
 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] EC2 driver error (ONE 4.6 beta)

2014-03-31 Thread Daniel Molina
Hi Stefan,


On 31 March 2014 15:16, Stefan Kooman ste...@bit.nl wrote:

 Hi,

 One of the TechDay attendee was so excited about cloud-bursting he
 tried the same evening in his own cloud. At first he didn't succeed.
 This turned out to be a template problem with a KEYPAIR containing a
 space. I tried to reproduce that, but in the process I hit some errors:

 Add a EC2 host:

 onehost create eu-west-1 --im ec2 --vm ec2 --net dummy

 Resulting in:

 Mon Mar 31 14:56:06 2014 [InM][D]: Monitoring host eu-west-1 (4)
 Mon Mar 31 14:56:07 2014 [InM][I]: Command execution fail:
 /var/lib/one/remotes/im/run_probes ec2 /var/lib/one//datastores 4124 20
 4 eu-west-1
 Mon Mar 31 14:56:07 2014 [InM][I]:
 /var/lib/one/remotes/vmm/ec2/ec2_driver.rb:304:in `*': nil can't be
 coerced into Float (TypeError)
 Mon Mar 31 14:56:07 2014 [InM][I]: from
 /var/lib/one/remotes/vmm/ec2/ec2_driver.rb:304:in `block in
 monitor_all_vms'
 Mon Mar 31 14:56:07 2014 [InM][I]: from
 /var/lib/one/remotes/vmm/ec2/ec2_driver.rb:303:in `each'
 Mon Mar 31 14:56:07 2014 [InM][I]: from
 /var/lib/one/remotes/vmm/ec2/ec2_driver.rb:303:in `monitor_all_vms'
 Mon Mar 31 14:56:07 2014 [InM][I]: from ./poll:26:in `main'
 Mon Mar 31 14:56:07 2014 [InM][E]: Error executing poll

 Relevant info in ec2_driver.conf:

 eu-west-1:
 region_name: eu-west-1
 access_key_id: STRING
 secret_access_key: ANOTHER_STRING
 capacity:
 t1.micro: 1
 m1.small:
 m1.large:
 m1.xlarge:

 I added the t1.micro: 1.

 This is opennebula 4.6 beta. Any hints?


Could you try removing the m1.small|large|... empty fields or setting them
to 0?

Cheers



 Gr. Stefan


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




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


[one-users] System datastore overcommitment

2014-03-31 Thread Ondrej Hamada

Hi guys,
I want to deploy my VM on a host whose system datastore has less space
than is supposed maximum size of my images. But since I'm using qcow2
images and there is quite huge reserve, I would like to deploy these
machines despite they can not pass the check. I also need regular users
to be able to deploy these machines - so deploying them manually under
oneadmin  account is not what i'm looking for. Is there some way how to
let users deploy such VMs?

Thank you in advance

--
Ondrej Hamada


This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you for understanding.


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


Re: [one-users] fault in opennebula?

2014-03-31 Thread Tino Vazquez
Hi,

Could you send us the contents of /var/log/one/oned.log (in the front-end)?

Regards,

-Tino
--
OpenNebula - Flexible Enterprise Cloud Made Simple

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

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


On 31 March 2014 15:35, Christophe Duez
christophe.d...@student.uantwerpen.be wrote:
 So this works now but the problem is when I want to add an new iso to this
 datastore
 (i made a system, image and file type)
 the iso always turn to the error state


 On Mon, Mar 31, 2014 at 2:55 PM, Tino Vazquez cvazq...@c12g.com wrote:

 Hi,

 Since you are using a shared system datastore, you have to ensure that
  /var/lib/one/datastores/104 exists both in the front-end and the
 virtualization nodes. Please do the following:

* create  /var/lib/one/datastores/104 in the front-end
* export  /var/lib/one/datastores/104 via NFS
* mount in all the virtualization nodes
 /var/lib/one/datastores/104 (with the same path)

 Best regards,

 -Tino

 --
 OpenNebula - Flexible Enterprise Cloud Made Simple

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

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


 On 31 March 2014 11:47, Christophe Duez
 christophe.d...@student.uantwerpen.be wrote:
  Hi,
  I'm using OpenNebula 4.4.1 by C12G Labs.
 
 
  On Mon, Mar 31, 2014 at 11:35 AM, Tino Vazquez cvazq...@c12g.com
  wrote:
 
  Hi Christophe,
 
  That may be OK, which version of OpenNebula are you using?
 
  Best,
 
  -Tino
  --
  OpenNebula - Flexible Enterprise Cloud Made Simple
 
  --
  Constantino Vázquez Blanco, PhD, MSc
  Senior Infrastructure Architect at C12G Labs
  www.c12g.com | @C12G | es.linkedin.com/in/tinova
 
  --
  Confidentiality Warning: The information contained in this e-mail and
  any accompanying documents, unless otherwise expressly indicated, is
  confidential and privileged, and is intended solely for the person
  and/or entity to whom it is addressed (i.e. those identified in the
  To and cc box). They are the property of C12G Labs S.L..
  Unauthorized distribution, review, use, disclosure, or copying of this
  communication, or any part thereof, is strictly prohibited and may be
  unlawful. If you have received this e-mail in error, please notify us
  immediately by e-mail at ab...@c12g.com and delete the e-mail and
  attachments and any copy from your system. C12G thanks you for your
  cooperation.
 
 
  On 31 March 2014 10:11, Christophe Duez
  christophe.d...@student.uantwerpen.be wrote:
   fault in opennebula?
   So I added a new datastore from the CLI :
  
   $ cat system.ds
   NAME= nfs_ds
   TM_MAD  = shared
   TYPE= SYSTEM_DS
  
   $ onedatastore create system.ds
   ID: 104
  
   Now i'll go to opennebula and see that the path for that datastore is
   set to
   :
   Base path /var/lib/one//datastores/104
  
   The only problem is that there is no file called:
   /var/lib/one/datastores/104
  
   fault in my thinking or in opennebula?
  
  
   --
   Kind regards,
   Duez Christophe
   Student at University of Antwerp :
   Master of Industrial Sciences: Electronics-ICT
  
   E christophe.d...@student.uantwperen.be
   L linkedin duez-christophe
  
   ___
   Users mailing list
   Users@lists.opennebula.org
   http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
  
 
 
 
 
  --
  Kind regards,
  Duez Christophe
  Student at University of Antwerp :
  Master of Industrial Sciences: Electronics-ICT
 
  E christophe.d...@student.uantwperen.be
  L 

Re: [one-users] Datastores

2014-03-31 Thread sam song

Hi Christophe,

You should take the datastore id as the mounted point of the iSCSI 
device in my opinion.
For example, you want to use iSCSI /dev/sdb as the storage device for 
datastore with id 101, so you should mount /dev/sdb on 
/var/lib/one/datastores/101.


Another way is to create a cluster with 
DATASTORE_LOCATION=/path/to/iSCSI/dev/mounted/point configuration, and 
create datastores in this cluster, then one will place datastore datas 
under the DATASTORE_LOCATION.


Details refer:
[1]: 
http://docs.opennebula.org/4.4/administration/storage/system_ds.html#step-2-assign-the-system-datastores


Sam

On 03/31/2014 06:21 PM, Christophe Duez wrote:

Hello,
I added an iSCSI target to my server that is running opennebula 4.4.1.
I mounted the iSCSI /dev/sdb on /var/lib/one/datastores/iSCSI1 type 
ext4 (rw)

Now I tried to added the Datastore to opennebula.
the problem is that opennebula does not get any information from the 
iSCSI.

anyone know what to do?
Thanks in advance

Kind regards


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


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


[one-users] Migration question: (new fields in ONE Templates)

2014-03-31 Thread Steven Timm


I am in early stages of testing out a new ONe 4.4 installation and
I am finding that there are some mandatory changes to the template syntax.
PORT=-1 for VNC  no longer allowed,  CPU, once optional, now required, and 
a few other changes.


My question for those of you who have done the upgrade from version 
3.x (any version ) using the upgrade
scripts:  does it do the fixes for all the templates that are in 
template_pool of the database so that they conform to the new syntax, or

are you on your own for that?

Steve Timm


--
Steven C. Timm, Ph.D  (630) 840-8525
t...@fnal.gov  http://home.fnal.gov/~timm/
Fermilab Scientific Computing Division, Scientific Computing Services Quad.
Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] EC2 driver error (ONE 4.6 beta)

2014-03-31 Thread Stefan Kooman
Quoting Daniel Molina (dmol...@opennebula.org):
 
 Could you try removing the m1.small|large|... empty fields or setting them
 to 0?

That helps :).

I was able to reproduce the issue with a KEYPAIR with a
white space, i.e. key space in a EC2 VM template:

Mon Mar 31 21:46:59 2014 [VMM][E]: Error parsing monitoring information:
USEDMEMORY=0 USEDCPU=0 NETTX=0 NETRX=0 STATE=a
AWS_DNS_NAME=ec2-54-72-149-220.eu-west-1.compute.amazonaws.com
AWS_PRIVATE_DNS_NAME=ip-172-31-21-87.eu-west-1.compute.internal
AWS_KEY_NAME=key space AWS_AVAILABILITY_ZONE=eu-west-1c
AWS_VPC_ID=vpc-7ef7b615 AWS_PRIVATE_IP_ADDRESS=172.31.21.87
AWS_IP_ADDRESS=54.72.149.220 AWS_SUBNET_ID=subnet-7cf7b617
AWS_SECURITY_GROUPS=sg-1a5bb275 AWS_INSTANCE_TYPE=t1.micro

If I use a KEYPAIR without space(s) it it able to monitor correctly:
[VMM][D]: VM $ONE_ID successfully monitored:

I created issues #2820 and #2821.

Gr. Stefan

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


[one-users] blktap xen 4.2 and opennebula 4.2

2014-03-31 Thread kenny . kenny
 
Hello, i try to force the driver in the image but i got this error in var/log/one/.log 
 
Sun Mar 30 23:59:04 2014 [DiM][I]: New VM state is ACTIVE.Sun Mar 30 23:59:04 2014 [LCM][I]: New VM state is PROLOG.Sun Mar 30 23:59:04 2014 [VM][I]: Virtual Machine has no contextSun Mar 30 23:59:13 2014 [LCM][I]: New VM state is CLEANUP.Sun Mar 30 23:59:14 2014 [DiM][I]: New VM state is DONESun Mar 30 23:59:14 2014 [TM][W]: Ignored: LOG I 1687 Driver command for 1687 cancelled
Sun Mar 30 23:59:42 2014 [TM][W]: Ignored: TRANSFER SUCCESS 1687 -
And vm didnt start .
do you know what is this ?
thanks.

De: jfon...@opennebula.orgEnviada: Sexta-feira, 28 de Março de 2014 16:11Para: kenny.ke...@bol.com.brAssunto: [one-users] blktap xen 4.2 and opennebula 4.2On Fri, Mar 28, 2014 at 3:37 PM, kenny.ke...@bol.com.br wrote: Thanks for the reply, i forgot to say im using NFS. Its a problem ?It should not be a problem. I will check the files in the remote host. It´s in the same folder ?No, in the nodes they reside in /var/tmp/one. I will see if the image has a driver. I can chage the image driver or i need to create a new one ?You can use "oneimage update" command or the Sunstone web interface  De: jfon...@opennebula.org Enviada: Sexta-feira, 28 de Março de 2014 12:36 Para: kenny.ke...@bol.com.br Assunto: [one-users] blktap xen 4.2 and opennebula 4.2 Is it possible that you have a driver defined in the image you are attaching? An explicit driver takes precedence over the default one configured. Still, I've made the test with a vanilla OpenNebula 4.2 installation and the tips I've sent you work nicely. To test this I've changed the prefix to a wrong one so we can see the command: * Changed /var/lib/one/remotes/vmm/xen4/xenrc and set this line: export DEFAULT_FILE_PREFIX="this:should:not:work" * Executed "onehost sync" as oneadmin user. This part is very important as the nodes have a copy of driver files (remotes) and we need to update those files in the nodes when we modify something in the frontend. * Waited for the next monitoring cycle of all nodes. In OpenNebula 4.2 the copy of remotes is done in the monitorization phase * Attach disk: $ onevm disk-attach 0 --image data * Got the error: ERROR="Fri Mar 28 12:41:33 2014 : Error attaching new VM Disk: Could not attach this:should:not:work:/home/one/one/install-4.2/var//datastores/0/0/disk.1 (sda) to one-0" On Thu, Mar 27, 2014 at 8:18 PM, kenny.ke...@bol.com.br wrote: see atached files. thanks.  De: jfon...@gmail.com Enviada: Quinta-feira, 27 de Março de 2014 19:18 Para: kenny.ke...@bol.com.br Assunto: [one-users] blktap xen 4.2 and opennebula 4.2 Disregard the --force. I've misread the problem. The parameter --force does not work in one 4.2. Just execute: onehost sync On Thu, Mar 27, 2014 at 7:07 PM, Javier Fontan jfon...@gmail.com wrote: Are you sure that the drivers uncomented are xen4 and not xen3? Also, can you send me the file xenrc you've changed? That "invalid option: --force" is so strange. On Thu, Mar 27, 2014 at 7:03 PM, kenny.ke...@bol.com.br wrote: it didnt work. i received this message invalid option: --force and it always use file insstead of tap2:aio i dont know what to do.  De: jfon...@gmail.com Enviada: Quinta-feira, 27 de Março de 2014 18:08 Para: kenny.ke...@bol.com.br Assunto: [one-users] blktap xen 4.2 and opennebula 4.2 You can change it in in "/var/lib/one/remotes/vmm/xen4/xenrc", the parameter is DEFAULT_FILE_PREFIX. Remember to do a onehost sync --force so these files are copied to the remote hosts. On Thu, Mar 27, 2014 at 3:54 AM, kenny.ke...@bol.com.br wrote: Hello, i need to use blktap instead of default disk drive. i changed /var/lib/one/remotes/vmm/xen4/attach_disk and /etc/one/vmm_exec/vmm_exec_xen4.conf , but when take a look at deployment.0 , it always with "file:". What i need to do to change that ? I will change it beacuase with file i can run just 8 vm per node. thank ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Javier Fontán Muiños OpenNebula Developer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | @OpenNebula | github.com/jfontan -- Javier Fontán Muiños OpenNebula Developer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | @OpenNebula | github.com/jfontan -- Javier Fontán Muiños OpenNebula Developer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | @OpenNebula | github.com/jfontan -- Javier Fontán Muiños Developer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | @OpenNebula | github.com/jfontan-- Javier Fontán MuiñosDeveloperOpenNebula - The Open Source Toolkit for Data Center Virtualizationwww.OpenNebula.org | @OpenNebula | github.com/jfontan
 

[one-users] RAW section--can it be included in devices/devices?

2014-03-31 Thread Steven C Timm
I would like to configure some OpenNebula VM's to have a serial console that 
can be accessed via the virsh console command.

The following xml works if it is inserted  manually  before the /devices tag 
in the deployment.0

serial type='pty'
target port='0'/
/serial
console type='pty'
target type='serial' port='0'/
/console

But if I put it in the RAW section it ends up outside of the /devices tag at 
the very end of the xml.  Is there any way to get the RAW section inside the 
devices/devices section of the XML?

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