Re: [one-users] Ports OpenNebula

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

On Wed, Nov 12, 2014 at 11:16 AM, Maria Jular maria.ju...@fcsc.es wrote:

 Hello everyone,

 Is there an OpenNebula document where all necessary ports to access the
 platform from remote sites appear?


We don't have a document specifically for that, but you can find all the
needed ports in the conf files.

For sunstone [1], you will need to open :port and :vnc_proxy_port. By
default, 9869 and 29876.

If you also need to access oned, to use the CLI remotely, the port is in
oned.conf [2]. OneFlow is a separate server, and you need to open its port
[3] also to use the CLI remotely.

Regards

[1]
http://docs.opennebula.org/4.10/administration/sunstone_gui/sunstone.html#configuration
[2] http://docs.opennebula.org/4.10/administration/references/oned_conf.html
[3]
http://docs.opennebula.org/4.10/advanced_administration/application_flow_and_auto-scaling/appflow_configure.html
--
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


[one-users] IOPS in quota section for 4.12

2014-11-13 Thread kiran ranjane
Hi Team,

I think we should add IOPS in quota section where in oneadmin can assign
IOPS at user and group level.

For example :

-- Oneadmin assigns 2000 IOPS to a particular user, which means that
particular user should not exceed 2000 IOPS on his total number of VM that
he is running.

-- After IOPS is assigned to user/group through quota section, Cloud view
user should be able to assign IOPS at VM disks level as per his choice.
(eg: if a user/group is assigned quota of 2000 IOPS then he should have the
ability to set IOPS of the VM disk before starting the VM.)

User/Group have total IOPS Quota = 2000

User Sets IOPS at Disk Level :
Virtual Machine OS disk = 300 IOPS
Virtual Machine Data Disk  = 300 IOPS

Total remaining IOPS = 1400 IOPS

I really think this feature should be a must add in quota section as it
will easy many things related to default way of assigning IOPS to VM.

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


Re: [one-users] IOPS in quota section for 4.12

2014-11-13 Thread Steven C Timm
Good idea.  In general it would be nice to be able to set the various 
quantities which can
be controlled by the RHEV extended libvirt functions which include IOPS but 
also network bandwidth.

Steve


From: Users [users-boun...@lists.opennebula.org] on behalf of kiran ranjane 
[kiran.ranj...@gmail.com]
Sent: Thursday, November 13, 2014 5:16 PM
To: users
Subject: [one-users] IOPS in quota section for 4.12

Hi Team,

I think we should add IOPS in quota section where in oneadmin can assign IOPS 
at user and group level.

For example :

-- Oneadmin assigns 2000 IOPS to a particular user, which means that particular 
user should not exceed 2000 IOPS on his total number of VM that he is running.

-- After IOPS is assigned to user/group through quota section, Cloud view user 
should be able to assign IOPS at VM disks level as per his choice. (eg: if a 
user/group is assigned quota of 2000 IOPS then he should have the ability to 
set IOPS of the VM disk before starting the VM.)

User/Group have total IOPS Quota = 2000

User Sets IOPS at Disk Level :
Virtual Machine OS disk = 300 IOPS
Virtual Machine Data Disk  = 300 IOPS

Total remaining IOPS = 1400 IOPS

I really think this feature should be a must add in quota section as it will 
easy many things related to default way of assigning IOPS to VM.

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


Re: [one-users] Contextualization with Cloud-init debug

2014-11-12 Thread Javier Fontan
Cloud-init log files are /var/log/cloud-init.log and
/var/log/cloud-init-output.log. You can also check the information it has
processed at /var/lib/cloud.

On Thu Oct 30 2014 at 5:07:49 PM Javier Juarez javier.jua...@gmail.com
wrote:

 Hi Vicent,

 I´m using a CentOS 6.5 OS base.
 I have configured the SELinux pocily with permissive
 I think that my cloud-init context file´s identation is correct...
 by the way, where is the cloud-init´s log file?

 thanks in advance, regards
 Javier

 On Thu, Oct 30, 2014 at 4:29 PM, vinc...@vanderkussen.org wrote:

 On 2014-10-30 15:33, Javier Juarez wrote:

 Hi dudes,

 I´m trying to make a small provisioning of our VMs based on cloud-init
 without success. The contextualization process works well apparently (our
 network interfaces and ssh keys have been deployed), but I think that the
 cloud-init phase does not work at all. Any ideas about how to debug this
 kind of behaviour after the contextualization step.

 We are using OpenNebula versión 4.8.0, our images have the
 contextualization package version 4.8.0 and our context file looks like
 that:

 CONTEXT=[
   NETWORK=YES,
   SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY],
   USER_DATA=#cloud-config
 bootcmd:
   - yum clean all
   - yum -y update
 packages:
   - tree
   - lsof
 runcmd:
   - curl http://sfs.csic.es/mri-installer/scripts/install_mri.sh|sh
   - curl http://sfs.csic.es/chef-installer/scripts/install_chef.sh|sh
 ]

 thanks in advance,
 Javier


 Hi Javier,

 Since cloud-init uses yaml for its config file you need to make sure
 indentation/syntax is correct.
 You can see this in the cloud-init logfile inside the VM (something like
 : can't read yaml blob).

 What OS are you using for the VM? When its CentOS/RHEL with Selinux
 enabled, you'll probably need to
 install a SELinux policy (i needed to in CentOS7).

 Regards,
 Vincent

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




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

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


[one-users] Ports OpenNebula

2014-11-12 Thread Maria Jular
Hello everyone,

Is there an OpenNebula document where all necessary ports to access the 
platform from remote sites appear?

Kind Regards.

---
María Jular Castañeda
Técnico de Sistemas

Tfn: +34-987-29 33 23 / e-mail: maria.ju...@fcsc.esmailto:x...@fcsc.es
http://www.fcsc.es
Edificio CRAI-TIC.  Campus de Vegazana, s/n. Universidad de León
24071 León



[cid:image001.jpg@01CFFE69.5A42EB70]


[cid:image002.png@01CFFE69.5A42EB70]

Este mensaje se dirige exclusivamente a su destinatario y puede contener 
información privilegiada o confidencial. Si Vd. no es el destinatario indicado, 
queda notificado de que la lectura, utilización, divulgación y/o copia sin 
autorización está prohibida en virtud de la legislación vigente.   Si ha 
recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente 
por esta misma vía y proceda a su destrucción. El correo electrónico vía 
Internet no permite asegurar la confidencialidad de los mensajes que se 
transmiten ni su integridad o correcta recepción. La Fundación Centro de 
Supercomputación de Castilla y León no asume ninguna responsabilidad por estas 
circunstancias.

This message is intended exclusively for its addressee and may contain 
information that is CONFIDENTIAL and protected by a professional privilege or 
whose disclosure is prohibited by law. If you are not the intended recipient 
you are hereby notified that any read, dissemination, copy or disclosure of 
this communication is strictly prohibited by law.
If this message has been received in error, please immediately notify us via 
e-mail and delete it. Internet e-mail neither guarantees the confidentiality 
nor the integrity or proper receipt of the messages sent. Fundación Centro de 
Supercomputación de Castilla y León does not assume any liability for those 
circumstances.



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


[one-users] Ceph image format 2 issue for nonpersistent disks

2014-11-12 Thread Joe Mauer
Dear List,

I´m evaluating a one 4.8 setup, using a ceph 0.72.2 cluster, RBD_FORMAT=2

Using the clone option instead of copying images to be able to
instantiating vms quickly does make this solution very interesting for us,
but I ran into a rather big issue that I´m currently
not able to solve (I´m not a ceph or one expert ;-)).
I could not find anything similar on the net, so it might be a
configuration issue, but I currently ran out of ideas to debug it.

In both test clouds, I instaniciated a virtual machine (ID 234 below) from
a non-persistent image (e.g. Ubuntu 14.04 from the marketplace), did some
changes (e.g. changed the hostname, thats why I discoverd the problem in
the first place), updates ... software installation...

After a while, when starting a new vm (ID 239) from the (still
non-persistent) image I get fsck messages when booting and have packages,
and e.g. the hostname from the first vm.

Thank you in advance for taking a look.

## first vm ##
 onevm show 234
VIRTUAL MACHINE 234 INFORMATION
ID  : 234
NAME: jenkinssetup
USER: op
GROUP   : opsadmin
STATE   : ACTIVE
LCM_STATE   : RUNNING
RESCHED : No
HOST: vnode6
CLUSTER ID  : 102
CLUSTER : External
START TIME  : 11/05 16:13:16
END TIME: -
DEPLOY ID   : one-234

VM DISKS
 ID TARGET IMAGE   TYPE SAVE SAVE_AS
  1 vdaUbuntu-14.04-one-4.8rbdNO   -

VM NICS
 ID NETWORK  VLAN BRIDGE   IP  MAC
  0 Net_ext yes br0  10.10.10.10   02:00:5e:e6:38:8c

VIRTUAL MACHINE HISTORY
SEQ HOSTACTION DS   STARTTIME
PROLOG
  0 vnode6  none  103  11/05 16:13:42   6d 19h27m
0h00m01s

VIRTUAL MACHINE TEMPLATE
AUTOMATIC_REQUIREMENTS=CLUSTER_ID = 102  !(PUBLIC_CLOUD = YES)
CONTEXT=[
  DISK_ID=0,
  ETH0_DNS=10.10.10.1,
  ETH0_GATEWAY=10.10.10.1,
  ETH0_IP=10.10.10.10,
  ETH0_MAC=02:00:5e:e6:38:8c,
  ETH0_MASK=255.255.255.0,
  ETH0_NETWORK=10.10.10.0,
  HOSTNAME=jenkinssetup,
  NETWORK=YES,
  TARGET=hda ]
CPU=2
GRAPHICS=[
  KEYMAP=de,
  LISTEN=0.0.0.0,
  PORT=6134,
  TYPE=VNC ]
MEMORY=2048
TEMPLATE_ID=15
VCPU=1
VMID=234


# second vm #
onevm show 239
VIRTUAL MACHINE 239 INFORMATION
ID  : 239
NAME: Ubuntu 14.04 - KVM - OpenNebula 4.8-239
USER: oneadmin
GROUP   : oneadmin
STATE   : ACTIVE
LCM_STATE   : RUNNING
RESCHED : No
HOST: vnode5
CLUSTER ID  : 102
CLUSTER : External
START TIME  : 11/12 10:35:27
END TIME: -
DEPLOY ID   : one-239

VIRTUAL MACHINE MONITORING
USED CPU: 0
NET_RX  : 959K
USED MEMORY : 779.5M
NET_TX  : 55K

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

VM DISKS
 ID TARGET IMAGE   TYPE SAVE SAVE_AS
  0 vdaUbuntu-14.04-one-4.8rbdNO   -

VM NICS
 ID NETWORK  VLAN BRIDGE   IP  MAC
  0 net-ext2 yes br0  10.10.10.105   02:00:5e:e6:35:69

VIRTUAL MACHINE HISTORY
SEQ HOSTACTION DS   STARTTIME
PROLOG
  0 vnode5  none  103  11/12 10:35:28   0d 01h16m
0h00m04s

VIRTUAL MACHINE TEMPLATE
AUTOMATIC_REQUIREMENTS=CLUSTER_ID = 102  !(PUBLIC_CLOUD = YES)
CONTEXT=[
  DISK_ID=1,
  ETH0_DNS=10.10.10.1,
  ETH0_GATEWAY=10.10.10.1,
  ETH0_IP=10.10.10.105,
  ETH0_MAC=02:00:5e:e6:35:69,
  ETH0_MASK=255.255.255.0,
  ETH0_NETWORK=10.10.10.0,
  NETWORK=YES,
  TARGET=hda ]
CPU=1
GRAPHICS=[
  LISTEN=0.0.0.0,
  PORT=6139,
  TYPE=vnc ]
MEMORY=768
OS=[
  ARCH=x86_64 ]
TEMPLATE_ID=22
VMID=239



oneimage show 90
IMAGE 90 INFORMATION
ID : 90
NAME   : Ubuntu-14.04-one-4.8
USER   : oneadmin
GROUP  : oneadmin
DATASTORE  : ceph
TYPE   : OS
REGISTER TIME  : 10/29 22:13:27
PERSISTENT : No
SOURCE : one/one-90
PATH   :
http://marketplace.c12g.com/appliance/53e7c1b28fb81d6a6903/download/0
SIZE   : 10G
STATE  : used
RUNNING_VMS: 2

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

IMAGE TEMPLATE
DEV_PREFIX=hd
FROM_APP=53e7c1b28fb81d6a6903
FROM_APP_FILE=0
FROM_APP_NAME=Ubuntu 14.04 - KVM - OpenNebula 4.8
MD5=bdbd7fdced3ba5be52ba60e801c0b3e0

VIRTUAL MACHINES

ID USER GROUPNAMESTAT UCPUUMEM HOST
TIME
   234 op opsadmin jenkinssetuprunn02.1G vnode6   6d 19h47
   239 oneadmin oneadmin Ubuntu 14.04 -  runn0  779.5M vnode5   0d
01h25

 datastore 
oneadmin@oned:~$ onedatastore show 102
DATASTORE 102 INFORMATION
ID : 

Re: [one-users] econe server and sha1

2014-11-12 Thread Alejandro Feijóo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

hi!

#
# Auth
#

# Authentication driver for incomming requests
#   - ec2, default Acess key and Secret key scheme
#   - x509, for x509 certificates based authentication
:auth: ec2

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



in sunstone-server we have:
:auth: opennebula

:core_auth: cipher





El 11/11/14 15:02, Daniel Molina escribió:
 Hi,
 
 What auth driver are you using in econe.conf?
 
 Cheers
 
 On 10 November 2014 09:17, Alejandro Feijóo alfei...@cesga.es wrote:
 
 Any idea where to touch... because still with the same error.
 
 [oneadmin@test11 ~]$ oneuser show 17
 USER 17 INFORMATION
 ID  : 17
 NAME: alfeijooec2
 GROUP   : users
 PASSWORD: 30e3ef7255df9b52fa130697ef83348f7ed5
 AUTH_DRIVER : core
 ENABLED : Yes
 
 USER TEMPLATE
 DEFAULT_VIEW=user
 TOKEN_PASSWORD=7aafcdf5de6b49c4bbc8e31787a674080c9c
 
 RESOURCE USAGE  QUOTAS
 
 DATASTORE ID   IMAGESSIZE
1 1 /-  40M /-
 
 [oneadmin@test11 ~]$ econe-describe-images --access-key alfeijooec2
 --secret-key 30e3ef7255df9b52fa130697ef83348f7ed5
 
 econe-describe-images: The username or password is not correct
 
 [oneadmin@test11 ~]$ econe-describe-images --access-key alfeijooec2
 --secret-key 7aafcdf5de6b49c4bbc8e31787a674080c9c
 
 econe-describe-images: The username or password is not correct
 
 
 pd. alfeijooec2 can instantiate mv through ONE and Sunstone.
 
 Thanks again :D
 
 El 06/11/14 09:27, Daniel Molina escribió:
 That's right, if you use alfeijooec2 through ec2 you don't have to change
 anything, just use the password returned by oneshow user show alfeijooec2
 as AWS_SECRET_KEY

 On 6 November 2014 09:23, Alejandro Feijóo alfei...@cesga.es wrote:

 Oh...

 I have that 2 users.

   14 alfeijoousers  ldap   1 /   -   1024M /   -
 1.0 /   -
   17 alfeijooec2 users  core - -
-

 I understant that user 14 never work in these scenario?  but user 17 may?

 Thanks :)


 El 06/11/14 08:56, Daniel Molina escribió:
 Hi,

 LDAP authentication is not supported through ec2, at least using
 regular
 clients. If you want to use this kind of authentication you have to
 change
 the auth method to opennebla in the econe.conf file and include the
 Basic
 Auth headers in every ec2 request

 Cheers

 On 6 November 2014 08:27, Alejandro Feijóo alfei...@cesga.es wrote:

 Hi sorry for the delay... i was on vacation...

 Yes that was one of the test that i did... but with the same error.

 its possible any kind of problems when use ldap?

 any random recomendation? :D

 Thanks in advance.


 El 24/10/14 10:30, Daniel Molina escribió:


 ___
 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




 

 
 
 

- -- 
Alejandro Feijóo Fraga
Systems Technician
CESGA
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJUY1AwAAoJEKshAoM6XWq5LTIH/0vdyauqZcWr6MdemCEKPzM3
i01ZBGMXkHdbvJLI2y2WN6kiseIMPJMzPvOEmvDVDEnfoMQ8TpLRKi7XL4lKFLs7
YSACDWsz9Kq58fCsVKXr/WXs7HPiDdtN615UrUdRk0DbC78PRJ4vTbhLZMmUQ4Z1
rTB3GJxJiGcfAt0AREOb7DRJXL2sQLpYfy0ejpHfpx69DT1cFbm7ntPbhN/D5KiO
60ErHu690Np7jdS2b4jyIvUwdCuBXa3lTEuBT/5qj14zYt6DI1ZrjltBHZhlM+80
87h01cME22tg1+fhTsS4+FDbvqg8xcfEAN+lJ43/1lGWErZT8tGdrgozH6gk2Hs=
=7Frd
-END PGP SIGNATURE-
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Ceph image format 2 issue for nonpersistent disks

2014-11-12 Thread Joe Mauer
Dear list,
sometimes it helps to write things down.
By looking at libvirt dumxml
 vm 234 
disk type='network' device='disk'
  driver name='qemu' type='raw' cache='writeback'/
  auth username='libvirt'
secret type='ceph' uuid='2f146016-197e-4c94-ba2d-6be68d75034a'/
  /auth
  source protocol='rbd' name='one/one-90'/
  target dev='vda' bus='virtio'/
  alias name='virtio-disk0'/
  address type='pci' domain='0x' bus='0x00' slot='0x05'
function='0x0'/
/disk



It seems like the vm has the wrong rbd image attached (one/one-90, not
one-90-234-1), or am I wrong here?

vm 239 is fine:
##
disk type='network' device='disk'
  driver name='qemu' type='raw' cache='writeback'/
  auth username='libvirt'
secret type='ceph' uuid='2f146016-197e-4c94-ba2d-6be68d75034a'/
  /auth
  source protocol='rbd' name='one/one-90-239-0'/
  target dev='vda' bus='virtio'/
  alias name='virtio-disk0'/
  address type='pci' domain='0x' bus='0x00' slot='0x04'
function='0x0'/
/disk


looking at the deployment files, it seems that in the first vm(234), i did
attach the disk after creating the vm.



On Wed, Nov 12, 2014 at 12:13 PM, Joe Mauer aask...@gmail.com wrote:

 Dear List,

 I´m evaluating a one 4.8 setup, using a ceph 0.72.2 cluster, RBD_FORMAT=2

 Using the clone option instead of copying images to be able to
 instantiating vms quickly does make this solution very interesting for us,
 but I ran into a rather big issue that I´m currently
 not able to solve (I´m not a ceph or one expert ;-)).
 I could not find anything similar on the net, so it might be a
 configuration issue, but I currently ran out of ideas to debug it.

 In both test clouds, I instaniciated a virtual machine (ID 234 below) from
 a non-persistent image (e.g. Ubuntu 14.04 from the marketplace), did some
 changes (e.g. changed the hostname, thats why I discoverd the problem in
 the first place), updates ... software installation...

 After a while, when starting a new vm (ID 239) from the (still
 non-persistent) image I get fsck messages when booting and have packages,
 and e.g. the hostname from the first vm.

 Thank you in advance for taking a look.

 ## first vm ##
  onevm show 234
 VIRTUAL MACHINE 234 INFORMATION
 ID  : 234
 NAME: jenkinssetup
 USER: op
 GROUP   : opsadmin
 STATE   : ACTIVE
 LCM_STATE   : RUNNING
 RESCHED : No
 HOST: vnode6
 CLUSTER ID  : 102
 CLUSTER : External
 START TIME  : 11/05 16:13:16
 END TIME: -
 DEPLOY ID   : one-234

 VM DISKS
  ID TARGET IMAGE   TYPE SAVE SAVE_AS
   1 vdaUbuntu-14.04-one-4.8rbdNO   -

 VM NICS
  ID NETWORK  VLAN BRIDGE   IP  MAC
   0 Net_ext yes br0  10.10.10.10   02:00:5e:e6:38:8c

 VIRTUAL MACHINE HISTORY
 SEQ HOSTACTION DS   STARTTIME
 PROLOG
   0 vnode6  none  103  11/05 16:13:42   6d 19h27m
 0h00m01s

 VIRTUAL MACHINE TEMPLATE
 AUTOMATIC_REQUIREMENTS=CLUSTER_ID = 102  !(PUBLIC_CLOUD = YES)
 CONTEXT=[
   DISK_ID=0,
   ETH0_DNS=10.10.10.1,
   ETH0_GATEWAY=10.10.10.1,
   ETH0_IP=10.10.10.10,
   ETH0_MAC=02:00:5e:e6:38:8c,
   ETH0_MASK=255.255.255.0,
   ETH0_NETWORK=10.10.10.0,
   HOSTNAME=jenkinssetup,
   NETWORK=YES,
   TARGET=hda ]
 CPU=2
 GRAPHICS=[
   KEYMAP=de,
   LISTEN=0.0.0.0,
   PORT=6134,
   TYPE=VNC ]
 MEMORY=2048
 TEMPLATE_ID=15
 VCPU=1
 VMID=234


 # second vm #
 onevm show 239
 VIRTUAL MACHINE 239 INFORMATION
 ID  : 239
 NAME: Ubuntu 14.04 - KVM - OpenNebula 4.8-239
 USER: oneadmin
 GROUP   : oneadmin
 STATE   : ACTIVE
 LCM_STATE   : RUNNING
 RESCHED : No
 HOST: vnode5
 CLUSTER ID  : 102
 CLUSTER : External
 START TIME  : 11/12 10:35:27
 END TIME: -
 DEPLOY ID   : one-239

 VIRTUAL MACHINE MONITORING
 USED CPU: 0
 NET_RX  : 959K
 USED MEMORY : 779.5M
 NET_TX  : 55K

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

 VM DISKS
  ID TARGET IMAGE   TYPE SAVE SAVE_AS
   0 vdaUbuntu-14.04-one-4.8rbdNO   -

 VM NICS
  ID NETWORK  VLAN BRIDGE   IP  MAC
   0 net-ext2 yes br0  10.10.10.105   02:00:5e:e6:35:69

 VIRTUAL MACHINE HISTORY
 SEQ HOSTACTION DS   STARTTIME
 PROLOG
   0 vnode5  none  103  11/12 10:35:28   0d 01h16m
 0h00m04s

 VIRTUAL MACHINE TEMPLATE
 AUTOMATIC_REQUIREMENTS=CLUSTER_ID = 102  !(PUBLIC_CLOUD = YES)
 

Re: [one-users] Ceph image format 2 issue for nonpersistent disks

2014-11-12 Thread Joe Mauer
Hi,

I´m really sorry for the noise,
but I am able to reproduce the problem now by attaching a non-persistent
image to a diskless vm.

Could somebody try to verify this, please?:

Setup:
ceph datastore, RBD_FORMAT=2
opennebula 4.8 (Sorry, I was not able to update yet)
I run Ubuntu 12.04, kvm

Steps:
1) Create a disk on the ceph datastore (I used the marketplace),
- non-persistent
2) create a template with no disk attached.
3) instantiate a vm from 2)
4) attach disk from 1)   - (On my side, the original disk, not the clone
is attached according to virsh dumpxml)

5) write a file to the vm and sync or reboot
6) delete the vm and
7) recreate a new one with the disk from 1)
8) Look for file created in 5)




On Wed, Nov 12, 2014 at 1:20 PM, Joe Mauer aask...@gmail.com wrote:

 Dear list,
 sometimes it helps to write things down.
 By looking at libvirt dumxml
  vm 234 
 disk type='network' device='disk'
   driver name='qemu' type='raw' cache='writeback'/
   auth username='libvirt'
 secret type='ceph' uuid='2f146016-197e-4c94-ba2d-6be68d75034a'/
   /auth
   source protocol='rbd' name='one/one-90'/
   target dev='vda' bus='virtio'/
   alias name='virtio-disk0'/
   address type='pci' domain='0x' bus='0x00' slot='0x05'
 function='0x0'/
 /disk

 

 It seems like the vm has the wrong rbd image attached (one/one-90, not
 one-90-234-1), or am I wrong here?

 vm 239 is fine:
 ##
 disk type='network' device='disk'
   driver name='qemu' type='raw' cache='writeback'/
   auth username='libvirt'
 secret type='ceph' uuid='2f146016-197e-4c94-ba2d-6be68d75034a'/
   /auth
   source protocol='rbd' name='one/one-90-239-0'/
   target dev='vda' bus='virtio'/
   alias name='virtio-disk0'/
   address type='pci' domain='0x' bus='0x00' slot='0x04'
 function='0x0'/
 /disk


 looking at the deployment files, it seems that in the first vm(234), i did
 attach the disk after creating the vm.



 On Wed, Nov 12, 2014 at 12:13 PM, Joe Mauer aask...@gmail.com wrote:

 Dear List,

 I´m evaluating a one 4.8 setup, using a ceph 0.72.2 cluster, RBD_FORMAT=2

 Using the clone option instead of copying images to be able to
 instantiating vms quickly does make this solution very interesting for us,
 but I ran into a rather big issue that I´m currently
 not able to solve (I´m not a ceph or one expert ;-)).
 I could not find anything similar on the net, so it might be a
 configuration issue, but I currently ran out of ideas to debug it.

 In both test clouds, I instaniciated a virtual machine (ID 234 below)
 from a non-persistent image (e.g. Ubuntu 14.04 from the marketplace), did
 some changes (e.g. changed the hostname, thats why I discoverd the problem
 in the first place), updates ... software installation...

 After a while, when starting a new vm (ID 239) from the (still
 non-persistent) image I get fsck messages when booting and have packages,
 and e.g. the hostname from the first vm.

 Thank you in advance for taking a look.

 ## first vm ##
  onevm show 234
 VIRTUAL MACHINE 234 INFORMATION
 ID  : 234
 NAME: jenkinssetup
 USER: op
 GROUP   : opsadmin
 STATE   : ACTIVE
 LCM_STATE   : RUNNING
 RESCHED : No
 HOST: vnode6
 CLUSTER ID  : 102
 CLUSTER : External
 START TIME  : 11/05 16:13:16
 END TIME: -
 DEPLOY ID   : one-234

 VM DISKS
  ID TARGET IMAGE   TYPE SAVE SAVE_AS
   1 vdaUbuntu-14.04-one-4.8rbdNO   -

 VM NICS
  ID NETWORK  VLAN BRIDGE   IP  MAC
   0 Net_ext yes br0  10.10.10.10   02:00:5e:e6:38:8c

 VIRTUAL MACHINE HISTORY
 SEQ HOSTACTION DS   STARTTIME
 PROLOG
   0 vnode6  none  103  11/05 16:13:42   6d 19h27m
 0h00m01s

 VIRTUAL MACHINE TEMPLATE
 AUTOMATIC_REQUIREMENTS=CLUSTER_ID = 102  !(PUBLIC_CLOUD = YES)
 CONTEXT=[
   DISK_ID=0,
   ETH0_DNS=10.10.10.1,
   ETH0_GATEWAY=10.10.10.1,
   ETH0_IP=10.10.10.10,
   ETH0_MAC=02:00:5e:e6:38:8c,
   ETH0_MASK=255.255.255.0,
   ETH0_NETWORK=10.10.10.0,
   HOSTNAME=jenkinssetup,
   NETWORK=YES,
   TARGET=hda ]
 CPU=2
 GRAPHICS=[
   KEYMAP=de,
   LISTEN=0.0.0.0,
   PORT=6134,
   TYPE=VNC ]
 MEMORY=2048
 TEMPLATE_ID=15
 VCPU=1
 VMID=234


 # second vm #
 onevm show 239
 VIRTUAL MACHINE 239 INFORMATION
 ID  : 239
 NAME: Ubuntu 14.04 - KVM - OpenNebula 4.8-239
 USER: oneadmin
 GROUP   : oneadmin
 STATE   : ACTIVE
 LCM_STATE   : RUNNING
 RESCHED : No
 HOST: vnode5
 CLUSTER ID  : 102
 CLUSTER : External
 START TIME  : 11/12 10:35:27
 END TIME: -
 DEPLOY ID

[one-users] Bulk delete of vCenter VM's leaves stray VM's

2014-11-12 Thread Sebastiaan Smit
Hi list,

We're testing the vCenter functionality in version 4.10 and see some strange 
behaviour while doing bulk actions.

Deleting VM's sometimes leave stray VM's on our cluster. We see the following 
in de VM log:

Sun Nov  9 15:51:34 2014 [Z0][LCM][I]: New VM state is RUNNING
Wed Nov 12 17:30:36 2014 [Z0][LCM][I]: New VM state is CLEANUP.
Wed Nov 12 17:30:36 2014 [Z0][VMM][I]: Driver command for 60 cancelled
Wed Nov 12 17:30:36 2014 [Z0][DiM][I]: New VM state is DONE
Wed Nov 12 17:30:41 2014 [Z0][VMM][W]: Ignored: LOG I 60 Command execution 
fail: /var/lib/one/remotes/vmm/vcenter/cancel 
'423cdcae-b6b3-07c1-def6-96b9f3f4b7b3' 'demo-01' 60 demo-01
Wed Nov 12 17:30:41 2014 [Z0][VMM][W]: Ignored: LOG I 60 Cancel of VM 
423cdcae-b6b3-07c1-def6-96b9f3f4b7b3 on host demo-01 failed due to 
ManagedObjectNotFound: The object has already been deleted or has not been 
completely created
Wed Nov 12 17:30:41 2014 [Z0][VMM][W]: Ignored: LOG I 60 ExitCode: 255
Wed Nov 12 17:30:41 2014 [Z0][VMM][W]: Ignored: LOG I 60 Failed to execute 
virtualization driver operation: cancel.
Wed Nov 12 17:30:41 2014 [Z0][VMM][W]: Ignored: LOG I 60 Successfully execute 
network driver operation: clean.
Wed Nov 12 17:30:41 2014 [Z0][VMM][W]: Ignored: CLEANUP SUCCESS 60

We see it in a different manner while bulk creating VM's (20+ at a time):

Sun Nov  9 16:01:34 2014 [Z0][DiM][I]: New VM state is ACTIVE.
Sun Nov  9 16:01:34 2014 [Z0][LCM][I]: New VM state is PROLOG.
Sun Nov  9 16:01:34 2014 [Z0][LCM][I]: New VM state is BOOT
Sun Nov  9 16:01:34 2014 [Z0][VMM][I]: Generating deployment file: 
/var/lib/one/vms/81/deployment.0
Sun Nov  9 16:01:34 2014 [Z0][VMM][I]: Successfully execute network driver 
operation: pre.
Sun Nov  9 16:01:36 2014 [Z0][VMM][I]: Command execution fail: 
/var/lib/one/remotes/vmm/vcenter/deploy '/var/lib/one/vms/81/deployment.0' 
'demo-01' 81 demo-01
Sun Nov  9 16:01:36 2014 [Z0][VMM][I]: Deploy of VM 81 on host demo-01 with 
/var/lib/one/vms/81/deployment.0 failed due to undefined method `uuid' for 
nil:NilClass
Sun Nov  9 16:01:36 2014 [Z0][VMM][I]: ExitCode: 255
Sun Nov  9 16:01:36 2014 [Z0][VMM][I]: Failed to execute virtualization driver 
operation: deploy.
Sun Nov  9 16:01:36 2014 [Z0][VMM][E]: Error deploying virtual machine
Sun Nov  9 16:01:36 2014 [Z0][DiM][I]: New VM state is FAILED
Wed Nov 12 17:30:19 2014 [Z0][DiM][I]: New VM state is DONE.
Wed Nov 12 17:30:19 2014 [Z0][LCM][E]: epilog_success_action, VM in a wrong 
state


I think these have two different root causes. The cluster is not under load.


Has anyone else seen this behaviour?

Best regards,
-- 
Sebastiaan Smit
Echelon BV

E: b...@echelon.nl
W: www.echelon.nl
T: (088) 3243566 (gewijzigd nummer)
T: (088) 3243505 (servicedesk)
F: (053) 4336222

KVK: 06055381


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


Re: [one-users] Ceph image format 2 issue for nonpersistent disks

2014-11-12 Thread Ruben S. Montero
Hi Joe

I can confirm this bug :( The problem is in the kvm/attach-disk plugin
script. It needs (as the core does) to look to the CLONE attribute for the
disk and use the snapshot instead of the base disk.

There should be no problem when attaching persistent disks.

Thank you very much for your detailed feedback!!

Ruben

for your reference: http://dev.opennebula.org/issues/3332

On Wed Nov 12 2014 at 4:27:46 PM Joe Mauer aask...@gmail.com wrote:

 Hi,

 I´m really sorry for the noise,
 but I am able to reproduce the problem now by attaching a non-persistent
 image to a diskless vm.

 Could somebody try to verify this, please?:

 Setup:
 ceph datastore, RBD_FORMAT=2
 opennebula 4.8 (Sorry, I was not able to update yet)
 I run Ubuntu 12.04, kvm

 Steps:
 1) Create a disk on the ceph datastore (I used the marketplace),
 - non-persistent
 2) create a template with no disk attached.
 3) instantiate a vm from 2)
 4) attach disk from 1)   - (On my side, the original disk, not the clone
 is attached according to virsh dumpxml)

 5) write a file to the vm and sync or reboot
 6) delete the vm and
 7) recreate a new one with the disk from 1)
 8) Look for file created in 5)




 On Wed, Nov 12, 2014 at 1:20 PM, Joe Mauer aask...@gmail.com wrote:

 Dear list,
 sometimes it helps to write things down.
 By looking at libvirt dumxml
  vm 234 
 disk type='network' device='disk'
   driver name='qemu' type='raw' cache='writeback'/
   auth username='libvirt'
 secret type='ceph' uuid='2f146016-197e-4c94-ba2d-6be68d75034a'/
   /auth
   source protocol='rbd' name='one/one-90'/
   target dev='vda' bus='virtio'/
   alias name='virtio-disk0'/
   address type='pci' domain='0x' bus='0x00' slot='0x05'
 function='0x0'/
 /disk

 

 It seems like the vm has the wrong rbd image attached (one/one-90, not
 one-90-234-1), or am I wrong here?

 vm 239 is fine:
 ##
 disk type='network' device='disk'
   driver name='qemu' type='raw' cache='writeback'/
   auth username='libvirt'
 secret type='ceph' uuid='2f146016-197e-4c94-ba2d-6be68d75034a'/
   /auth
   source protocol='rbd' name='one/one-90-239-0'/
   target dev='vda' bus='virtio'/
   alias name='virtio-disk0'/
   address type='pci' domain='0x' bus='0x00' slot='0x04'
 function='0x0'/
 /disk


 looking at the deployment files, it seems that in the first vm(234), i
 did attach the disk after creating the vm.



 On Wed, Nov 12, 2014 at 12:13 PM, Joe Mauer aask...@gmail.com wrote:

 Dear List,

 I´m evaluating a one 4.8 setup, using a ceph 0.72.2 cluster, RBD_FORMAT=2

 Using the clone option instead of copying images to be able to
 instantiating vms quickly does make this solution very interesting for us,
 but I ran into a rather big issue that I´m currently
 not able to solve (I´m not a ceph or one expert ;-)).
 I could not find anything similar on the net, so it might be a
 configuration issue, but I currently ran out of ideas to debug it.

 In both test clouds, I instaniciated a virtual machine (ID 234 below)
 from a non-persistent image (e.g. Ubuntu 14.04 from the marketplace), did
 some changes (e.g. changed the hostname, thats why I discoverd the problem
 in the first place), updates ... software installation...

 After a while, when starting a new vm (ID 239) from the (still
 non-persistent) image I get fsck messages when booting and have packages,
 and e.g. the hostname from the first vm.

 Thank you in advance for taking a look.

 ## first vm ##
  onevm show 234
 VIRTUAL MACHINE 234 INFORMATION
 ID  : 234
 NAME: jenkinssetup
 USER: op
 GROUP   : opsadmin
 STATE   : ACTIVE
 LCM_STATE   : RUNNING
 RESCHED : No
 HOST: vnode6
 CLUSTER ID  : 102
 CLUSTER : External
 START TIME  : 11/05 16:13:16
 END TIME: -
 DEPLOY ID   : one-234

 VM DISKS
  ID TARGET IMAGE   TYPE SAVE SAVE_AS
   1 vdaUbuntu-14.04-one-4.8rbdNO   -

 VM NICS
  ID NETWORK  VLAN BRIDGE   IP  MAC
   0 Net_ext yes br0  10.10.10.10   02:00:5e:e6:38:8c

 VIRTUAL MACHINE HISTORY
 SEQ HOSTACTION DS   START
 TIME PROLOG
   0 vnode6  none  103  11/05 16:13:42   6d 19h27m
 0h00m01s

 VIRTUAL MACHINE TEMPLATE
 AUTOMATIC_REQUIREMENTS=CLUSTER_ID = 102  !(PUBLIC_CLOUD = YES)
 CONTEXT=[
   DISK_ID=0,
   ETH0_DNS=10.10.10.1,
   ETH0_GATEWAY=10.10.10.1,
   ETH0_IP=10.10.10.10,
   ETH0_MAC=02:00:5e:e6:38:8c,
   ETH0_MASK=255.255.255.0,
   ETH0_NETWORK=10.10.10.0,
   HOSTNAME=jenkinssetup,
   NETWORK=YES,
   TARGET=hda ]
 CPU=2
 GRAPHICS=[
   KEYMAP=de,
   LISTEN=0.0.0.0,
   PORT=6134,
   TYPE=VNC ]
 MEMORY=2048
 TEMPLATE_ID=15
 VCPU=1
 VMID=234


 # second 

[one-users] error when create image on ceph datastore

2014-11-12 Thread Huynh Dac Nguyen

Hi All  

I added ceph to datastore successful but can't create image on it. 

[oneadmin@ho-srv-cloudlab-01 ~]$ oneimage create centos65min.one
--datastore ceph_2 --persistent  --type CDROM --disk_type CDROM 

Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: cp: Copying local image
/var/lib/one/images/CentOS-6.5-x86_64-minimal.iso to the image
repository 
Thu Nov 13 01:47:35 2014 [Z0][ImM][E]: cp: Command set -e 
Thu Nov 13 01:47:35 2014 [Z0][ImM][I]:  
Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: FORMAT=$(qemu-img info
/var/tmp/2f6f4e105d2aea3b28c214e005e97e26 | grep ^file format: | awk
'{print }') 
Thu Nov 13 01:47:35 2014 [Z0][ImM][I]:  
Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: if [ $FORMAT != raw ]; then

Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: qemu-img convert -O raw
/var/tmp/2f6f4e105d2aea3b28c214e005e97e26
/var/tmp/2f6f4e105d2aea3b28c214e005e97e26.raw 
Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: mv
/var/tmp/2f6f4e105d2aea3b28c214e005e97e26.raw
/var/tmp/2f6f4e105d2aea3b28c214e005e97e26 
Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: fi 
Thu Nov 13 01:47:35 2014 [Z0][ImM][I]:  
Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: rbd import --image-format 2
/var/tmp/2f6f4e105d2aea3b28c214e005e97e26 one/one-29 
Thu Nov 13 01:47:35 2014 [Z0][ImM][I]:  
Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: # remove original 
Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: rm -f
/var/tmp/2f6f4e105d2aea3b28c214e005e97e26 failed: Warning: Permanently
added 'ho-srv-ceph-03,10.10.15.69' (RSA) to the list of known hosts. 
Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: sh: line 5: qemu-img: command
not found 
Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: sh: line 8: qemu-img: command
not found 
Thu Nov 13 01:47:35 2014 [Z0][ImM][E]: Error registering one/one-29 in
ho-srv-ceph-03 
Thu Nov 13 01:47:35 2014 [Z0][ImM][I]: ExitCode: 127 
Thu Nov 13 01:47:35 2014 [Z0][ImM][E]: Error copying image in the
datastore: Error registering one/one-29 in ho-srv-ceph-03 

[oneadmin@ho-srv-cloudlab-01 ~]$ onedatastore show 120 
DATASTORE 120 INFORMATION  
 
ID : 120  
NAME   : ceph_2   
USER   : oneadmin 
GROUP  : oneadmin 
CLUSTER: -
TYPE   : IMAGE
DS_MAD : ceph 
TM_MAD : ceph 
BASE PATH  : /var/lib/one//datastores/120 
DISK_TYPE  : RBD  

DATASTORE CAPACITY 
 
TOTAL: : 186.9G   
FREE:  : 143.3G   
USED:  : 43.5G
LIMIT: : -

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

DATASTORE TEMPLATE 
 
BASE_PATH=/var/lib/one//datastores/ 
BRIDGE_LIST=ho-srv-ceph-03 
CLONE_TARGET=SELF 
DATASTORE_CAPACITY_CHECK=yes 
DISK_TYPE=RBD 
DS_MAD=ceph 
LN_TARGET=NONE 
POOL_NAME=one 
RBD_FORMAT=2 
SAFE_DIRS=/var/lib/one/images 
TM_MAD=ceph 
TYPE=IMAGE_DS 

IMAGES  
29  


[oneadmin@ho-srv-cloudlab-01 ~]$ cat centos65min.one 
NAME  = CentOS-6.5-x86_64-minimal 
TYPE  = CDROM 
PATH  = /var/lib/one/images/CentOS-6.5-x86_64-minimal.iso 
DESCRIPTION   = CentOS-6.5-x86_64-minimal.iso 


Note: 
ho-srv-ceph-03: my ceph MON 
the one pool is just used after created and do nothing more 
OS: CentOS 6.6  
Opennebula 4.8.0-1 


Is that a bug or did i do wrong?  



Regards,  
Ndhuynh 





This e-mail message including any attachments is for the sole use of the
intended(s) and may contain privileged or confidential information. Any
unauthorized review, use, disclosure or distribution is prohibited. If
you are not intended recipient, please immediately contact the sender by
reply e-mail and delete the original message and destroy all copies
thereof.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] OpenNebula drivers for Test Kitchen

2014-11-11 Thread Javier Fontan
Hi,

I would like to let you know that a driver for Test Kitchen was open
sourced by Blackberry. I hope it can help you test your software in your
OpenNebula infrastructure.

https://github.com/test-kitchen/kitchen-opennebula

Also interesting are patches for Fog library to interface with OpenNebula.

https://github.com/blackberry/fog

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


Re: [one-users] econe server and sha1

2014-11-11 Thread Daniel Molina
Hi,

What auth driver are you using in econe.conf?

Cheers

On 10 November 2014 09:17, Alejandro Feijóo alfei...@cesga.es wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512

 Any idea where to touch... because still with the same error.

 [oneadmin@test11 ~]$ oneuser show 17
 USER 17 INFORMATION
 ID  : 17
 NAME: alfeijooec2
 GROUP   : users
 PASSWORD: 30e3ef7255df9b52fa130697ef83348f7ed5
 AUTH_DRIVER : core
 ENABLED : Yes

 USER TEMPLATE
 DEFAULT_VIEW=user
 TOKEN_PASSWORD=7aafcdf5de6b49c4bbc8e31787a674080c9c

 RESOURCE USAGE  QUOTAS

 DATASTORE ID   IMAGESSIZE
1 1 /-  40M /-

 [oneadmin@test11 ~]$ econe-describe-images --access-key alfeijooec2
 - --secret-key 30e3ef7255df9b52fa130697ef83348f7ed5

 econe-describe-images: The username or password is not correct

 [oneadmin@test11 ~]$ econe-describe-images --access-key alfeijooec2
 - --secret-key 7aafcdf5de6b49c4bbc8e31787a674080c9c

 econe-describe-images: The username or password is not correct


 pd. alfeijooec2 can instantiate mv through ONE and Sunstone.

 Thanks again :D

 El 06/11/14 09:27, Daniel Molina escribió:
  That's right, if you use alfeijooec2 through ec2 you don't have to change
  anything, just use the password returned by oneshow user show alfeijooec2
  as AWS_SECRET_KEY
 
  On 6 November 2014 09:23, Alejandro Feijóo alfei...@cesga.es wrote:
 
  Oh...
 
  I have that 2 users.
 
14 alfeijoousers  ldap   1 /   -   1024M /   -
  1.0 /   -
17 alfeijooec2 users  core - -
 -
 
  I understant that user 14 never work in these scenario?  but user 17 may?
 
  Thanks :)
 
 
  El 06/11/14 08:56, Daniel Molina escribió:
  Hi,
 
  LDAP authentication is not supported through ec2, at least using
 regular
  clients. If you want to use this kind of authentication you have to
  change
  the auth method to opennebla in the econe.conf file and include the
 Basic
  Auth headers in every ec2 request
 
  Cheers
 
  On 6 November 2014 08:27, Alejandro Feijóo alfei...@cesga.es wrote:
 
  Hi sorry for the delay... i was on vacation...
 
  Yes that was one of the test that i did... but with the same error.
 
  its possible any kind of problems when use ldap?
 
  any random recomendation? :D
 
  Thanks in advance.
 
 
  El 24/10/14 10:30, Daniel Molina escribió:
 
 
  ___
  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
 
 
 
 

 - --
 Alejandro Feijóo Fraga
 Systems Technician
 CESGA
 -BEGIN PGP SIGNATURE-
 Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
 Comment: GPGTools - https://gpgtools.org

 iQEcBAEBCgAGBQJUYHSKAAoJEKshAoM6XWq57YMH/3I7ON+2txmvrzEzgXYGr+Kx
 DcjiB5XJn9+G0vOWDZSt8El9i7mvnEaO4CRpvYjJebUk2y3p3ZBKCellV0lnlJEY
 Ub9iWVIGG/heKBe94fxf824jAFnQmxtEuccrSrJkExURBY6KdWLTsTblkeVUM3Uf
 EBSumNhXqagjRIE/qU8MkEuRi2Mh2c/ov19BD0VdT5+PvN9HNhtV+gJlXmp8daE5
 eDBfQfTh+dRTnzA8BL0xCN+u5k8tu7fPNZ8WlST8d4qk8zwRl9zoZtDORBl/GyfN
 vgnRJTGrshoQpnSCzrFuajtJ5b2no18FY/jydAO3tubAzfGsDarB1KGJwH6SP4U=
 =cFmb
 -END PGP SIGNATURE-




-- 
--
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] OpenNebula, can it help in a VMware based security lab?

2014-11-11 Thread Tino Vazquez
Hi Paul,

Your scenario can be implemented currently with the integration with
OpenNebula and vCenter, with a limitation. You can define a VM
template in vCenter that can later be consumed by your students.

The limitation at the moment is that no attach/detach NIC
functionality is present, so a NIC to a network interconnecting all
the VMs needs to exist in each VM at the time of deployment. At the
time of probing each other networks, that NIC needs to be brought up
(using if up for instance if they are using linux).

We are working towards adding the attach/detach NIC functionality in
vCenter in the next OpenNebula release.

Let us know if you need more information about your scenario and OpenNebula.

Best,

-Tino



--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect | Head of Research at OpenNebula
Systems (formerly C12G Labs)
cvazquez@OpenNebula.Systems | @OpenNebula

--
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 OpenNebula.Systems 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 abuse@opennebula.systems and delete the
e-mail and attachments and any copy from your system. OpenNebula's
thanks you for your cooperation.


On 10 November 2014 18:27, Paul Griffith pa...@cse.yorku.ca wrote:
 Hello,

 Please forgive me if this question has been asked before. I am tasked with
 upgrading our security lab from VMware Lab manager ( now end of life) to
 vCloud Director/Suite, which is being replaced with vCAC.   My time line is
 4 weeks.


 A little back ground, our security lab consists on 9 servers running VMs.

 - 9 x servers for the students to run their VMs (Linux and Windows) to
 explore security exploits and vulnerabilities.  These 9 servers consists on
 6 x whitebox Xeon 5650, 2.67Ghz, 16GB and 3 x Dell R410, 5675, 3.06Ghz, 32GB

 - 1 x services server running AD, DNS and DHCP (Windows Server)

 - 1 x NFS server (12 x 900GB 10K SAS drives)

 When the lab is running it is disconnected from our network :) . Students
 access their VMs by using a KVM (Raritan) to connect to a Windows PC, where
 they run vSphere client to connect to their VMs (via vCenter) on a private
 internal network.

 Since we are upgrading and with all the cloud talk, I wanted to see if there
 was something that didn't need as much work as vCloud Director or vCAC.

  Our Students are just working with VMs and virtual networks. At the end of
 the course they connect their separate networks and probe each others
 network.

 Our department is a member of VMware Academic Program (VMAP), for a yearly
 fee we get access to

 - VMware Workstation
 - VMware Fusion
 - VMware vCloud Suite Standard
 - VMware vSphere Enterprise
 - VMware vCenter Server Standard
 - VMware vCloud Director


 I was wondering if OpenNebula can help in anyway, or am I just better
 working with VMware.

 Thank you for taking the time

 Paul Griffith
 ___
 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] Backing up virtual machines.

2014-11-11 Thread Ruben S. Montero
Hi Tao

The OpenNebula VM backup can be performed in  two different ways:

1.- via disk snapshots. Note that these are copies of the VM disks, and
they are stored in an Image Datastore.
  * The volume needs to be offline to guarantee FS consistency (e.g.
poweroff the VM or umount it from the VM). No need to shutdown the VM,
though: onevm disk-snapshot --live (onevm saveas is deprecated, use onevm
disk-snapshot instead).
  * If needed the operation can be automated by a simple script or an
scheduled action.
  * The VM can be recovered manually from OpenNebula (defining a new VM
based on the saved disk). Note that the life-cycle of the saved disk is
different from the original VM (no need to have it running for example)

2.- via the underlying storage system. You can create a special system DS
with its own backup policies (e.g. leveraging NAS features or FS features).
Note:
  * You would probably require some kind of synchronization from the VM to
prevent FS corruption.
  * The backup procedure is handled transparently to OpenNebula
  * The recovery process cannot be initiated from OpenNebula and need to be
in place.

In your case you could increase the reliability (different from backup)  by
configuring some of the local volumes used for the SSH Datastore with DRDB
or a RAID configuration.

Cheers

Ruben


On Mon Nov 10 2014 at 10:41:46 PM Tao Craig t...@ispot.tv wrote:

 Hi,



 I have a question about backing up and restoring virtual machines.



 I am using OpenNebula 4.8 and the SSH transfer drivers as a means to
 deploy virtual machines. My images are not persistent and I am using the
 qcow2 image format. All of my virtual machines and physical hosts are
 running CentOS 6.5 and using ext3 file systems.



 Is it possible in my current environment to back up a virtual machine
 without shutting it down?



 I know I can snapshot a virtual machine, but what if that machine is
 suddenly deleted for some reason (i.e. physical host crashes and has to be
 rebuilt). I’m under the impression snapshots are only usable as long as the
 original virtual machine is still running.



 I know I can also use the onevm saveas command, but that only works if you
 plan on shutting the virtual machine down at some point.



 Ideally, I would like to do something like copy the (running) disk image
 to offline storage and then have the ability to swap that out with a new
 running virtual machine to restore the back up in case the original virtual
 machine is lost. Rebooting in the case of restoring is acceptable of
 course, but I can’t shut my machines down every time I want to back them up.



 Is something like this possible?



 Thanks.






 ___
 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] Do we need to mount /var/lib/one with ceph

2014-11-11 Thread Ruben S. Montero
The system datastore is accessed from the front-end to generate the context
iso. Note that you don't need to be it exported from the front-end, the
nodes and the front-end itself can mount it from an different NAS server.

The /var/lib/one contents are needed in the front-end but not by the nodes.
Just the system datastore directory.

If the VM tries to access a disk from a device that is not mounted or the
NAS server is down you'll be in trouble. However, note that context ISO is
only accessed during the boot state and the main disks of the VM are in the
ceph pool, so you'll probably be fine (but if not tested it)

Cheers


On Mon Nov 10 2014 at 3:38:14 AM Huynh Dac Nguyen ndhu...@spsvietnam.vn
wrote:

 Dear Ruben,

 Thank you for replying

 So what happens if the front-end opennebula is down
 the /var/lib/one isn't mounted,only System Datastore is mounted,
 then the VM can't work, right? (the vm requires image and additional
 files)

 Can you explain why we don't need to export the whole /var/lib/one ?

 Regards,
 Ndhuynh

  Ruben S. Montero rsmont...@opennebula.org 11/7/2014 4:52 PM
 
 Hi Ndhuynh

 Ceph storage in OpenNebula is handled as follows:


 1.- Image Datastores, hold disk images repository as well as images for
 running VMs in a Ceph volume
 2.- System Datastore holds additional VM files, checkpoints, context
 disks and the like.


 If you need live-migration the easiest way is to have a shared
 filesystem for the System Datastore. You don't need to export the whole
 /var/lib/one, just the datastore directory, though.


 If you do not need to live-migrate VMs you should be ok with a ssh
 based system datastore


 Cheers






 On Wed Nov 05 2014 at 12:09:47 PM Huynh Dac Nguyen
 ndhu...@spsvietnam.vn wrote:

 Hi All,


 I'm researching opennebula with ceph, i saw that most of guide focus on
 using ceph as datastore - block device, right?


 Do we need to mount ceph to /var/lib/one as file system to prevent the
 opennebula frontend down expectedly?


 My script is:


 1) Make a ceph file system : one and mount to /var/lib/one in all
 opennebula node (front-end and node)
 2) Create a ceph block device and add to opennebula as datastore


 Is this a right way?


 Regards,
 Ndhuynh
 ndhu...@spsvietnam.vn

 This e-mail message including any attachments is for the sole use of
 the intended(s) and may contain privileged or confidential information.
 Any unauthorized review, use, disclosure or distribution is prohibited.
 If you are not intended recipient, please immediately contact the sender
 by reply e-mail and delete the original message and destroy all copies
 thereof.

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


 This e-mail message including any attachments is for the sole use of the
 intended(s) and may contain privileged or confidential information. Any
 unauthorized review, use, disclosure or distribution is prohibited. If
 you are not intended recipient, please immediately contact the sender by
 reply e-mail and delete the original message and destroy all copies
 thereof.

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


Re: [one-users] OpenNebula, can it help in a VMware based security lab?

2014-11-11 Thread Tino Vazquez
Hi Paul,

BTW, I invite you to try out vOneCloud, in very little time and in a
non intrusive way you can try vCenter support to see if it fit your
needs.

vOneCloud web page: http://vonecloud.today/
vOneCloud documentation: http://docs.vonecloud.today/

Regards,

-Tino
--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect | Head of Research at OpenNebula
Systems (formerly C12G Labs)
cvazquez@OpenNebula.Systems | @OpenNebula

--
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 OpenNebula.Systems 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 abuse@opennebula.systems and delete the
e-mail and attachments and any copy from your system. OpenNebula's
thanks you for your cooperation.


On 11 November 2014 15:20, Tino Vazquez cvazquez@opennebula.systems wrote:
 Hi Paul,

 Your scenario can be implemented currently with the integration with
 OpenNebula and vCenter, with a limitation. You can define a VM
 template in vCenter that can later be consumed by your students.

 The limitation at the moment is that no attach/detach NIC
 functionality is present, so a NIC to a network interconnecting all
 the VMs needs to exist in each VM at the time of deployment. At the
 time of probing each other networks, that NIC needs to be brought up
 (using if up for instance if they are using linux).

 We are working towards adding the attach/detach NIC functionality in
 vCenter in the next OpenNebula release.

 Let us know if you need more information about your scenario and OpenNebula.

 Best,

 -Tino



 --
 OpenNebula - Flexible Enterprise Cloud Made Simple

 --
 Constantino Vázquez Blanco, PhD, MSc
 Senior Infrastructure Architect | Head of Research at OpenNebula
 Systems (formerly C12G Labs)
 cvazquez@OpenNebula.Systems | @OpenNebula

 --
 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 OpenNebula.Systems 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 abuse@opennebula.systems and delete the
 e-mail and attachments and any copy from your system. OpenNebula's
 thanks you for your cooperation.


 On 10 November 2014 18:27, Paul Griffith pa...@cse.yorku.ca wrote:
 Hello,

 Please forgive me if this question has been asked before. I am tasked with
 upgrading our security lab from VMware Lab manager ( now end of life) to
 vCloud Director/Suite, which is being replaced with vCAC.   My time line is
 4 weeks.


 A little back ground, our security lab consists on 9 servers running VMs.

 - 9 x servers for the students to run their VMs (Linux and Windows) to
 explore security exploits and vulnerabilities.  These 9 servers consists on
 6 x whitebox Xeon 5650, 2.67Ghz, 16GB and 3 x Dell R410, 5675, 3.06Ghz, 32GB

 - 1 x services server running AD, DNS and DHCP (Windows Server)

 - 1 x NFS server (12 x 900GB 10K SAS drives)

 When the lab is running it is disconnected from our network :) . Students
 access their VMs by using a KVM (Raritan) to connect to a Windows PC, where
 they run vSphere client to connect to their VMs (via vCenter) on a private
 internal network.

 Since we are upgrading and with all the cloud talk, I wanted to see if there
 was something that didn't need as much work as vCloud Director or vCAC.

  Our Students are just working with VMs and virtual networks. At the end of
 the course they connect their separate networks and probe each others
 network.

 Our department is a member of VMware Academic Program (VMAP), for a yearly
 fee we get access to

 - VMware Workstation
 - VMware Fusion
 - VMware vCloud Suite Standard
 - VMware vSphere Enterprise
 - VMware vCenter Server Standard
 - VMware vCloud Director


 I was wondering if OpenNebula can help in anyway, or am I just better
 working with VMware.

 Thank you for taking the time

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

Re: [one-users] Do we need to mount /var/lib/one with ceph

2014-11-11 Thread Huynh Dac Nguyen

Dear Ruben,  

You mean: 
- /var/lib/one is mounted from NAS server just for Front-end 
- The datastore is mounted from Ceph for frond-end and node 

So  
Front-end servers must be mounted NAS (/var/lib/one) and Ceph
(/var/lib/one/datastores/[number]), 2 mounted points. 
Node servers must be mounted only Ceph
(/var/lib/one/datastores/[number]), 1 mounted point 
and the passwordless file must be updated manually 

Is it correct?  
so why don't we use ceph for both of shared location?  or just
/var/lib/one?  I really don't want to manage more device.  
Could you show me the best solution? I'm confused to continue because
of stuck in integrate Ceph and opennebula 


Regards,  
Ndhuynh 


--


Message: 1 
Date: Tue, 11 Nov 2014 14:30:01 + 
From: Ruben S. Montero rsmont...@opennebula.org 
To: Huynh Dac Nguyen ndhu...@spsvietnam.vn, 
users@lists.opennebula.org 
Subject: Re: [one-users] Do we need to mount /var/lib/one with ceph 
Message-ID: 
cagi56tetpmozcek+ddzlulj7y_yc-py40av0rbgopudb7mc...@mail.gmail.com 
Content-Type: text/plain; charset=utf-8 

The system datastore is accessed from the front-end to generate the
context 
iso. Note that you don't need to be it exported from the front-end, the

nodes and the front-end itself can mount it from an different NAS
server. 

The /var/lib/one contents are needed in the front-end but not by the
nodes. 
Just the system datastore directory. 

If the VM tries to access a disk from a device that is not mounted or
the 
NAS server is down you'll be in trouble. However, note that context ISO
is 
only accessed during the boot state and the main disks of the VM are in
the 
ceph pool, so you'll probably be fine (but if not tested it) 

Cheers 


On Mon Nov 10 2014 at 3:38:14 AM Huynh Dac Nguyen
ndhu...@spsvietnam.vn 
wrote: 

 Dear Ruben, 
 
 Thank you for replying 
 
 So what happens if the front-end opennebula is down 
 the /var/lib/one isn't mounted,only System Datastore is mounted, 
 then the VM can't work, right? (the vm requires image and additional

 files) 
 
 Can you explain why we don't need to export the whole /var/lib/one ?

 
 Regards, 
 Ndhuynh 
 
  Ruben S. Montero rsmont...@opennebula.org 11/7/2014 4:52 PM 
  
 Hi Ndhuynh 
 
 Ceph storage in OpenNebula is handled as follows: 
 
 
 1.- Image Datastores, hold disk images repository as well as images
for 
 running VMs in a Ceph volume 
 2.- System Datastore holds additional VM files, checkpoints, context

 disks and the like. 
 
 
 If you need live-migration the easiest way is to have a shared 
 filesystem for the System Datastore. You don't need to export the
whole 
 /var/lib/one, just the datastore directory, though. 
 
 
 If you do not need to live-migrate VMs you should be ok with a ssh 
 based system datastore 
 
 
 Cheers 
 
 
 
 
 
 
 On Wed Nov 05 2014 at 12:09:47 PM Huynh Dac Nguyen 
 ndhu...@spsvietnam.vn wrote: 
 
 Hi All, 
 
 
 I'm researching opennebula with ceph, i saw that most of guide focus
on 
 using ceph as datastore - block device, right? 
 
 
 Do we need to mount ceph to /var/lib/one as file system to prevent
the 
 opennebula frontend down expectedly? 
 
 
 My script is: 
 
 
 1) Make a ceph file system : one and mount to /var/lib/one in all 
 opennebula node (front-end and node) 
 2) Create a ceph block device and add to opennebula as datastore 
 
 
 Is this a right way? 
 
 
 Regards, 
 Ndhuynh 
 ndhu...@spsvietnam.vn 
 
 This e-mail message including any attachments is for the sole use of

 the intended(s) and may contain privileged or confidential
information. 
 Any unauthorized review, use, disclosure or distribution is
prohibited. 
 If you are not intended recipient, please immediately contact the
sender 
 by reply e-mail and delete the original message and destroy all
copies 
 thereof. 
 
 ___ 
 Users mailing list 
 Users@lists.opennebula.org 
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org 
 
 
 This e-mail message including any attachments is for the sole use of
the 
 intended(s) and may contain privileged or confidential information.
Any 
 unauthorized review, use, disclosure or distribution is prohibited.
If 
 you are not intended recipient, please immediately contact the sender
by 
 reply e-mail and delete the original message and destroy all copies 
 thereof. 
 
This e-mail message including any attachments is for the sole use of the
intended(s) and may contain privileged or confidential information. Any
unauthorized review, use, disclosure or distribution is prohibited. If
you are not intended recipient, please immediately contact the sender by
reply e-mail and delete the original message and destroy all copies
thereof.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] econe server and sha1

2014-11-10 Thread Alejandro Feijóo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Any idea where to touch... because still with the same error.

[oneadmin@test11 ~]$ oneuser show 17
USER 17 INFORMATION
ID  : 17
NAME: alfeijooec2
GROUP   : users
PASSWORD: 30e3ef7255df9b52fa130697ef83348f7ed5
AUTH_DRIVER : core
ENABLED : Yes

USER TEMPLATE
DEFAULT_VIEW=user
TOKEN_PASSWORD=7aafcdf5de6b49c4bbc8e31787a674080c9c

RESOURCE USAGE  QUOTAS

DATASTORE ID   IMAGESSIZE
   1 1 /-  40M /-

[oneadmin@test11 ~]$ econe-describe-images --access-key alfeijooec2
- --secret-key 30e3ef7255df9b52fa130697ef83348f7ed5

econe-describe-images: The username or password is not correct

[oneadmin@test11 ~]$ econe-describe-images --access-key alfeijooec2
- --secret-key 7aafcdf5de6b49c4bbc8e31787a674080c9c

econe-describe-images: The username or password is not correct


pd. alfeijooec2 can instantiate mv through ONE and Sunstone.

Thanks again :D

El 06/11/14 09:27, Daniel Molina escribió:
 That's right, if you use alfeijooec2 through ec2 you don't have to change
 anything, just use the password returned by oneshow user show alfeijooec2
 as AWS_SECRET_KEY
 
 On 6 November 2014 09:23, Alejandro Feijóo alfei...@cesga.es wrote:
 
 Oh...
 
 I have that 2 users.
 
   14 alfeijoousers  ldap   1 /   -   1024M /   -
 1.0 /   -
   17 alfeijooec2 users  core - -
-
 
 I understant that user 14 never work in these scenario?  but user 17 may?
 
 Thanks :)
 
 
 El 06/11/14 08:56, Daniel Molina escribió:
 Hi,

 LDAP authentication is not supported through ec2, at least using regular
 clients. If you want to use this kind of authentication you have to
 change
 the auth method to opennebla in the econe.conf file and include the Basic
 Auth headers in every ec2 request

 Cheers

 On 6 November 2014 08:27, Alejandro Feijóo alfei...@cesga.es wrote:

 Hi sorry for the delay... i was on vacation...

 Yes that was one of the test that i did... but with the same error.

 its possible any kind of problems when use ldap?

 any random recomendation? :D

 Thanks in advance.


 El 24/10/14 10:30, Daniel Molina escribió:


 ___
 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

 
 
 

- -- 
Alejandro Feijóo Fraga
Systems Technician
CESGA
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJUYHSKAAoJEKshAoM6XWq57YMH/3I7ON+2txmvrzEzgXYGr+Kx
DcjiB5XJn9+G0vOWDZSt8El9i7mvnEaO4CRpvYjJebUk2y3p3ZBKCellV0lnlJEY
Ub9iWVIGG/heKBe94fxf824jAFnQmxtEuccrSrJkExURBY6KdWLTsTblkeVUM3Uf
EBSumNhXqagjRIE/qU8MkEuRi2Mh2c/ov19BD0VdT5+PvN9HNhtV+gJlXmp8daE5
eDBfQfTh+dRTnzA8BL0xCN+u5k8tu7fPNZ8WlST8d4qk8zwRl9zoZtDORBl/GyfN
vgnRJTGrshoQpnSCzrFuajtJ5b2no18FY/jydAO3tubAzfGsDarB1KGJwH6SP4U=
=cFmb
-END PGP SIGNATURE-
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Last Opportunity to Contribute to OpenNebulaConf: Lightning Talks Still Available!

2014-11-10 Thread Ignacio M. Llorente
Hello,

As you may know, the lineup and agenda for the second OpenNebula Conference
(due this 2-4 December in Berlin) are already closed. There is however
still a chance to contribute to the conference in the lightning talks
sessions.

Lightning talks are 5 minute plenary presentations focusing on one key
point. This can be a new project, product, feature, integration,
experience, use case, collaboration invitation, quick tip, or
demonstration. This session is an opportunity for ideas to get the
attention they deserve.

We have two 30-minute sessions for lightning talks and there are still
slots available, so now is the time to register and send us your proposal!

More details at
http://opennebula.org/last-opportunity-to-contribute-to-opennebulaconf-lightning-talks-still-available-2/

Kind regards,

-- 
Ignacio M. Llorente, PhD, MBA
Project Director
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | imllore...@opennebula.org | @OpenNebula
http://twitter.com/opennebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] OpenNebula, can it help in a VMware based security lab?

2014-11-10 Thread Paul Griffith

Hello,

Please forgive me if this question has been asked before. I am tasked 
with upgrading our security lab from VMware Lab manager ( now end of 
life) to vCloud Director/Suite, which is being replaced with vCAC.   My 
time line is 4 weeks.



A little back ground, our security lab consists on 9 servers running VMs.

- 9 x servers for the students to run their VMs (Linux and Windows) to 
explore security exploits and vulnerabilities.  These 9 servers consists 
on 6 x whitebox Xeon 5650, 2.67Ghz, 16GB and 3 x Dell R410, 5675, 
3.06Ghz, 32GB


- 1 x services server running AD, DNS and DHCP (Windows Server)

- 1 x NFS server (12 x 900GB 10K SAS drives)

When the lab is running it is disconnected from our network :) . 
Students access their VMs by using a KVM (Raritan) to connect to a 
Windows PC, where they run vSphere client to connect to their VMs (via 
vCenter) on a private internal network.


Since we are upgrading and with all the cloud talk, I wanted to see if 
there was something that didn't need as much work as vCloud Director or 
vCAC.


 Our Students are just working with VMs and virtual networks. At the 
end of the course they connect their separate networks and probe each 
others network.


Our department is a member of VMware Academic Program (VMAP), for a 
yearly fee we get access to


- VMware Workstation
- VMware Fusion
- VMware vCloud Suite Standard
- VMware vSphere Enterprise
- VMware vCenter Server Standard
- VMware vCloud Director


I was wondering if OpenNebula can help in anyway, or am I just better 
working with VMware.


Thank you for taking the time

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


[one-users] How do you change the '-vga cirrus' option on KVM

2014-11-10 Thread Gerry O'Brien
Hi,

How do you change the '-vga cirrus' option for KVM to something
else, e.g. '-vga std'? Is it done via the RAW data in the template?

Regards,
Gerry

-- 
Gerry O'Brien

Systems Manager
School of Computer Science and Statistics
Trinity College Dublin
Dublin 2
IRELAND

00 353 1 896 1341

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


Re: [one-users] How do you change the '-vga cirrus' option on KVM

2014-11-10 Thread Daniel Dehennin
Gerry O'Brien ge...@scss.tcd.ie writes:

 Hi,

Hello,

 How do you change the '-vga cirrus' option for KVM to something
 else, e.g. '-vga std'? Is it done via the RAW data in the template?

That's how I do it:

RAW=[TYPE=kvm,DATA=devicesvideomodel type=\vga\ 
heads=\1\/model/video/devices]

It could be interesting to be able to select it in the template:

1. provide a default in /etc/one/vmm_exec/vmm_exec_kvm.conf (cirrus for example)
2. if graphics is “SPICE”, set the card to “qxl” in the template
2. user can override the card type for this template

If you define the RAW DATA in /etc/one/vmm_exec/vmm_exec_kvm.conf, then
you can not override it in the template because RAW are concatenated.

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] Backing up virtual machines.

2014-11-10 Thread Tao Craig
Hi,

I have a question about backing up and restoring virtual machines.

I am using OpenNebula 4.8 and the SSH transfer drivers as a means to deploy 
virtual machines. My images are not persistent and I am using the qcow2 image 
format. All of my virtual machines and physical hosts are running CentOS 6.5 
and using ext3 file systems.

Is it possible in my current environment to back up a virtual machine without 
shutting it down?

I know I can snapshot a virtual machine, but what if that machine is suddenly 
deleted for some reason (i.e. physical host crashes and has to be rebuilt). I'm 
under the impression snapshots are only usable as long as the original virtual 
machine is still running.

I know I can also use the onevm saveas command, but that only works if you plan 
on shutting the virtual machine down at some point.

Ideally, I would like to do something like copy the (running) disk image to 
offline storage and then have the ability to swap that out with a new running 
virtual machine to restore the back up in case the original virtual machine is 
lost. Rebooting in the case of restoring is acceptable of course, but I can't 
shut my machines down every time I want to back them up.

Is something like this possible?

Thanks.



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


Re: [one-users] Do we need to mount /var/lib/one with ceph

2014-11-09 Thread Huynh Dac Nguyen
Dear Ruben, 

Thank you for replying

So what happens if the front-end opennebula is down
the /var/lib/one isn't mounted,only System Datastore is mounted,
then the VM can't work, right? (the vm requires image and additional
files)

Can you explain why we don't need to export the whole /var/lib/one ? 

Regards, 
Ndhuynh

 Ruben S. Montero rsmont...@opennebula.org 11/7/2014 4:52 PM

Hi Ndhuynh

Ceph storage in OpenNebula is handled as follows:


1.- Image Datastores, hold disk images repository as well as images for
running VMs in a Ceph volume
2.- System Datastore holds additional VM files, checkpoints, context
disks and the like.


If you need live-migration the easiest way is to have a shared
filesystem for the System Datastore. You don't need to export the whole
/var/lib/one, just the datastore directory, though.


If you do not need to live-migrate VMs you should be ok with a ssh
based system datastore


Cheers






On Wed Nov 05 2014 at 12:09:47 PM Huynh Dac Nguyen
ndhu...@spsvietnam.vn wrote:

Hi All, 


I'm researching opennebula with ceph, i saw that most of guide focus on
using ceph as datastore - block device, right? 


Do we need to mount ceph to /var/lib/one as file system to prevent the
opennebula frontend down expectedly? 


My script is: 


1) Make a ceph file system : one and mount to /var/lib/one in all
opennebula node (front-end and node) 
2) Create a ceph block device and add to opennebula as datastore


Is this a right way?


Regards, 
Ndhuynh
ndhu...@spsvietnam.vn

This e-mail message including any attachments is for the sole use of
the intended(s) and may contain privileged or confidential information.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not intended recipient, please immediately contact the sender
by reply e-mail and delete the original message and destroy all copies
thereof.

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


This e-mail message including any attachments is for the sole use of the
intended(s) and may contain privileged or confidential information. Any
unauthorized review, use, disclosure or distribution is prohibited. If
you are not intended recipient, please immediately contact the sender by
reply e-mail and delete the original message and destroy all copies
thereof.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Opennebula resize Ceph RBD.

2014-11-07 Thread Leszek Master
Is there any way to resize a rbd disk using opennebula ?
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] vOneCloud and vCenter 5.5 won't connect

2014-11-07 Thread Tino Vazquez
Hi Rogerio,

Reading again the log provided, the problem seems to be in the
communication between the driver and the vOneCloud core.

1) can you check if the 'oned' process is running as oneadmin user?

2) logged in as oneadmin, can you perform commands like onehost list ?

3) did you change the password for oneadmin without changing
$ONE_AUTH? or did you use oneuser login functionality?

Best,

-Tino
--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect | Head of Research at OpenNebula
Systems (formerly C12G Labs)
cvazquez@OpenNebula.Systems | @OpenNebula

--
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 OpenNebula.Systems 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 abuse@opennebula.systems and delete the
e-mail and attachments and any copy from your system. OpenNebula's
thanks you for your cooperation.


On 7 November 2014 08:50, Tino Vazquez cvazquez@opennebula.systems wrote:
 Hi Rogerio,

 I take it that you imported a vCenter cluster as a vOneCloud host
 following the guide, and the problem shows at the time of monitoring
 the vOneCloud host, with the error displayed in the log file you sent
 through.

 A couple of questions to see how we can solve this:

   - The host that fails is the one with ID = 3. Does host 1 and 2
 monitor correctly (you can see that with onehost list in the vOneCloud
 console, logged in as oneadmin)

   - The credentials of host three to access vCenter are stored in the
 host template, accessible with onehost show 3 (in the vOneCloud
 console, logged in as oneadmin). Can you check that the contents of:

  VCENTER_USER
  VCENTER_PASSWORD

 are correct and not mangled somehow?

 Best regards,

 -Tino

 --
 OpenNebula - Flexible Enterprise Cloud Made Simple

 --
 Constantino Vázquez Blanco, PhD, MSc
 Senior Infrastructure Architect | Head of Research at OpenNebula
 Systems (formerly C12G Labs)
 cvazquez@OpenNebula.Systems | @OpenNebula

 --
 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 OpenNebula.Systems 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 abuse@opennebula.systems and delete the
 e-mail and attachments and any copy from your system. OpenNebula's
 thanks you for your cooperation.


 On 7 November 2014 07:15, Rogerio Goncalves roge...@gmail.com wrote:
 Hi,

 I'm trying the vOneCloud appliance 4.10beta and I'm having problem to
 connect with my vCenter 5.5.

 I used this doc:
 http://docs.vonecloud.today/4.10/simple_cloud_deployment/import_vcenter.html

 My oned.log after I create the Host with vCenter informations.

 http://pastebin.com/MJPLGNi5

 The username and password is correct because the web interface shows me the
 cluster name and some templates.

 Thanks
 Rogerio

 ___
 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] Error Live Migrate

2014-11-07 Thread Ruben S. Montero
This may happen when you are migrating VMs across hosts with different hw
specs (CPU model...), is that your case?

On Fri Nov 07 2014 at 8:21:29 AM Rhesa Mahendra rh...@lintasmediadanawa.com
wrote:

 Hi,

 I got error like this when i try to live migrate:


 Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821
 pc RHEL 6.4.0 PC (alias of rhel6.4.0)

 Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821
 rhel6.4.0  RHEL 6.4.0 PC (default)

 Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821
 rhel6.3.0  RHEL 6.3.0 PC

 Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821
 rhel6.2.0  RHEL 6.2.0 PC

 Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821
 rhel6.1.0  RHEL 6.1.0 PC

 Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821
 rhel6.0.0  RHEL 6.0.0 PC

 Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821
 rhel5.5.0  RHEL 5.5.0 PC

 Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821
 rhel5.4.4  RHEL 5.4.4 PC

 Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821
 rhel5.4.0  RHEL 5.4.0 PC

 How to fix it
 ___
 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] Opennebula resize Ceph RBD.

2014-11-07 Thread Ruben S. Montero
Hi

Currently is not supported, but this feature is high priority in our
roadmap:

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

Cheers

On Fri Nov 07 2014 at 9:04:47 AM Leszek Master keks...@gmail.com wrote:

 Is there any way to resize a rbd disk using opennebula ?
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

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


Re: [one-users] Cloud View with Persistent Image

2014-11-07 Thread Stefan Kooman
Quoting Ruben S. Montero (rsmont...@opennebula.org):
 We have the sheduled actions, as you know this feature triggers actions on
 an specific date. We could extend these actions to be triggered on states
 (i.e. triggered by the scheduler). This, compared with hooks (you can
 program actions on given states), allow you to set the actions per VM. Also
 users could access this feature, and no modification of oned.conf is
 requires.
 
 Does it make sense?

Totally, this would be really nice, and add a lot of flexibility.

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] Cloud View with Persistent Image

2014-11-07 Thread Ruben S. Montero
filled an issue for this http://dev.opennebula.org/issues/3310

Thanks

On Fri Nov 07 2014 at 10:19:50 AM Stefan Kooman ste...@bit.nl wrote:

 Quoting Ruben S. Montero (rsmont...@opennebula.org):
  We have the sheduled actions, as you know this feature triggers actions
 on
  an specific date. We could extend these actions to be triggered on states
  (i.e. triggered by the scheduler). This, compared with hooks (you can
  program actions on given states), allow you to set the actions per VM.
 Also
  users could access this feature, and no modification of oned.conf is
  requires.
 
  Does it make sense?

 Totally, this would be really nice, and add a lot of flexibility.

 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] reg sunstone - VNC

2014-11-07 Thread Stefan Kooman
Quoting Rajendar K (k.rajen...@gmail.com):
 Hi All,
I am using opennebula 4.6 version.  My setup has
 (i) ONE   -  Machine A  ( sunstone server is also running)
   -  two nodes z1-nc04, z1-nc03
 
 (ii) Sunstone Sever  -  Machine B, (using the same credential of Machine A)
 
the issue i am facing is that i can access the VNC of any VM
 using
 the sunstone [machine A], but when i access through machine B, it fails.
 Both machines are in the same subnet. (using telnet i can see its being
 connected)
 
 The novnc log is as follows,
 
 WebSocket server settings:
   - Listen on :29876
   - Flash security policy server
   - No SSL/TLS support (no cert file)
   - proxying from :29876 to targets in
 /srv/cloud/one/var/sunstone_vnc_tokens
 
   1: 10.1.26.51: Plain non-SSL (ws://) WebSocket connection
   1: 10.1.26.51: Version hybi-13, base64: 'False'
   1: 10.1.26.51: Path: '/?token=npfbnzreud4ozaiasiwq'
   1: connecting to: z1-nc04:5995
   1: handler exception: [Errno -3] Temporary failure in name resolution

^^ This indicates a resolving issue. Do both servers have the same
resolvers configured (/etc/resvolv.conf) and or /etc/hosts file with
static entries?

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] vOneCloud and vCenter 5.5 won't connect

2014-11-07 Thread Rogerio Goncalves
Hi Tino,

1st email;

The ID 3 it's because I tried to remove and add vcenter again.

The credentials are correctly on web interface. I didn't access the
console, only to see logs and check process. And also the web interfaces
import my templates and show my cluster Local

2st email;
Yes, the process is running and the log that I sent was oned.log

I didn't access console and didn't change any password. I just deploy OVA,
connect to console to check IP address and connect via web interface,
following the guide.

The vCenter and vOneCloud appliance are on the same vlan and I can access
the vCenter web interface successfully with the same username.

Maybe an restriction with password? Or username with @domain?
My password is VMware1! and I also tried VMware1#.

Thanks
Rogerio





On Fri, Nov 7, 2014 at 6:28 AM, Tino Vazquez cvazquez@opennebula.systems
wrote:

 Hi Rogerio,

 Reading again the log provided, the problem seems to be in the
 communication between the driver and the vOneCloud core.

 1) can you check if the 'oned' process is running as oneadmin user?

 2) logged in as oneadmin, can you perform commands like onehost list ?

 3) did you change the password for oneadmin without changing
 $ONE_AUTH? or did you use oneuser login functionality?

 Best,

 -Tino
 --
 OpenNebula - Flexible Enterprise Cloud Made Simple

 --
 Constantino Vázquez Blanco, PhD, MSc
 Senior Infrastructure Architect | Head of Research at OpenNebula
 Systems (formerly C12G Labs)
 cvazquez@OpenNebula.Systems | @OpenNebula

 --
 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 OpenNebula.Systems 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 abuse@opennebula.systems and delete the
 e-mail and attachments and any copy from your system. OpenNebula's
 thanks you for your cooperation.


 On 7 November 2014 08:50, Tino Vazquez cvazquez@opennebula.systems
 wrote:
  Hi Rogerio,
 
  I take it that you imported a vCenter cluster as a vOneCloud host
  following the guide, and the problem shows at the time of monitoring
  the vOneCloud host, with the error displayed in the log file you sent
  through.
 
  A couple of questions to see how we can solve this:
 
- The host that fails is the one with ID = 3. Does host 1 and 2
  monitor correctly (you can see that with onehost list in the vOneCloud
  console, logged in as oneadmin)
 
- The credentials of host three to access vCenter are stored in the
  host template, accessible with onehost show 3 (in the vOneCloud
  console, logged in as oneadmin). Can you check that the contents of:
 
   VCENTER_USER
   VCENTER_PASSWORD
 
  are correct and not mangled somehow?
 
  Best regards,
 
  -Tino
 
  --
  OpenNebula - Flexible Enterprise Cloud Made Simple
 
  --
  Constantino Vázquez Blanco, PhD, MSc
  Senior Infrastructure Architect | Head of Research at OpenNebula
  Systems (formerly C12G Labs)
  cvazquez@OpenNebula.Systems | @OpenNebula
 
  --
  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 OpenNebula.Systems 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 abuse@opennebula.systems and delete the
  e-mail and attachments and any copy from your system. OpenNebula's
  thanks you for your cooperation.
 
 
  On 7 November 2014 07:15, Rogerio Goncalves roge...@gmail.com wrote:
  Hi,
 
  I'm trying the vOneCloud appliance 4.10beta and I'm having problem to
  connect with my vCenter 5.5.
 
  I used this doc:
 
 http://docs.vonecloud.today/4.10/simple_cloud_deployment/import_vcenter.html
 
  My oned.log after I create the Host with vCenter informations.
 
  http://pastebin.com/MJPLGNi5
 
  The username and password is correct because the web interface shows me
 the
  cluster name and some templates.
 
  Thanks
  Rogerio
 
  ___
  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] vOneCloud and vCenter 5.5 won't connect

2014-11-07 Thread Tino Vazquez
Hi Rogerio,

The error states a problem between the authentication between the
vCenter driver and vOneCloud core, so in principle not related with
the username and password to access vCenter.

 - From the vOneCloud console, could you provide the output of ps auxwww ?
 - From the vOneCloud console, logged in as oneadmin, the output of
onehost list

Best,

-Tino

--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect | Head of Research at OpenNebula
Systems (formerly C12G Labs)
cvazquez@OpenNebula.Systems | @OpenNebula

--
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 OpenNebula.Systems 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 abuse@opennebula.systems and delete the
e-mail and attachments and any copy from your system. OpenNebula's
thanks you for your cooperation.


On 7 November 2014 12:37, Rogerio Goncalves roge...@gmail.com wrote:
 Hi Tino,

 1st email;

 The ID 3 it's because I tried to remove and add vcenter again.

 The credentials are correctly on web interface. I didn't access the console,
 only to see logs and check process. And also the web interfaces import my
 templates and show my cluster Local

 2st email;
 Yes, the process is running and the log that I sent was oned.log

 I didn't access console and didn't change any password. I just deploy OVA,
 connect to console to check IP address and connect via web interface,
 following the guide.

 The vCenter and vOneCloud appliance are on the same vlan and I can access
 the vCenter web interface successfully with the same username.

 Maybe an restriction with password? Or username with @domain?
 My password is VMware1! and I also tried VMware1#.

 Thanks
 Rogerio





 On Fri, Nov 7, 2014 at 6:28 AM, Tino Vazquez cvazquez@opennebula.systems
 wrote:

 Hi Rogerio,

 Reading again the log provided, the problem seems to be in the
 communication between the driver and the vOneCloud core.

 1) can you check if the 'oned' process is running as oneadmin user?

 2) logged in as oneadmin, can you perform commands like onehost list ?

 3) did you change the password for oneadmin without changing
 $ONE_AUTH? or did you use oneuser login functionality?

 Best,

 -Tino
 --
 OpenNebula - Flexible Enterprise Cloud Made Simple

 --
 Constantino Vázquez Blanco, PhD, MSc
 Senior Infrastructure Architect | Head of Research at OpenNebula
 Systems (formerly C12G Labs)
 cvazquez@OpenNebula.Systems | @OpenNebula

 --
 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 OpenNebula.Systems 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 abuse@opennebula.systems and delete the
 e-mail and attachments and any copy from your system. OpenNebula's
 thanks you for your cooperation.


 On 7 November 2014 08:50, Tino Vazquez cvazquez@opennebula.systems
 wrote:
  Hi Rogerio,
 
  I take it that you imported a vCenter cluster as a vOneCloud host
  following the guide, and the problem shows at the time of monitoring
  the vOneCloud host, with the error displayed in the log file you sent
  through.
 
  A couple of questions to see how we can solve this:
 
- The host that fails is the one with ID = 3. Does host 1 and 2
  monitor correctly (you can see that with onehost list in the vOneCloud
  console, logged in as oneadmin)
 
- The credentials of host three to access vCenter are stored in the
  host template, accessible with onehost show 3 (in the vOneCloud
  console, logged in as oneadmin). Can you check that the contents of:
 
   VCENTER_USER
   VCENTER_PASSWORD
 
  are correct and not mangled somehow?
 
  Best regards,
 
  -Tino
 
  --
  OpenNebula - Flexible Enterprise Cloud Made Simple
 
  --
  Constantino Vázquez Blanco, PhD, MSc
  Senior Infrastructure Architect | Head of Research at OpenNebula
  Systems (formerly C12G Labs)
  cvazquez@OpenNebula.Systems | @OpenNebula
 
  --
  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
  

Re: [one-users] vOneCloud and vCenter 5.5 won't connect

2014-11-07 Thread Rogerio Goncalves
Hi Tino,

I tried login with oneadmin and not worked with opennebula password. So I
tried tu use su - oneadmin with root and when I tried onehost list I
received an authentication error.

I logged to web interface and changed oneadmin password and tried to enable
vCenter host again e worked.

I will deploy OVA again to check password of oneadmin user. I don't
remember of change this password. I never logged with this user.

Anyway, thank you!


Rogerio


On Fri, Nov 7, 2014 at 10:09 AM, Tino Vazquez cvazquez@opennebula.systems
wrote:

 Hi Rogerio,

 The error states a problem between the authentication between the
 vCenter driver and vOneCloud core, so in principle not related with
 the username and password to access vCenter.

  - From the vOneCloud console, could you provide the output of ps auxwww
 ?
  - From the vOneCloud console, logged in as oneadmin, the output of
 onehost list

 Best,

 -Tino

 --
 OpenNebula - Flexible Enterprise Cloud Made Simple

 --
 Constantino Vázquez Blanco, PhD, MSc
 Senior Infrastructure Architect | Head of Research at OpenNebula
 Systems (formerly C12G Labs)
 cvazquez@OpenNebula.Systems | @OpenNebula

 --
 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 OpenNebula.Systems 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 abuse@opennebula.systems and delete the
 e-mail and attachments and any copy from your system. OpenNebula's
 thanks you for your cooperation.


 On 7 November 2014 12:37, Rogerio Goncalves roge...@gmail.com wrote:
  Hi Tino,
 
  1st email;
 
  The ID 3 it's because I tried to remove and add vcenter again.
 
  The credentials are correctly on web interface. I didn't access the
 console,
  only to see logs and check process. And also the web interfaces import my
  templates and show my cluster Local
 
  2st email;
  Yes, the process is running and the log that I sent was oned.log
 
  I didn't access console and didn't change any password. I just deploy
 OVA,
  connect to console to check IP address and connect via web interface,
  following the guide.
 
  The vCenter and vOneCloud appliance are on the same vlan and I can access
  the vCenter web interface successfully with the same username.
 
  Maybe an restriction with password? Or username with @domain?
  My password is VMware1! and I also tried VMware1#.
 
  Thanks
  Rogerio
 
 
 
 
 
  On Fri, Nov 7, 2014 at 6:28 AM, Tino Vazquez cvazquez@opennebula.systems
 
  wrote:
 
  Hi Rogerio,
 
  Reading again the log provided, the problem seems to be in the
  communication between the driver and the vOneCloud core.
 
  1) can you check if the 'oned' process is running as oneadmin user?
 
  2) logged in as oneadmin, can you perform commands like onehost list ?
 
  3) did you change the password for oneadmin without changing
  $ONE_AUTH? or did you use oneuser login functionality?
 
  Best,
 
  -Tino
  --
  OpenNebula - Flexible Enterprise Cloud Made Simple
 
  --
  Constantino Vázquez Blanco, PhD, MSc
  Senior Infrastructure Architect | Head of Research at OpenNebula
  Systems (formerly C12G Labs)
  cvazquez@OpenNebula.Systems | @OpenNebula
 
  --
  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 OpenNebula.Systems 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 abuse@opennebula.systems and delete the
  e-mail and attachments and any copy from your system. OpenNebula's
  thanks you for your cooperation.
 
 
  On 7 November 2014 08:50, Tino Vazquez cvazquez@opennebula.systems
  wrote:
   Hi Rogerio,
  
   I take it that you imported a vCenter cluster as a vOneCloud host
   following the guide, and the problem shows at the time of monitoring
   the vOneCloud host, with the error displayed in the log file you sent
   through.
  
   A couple of questions to see how we can solve this:
  
 - The host that fails is the one with ID = 3. Does host 1 and 2
   monitor correctly (you can see that with onehost list in the vOneCloud
   console, logged in as oneadmin)
  
 - The credentials of host three to access vCenter are stored in the
   host template, accessible with onehost show 3 (in 

Re: [one-users] vOneCloud and vCenter 5.5 won't connect

2014-11-07 Thread Tino Vazquez
Hi Rogerio,

Ok, let us know.

BTW, just to clarify, there is the oneadmin linux user of the
vOneCloud appliance, and the oneadmin OpenNebula user, which are
separate and do not share password. The opennebula password is just
for the OpenNebula user, not the linux user. You can reset the linux
user with the root account (passwd oneadmin).

Best regards,

-Tino

--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect | Head of Research at OpenNebula
Systems (formerly C12G Labs)
cvazquez@OpenNebula.Systems | @OpenNebula

--
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 OpenNebula.Systems 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 abuse@opennebula.systems and delete the
e-mail and attachments and any copy from your system. OpenNebula's
thanks you for your cooperation.


On 7 November 2014 14:15, Rogerio Goncalves roge...@gmail.com wrote:
 Hi Tino,

 I tried login with oneadmin and not worked with opennebula password. So I
 tried tu use su - oneadmin with root and when I tried onehost list I
 received an authentication error.

 I logged to web interface and changed oneadmin password and tried to enable
 vCenter host again e worked.

 I will deploy OVA again to check password of oneadmin user. I don't remember
 of change this password. I never logged with this user.

 Anyway, thank you!


 Rogerio


 On Fri, Nov 7, 2014 at 10:09 AM, Tino Vazquez cvazquez@opennebula.systems
 wrote:

 Hi Rogerio,

 The error states a problem between the authentication between the
 vCenter driver and vOneCloud core, so in principle not related with
 the username and password to access vCenter.

  - From the vOneCloud console, could you provide the output of ps auxwww
 ?
  - From the vOneCloud console, logged in as oneadmin, the output of
 onehost list

 Best,

 -Tino

 --
 OpenNebula - Flexible Enterprise Cloud Made Simple

 --
 Constantino Vázquez Blanco, PhD, MSc
 Senior Infrastructure Architect | Head of Research at OpenNebula
 Systems (formerly C12G Labs)
 cvazquez@OpenNebula.Systems | @OpenNebula

 --
 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 OpenNebula.Systems 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 abuse@opennebula.systems and delete the
 e-mail and attachments and any copy from your system. OpenNebula's
 thanks you for your cooperation.


 On 7 November 2014 12:37, Rogerio Goncalves roge...@gmail.com wrote:
  Hi Tino,
 
  1st email;
 
  The ID 3 it's because I tried to remove and add vcenter again.
 
  The credentials are correctly on web interface. I didn't access the
  console,
  only to see logs and check process. And also the web interfaces import
  my
  templates and show my cluster Local
 
  2st email;
  Yes, the process is running and the log that I sent was oned.log
 
  I didn't access console and didn't change any password. I just deploy
  OVA,
  connect to console to check IP address and connect via web interface,
  following the guide.
 
  The vCenter and vOneCloud appliance are on the same vlan and I can
  access
  the vCenter web interface successfully with the same username.
 
  Maybe an restriction with password? Or username with @domain?
  My password is VMware1! and I also tried VMware1#.
 
  Thanks
  Rogerio
 
 
 
 
 
  On Fri, Nov 7, 2014 at 6:28 AM, Tino Vazquez
  cvazquez@opennebula.systems
  wrote:
 
  Hi Rogerio,
 
  Reading again the log provided, the problem seems to be in the
  communication between the driver and the vOneCloud core.
 
  1) can you check if the 'oned' process is running as oneadmin user?
 
  2) logged in as oneadmin, can you perform commands like onehost list
  ?
 
  3) did you change the password for oneadmin without changing
  $ONE_AUTH? or did you use oneuser login functionality?
 
  Best,
 
  -Tino
  --
  OpenNebula - Flexible Enterprise Cloud Made Simple
 
  --
  Constantino Vázquez Blanco, PhD, MSc
  Senior Infrastructure Architect | Head of Research at OpenNebula
  Systems (formerly C12G Labs)
  cvazquez@OpenNebula.Systems | @OpenNebula
 
  --
  Confidentiality Warning: 

Re: [one-users] Error Live Migrate

2014-11-07 Thread Steven Timm

This text is the output of
kvm -machine ?

Likely it is somehow connected to a kvm fault on the machine
to which you are migrating.

Steve Timm


On Fri, 7 Nov 2014, Rhesa Mahendra wrote:


Hi,

I got error like this when i try to live migrate:


Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821 pc 
RHEL 6.4.0 PC (alias of rhel6.4.0)


Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821 rhel6.4.0 
RHEL 6.4.0 PC (default)


Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821 rhel6.3.0 
RHEL 6.3.0 PC


Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821 rhel6.2.0 
RHEL 6.2.0 PC


Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821 rhel6.1.0 
RHEL 6.1.0 PC


Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821 rhel6.0.0 
RHEL 6.0.0 PC


Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821 rhel5.5.0 
RHEL 5.5.0 PC


Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821 rhel5.4.4 
RHEL 5.4.4 PC


Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821 rhel5.4.0 
RHEL 5.4.0 PC


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



--
Steven C. Timm, Ph.D  (630) 840-8525
t...@fnal.gov  http://home.fnal.gov/~timm/
Office:  Wilson Hall room 804
Fermilab Scientific Computing Division,
Currently transitioning from:
Scientific Computing Services Quadrant
Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing

To:
Scientific Computing Facilities Quadrant.,
Experimental Computing Facilities Dept.,
Project Lead for Virtual Facility Project.


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


Re: [one-users] econe server and sha1

2014-11-06 Thread Alejandro Feijóo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Oh...

I have that 2 users.

  14 alfeijoousers  ldap   1 /   -   1024M /   -
1.0 /   -
  17 alfeijooec2 users  core - -
   -

I understant that user 14 never work in these scenario?  but user 17 may?

Thanks :)


El 06/11/14 08:56, Daniel Molina escribió:
 Hi,
 
 LDAP authentication is not supported through ec2, at least using regular
 clients. If you want to use this kind of authentication you have to change
 the auth method to opennebla in the econe.conf file and include the Basic
 Auth headers in every ec2 request
 
 Cheers
 
 On 6 November 2014 08:27, Alejandro Feijóo alfei...@cesga.es wrote:
 
 Hi sorry for the delay... i was on vacation...
 
 Yes that was one of the test that i did... but with the same error.
 
 its possible any kind of problems when use ldap?
 
 any random recomendation? :D
 
 Thanks in advance.
 
 
 El 24/10/14 10:30, Daniel Molina escribió:
 
 
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

 
 
 

- -- 
Alejandro Feijóo Fraga
Systems Technician
CESGA
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJUWy/6AAoJEKshAoM6XWq5XS0H/RzdbJyfx4pbXGxrtPNDBQ0M
oqVmeBO5Z/Qf4YXcpvOps3/I48JS9xp4TG4J/pWJFxfTHy6CZXC0wY7x13YLzafh
aqHsEq9mSmL63mYKF8oUSqFyO0DXbrkzDxB6lQ1r/CjfwbOInG0LxK7kC41GLzMR
xcRySKtA3YQUinVYST6QUolbOisQ7G0d1w2RZEfxJ/KR/Xd0NyHaINTbpjOoGlsT
EVpbIeBWnKytv98LlD5BG8bm03yKUgLdBzz97YHJ3BGGMcvqAGkdus9EvWRn/dLM
/JhM56kJUZj3aR31NXMUDxkUxrCawuzd3dtGLFPnDvqMTsvhc6913aC7tFxtM6Y=
=+wf8
-END PGP SIGNATURE-
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] econe server and sha1

2014-11-06 Thread Daniel Molina
That's right, if you use alfeijooec2 through ec2 you don't have to change
anything, just use the password returned by oneshow user show alfeijooec2
as AWS_SECRET_KEY

On 6 November 2014 09:23, Alejandro Feijóo alfei...@cesga.es wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512

 Oh...

 I have that 2 users.

   14 alfeijoousers  ldap   1 /   -   1024M /   -
 1.0 /   -
   17 alfeijooec2 users  core - -
-

 I understant that user 14 never work in these scenario?  but user 17 may?

 Thanks :)


 El 06/11/14 08:56, Daniel Molina escribió:
  Hi,
 
  LDAP authentication is not supported through ec2, at least using regular
  clients. If you want to use this kind of authentication you have to
 change
  the auth method to opennebla in the econe.conf file and include the Basic
  Auth headers in every ec2 request
 
  Cheers
 
  On 6 November 2014 08:27, Alejandro Feijóo alfei...@cesga.es wrote:
 
  Hi sorry for the delay... i was on vacation...
 
  Yes that was one of the test that i did... but with the same error.
 
  its possible any kind of problems when use ldap?
 
  any random recomendation? :D
 
  Thanks in advance.
 
 
  El 24/10/14 10:30, Daniel Molina escribió:
 
 
  ___
  Users mailing list
  Users@lists.opennebula.org
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 
 
 
 

 - --
 Alejandro Feijóo Fraga
 Systems Technician
 CESGA
 -BEGIN PGP SIGNATURE-
 Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
 Comment: GPGTools - https://gpgtools.org

 iQEcBAEBCgAGBQJUWy/6AAoJEKshAoM6XWq5XS0H/RzdbJyfx4pbXGxrtPNDBQ0M
 oqVmeBO5Z/Qf4YXcpvOps3/I48JS9xp4TG4J/pWJFxfTHy6CZXC0wY7x13YLzafh
 aqHsEq9mSmL63mYKF8oUSqFyO0DXbrkzDxB6lQ1r/CjfwbOInG0LxK7kC41GLzMR
 xcRySKtA3YQUinVYST6QUolbOisQ7G0d1w2RZEfxJ/KR/Xd0NyHaINTbpjOoGlsT
 EVpbIeBWnKytv98LlD5BG8bm03yKUgLdBzz97YHJ3BGGMcvqAGkdus9EvWRn/dLM
 /JhM56kJUZj3aR31NXMUDxkUxrCawuzd3dtGLFPnDvqMTsvhc6913aC7tFxtM6Y=
 =+wf8
 -END PGP SIGNATURE-
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




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


Re: [one-users] Easy provisioning missing from newer versions of Opennebula?

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

On Wed, Nov 5, 2014 at 3:19 PM, Pentium100 pentium...@gmail.com wrote:

 Thank you for the information. It sucks a bit about the need to create
 templates for every single VM, but if that's how it should be then OK. Our
 customers currently use VMs as VDS so while MySQL server template might
 be useful, it will need to be cloned before the customer can use a
 persistent image (as it should be as hard as possible to accidentally lose
 data).

 I guess we will have to write our own GUI to Opennebula as it is missing
 some features that are present in the current (quite manual) system. For
 example:
 1) the ability to extend a virtual disk (virtual server may run out of
 space eventually so the disk will need to be extended without losing data
 or long downtime)
 2) the ability to create crash-consistent snapshots* or backups and create
 snapshots if the VM is off (as a backup) of all disks at once.
 3) the ability to migrate with snapshots or keep snapshots after powering
 off the VM (though AFAIK migrating with snapsohts is enabled in the new
 version).

 Our snapshots do not include the VM state, they are just ZFS snapshots of
 the VM's dataset.


Thank you for sharing your use case, and your feedback. We'll take it into
account for future versions.

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


 On Wed, Nov 5, 2014 at 12:11 PM, Carlos Martín Sánchez 
 cmar...@opennebula.org wrote:

 Hi,

 On Tue, Nov 4, 2014 at 1:15 PM, Pentium100 pentium...@gmail.com wrote:

 Hi,

 I have tried Opennebula 4.2.0 and liked the easy provisioning wizard - a
 user could select a template and combine it with his persistent image to
 create a VM without the need to create a separate template.

 It seems that this function is missing from Opennebula 4.8.0, requiring
 eveyone to create a template for each VM and making the VM creation process
 complicated:

 1) Clone, upload or create a blank image (persistent)
 2) Create a template that uses that image
 3) Create a VM that uses that template.

 If the user need 5 identical VMs they have to create 5 separate
 templates that differ only in the images.

 Is there a way to simplify this process? One way is to create a template
 without an image, create a VM from it, then start the VM and attach the
 image. This seems easier than creating templates for each VM, however this
 also has problems. Since attaching the disk requires the VM to be running,
 the VM is deployed with zero storage requirements, so it may be deployed to
 a host that has insufficient storage for when the user tries to add a 1TB
 image leading to problems.

 Our users use the virtual machines as VDS, so persistent images are
 important (deleting a VM may not mean I want to delete the data).


 The easy provisioning wizard was deprecated in favor of the new cloud
 view model, see [1] for a complete explanation of it.

 So yes, you need to define a Template for each Image. It was decided that
 the advantages justify that extra step.

 Your example of the previous way of registering images makes a few
 assumptions that will not apply to everyone. For instance, what happens if
 you register 2 images with different OS architectures? You would need two
 Templates with different OS/ARCH, and the users wouldn't know which one
 applies to each Image.
 The same goes for a heterogeneous infrastructure. If there are Images for
 KVM and VMware, you need to create Templates with
 SCHED_REQUIREMENTS=HYPERVISOR=xx for each one. But the users can freely
 mix a kvm template with a vmware image.
 Another Template attributes coupled to a specific image:
 NIC_DEFAULT/MODEL.

 The new model also includes new features. For example, if you as an admin
 prepare an Image with a mysql server, now you can define a matching VM
 Template that asks the user the mysql password they want to set when the
 template is instantiated [2].

 Regards

 [1]
 http://docs.opennebula.org/4.10/design_and_installation/building_your_cloud/understand.html
 [2]
 http://docs.opennebula.org/4.10/user/virtual_resource_management/vm_guide.html#ask-for-user-inputs
 --
 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 cmar...@opennebula.org




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


Re: [one-users] Users can't create VMs with large capacity (in the cloud view)

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

On Tue, Nov 4, 2014 at 2:34 PM, Pavel Tankov 
pavel.tan...@strategyobject.com wrote:

 OK, I understand it now. Then, does Opennebula support any kind of
 overcommitting or something?

 Pavel Tankov


Yes, you can use cpu/vcpu to guide overcommitment [1]. Or you can set
negative values for reserved_cpu/mem in the hosts [2].

Regards

[1]
http://docs.opennebula.org/4.10/user/references/template.html#capacity-section
[2]
http://docs.opennebula.org/4.10/administration/references/schg.html#limiting-the-resources-exposed-by-a-host
--
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


[one-users] New vOneCloud app to build clouds on VMware vCenter

2014-11-06 Thread Ignacio M. Llorente
Dear community,

We have just announced the release of vOneCloud (
http://opennebula.org/vonecloud-the-simplest-alternative-to-vcloud/), a
CentOS Linux virtual appliance for vSphere that contains all required
OpenNebula services optimized to work on existing VMware vCenter
deployments. vOneCloud is for organizations that want to create a
self-service cloud environment on top of their VMware infrastructure
without having to abandon their investment in VMware and retool the entire
stack.

We recommend vOneCloud to build your cloud if you are only using vCenter as
infrastructure backend. If your are planning to use KVM, Xen, VMware ESX,
or VMWare vCenter combined with any of the previous hypervisors, we
recommend you use the OpenNebula packages available at
http://opennebula.org/software/.

Looking forward to your feedback, and thanks for your valuable support!

Ignacio

-- 
Ignacio M. Llorente, PhD, MBA
Project Director
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | imllore...@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] 4.10 + Datastore Gluster

2014-11-06 Thread vincent

Hi,

Have you followed the docs? On which OS is Gluster running?

Vincent

On 2014-11-05 16:18, Giancarlo De Filippis wrote:

Hi all,

i'm this error using version 4.10 of Opnenebula and image datastore
Gluster.

Wed Nov 5 12:45:07 2014 [Z0][VMM][I]: Generating deployment file:
/var/lib/one/vms/4/deployment.0
Wed Nov 5 12:45:07 2014 [Z0][VMM][I]: ExitCode: 0
Wed Nov 5 12:45:07 2014 [Z0][VMM][I]: Successfully execute network
driver operation: pre.
Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: Command execution fail: cat 
EOT | /var/tmp/one/vmm/kvm/deploy
'/var/lib/one//datastores/0/4/deployment.0' 'node1.ltbl.it' 4
node1.ltbl.it
Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: error: Failed to create domain
from /var/lib/one//datastores/0/4/deployment.0
Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: error: internal error: process
exited while connecting to monitor: [2014-11-05 11:44:58.575817] E
[rpc-clnt.c:369:saved_frames_unwind]
(--/lib64/libgfrpc.so.0(rpc_clnt_notify+0x48) [0x7f1be7646168]
(--/lib64/libgfrpc.so.0(rpc_clnt_connection_cleanup+0xb8)
[0x7f1be7644218] (--/lib64/libgfrpc.so.0(saved_frames_destroy+0xe)
[0x7f1be764413e]))) 0-gfapi: forced unwinding frame type(GlusterFS
Handshake) op(GETSPEC(2)) called at 2014-11-05 11:44:58.574997
(xid=0x1)
Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: [2014-11-05 11:44:58.575836] E
[glfs-mgmt.c:586:mgmt_getspec_cbk] 0-glfs-mgmt: failed to fetch volume
file (key:cloudStorage)
Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: [2014-11-05 11:44:58.575864] E
[glfs-mgmt.c:680:mgmt_rpc_notify] 0-glfs-mgmt: failed to connect with
remote-host: 37.187.248.190 (No data available)
Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: qemu-kvm: -drive
file=gluster://XXX:24007/cloudStorage/2ec797c8773239569395a205a0fdc811,if=none,id=drive-ide0-0-0,format=qcow2,cache=none:
Gluster connection failed for server= port=24007
volume=cloudStorage image=2ec797c8773239569395a205a0fdc811
transport=tcp
Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: qemu-kvm: -drive f
Wed Nov 5 12:45:08 2014 [Z0][VMM][E]: Could not create domain from
/var/lib/one//datastores/0/4/deployment.0
Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: ExitCode: 255
Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: Failed to execute virtualization
driver operation: deploy.
Wed Nov 5 12:45:08 2014 [Z0][VMM][E]: Error deploying virtual machine:
Could not create domain from

If i try this command: qemu-img info
gluster://xx:24007/cloudStorage/image it give error,

image:
gluster://storage1:24007/cloudStorage/2ec797c8773239569395a205a0fdc811
file format: qcow2
virtual size: 10G (10737418240 bytes)
disk size: 830M
cluster_size: 65536
Format specific information:
[2014-11-05 15:17:28.722805] E [afr-common.c:4168:afr_notify]
0-cloudStorage-replicate-0: All subvolumes are down. Going offline
until atleast one of them comes back up.
 compat: 0.10

if i try this command (mounting remote fs): qemu-img info
/var/lib/one/datastores/0/image everithing work fine.

Someone can help me?

Thanks
___
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] 4.10 + Datastore Gluster

2014-11-06 Thread Giancarlo De Filippis
Hi,
i just resolved.
i Missing  - on second server (replicated) - a modification to
glustefs.vol. and a restart of the volume.
Everything run fine now.
Thanks!!!



 
Il 06/11/2014 15:06, vinc...@vanderkussen.org ha scritto:
 Hi,

 Have you followed the docs? On which OS is Gluster running?

 Vincent

 On 2014-11-05 16:18, Giancarlo De Filippis wrote:
 Hi all,

 i'm this error using version 4.10 of Opnenebula and image datastore
 Gluster.

 Wed Nov 5 12:45:07 2014 [Z0][VMM][I]: Generating deployment file:
 /var/lib/one/vms/4/deployment.0
 Wed Nov 5 12:45:07 2014 [Z0][VMM][I]: ExitCode: 0
 Wed Nov 5 12:45:07 2014 [Z0][VMM][I]: Successfully execute network
 driver operation: pre.
 Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: Command execution fail: cat 
 EOT | /var/tmp/one/vmm/kvm/deploy
 '/var/lib/one//datastores/0/4/deployment.0' 'node1.ltbl.it' 4
 node1.ltbl.it
 Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: error: Failed to create domain
 from /var/lib/one//datastores/0/4/deployment.0
 Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: error: internal error: process
 exited while connecting to monitor: [2014-11-05 11:44:58.575817] E
 [rpc-clnt.c:369:saved_frames_unwind]
 (--/lib64/libgfrpc.so.0(rpc_clnt_notify+0x48) [0x7f1be7646168]
 (--/lib64/libgfrpc.so.0(rpc_clnt_connection_cleanup+0xb8)
 [0x7f1be7644218] (--/lib64/libgfrpc.so.0(saved_frames_destroy+0xe)
 [0x7f1be764413e]))) 0-gfapi: forced unwinding frame type(GlusterFS
 Handshake) op(GETSPEC(2)) called at 2014-11-05 11:44:58.574997
 (xid=0x1)
 Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: [2014-11-05 11:44:58.575836] E
 [glfs-mgmt.c:586:mgmt_getspec_cbk] 0-glfs-mgmt: failed to fetch volume
 file (key:cloudStorage)
 Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: [2014-11-05 11:44:58.575864] E
 [glfs-mgmt.c:680:mgmt_rpc_notify] 0-glfs-mgmt: failed to connect with
 remote-host: 37.187.248.190 (No data available)
 Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: qemu-kvm: -drive
 file=gluster://XXX:24007/cloudStorage/2ec797c8773239569395a205a0fdc811,if=none,id=drive-ide0-0-0,format=qcow2,cache=none:

 Gluster connection failed for server= port=24007
 volume=cloudStorage image=2ec797c8773239569395a205a0fdc811
 transport=tcp
 Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: qemu-kvm: -drive f
 Wed Nov 5 12:45:08 2014 [Z0][VMM][E]: Could not create domain from
 /var/lib/one//datastores/0/4/deployment.0
 Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: ExitCode: 255
 Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: Failed to execute virtualization
 driver operation: deploy.
 Wed Nov 5 12:45:08 2014 [Z0][VMM][E]: Error deploying virtual machine:
 Could not create domain from

 If i try this command: qemu-img info
 gluster://xx:24007/cloudStorage/image it give error,

 image:
 gluster://storage1:24007/cloudStorage/2ec797c8773239569395a205a0fdc811
 file format: qcow2
 virtual size: 10G (10737418240 bytes)
 disk size: 830M
 cluster_size: 65536
 Format specific information:
 [2014-11-05 15:17:28.722805] E [afr-common.c:4168:afr_notify]
 0-cloudStorage-replicate-0: All subvolumes are down. Going offline
 until atleast one of them comes back up.
  compat: 0.10

 if i try this command (mounting remote fs): qemu-img info
 /var/lib/one/datastores/0/image everithing work fine.

 Someone can help me?

 Thanks
 ___
 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] vOneCloud and vCenter 5.5 won't connect

2014-11-06 Thread Rogerio Goncalves
Hi,

I'm trying the vOneCloud appliance 4.10beta and I'm having problem to
connect with my vCenter 5.5.

I used this doc:
http://docs.vonecloud.today/4.10/simple_cloud_deployment/import_vcenter.html

My oned.log after I create the Host with vCenter informations.

http://pastebin.com/MJPLGNi5

The username and password is correct because the web interface shows me the
cluster name and some templates.

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


[one-users] Error Live Migrate

2014-11-06 Thread Rhesa Mahendra

Hi,

I got error like this when i try to live migrate:


Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821 
pc RHEL 6.4.0 PC (alias of rhel6.4.0)


Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821 
rhel6.4.0  RHEL 6.4.0 PC (default)


Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821 
rhel6.3.0  RHEL 6.3.0 PC


Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821 
rhel6.2.0  RHEL 6.2.0 PC


Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821 
rhel6.1.0  RHEL 6.1.0 PC


Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821 
rhel6.0.0  RHEL 6.0.0 PC


Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821 
rhel5.5.0  RHEL 5.5.0 PC


Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821 
rhel5.4.4  RHEL 5.4.4 PC


Fri Nov  7 14:19:02 2014 [VMM][D]: Message received: LOG I 821 
rhel5.4.0  RHEL 5.4.0 PC


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


[one-users] reg sunstone - VNC

2014-11-06 Thread Rajendar K
Hi All,
   I am using opennebula 4.6 version.  My setup has
(i) ONE   -  Machine A  ( sunstone server is also running)
  -  two nodes z1-nc04, z1-nc03

(ii) Sunstone Sever  -  Machine B, (using the same credential of Machine A)

   the issue i am facing is that i can access the VNC of any VM
using
the sunstone [machine A], but when i access through machine B, it fails.
Both machines are in the same subnet. (using telnet i can see its being
connected)

The novnc log is as follows,

WebSocket server settings:
  - Listen on :29876
  - Flash security policy server
  - No SSL/TLS support (no cert file)
  - proxying from :29876 to targets in
/srv/cloud/one/var/sunstone_vnc_tokens

  1: 10.1.26.51: Plain non-SSL (ws://) WebSocket connection
  1: 10.1.26.51: Version hybi-13, base64: 'False'
  1: 10.1.26.51: Path: '/?token=npfbnzreud4ozaiasiwq'
  1: connecting to: z1-nc04:5995
  1: handler exception: [Errno -3] Temporary failure in name resolution
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] vOneCloud and vCenter 5.5 won't connect

2014-11-06 Thread Tino Vazquez
Hi Rogerio,

I take it that you imported a vCenter cluster as a vOneCloud host
following the guide, and the problem shows at the time of monitoring
the vOneCloud host, with the error displayed in the log file you sent
through.

A couple of questions to see how we can solve this:

  - The host that fails is the one with ID = 3. Does host 1 and 2
monitor correctly (you can see that with onehost list in the vOneCloud
console, logged in as oneadmin)

  - The credentials of host three to access vCenter are stored in the
host template, accessible with onehost show 3 (in the vOneCloud
console, logged in as oneadmin). Can you check that the contents of:

 VCENTER_USER
 VCENTER_PASSWORD

are correct and not mangled somehow?

Best regards,

-Tino

--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect | Head of Research at OpenNebula
Systems (formerly C12G Labs)
cvazquez@OpenNebula.Systems | @OpenNebula

--
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 OpenNebula.Systems 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 abuse@opennebula.systems and delete the
e-mail and attachments and any copy from your system. OpenNebula's
thanks you for your cooperation.


On 7 November 2014 07:15, Rogerio Goncalves roge...@gmail.com wrote:
 Hi,

 I'm trying the vOneCloud appliance 4.10beta and I'm having problem to
 connect with my vCenter 5.5.

 I used this doc:
 http://docs.vonecloud.today/4.10/simple_cloud_deployment/import_vcenter.html

 My oned.log after I create the Host with vCenter informations.

 http://pastebin.com/MJPLGNi5

 The username and password is correct because the web interface shows me the
 cluster name and some templates.

 Thanks
 Rogerio

 ___
 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] vCenter support prevents seperate Sunstone installations in ONE 4.10

2014-11-05 Thread Stefan Kooman
Hi,

I upgraded two test installs to ONE 4.10. All went fine on the VM with a all in
one setup (ONE / SUNSTONE on the same server). But on the test
installation with opennebula and sunstone in seperate virtual machines,
Sunstone throws this error:

[ 2014-11-05 09:26:35.1733 6489/7fd61076a700 Pool2/Implementation.cpp:287 ]:
Could not spawn process for application /usr/lib/one/sunstone: An error occured
while starting up the preloader.
  Error ID: bf1abc0e
  Error details saved to: /tmp/passenger-error-Cd1rIQ.html
  Message from application: cannot load such file -- vcenter_driver (LoadError)
  /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  /usr/lib/one/sunstone/routes/vcenter.rb:26:in `top (required)'
  /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  /usr/lib/one/sunstone/sunstone-server.rb:323:in `block in top (required)'
  /usr/lib/one/sunstone/sunstone-server.rb:322:in `each'
  /usr/lib/one/sunstone/sunstone-server.rb:322:in `top (required)'
  /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  config.ru:9:in `block in main'
  /usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `instance_eval'
  /usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `initialize'
  config.ru:1:in `new'
  config.ru:1:in `main'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:112:in `eval'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:112:in `preload_app'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:158:in `module:App'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in 
`module:PhusionPassenger'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:28:in `main'

Most notably Message from application: cannot load such file -- vcenter_driver 
(LoadError).
It turns out that if I move /var/lib/one/remotes/im/vcenter.d,
/var/lib/one/remotes/vmm/vcenter out of the way, Sunstone throws this error.
If I comment - vcenter in sunstone-server.conf, Sunstone works fine.

Is this a (new) dependency from Sunstone for vcenter support? Or a bug? Or did
I miss something?

Thanks,

Stefan



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


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


Re: [one-users] Ruby 2.1.2

2014-11-05 Thread Daniel Molina
Hi,

ruby 2.1.2 is not included in our certified platforms, but it should work.
Did you find any problem?

Cheers

On 5 November 2014 04:06, Rhesa Mahendra rh...@lintasmediadanawa.com
wrote:

 Hi,

 Opennebula 4.10 support for ruby 2.1.2 ?

 Thanks.

 ___
 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] vCenter support prevents seperate Sunstone installations in ONE 4.10

2014-11-05 Thread Daniel Molina
Hi Stefan,

Indeed it is a bug, a file is missing in the sunstone package. You can fix
it including the following file in /usr/lib/one/ruby
https://github.com/OpenNebula/one/blob/master/src/vmm_mad/remotes/vcenter/vcenter_driver.rb

Sorry for the inconvenience

On 5 November 2014 10:00, Stefan Kooman ste...@bit.nl wrote:

 Hi,

 I upgraded two test installs to ONE 4.10. All went fine on the VM with a
 all in
 one setup (ONE / SUNSTONE on the same server). But on the test
 installation with opennebula and sunstone in seperate virtual machines,
 Sunstone throws this error:

 [ 2014-11-05 09:26:35.1733 6489/7fd61076a700 Pool2/Implementation.cpp:287
 ]:
 Could not spawn process for application /usr/lib/one/sunstone: An error
 occured
 while starting up the preloader.
   Error ID: bf1abc0e
   Error details saved to: /tmp/passenger-error-Cd1rIQ.html
   Message from application: cannot load such file -- vcenter_driver
 (LoadError)
   /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
   /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
   /usr/lib/one/sunstone/routes/vcenter.rb:26:in `top (required)'
   /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
   /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
   /usr/lib/one/sunstone/sunstone-server.rb:323:in `block in top
 (required)'
   /usr/lib/one/sunstone/sunstone-server.rb:322:in `each'
   /usr/lib/one/sunstone/sunstone-server.rb:322:in `top (required)'
   /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
   /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
   config.ru:9:in `block in main'
   /usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `instance_eval'
   /usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `initialize'
   config.ru:1:in `new'
   config.ru:1:in `main'
   /usr/share/passenger/helper-scripts/rack-preloader.rb:112:in `eval'
   /usr/share/passenger/helper-scripts/rack-preloader.rb:112:in
 `preload_app'
   /usr/share/passenger/helper-scripts/rack-preloader.rb:158:in
 `module:App'
   /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in
 `module:PhusionPassenger'
   /usr/share/passenger/helper-scripts/rack-preloader.rb:28:in `main'

 Most notably Message from application: cannot load such file --
 vcenter_driver (LoadError).
 It turns out that if I move /var/lib/one/remotes/im/vcenter.d,
 /var/lib/one/remotes/vmm/vcenter out of the way, Sunstone throws this
 error.
 If I comment - vcenter in sunstone-server.conf, Sunstone works fine.

 Is this a (new) dependency from Sunstone for vcenter support? Or a bug? Or
 did
 I miss something?

 Thanks,

 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


Re: [one-users] Easy provisioning missing from newer versions of Opennebula?

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

On Tue, Nov 4, 2014 at 1:15 PM, Pentium100 pentium...@gmail.com wrote:

 Hi,

 I have tried Opennebula 4.2.0 and liked the easy provisioning wizard - a
 user could select a template and combine it with his persistent image to
 create a VM without the need to create a separate template.

 It seems that this function is missing from Opennebula 4.8.0, requiring
 eveyone to create a template for each VM and making the VM creation process
 complicated:

 1) Clone, upload or create a blank image (persistent)
 2) Create a template that uses that image
 3) Create a VM that uses that template.

 If the user need 5 identical VMs they have to create 5 separate templates
 that differ only in the images.

 Is there a way to simplify this process? One way is to create a template
 without an image, create a VM from it, then start the VM and attach the
 image. This seems easier than creating templates for each VM, however this
 also has problems. Since attaching the disk requires the VM to be running,
 the VM is deployed with zero storage requirements, so it may be deployed to
 a host that has insufficient storage for when the user tries to add a 1TB
 image leading to problems.

 Our users use the virtual machines as VDS, so persistent images are
 important (deleting a VM may not mean I want to delete the data).


The easy provisioning wizard was deprecated in favor of the new cloud view
model, see [1] for a complete explanation of it.

So yes, you need to define a Template for each Image. It was decided that
the advantages justify that extra step.

Your example of the previous way of registering images makes a few
assumptions that will not apply to everyone. For instance, what happens if
you register 2 images with different OS architectures? You would need two
Templates with different OS/ARCH, and the users wouldn't know which one
applies to each Image.
The same goes for a heterogeneous infrastructure. If there are Images for
KVM and VMware, you need to create Templates with
SCHED_REQUIREMENTS=HYPERVISOR=xx for each one. But the users can freely
mix a kvm template with a vmware image.
Another Template attributes coupled to a specific image: NIC_DEFAULT/MODEL.

The new model also includes new features. For example, if you as an admin
prepare an Image with a mysql server, now you can define a matching VM
Template that asks the user the mysql password they want to set when the
template is instantiated [2].

Regards

[1]
http://docs.opennebula.org/4.10/design_and_installation/building_your_cloud/understand.html
[2]
http://docs.opennebula.org/4.10/user/virtual_resource_management/vm_guide.html#ask-for-user-inputs
--
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 cmar...@opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] one version after upgrading to 4.10.0

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

On Tue, Nov 4, 2014 at 10:31 AM, Thomas Stein himbe...@meine-oma.de wrote:


 There is one thing left on my i
 don't understand list. Why is the sunstone server still showing version
 4.8.0 for the opennebula node we just talked about?


 https://fluffycloud.de/public.php?service=filest=da549a369f324c686a46bc476594e434


That attribute is returned by the monitoring probes. It should be updated
in the next monitorization. If you didn't run onehost sync [1], or if it
didn't have any effect, run 'onehost sync --force' as oneadmin in the
frontend machine.

Regards

[1]
http://docs.opennebula.org/4.10/release_notes/release_notes/upgrade_48.html#update-the-drivers

--
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] Ruby 2.1.2

2014-11-05 Thread Rhesa Mahendra
I use ruby 2.1.4 compile from source and everything is fine with opennebula 
4.10 thanks.

Regards,
Rhesa Mahendra.

 On 5 Nov 2014, at 16.58, Daniel Molina dmol...@opennebula.org wrote:
 
 Hi,
 
 ruby 2.1.2 is not included in our certified platforms, but it should work. 
 Did you find any problem?
 
 Cheers 
 
 On 5 November 2014 04:06, Rhesa Mahendra rh...@lintasmediadanawa.com wrote:
 Hi,
 
 Opennebula 4.10 support for ruby 2.1.2 ?
 
 Thanks.
 
 ___
 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] vCenter support prevents seperate Sunstone installations in ONE 4.10

2014-11-05 Thread Stefan Kooman
Quoting Daniel Molina (dmol...@opennebula.org):
 Hi Stefan,
 
 Indeed it is a bug, a file is missing in the sunstone package. You can fix
 it including the following file in /usr/lib/one/ruby
 https://github.com/OpenNebula/one/blob/master/src/vmm_mad/remotes/vcenter/vcenter_driver.rb

This is not sufficient, new error is thrown:

[ 2014-11-05 11:30:54.4794 21003/7f59add87700 Pool2/Implementation.cpp:287 ]: 
Could not spawn process for application
 /usr/lib/one/sunstone: An error occured while starting up the preloader.
  Error ID: a6f5c45b
  Error details saved to: /tmp/passenger-error-W31QXw.html
  Message from application: cannot load such file -- rbvmomi (LoadError)
  /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  /usr/lib/one/ruby/vcenter_driver.rb:39:in `top (required)'
  /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  /usr/lib/one/sunstone/routes/vcenter.rb:26:in `top (required)'
  /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  /usr/lib/one/sunstone/sunstone-server.rb:323:in `block in top (required)'
  /usr/lib/one/sunstone/sunstone-server.rb:322:in `each'
  /usr/lib/one/sunstone/sunstone-server.rb:322:in `top (required)'
  /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  config.ru:10:in `block in main'
  /usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `instance_eval'
  /usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `initialize'
  config.ru:1:in `new'
  config.ru:1:in `main'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:112:in `eval'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:112:in `preload_app'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:158:in `module:App'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in 
`module:PhusionPassenger'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:28:in `main'

Message from application: cannot load such file -- rbvmomi (LoadError). It
turns out that /usr/lib/one/ruby/vendors/rbvmomi is also missing. 
 
 Sorry for the inconvenience

Sorry for not having tested this earlier ...

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] Do we need to mount /var/lib/one with ceph

2014-11-05 Thread Huynh Dac Nguyen

Hi All,  

I'm researching opennebula with ceph, i saw that most of guide focus on
using ceph as datastore - block device, right?  

Do we need to mount ceph to /var/lib/one as file system to prevent the
opennebula frontend down expectedly?  

My script is:  

1) Make a ceph file system : one and mount to /var/lib/one in all
opennebula node (front-end and node)  
2) Create a ceph block device and add to opennebula as datastore 

Is this a right way? 

Regards,  
Ndhuynh 
ndhu...@spsvietnam.vn 
This e-mail message including any attachments is for the sole use of the
intended(s) and may contain privileged or confidential information. Any
unauthorized review, use, disclosure or distribution is prohibited. If
you are not intended recipient, please immediately contact the sender by
reply e-mail and delete the original message and destroy all copies
thereof.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] vCenter support prevents seperate Sunstone installations in ONE 4.10

2014-11-05 Thread Daniel Molina
Now the rbvmovi gem is missing, this should be also included in the package
since it's vendored. As a workaround you can just install the gem using
gem install rbvmovi.

We will include al these fixes in a new version of the package, sorry.

On 5 November 2014 11:53, Stefan Kooman ste...@bit.nl wrote:

 Quoting Daniel Molina (dmol...@opennebula.org):
  Hi Stefan,
 
  Indeed it is a bug, a file is missing in the sunstone package. You can
 fix
  it including the following file in /usr/lib/one/ruby
 
 https://github.com/OpenNebula/one/blob/master/src/vmm_mad/remotes/vcenter/vcenter_driver.rb

 This is not sufficient, new error is thrown:

 [ 2014-11-05 11:30:54.4794 21003/7f59add87700 Pool2/Implementation.cpp:287
 ]: Could not spawn process for application
  /usr/lib/one/sunstone: An error occured while starting up the preloader.
   Error ID: a6f5c45b
   Error details saved to: /tmp/passenger-error-W31QXw.html
   Message from application: cannot load such file -- rbvmomi (LoadError)
   /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
   /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
   /usr/lib/one/ruby/vcenter_driver.rb:39:in `top (required)'
   /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
   /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
   /usr/lib/one/sunstone/routes/vcenter.rb:26:in `top (required)'
   /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
   /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
   /usr/lib/one/sunstone/sunstone-server.rb:323:in `block in top
 (required)'
   /usr/lib/one/sunstone/sunstone-server.rb:322:in `each'
   /usr/lib/one/sunstone/sunstone-server.rb:322:in `top (required)'
   /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
   /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
   config.ru:10:in `block in main'
   /usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `instance_eval'
   /usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `initialize'
   config.ru:1:in `new'
   config.ru:1:in `main'
   /usr/share/passenger/helper-scripts/rack-preloader.rb:112:in `eval'
   /usr/share/passenger/helper-scripts/rack-preloader.rb:112:in
 `preload_app'
   /usr/share/passenger/helper-scripts/rack-preloader.rb:158:in
 `module:App'
   /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in
 `module:PhusionPassenger'
   /usr/share/passenger/helper-scripts/rack-preloader.rb:28:in `main'

 Message from application: cannot load such file -- rbvmomi (LoadError). It
 turns out that /usr/lib/one/ruby/vendors/rbvmomi is also missing.
 
  Sorry for the inconvenience

 Sorry for not having tested this earlier ...

 Gr. Stefan

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




-- 
--
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] Refresh button in Sunstone makes graphs disappear in ONE 4.10

2014-11-05 Thread Stefan Kooman
Hi,

Hitting the refresh button in Sunstone in either the
Capacity or Network view makes the graphs disappear (instead of
refreshing them with new data). They return if
you click another view in between. Tested with Chromium 38, Apache
Passenger 4.0.53.

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] vCenter support prevents seperate Sunstone installations in ONE 4.10

2014-11-05 Thread Daniel Molina
Hi Stefan,

If you are not using the vcenter integration, you can also disable the
routes in sunstone-server.conf and it should work.

Cheers

On 5 November 2014 13:13, Daniel Molina dmol...@opennebula.org wrote:

 Now the rbvmovi gem is missing, this should be also included in the
 package since it's vendored. As a workaround you can just install the gem
 using gem install rbvmovi.

 We will include al these fixes in a new version of the package, sorry.

 On 5 November 2014 11:53, Stefan Kooman ste...@bit.nl wrote:

 Quoting Daniel Molina (dmol...@opennebula.org):
  Hi Stefan,
 
  Indeed it is a bug, a file is missing in the sunstone package. You can
 fix
  it including the following file in /usr/lib/one/ruby
 
 https://github.com/OpenNebula/one/blob/master/src/vmm_mad/remotes/vcenter/vcenter_driver.rb

 This is not sufficient, new error is thrown:

 [ 2014-11-05 11:30:54.4794 21003/7f59add87700
 Pool2/Implementation.cpp:287 ]: Could not spawn process for application
  /usr/lib/one/sunstone: An error occured while starting up the preloader.
   Error ID: a6f5c45b
   Error details saved to: /tmp/passenger-error-W31QXw.html
   Message from application: cannot load such file -- rbvmomi (LoadError)
   /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
   /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
   /usr/lib/one/ruby/vcenter_driver.rb:39:in `top (required)'
   /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
   /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
   /usr/lib/one/sunstone/routes/vcenter.rb:26:in `top (required)'
   /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
   /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
   /usr/lib/one/sunstone/sunstone-server.rb:323:in `block in top
 (required)'
   /usr/lib/one/sunstone/sunstone-server.rb:322:in `each'
   /usr/lib/one/sunstone/sunstone-server.rb:322:in `top (required)'
   /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
   /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
   config.ru:10:in `block in main'
   /usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `instance_eval'
   /usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `initialize'
   config.ru:1:in `new'
   config.ru:1:in `main'
   /usr/share/passenger/helper-scripts/rack-preloader.rb:112:in `eval'
   /usr/share/passenger/helper-scripts/rack-preloader.rb:112:in
 `preload_app'
   /usr/share/passenger/helper-scripts/rack-preloader.rb:158:in
 `module:App'
   /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in
 `module:PhusionPassenger'
   /usr/share/passenger/helper-scripts/rack-preloader.rb:28:in `main'

 Message from application: cannot load such file -- rbvmomi (LoadError). It
 turns out that /usr/lib/one/ruby/vendors/rbvmomi is also missing.
 
  Sorry for the inconvenience

 Sorry for not having tested this earlier ...

 Gr. Stefan

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




 --
 --
 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] Refresh button in Sunstone makes graphs disappear in ONE 4.10

2014-11-05 Thread Carlos Martín Sánchez
Hi Stefan,

We caught it as well [1], hopefully we'll fix it soon. Thanks for reporting
it!

Cheers

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

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

On Wed, Nov 5, 2014 at 1:15 PM, Stefan Kooman ste...@bit.nl wrote:

 Hi,

 Hitting the refresh button in Sunstone in either the
 Capacity or Network view makes the graphs disappear (instead of
 refreshing them with new data). They return if
 you click another view in between. Tested with Chromium 38, Apache
 Passenger 4.0.53.

 Gr. Stefan



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

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


[one-users] 4.10 + Datastore Gluster

2014-11-05 Thread Giancarlo De Filippis
 

Hi all, 

i'm this error using version 4.10 of Opnenebula and image datastore
Gluster. 

Wed Nov 5 12:45:07 2014 [Z0][VMM][I]: Generating deployment file:
/var/lib/one/vms/4/deployment.0
Wed Nov 5 12:45:07 2014 [Z0][VMM][I]: ExitCode: 0
Wed Nov 5 12:45:07 2014 [Z0][VMM][I]: Successfully execute network
driver operation: pre.
Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: Command execution fail: cat  EOT
| /var/tmp/one/vmm/kvm/deploy
'/var/lib/one//datastores/0/4/deployment.0' 'node1.ltbl.it' 4
node1.ltbl.it
Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: error: Failed to create domain
from /var/lib/one//datastores/0/4/deployment.0
Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: error: internal error: process
exited while connecting to monitor: [2014-11-05 11:44:58.575817] E
[rpc-clnt.c:369:saved_frames_unwind]
(--/lib64/libgfrpc.so.0(rpc_clnt_notify+0x48) [0x7f1be7646168]
(--/lib64/libgfrpc.so.0(rpc_clnt_connection_cleanup+0xb8)
[0x7f1be7644218] (--/lib64/libgfrpc.so.0(saved_frames_destroy+0xe)
[0x7f1be764413e]))) 0-gfapi: forced unwinding frame type(GlusterFS
Handshake) op(GETSPEC(2)) called at 2014-11-05 11:44:58.574997 (xid=0x1)
Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: [2014-11-05 11:44:58.575836] E
[glfs-mgmt.c:586:mgmt_getspec_cbk] 0-glfs-mgmt: failed to fetch volume
file (key:cloudStorage)
Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: [2014-11-05 11:44:58.575864] E
[glfs-mgmt.c:680:mgmt_rpc_notify] 0-glfs-mgmt: failed to connect with
remote-host: 37.187.248.190 (No data available)
Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: qemu-kvm: -drive
file=gluster://XXX:24007/cloudStorage/2ec797c8773239569395a205a0fdc811,if=none,id=drive-ide0-0-0,format=qcow2,cache=none:
Gluster connection failed for server= port=24007
volume=cloudStorage image=2ec797c8773239569395a205a0fdc811 transport=tcp
Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: qemu-kvm: -drive f
Wed Nov 5 12:45:08 2014 [Z0][VMM][E]: Could not create domain from
/var/lib/one//datastores/0/4/deployment.0
Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: ExitCode: 255
Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: Failed to execute virtualization
driver operation: deploy.
Wed Nov 5 12:45:08 2014 [Z0][VMM][E]: Error deploying virtual machine:
Could not create domain from 

If i try this command: qemu-img info
gluster://xx:24007/cloudStorage/image it give error, 

image:
gluster://storage1:24007/cloudStorage/2ec797c8773239569395a205a0fdc811
file format: qcow2
virtual size: 10G (10737418240 bytes)
disk size: 830M
cluster_size: 65536
Format specific information:
[2014-11-05 15:17:28.722805] E [afr-common.c:4168:afr_notify]
0-cloudStorage-replicate-0: All subvolumes are down. Going offline until
atleast one of them comes back up.
 compat: 0.10 

if i try this command (mounting remote fs): qemu-img info
/var/lib/one/datastores/0/image everithing work fine. 

Someone can help me? 

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


Re: [one-users] failover datastore

2014-11-05 Thread Ruben S. Montero
Hi Resha,

Usually we achieve this by leveraging the storage infrastructure
underneath, OpenNebula by itself does not replicate disk images...

Cheers

Ruben

On Thu Oct 09 2014 at 12:53:52 AM Rhesa Mahendra 
rh...@lintasmediadanawa.com wrote:

 I have 3 datastore, box a for datastore 0  datastore 2, box b for
 datastore 1 and box c for datastore 150, box b and box c with default type.

 could we make box b and box c (datastore1datastore 150) failover? so we
 can maintenance box b or box c without downtime, thanks.

 Regards,
 Rhesa Mahendra.
 ___
 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] Stopping a VM erases it

2014-11-05 Thread Sergi
Hello,

we are using OpenNebula 4.6.2 under CentOS 6.5.

We have 2 hosts, one of these has also Sunstone and exports shared
datastores (system, image and file), named 'localhost'.
We also have another system datastore using the ssh driver.

We have an issue with stopping VMs ... from sunstone gui, powering off a
VM on the ssh system datastore and starting it again works; but stopping
(option on menu that includes undeploy and undeploy hard) deletes the VM
files and when trying to start it again, kvm cannot find the files (i.e.
checkpoint).

Wed Oct 29 10:55:45 2014 [LCM][I]: New VM state is SAVE_STOP
Wed Oct 29 10:55:51 2014 [VMM][I]: ExitCode: 0
Wed Oct 29 10:55:51 2014 [VMM][I]: Successfully execute virtualization
driver operation: save.
Wed Oct 29 10:55:51 2014 [VMM][I]: ExitCode: 0
Wed Oct 29 10:55:51 2014 [VMM][I]: Successfully execute network driver
operation: clean.
Wed Oct 29 10:55:51 2014 [LCM][I]: New VM state is EPILOG_STOP
Wed Oct 29 10:55:52 2014 [DiM][I]: New VM state is STOPPED
Wed Oct 29 10:58:07 2014 [DiM][I]: New VM state is PENDING.
Wed Oct 29 10:58:21 2014 [DiM][I]: New VM state is ACTIVE.
Wed Oct 29 10:58:21 2014 [LCM][I]: New VM state is PROLOG.
Wed Oct 29 10:58:21 2014 [LCM][I]: New VM state is BOOT
Wed Oct 29 10:58:22 2014 [VMM][I]: ExitCode: 0
Wed Oct 29 10:58:22 2014 [VMM][I]: Successfully execute network driver
operation: pre.
Wed Oct 29 10:58:22 2014 [VMM][I]: Command execution fail:
/var/tmp/one/vmm/kvm/restore
'/var/lib/one//datastores/100/61/checkpoint' 'localhost' 'one-61' 61
localhost
Wed Oct 29 10:58:22 2014 [VMM][E]: restore: Command virsh --connect
qemu:///system restore /var/lib/one//datastores/100/61/checkpoint
failed: error: Failed to restore domain from
/var/lib/one//datastores/100/61/checkpoint
Wed Oct 29 10:58:22 2014 [VMM][I]: error: Failed to create file
'/var/lib/one//datastores/100/61/checkpoint': L'operació no és permesa
Wed Oct 29 10:58:22 2014 [VMM][E]: Could not restore from
/var/lib/one//datastores/100/61/checkpoint
Wed Oct 29 10:58:22 2014 [VMM][I]: ExitCode: 1
Wed Oct 29 10:58:22 2014 [VMM][I]: Failed to execute virtualization
driver operation: restore.
Wed Oct 29 10:58:22 2014 [VMM][E]: Error restoring VM: Could not restore
from /var/lib/one//datastores/100/61/checkpoint
Wed Oct 29 10:58:22 2014 [LCM][I]: Fail to boot VM. New VM state is
EPILOG_STOP
Wed Oct 29 10:58:22 2014 [DiM][I]: New VM state is STOPPED

Thanks,
regards,
Sergi




*--
okITup S.L. https://www.okitup.com

*Infraestructures de hosting a mida*
*Administració i Programació de Sistemes*

*email: i...@okitup.com*

*telef.:  93 176 39 76*

-- 

La información de este correo electrónico es confidencial, personal e
intransferible y sólo está dirigida a la(s) dirección(es) indicada(s)
arriba. Si usted lee este mensaje por equivocación, le informamos que
está prohibida su divulgación, uso o distribución, completos o
parciales; le rogamos que lo notifique inmediatamente al remitente y
borre el mensaje original junto con sus ficheros anexos sin leerlo ni
grabarlo. Gracias.

La informació d'aquest correu electrònic és confidencial, personal i
intransferible, i només està dirigida a l'adreça(ces) indicada(des). Si
vostè llegeix aquest missatge per error, l'informem que n'està prohibida
la propagació, l'ús o la distribució, complets o parcials; li demanem
que ho notifiqui immediatament a la persona que li ha enviat i esborri
el missatge original amb les dades adjuntes sense llegir-lo ni desar-lo.
Gràcies.

This e-mail contains confidential information. The information is
intended for exclusive use by the abovementioned recipient. If you have
received this e-mail in error, please notify us immediately to arrange
for the confidential information to be returned to us. We hereby inform
you that it is strictly prohibited to disclose, copy, distribute or take
any action based on this information. Thank you.*
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] econe server and sha1

2014-11-05 Thread Alejandro Feijóo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi sorry for the delay... i was on vacation...

Yes that was one of the test that i did... but with the same error.

its possible any kind of problems when use ldap?

any random recomendation? :D

Thanks in advance.


El 24/10/14 10:30, Daniel Molina escribió:


- -- 
Alejandro Feijóo Fraga
Systems Technician
CESGA
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJUWyLIAAoJEKshAoM6XWq5WT0H/0NbxPrCHBUybfPDSj353rBw
/Jj8ulCUpkyZ1urGWobON4F5+1U+BS5y+T17IQcRvNf2rbVGCjm9vO/JmwFutt9p
78E1/NIQwV9pXM4bI5k7+78sP2YCwN3U1CVa3Vzdpe+QJpmghP8bcb+UA2mMSR54
uZ9WwTcSBbHhHmxWeRpO2Wub32L9PQT5jshVsmvBhdPB/HA9DtuKazs2Dac0uWVb
02SVfUUbfdL9IJQWf78dhkZxBtVSZ9vLXOnP4DIURTmlVdpkytCMYh0CMg+0g4Pi
gtNBhCmRSiGgOvqcERkl0tsiJi29DNvgN0CIhjwUcbT2GJxXkP1R0kwkIDYn77E=
=bnT+
-END PGP SIGNATURE-
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] econe server and sha1

2014-11-05 Thread Alejandro Feijóo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi sorry for the delay... i was on vacation...

Yes that was one of the test that i did... but with the same error.

its possible any kind of problems when use ldap?

any random recomendation? :D

Thanks in advance.


El 24/10/14 10:30, Daniel Molina escribió:
 Hi,
 
 Could you try using the password returned by oneuser show alfeijoo
 
 Cheers
 
 On 22 October 2014 15:57, Alejandro Feijóo alfei...@cesga.es wrote:
 
 Hi.
 
 Im try to setup the econe-server at our preproduction opennebula.
 
 After setup using guide(1), im able to start service, and it seems are
 ok and working.
 
 (CODE)-
 
 oneadmin@test ~]$ econe-server start
 econe-server started
 
 [oneadmin@test ~]$ tail -f /var/log/one/econe-server.log
  :terminated_instances_expiration_time=900,
  :use_file_templates=false,
  :instance_types={:m1.small={:template=m1.small.erb}},
  :associate_script=/usr/bin/false,
  :disassociate_script=/usr/bin/false,
  :ebs_fstype=ext3,
  :template_location=/etc/one/ec2query_templates,
  :views=/usr/lib/one/ruby/cloud/econe/views}
 --
 
 (/CODE)-
 
 but i think there are any problem on my config or similar... because any
 command always return the same error:
 
 root@test ~]# econe-describe-images --access-key alfeijoo --secret-key
 862fa61ff082f32a1654e33a29929a8bac8a75d1
 
 econe-describe-images: The username or password is not correct
 
 
 The secret key that i used is the return of the commands:
 
 echo my_pass | sha1sum
 
 862fa61ff082f32a1654e33a29929a8bac8a75d1
 
 
 i tried too create an user with sha1 direct:
 
 oneuser create alfeijoo --sha1 862fa61ff082f32a1654e33a29929a8bac8a75d1
 
 but the error are the same..
 
 
 All of that test are at localhost, and the server seems that work but
 return an 401 error.
 
  Wed Oct 22 12:49:08 2014 [I]: Updating user pool cache.
 Wed Oct 22 12:49:08 2014 [I]: 127.0.0.1 - - [22/Oct/2014 12:49:08] POST
 / HTTP/1.1 401 285 0.0792
 Wed Oct 22 12:51:44 2014 [I]: Updating user pool cache.
 Wed Oct 22 12:51:44 2014 [I]: 127.0.0.1 - - [22/Oct/2014 12:51:44] POST
 / HTTP/1.1 401 285 0.0063
 
 
 Any idea?
 
 
 # OpenNebula sever contact information
 :one_xmlrpc: http://localhost:2633/RPC2
 
 # Host and port where econe server will run
 :host: 0.0.0.0
 :port: 4567
 
 
 1:
 
 http://docs.opennebula.org/4.8/advanced_administration/public_cloud/ec2qcg.html
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

 
 
 

- -- 
Alejandro Feijóo Fraga
Systems Technician
CESGA
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJUWyLXAAoJEKshAoM6XWq51CUH/RxU0TFpmI2kMZRQxXxvuK4/
ztlW8KGDt7bUkifek7ZJAzV7nh7cQw5+CYkXWZroKQQO7wD1NZ7EEONSI8rZ7iEX
5awt2r6EcRFh5mkezTRDuewDjD9JWgMQudDemHZxZTs0FadP8fWxbGYXSFgdK9if
iSHEPabtL2W/FZWvQ61asF252QnLyVn8QvKQVQ0l8yqpMkULFcu6Kao9cE7Bj5gD
MSiylEa0y9bIZw0fR3U6irZBHmfZamst8PIHZui0cTN44NuNRxnQ18DWdqGkfRHi
eLLwqvxnFoCVVcSgc+pDrQqj0NBc8yuGCmzrm8rNCMKqXhjL+w2lgID+Wjatqh8=
=rsk2
-END PGP SIGNATURE-
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] econe server and sha1

2014-11-05 Thread Daniel Molina
Hi,

LDAP authentication is not supported through ec2, at least using regular
clients. If you want to use this kind of authentication you have to change
the auth method to opennebla in the econe.conf file and include the Basic
Auth headers in every ec2 request

Cheers

On 6 November 2014 08:27, Alejandro Feijóo alfei...@cesga.es wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512

 Hi sorry for the delay... i was on vacation...

 Yes that was one of the test that i did... but with the same error.

 its possible any kind of problems when use ldap?

 any random recomendation? :D

 Thanks in advance.


 El 24/10/14 10:30, Daniel Molina escribió:


 - --
 Alejandro Feijóo Fraga
 Systems Technician
 CESGA
 -BEGIN PGP SIGNATURE-
 Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
 Comment: GPGTools - https://gpgtools.org

 iQEcBAEBCgAGBQJUWyLIAAoJEKshAoM6XWq5WT0H/0NbxPrCHBUybfPDSj353rBw
 /Jj8ulCUpkyZ1urGWobON4F5+1U+BS5y+T17IQcRvNf2rbVGCjm9vO/JmwFutt9p
 78E1/NIQwV9pXM4bI5k7+78sP2YCwN3U1CVa3Vzdpe+QJpmghP8bcb+UA2mMSR54
 uZ9WwTcSBbHhHmxWeRpO2Wub32L9PQT5jshVsmvBhdPB/HA9DtuKazs2Dac0uWVb
 02SVfUUbfdL9IJQWf78dhkZxBtVSZ9vLXOnP4DIURTmlVdpkytCMYh0CMg+0g4Pi
 gtNBhCmRSiGgOvqcERkl0tsiJi29DNvgN0CIhjwUcbT2GJxXkP1R0kwkIDYn77E=
 =bnT+
 -END PGP SIGNATURE-
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




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


[one-users] one version after upgrading to 4.10.0

2014-11-04 Thread Thomas Stein
Hello.

I have a little problem after upgrading to 4.10.0 (from 4.8.0).

I did stop opennebula, upgraded opennebula and did:

onedb upgrade -v --sqlite /var/lib/one/one.db -f

Output:

oneadmin@one-node1 ~ $ onedb upgrade -v --sqlite /var/lib/one/one.db -f
Version read:
Shared tables 4.6.0 : OpenNebula 4.6.2 daemon bootstrap
Local tables  4.9.80 : Database migrated from 4.7.80 to 4.9.80
(OpenNebula 4.9.80) by onedb command.

Sqlite database backup stored in /var/lib/one/one.db.bck
Use 'onedb restore' or copy the file back to restore the DB.


 Running migrators for shared tables
Database already uses version 4.6.0

 Running migrators for local tables
Database already uses version 4.9.80

Total time: 0.00s
oneadmin@one-node1 ~ $

Now i seem to have versioning mess i guess. :-)

Mon Nov  3 22:21:02 2014 [Z0][ONE][I]: oned is using version 4.9.80 for
local_db_versioning
Mon Nov  3 22:21:02 2014 [Z0][ONE][I]: oned is using version 4.6.0 for
db_versioning

How can i solve this?

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


Re: [one-users] one version after upgrading to 4.10.0

2014-11-04 Thread Carlos Martín Sánchez
Did you upgrade from 4.8.0? It looks like the DB is from a 4.10 beta.

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

On Tue, Nov 4, 2014 at 9:34 AM, Thomas Stein himbe...@meine-oma.de wrote:

 Hello.

 I have a little problem after upgrading to 4.10.0 (from 4.8.0).

 I did stop opennebula, upgraded opennebula and did:

 onedb upgrade -v --sqlite /var/lib/one/one.db -f

 Output:

 oneadmin@one-node1 ~ $ onedb upgrade -v --sqlite /var/lib/one/one.db -f
 Version read:
 Shared tables 4.6.0 : OpenNebula 4.6.2 daemon bootstrap
 Local tables  4.9.80 : Database migrated from 4.7.80 to 4.9.80
 (OpenNebula 4.9.80) by onedb command.

 Sqlite database backup stored in /var/lib/one/one.db.bck
 Use 'onedb restore' or copy the file back to restore the DB.


  Running migrators for shared tables
 Database already uses version 4.6.0

  Running migrators for local tables
 Database already uses version 4.9.80

 Total time: 0.00s
 oneadmin@one-node1 ~ $

 Now i seem to have versioning mess i guess. :-)

 Mon Nov  3 22:21:02 2014 [Z0][ONE][I]: oned is using version 4.9.80 for
 local_db_versioning
 Mon Nov  3 22:21:02 2014 [Z0][ONE][I]: oned is using version 4.6.0 for
 db_versioning

 How can i solve this?

 cheers
 t.
 ___
 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] one version after upgrading to 4.10.0

2014-11-04 Thread Thomas Stein
Am 04.11.14 10:09, schrieb Carlos Martín Sánchez:
 Did you upgrade from 4.8.0? It looks like the DB is from a 4.10 beta.

Hello Carlos.

I have several development machines and on a few of them i have 4.10
beta running, yes. But not on this one. I'm 90% sure. Allthough it's
absolutely possible i am wrong.

cheers
t.

 Regards
 --
 Carlos Martín, MSc
 Project Engineer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula
 http://twitter.com/opennebula cmar...@opennebula.org
 
 On Tue, Nov 4, 2014 at 9:34 AM, Thomas Stein himbe...@meine-oma.de wrote:
 
 Hello.

 I have a little problem after upgrading to 4.10.0 (from 4.8.0).

 I did stop opennebula, upgraded opennebula and did:

 onedb upgrade -v --sqlite /var/lib/one/one.db -f

 Output:

 oneadmin@one-node1 ~ $ onedb upgrade -v --sqlite /var/lib/one/one.db -f
 Version read:
 Shared tables 4.6.0 : OpenNebula 4.6.2 daemon bootstrap
 Local tables  4.9.80 : Database migrated from 4.7.80 to 4.9.80
 (OpenNebula 4.9.80) by onedb command.

 Sqlite database backup stored in /var/lib/one/one.db.bck
 Use 'onedb restore' or copy the file back to restore the DB.


  Running migrators for shared tables
 Database already uses version 4.6.0

  Running migrators for local tables
 Database already uses version 4.9.80

 Total time: 0.00s
 oneadmin@one-node1 ~ $

 Now i seem to have versioning mess i guess. :-)

 Mon Nov  3 22:21:02 2014 [Z0][ONE][I]: oned is using version 4.9.80 for
 local_db_versioning
 Mon Nov  3 22:21:02 2014 [Z0][ONE][I]: oned is using version 4.6.0 for
 db_versioning

 How can i solve this?

 cheers
 t.
 ___
 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] one version after upgrading to 4.10.0

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

The log says it is a 4.10beta (4.9.80) DB.
And because the isn't any DB changes to the DB from 4.10 beta to 4.10.0, we
don't have a migrator file. The onedb tool doesn't have anything to do,
your DB is good to go.

In case the double versions are confusing, let me clarify.
The DB has two versions: local and shared. This is because of the
federation architecture [1]. The shared tables haven't changed since 4.6,
and the local tables changed from 4.8.0 to 4.9.80, but not from 4.9.80 to
4.10.0.

Regards

[1]
http://docs.opennebula.org/4.10/advanced_administration/data_center_federation/introf.html

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

On Tue, Nov 4, 2014 at 10:12 AM, Thomas Stein himbe...@meine-oma.de wrote:

 Am 04.11.14 10:09, schrieb Carlos Martín Sánchez:
  Did you upgrade from 4.8.0? It looks like the DB is from a 4.10 beta.

 Hello Carlos.

 I have several development machines and on a few of them i have 4.10
 beta running, yes. But not on this one. I'm 90% sure. Allthough it's
 absolutely possible i am wrong.

 cheers
 t.

  Regards
  --
  Carlos Martín, MSc
  Project Engineer
  OpenNebula - Flexible Enterprise Cloud Made Simple
  www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula
  http://twitter.com/opennebula cmar...@opennebula.org
 
  On Tue, Nov 4, 2014 at 9:34 AM, Thomas Stein himbe...@meine-oma.de
 wrote:
 
  Hello.
 
  I have a little problem after upgrading to 4.10.0 (from 4.8.0).
 
  I did stop opennebula, upgraded opennebula and did:
 
  onedb upgrade -v --sqlite /var/lib/one/one.db -f
 
  Output:
 
  oneadmin@one-node1 ~ $ onedb upgrade -v --sqlite /var/lib/one/one.db -f
  Version read:
  Shared tables 4.6.0 : OpenNebula 4.6.2 daemon bootstrap
  Local tables  4.9.80 : Database migrated from 4.7.80 to 4.9.80
  (OpenNebula 4.9.80) by onedb command.
 
  Sqlite database backup stored in /var/lib/one/one.db.bck
  Use 'onedb restore' or copy the file back to restore the DB.
 
 
   Running migrators for shared tables
  Database already uses version 4.6.0
 
   Running migrators for local tables
  Database already uses version 4.9.80
 
  Total time: 0.00s
  oneadmin@one-node1 ~ $
 
  Now i seem to have versioning mess i guess. :-)
 
  Mon Nov  3 22:21:02 2014 [Z0][ONE][I]: oned is using version 4.9.80 for
  local_db_versioning
  Mon Nov  3 22:21:02 2014 [Z0][ONE][I]: oned is using version 4.6.0 for
  db_versioning
 
  How can i solve this?
 
  cheers
  t.
  ___
  Users mailing list
  Users@lists.opennebula.org
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 
 

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

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


Re: [one-users] one version after upgrading to 4.10.0

2014-11-04 Thread Thomas Stein
Am 04.11.14 10:24, schrieb Carlos Martín Sánchez:
 Hi Thomas,

Hi Carlos.

 The log says it is a 4.10beta (4.9.80) DB.
 And because the isn't any DB changes to the DB from 4.10 beta to 4.10.0, we
 don't have a migrator file. The onedb tool doesn't have anything to do,
 your DB is good to go.
 
 In case the double versions are confusing, let me clarify.
 The DB has two versions: local and shared. This is because of the
 federation architecture [1]. The shared tables haven't changed since 4.6,
 and the local tables changed from 4.8.0 to 4.9.80, but not from 4.9.80 to
 4.10.0.

I see. Thanks for the clarification. There is one thing left on my i
don't understand list. Why is the sunstone server still showing version
4.8.0 for the opennebula node we just talked about?

https://fluffycloud.de/public.php?service=filest=da549a369f324c686a46bc476594e434

ciao
t.

 Regards
 
 [1]
 http://docs.opennebula.org/4.10/advanced_administration/data_center_federation/introf.html
 
 --
 Carlos Martín, MSc
 Project Engineer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula
 http://twitter.com/opennebula cmar...@opennebula.org
 
 On Tue, Nov 4, 2014 at 10:12 AM, Thomas Stein himbe...@meine-oma.de wrote:
 
 Am 04.11.14 10:09, schrieb Carlos Martín Sánchez:
  Did you upgrade from 4.8.0? It looks like the DB is from a 4.10 beta.

 Hello Carlos.

 I have several development machines and on a few of them i have 4.10
 beta running, yes. But not on this one. I'm 90% sure. Allthough it's
 absolutely possible i am wrong.

 cheers
 t.

  Regards
  --
  Carlos Martín, MSc
  Project Engineer
  OpenNebula - Flexible Enterprise Cloud Made Simple
  www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula
  http://twitter.com/opennebula cmar...@opennebula.org
 
  On Tue, Nov 4, 2014 at 9:34 AM, Thomas Stein himbe...@meine-oma.de
 wrote:
 
  Hello.
 
  I have a little problem after upgrading to 4.10.0 (from 4.8.0).
 
  I did stop opennebula, upgraded opennebula and did:
 
  onedb upgrade -v --sqlite /var/lib/one/one.db -f
 
  Output:
 
  oneadmin@one-node1 ~ $ onedb upgrade -v --sqlite /var/lib/one/one.db -f
  Version read:
  Shared tables 4.6.0 : OpenNebula 4.6.2 daemon bootstrap
  Local tables  4.9.80 : Database migrated from 4.7.80 to 4.9.80
  (OpenNebula 4.9.80) by onedb command.
 
  Sqlite database backup stored in /var/lib/one/one.db.bck
  Use 'onedb restore' or copy the file back to restore the DB.
 
 
   Running migrators for shared tables
  Database already uses version 4.6.0
 
   Running migrators for local tables
  Database already uses version 4.9.80
 
  Total time: 0.00s
  oneadmin@one-node1 ~ $
 
  Now i seem to have versioning mess i guess. :-)
 
  Mon Nov  3 22:21:02 2014 [Z0][ONE][I]: oned is using version 4.9.80 for
  local_db_versioning
  Mon Nov  3 22:21:02 2014 [Z0][ONE][I]: oned is using version 4.6.0 for
  db_versioning
 
  How can i solve this?
 
  cheers
  t.
  ___
  Users mailing list
  Users@lists.opennebula.org
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 
 

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

 

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


[one-users] resize VM storage

2014-11-04 Thread Giancarlo De Filippis
 

Hi all, 

With sunstone [1] can i resize a vm disk (example from 10G to 50G or
viceversa)? 

Thanks. 

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

Giancarlo. 

 

Links:
--
[1] http://dev.opennebula.org/issues/1727
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Easy provisioning missing from newer versions of Opennebula?

2014-11-04 Thread Pentium100
Hi,

I have tried Opennebula 4.2.0 and liked the easy provisioning wizard - a
user could select a template and combine it with his persistent image to
create a VM without the need to create a separate template.

It seems that this function is missing from Opennebula 4.8.0, requiring
eveyone to create a template for each VM and making the VM creation process
complicated:

1) Clone, upload or create a blank image (persistent)
2) Create a template that uses that image
3) Create a VM that uses that template.

If the user need 5 identical VMs they have to create 5 separate templates
that differ only in the images.

Is there a way to simplify this process? One way is to create a template
without an image, create a VM from it, then start the VM and attach the
image. This seems easier than creating templates for each VM, however this
also has problems. Since attaching the disk requires the VM to be running,
the VM is deployed with zero storage requirements, so it may be deployed to
a host that has insufficient storage for when the user tries to add a 1TB
image leading to problems.

Our users use the virtual machines as VDS, so persistent images are
important (deleting a VM may not mean I want to delete the data).
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] resize VM storage

2014-11-04 Thread Ruben S. Montero
This is currently not implemented...

Cheers

Ruben

On Tue Nov 04 2014 at 12:33:17 PM Giancarlo De Filippis gdefilip...@ltbl.it
wrote:

  Hi all,

 With sunstone [1]  can i resize a vm disk (example from 10G to 50G or
 viceversa)?

 Thanks.

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

 Giancarlo.


  ___
 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] Users can't create VMs with large capacity (in the cloud view)

2014-11-04 Thread Pavel Tankov
OK, I understand it now. Then, does Opennebula support any kind of 
overcommitting or something?


Pavel Tankov

On 11/03/2014 07:29 PM, Carlos Martín Sánchez wrote:

Hi,

On Tue, Oct 28, 2014 at 1:06 PM, Pavel Tankov
pavel.tan...@strategyobject.com
mailto:pavel.tan...@strategyobject.com wrote:

Does host 0 have enough capacity? Those numbers refer to the
allocated
capacity, as can be seen in sunstone or the onehost show output.

Well, capacity could mean many things. I am not sure. See the
attached screen shot.


The hosts have 2 kinds of capacity: real and allocated.
Real is the cpu/mem as reported by the monitoring probes.
Allocated is the amount of cpu/mem requested by the VMs running on this
host. This is the one used for scheduling.

In your case, the new VM requests 400 cpu. But the host has already
allocated 500 out of 800, this is why the scheduler decides that it
doesn't fit.

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

On Tue, Oct 28, 2014 at 1:06 PM, Pavel Tankov
pavel.tan...@strategyobject.com
mailto:pavel.tan...@strategyobject.com wrote:

That's strange. You should have the following message:
Sched Message: No host with enough capacity to deploy the VM

I understand, but there is nothing there. Absolutely empty.

Does host 0 have enough capacity? Those numbers refer to the
allocated
capacity, as can be seen in sunstone or the onehost show output.

Well, capacity could mean many things. I am not sure. See the
attached screen shot.

Pavel Tankov

On 10/28/2014 12:06 PM, Carlos Martín Sánchez wrote:

Hi,

On Mon, Oct 27, 2014 at 1:17 PM, Pavel Tankov
pavel.tankov@strategyobject.__com
mailto:pavel.tan...@strategyobject.com
mailto:pavel.tankov@__strategyobject.com
mailto:pavel.tan...@strategyobject.com wrote:

 Admins and advanced users can see the scheduler error
messages
 in sunstone, under the placement VM tab.

 That's what I meant when I said there are no logs.


That's strange. You should have the following message:
Sched Message: No host with enough capacity to deploy the VM

 On the other hand, I didn't know about
/var/log/one/sched.log. Here
 is what I found there:


 Mon Oct 27 14:15:52 2014 [Z0][VM][D]: Pending/rescheduling
VM and
 capacity requirements:
VM  CPU  Memory   System DS  Image DS

--__--
   110  400 2097152   10240  DS 1: 0
 Mon Oct 27 14:15:52 2014 [Z0][HOST][D]: Discovered Hosts
(enabled):
   0
 Mon Oct 27 14:15:52 2014 [Z0][SCHED][D]: VM 110: Host 0
filtered
 out. Not enough capacity.
 Mon Oct 27 14:15:52 2014 [Z0][SCHED][I]: Scheduling Results:

 and it keeps repeating.

 Pavel Tankov


Does host 0 have enough capacity? Those numbers refer to the
allocated
capacity, as can be seen in sunstone or the onehost show output.

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



_
Users mailing list
Users@lists.opennebula.org mailto:Users@lists.opennebula.org
http://lists.opennebula.org/__listinfo.cgi/users-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] Ruby 2.1.2

2014-11-04 Thread Rhesa Mahendra

Hi,

Opennebula 4.10 support for ruby 2.1.2 ?

Thanks.

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


Re: [one-users] add custom info to Sunstone cloud view

2014-11-03 Thread Daniel Molina
Hi,

If you want to achieve this you have to modify the code. You have to
include a new li in the following section of the provision tab:
https://github.com/OpenNebula/one/blob/master/src/sunstone/public/js/plugins/provision-tab.js#L3999

Cheers

On 30 October 2014 16:36, vinc...@vanderkussen.org wrote:

 Hi,

 I would like to add custom info to the Virtual Machines  overview when
 in Cloud View.

 Now each square has cpu - mem, image name and ip address mentioned like :

 x0.125 - 1GB
 centos7-10GB-THIN
 172.20.17.21

 I would like to add the value of a field i have in the template being
 description which
 would result in something like this :

 x0.125 - 1GB
 centos7-10GB-THIN
 172.20.17.21
 DB01 Server BXL

 This provides meaningfull info because we update the name of the instance
 with the FQDN when
 its deployed. This FQDN is a generated number + domain name which is not
 really meaningful.

 Is something like this possible?
 thx

 Regards,
 Vincent
 ___
 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] Install ONE on BSD Falvours

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

On Mon, Oct 27, 2014 at 5:29 PM, kiran ranjane kiran.ranj...@gmail.com
wrote:

 Hi Team,

 Is there a way where we can install Opennebula cloud software on
 Bsd/solaris flavors?

 Regards
 Kiran Ranjane


That is not supported or tested. To avoid headaches, maybe you could
install the front-end inside a VM with one of the supported platforms [1].

Regards

[1] http://docs.opennebula.org/4.8/release_notes/release_notes/uspng.html

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


Re: [one-users] add custom info to Sunstone cloud view

2014-11-03 Thread vincent

Hi Daniel,

Thanks, I'll give this a try. Is this some that might be considered as a 
RFE?

Otherwise i'll have to maintain my own version of these files.

Regards,
Vincent

On 2014-11-03 10:48, Daniel Molina wrote:

Hi,

If you want to achieve this you have to modify the code. You have to
include a new li in the following section of the provision tab:
https://github.com/OpenNebula/one/blob/master/src/sunstone/public/js/plugins/provision-tab.js#L3999
[2]

Cheers

On 30 October 2014 16:36, vinc...@vanderkussen.org wrote:


Hi,

I would like to add custom info to the Virtual Machines overview
when in Cloud View.

Now each square has cpu - mem, image name and ip address
mentioned like :

x0.125 - 1GB
centos7-10GB-THIN
172.20.17.21

I would like to add the value of a field i have in the template
being description which
would result in something like this :

x0.125 - 1GB
centos7-10GB-THIN
172.20.17.21
DB01 Server BXL

This provides meaningfull info because we update the name of the
instance with the FQDN when
its deployed. This FQDN is a generated number + domain name which
is not really meaningful.

Is something like this possible?
thx

Regards,
Vincent
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org [1]


--

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

Links:
--
[1] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[2]
https://github.com/OpenNebula/one/blob/master/src/sunstone/public/js/plugins/provision-tab.js#L3999
[3] http://www.OpenNebula.org

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


Re: [one-users] Users can't create VMs with large capacity (in the cloud view)

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

On Tue, Oct 28, 2014 at 1:06 PM, Pavel Tankov 
pavel.tan...@strategyobject.com wrote:

 Does host 0 have enough capacity? Those numbers refer to the allocated
 capacity, as can be seen in sunstone or the onehost show output.

 Well, capacity could mean many things. I am not sure. See the attached
 screen shot.


The hosts have 2 kinds of capacity: real and allocated.
Real is the cpu/mem as reported by the monitoring probes.
Allocated is the amount of cpu/mem requested by the VMs running on this
host. This is the one used for scheduling.

In your case, the new VM requests 400 cpu. But the host has already
allocated 500 out of 800, this is why the scheduler decides that it doesn't
fit.

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

On Tue, Oct 28, 2014 at 1:06 PM, Pavel Tankov 
pavel.tan...@strategyobject.com wrote:

 That's strange. You should have the following message:
 Sched Message: No host with enough capacity to deploy the VM

 I understand, but there is nothing there. Absolutely empty.

  Does host 0 have enough capacity? Those numbers refer to the allocated
 capacity, as can be seen in sunstone or the onehost show output.

 Well, capacity could mean many things. I am not sure. See the attached
 screen shot.

 Pavel Tankov

 On 10/28/2014 12:06 PM, Carlos Martín Sánchez wrote:

 Hi,

 On Mon, Oct 27, 2014 at 1:17 PM, Pavel Tankov
 pavel.tan...@strategyobject.com
 mailto:pavel.tan...@strategyobject.com wrote:

 Admins and advanced users can see the scheduler error messages
 in sunstone, under the placement VM tab.

 That's what I meant when I said there are no logs.


 That's strange. You should have the following message:
 Sched Message: No host with enough capacity to deploy the VM

 On the other hand, I didn't know about /var/log/one/sched.log. Here
 is what I found there:


 Mon Oct 27 14:15:52 2014 [Z0][VM][D]: Pending/rescheduling VM and
 capacity requirements:
VM  CPU  Memory   System DS  Image DS
 --__--
   110  400 2097152   10240  DS 1: 0
 Mon Oct 27 14:15:52 2014 [Z0][HOST][D]: Discovered Hosts (enabled):
   0
 Mon Oct 27 14:15:52 2014 [Z0][SCHED][D]: VM 110: Host 0 filtered
 out. Not enough capacity.
 Mon Oct 27 14:15:52 2014 [Z0][SCHED][I]: Scheduling Results:

 and it keeps repeating.

 Pavel Tankov


 Does host 0 have enough capacity? Those numbers refer to the allocated
 capacity, as can be seen in sunstone or the onehost show output.

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



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


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


[one-users] New Stable Release - OpenNebula 4.10 Fox Fur is Out!

2014-11-03 Thread Tino Vazquez
Dear Community,

This is the official announcement for the release of OpenNebula 4.10, codename
Fox Fur. Packages are already available and the documentation in the
web page has been updated.

This is the first OpenNebula release that allows to automatically
import an existing infrastructure, since the new vCenter drivers allow
to import Clusters and Virtual Machines from a vCenter installation,
significantly smoothing the set up curve. The concept of the vCenter
drivers is akin to the hybrid cloud approach in the sense that
OpenNebula will delegate a number of aspects to vCenter, instead of
pursuing the management of almost every aspect as it traditionally
does with the three supported hypervisors. OpenNebula will use pre
defined Virtual Machine Templates existing in the vCenter set up to
launch Virtual Machines, very much like it does in its hybrid drivers
to access Amazon EC2, IBM SoftLayer and Microsoft Azure, although
offering extra features like for instance VNC support and more
lifecycle actions.

A refinement has been performed in the OpenNebula networking system,
extended in the previous release in order to allow a flexible
management of IP leases, decoupling the host-hypervisor configuration
attributes with the IP/L3 configuration attributes. In this
refinement, end users are allowed to update their VNET reservations
and also the address range of their reservations, so they can
introduce attributes to be passed along their VMs through
contextualization, customizing their VMs network settings in this
manner.

Another nifty feature is related to the fact that we are aware that
access to professional support in production environments support is a
must. Fox Fur introduces an integrated tab in Sunstone to access
OpenNebula Systems (the company behind OpenNebula, formerly C12G)
professional support. In this way, support tickets management can be
performed through Sunstone, avoiding disruption of work and enhancing
productivity.

Several improvements are scattered across every other OpenNebula
component: improvements in the hybrid drivers, including better
Sunstone support, improved auth mechanisms (login token
functionality), a solution for the spurious Poweroff state, and many
other bugfixes that stabilized features introduced in Lemon Slice.

As usual OpenNebula releases are named after a Nebula. The Fox Fur
Nebula (IC 3568) is located in Monoceros and included in the NGC 2264
Region.

This is a stable release and so a recommended update. It incorporate
important improvement since 4.8 and several bug fixes since 4.10 Beta.
Be sure to check the compatibility [1] and upgrade guides [2]. We
invite you to download it and to check the QuickStart guides, as well
as to browse the documentation, which has also been properly updated.

Network extension model refinement and login token functionality in
OpenNebula 4.10 were funded by BlackBerry in the context of the Fund a
Feature Program.

Thanks the community members and users who have contributed to this
software release by being active with the discussions, answering user
questions, or providing patches for bugfixes, features and
documentation.

Your cloud, smooth as a Fox Fur with OpenNebula,

  - The OpenNebula Team

[1] 
http://docs.opennebula.org/4.10/release_notes/release_notes/compatibility.html
[2] http://docs.opennebula.org/4.10/release_notes/release_notes/upgrade_48.html

[Relevant Links]

Release Notes - http://docs.opennebula.org/4.10/release_notes/index.html
Downloads  - http://downloads.opennebula.org/packages/opennebula-4.10.0/
Documentation-  http://docs.opennebula.org/4.8
SandBoxes - http://opennebula.org/tryout/
Quick Start Guides -
http://docs.opennebula.org/4.8/design_and_installation/quick_starts
Screencasts   - http://opennebula.org/documentation/screencasts/

--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect | Head of Research at OpenNebula
Systems (formerly C12G Labs)
cvazquez@OpenNebula.Systems | @OpenNebula

--
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 OpenNebula.Systems 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 abuse@opennebula.systems and delete the
e-mail and attachments and any copy from your system. OpenNebula's
thanks you for your cooperation.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] New Stable Release - OpenNebula 4.10 Fox Fur is Out!

2014-11-03 Thread Tino Vazquez
Dear Community,

A couple of corrections, the correct documentation link is:

 Documentation-  http://docs.opennebula.org/4.10

And for the quick start guides:

 Quick Start Guides -
http://docs.opennebula.org/4.10/design_and_installation/quick_starts

Best,

-Tino

--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect | Head of Research at OpenNebula
Systems (formerly C12G Labs)
cvazquez@OpenNebula.Systems | @OpenNebula

--
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 OpenNebula.Systems 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 abuse@opennebula.systems and delete the
e-mail and attachments and any copy from your system. OpenNebula's
thanks you for your cooperation.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Is it possible to add a ephemeral disk on ON templates

2014-10-30 Thread Esteban Freire

Hello all,

I would like to ask you if it is possible to add a ephemeral disk on 
OpenNebula templates, so in order to have an extra space which is not on 
the image but which is created when the image is started. If it is so, 
could you please indicate me how to do it?


Sorry, probably, it is already documented but I don't have enough time 
right now to have a look on it.


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


[one-users] Storage for Multi Location OpenNebula Setup

2014-10-30 Thread ngurjar

Hi,
I want to setup OpenNebula Cloud across multiple locations.
Which type of Storage is recommended for such type of setups ?

For eg. in OpenStack Swift Storage is used.

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


Re: [one-users] Storage for Multi Location OpenNebula Setup

2014-10-30 Thread Ruben S. Montero
Hi

OpenNebula federation approach is that followed by commercial cloud
providers. Users, groups and access control policies are fedarated across
zones. However, networking, compute and storage resources are local to each
zone.

Typically you'll configure Datastores (of any type Ceph, Gluster, LVMs...)
for each zone. Sharing of images across zones can be achivied by a
marketplace.

Cheers

Ruben

On Thu, Oct 30, 2014 at 11:49 AM, ngur...@neeleshgurjar.co.in wrote:

 Hi,
 I want to setup OpenNebula Cloud across multiple locations.
 Which type of Storage is recommended for such type of setups ?

 For eg. in OpenStack Swift Storage is used.

 Regards
 Neelesh Gurjar
 ___
 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] Is it possible to add a ephemeral disk on ON templates

2014-10-30 Thread Ruben S. Montero
You are probably interested in volatile disks,

http://docs.opennebula.org/4.8/user/references/template.html#volatile-disks

Cheers

Ruben

On Thu, Oct 30, 2014 at 10:10 AM, Esteban Freire esfre...@cesga.es wrote:

 Hello all,

 I would like to ask you if it is possible to add a ephemeral disk on
 OpenNebula templates, so in order to have an extra space which is not on
 the image but which is created when the image is started. If it is so,
 could you please indicate me how to do it?

 Sorry, probably, it is already documented but I don't have enough time
 right now to have a look on it.

 Thanks in advance,
 Esteban
 ___
 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] RANK=FREEMEMORY

2014-10-30 Thread Ruben S. Montero
Hi Steven,

This should be working as long it is in the host information. Could you
send the onehost show -x for one of the hosts? (You can send it to me
offlist if there is any sensible information).

The Rank expression is supposed to work with any variable under the
following XPaths:

/HOST/TEMPLATE/,
/HOST/HOST_SHARE/,
/HOST/,
/HOST/CLUSTER_TEMPLATE/

Cheers

Ruben

On Wed, Oct 29, 2014 at 10:34 PM, Steven Timm t...@fnal.gov wrote:


 Under OpenNebula 3 we have been using RANK=FREEMEMORY
 to launch the next virtual machine on the hypervisor which
 has the most memory available at the time.  I am using the
 same in OpenNebula 4.8 but it does not appear to be working,
 even though FREEMEMORY is still a documented selection variable
 in the requirements section.  In particular
 all the RANKS of the machines show up as 0 in the sched.log
 when you look at the allocation cycle and there is no FREEMEMORY
 variable reported in the output of
 onehost show 
 under opennebula 4.8.

 Are there other selection variables which could have
 the same desired effect, i.e. a horizontal fill of the cloud?

 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




-- 
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] How to integrate Swift storage in OpenNebula

2014-10-30 Thread Ruben S. Montero
Currently there is no Swift-backed datastore in OpenNebula, so you cannot
directly reference swift object in your templates.

However you could import the Swift objects as an image in a OpenNebula
Datastore using the URL of the object. AFAIK this is, to some extent,
similar to the Swift-Glance relationship... but I'm not an authority in
OpenStack...

Cheers

Ruben

On Wed, Oct 29, 2014 at 11:19 AM, ngur...@neeleshgurjar.co.in wrote:

 Hi
 I have configured OpenNebula 4.8 and working good.

 I have one Swift storage cluster in place. I want to store datastore on
 that Swift storage.

 I tried to create new datastore but in that there is no option for Swift.

 How can I add Swift storage for datastore?

 Regards
 Neelesh Gurjar
 ___
 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
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 Ruben S. Montero, PhD
 Project co-Lead and Chief Architect
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 OpenNebula - Flexible Enterprise Cloud Made Simple
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 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] Is it possible to add a ephemeral disk on ON templates

2014-10-30 Thread Esteban Freire

Hi Ruben,

Thank you very much for your answer :)

Cheers,
Esteban

On 10/30/2014 01:22 PM, Ruben S. Montero wrote:

You are probably interested in volatile disks,

http://docs.opennebula.org/4.8/user/references/template.html#volatile-disks

Cheers

Ruben

On Thu, Oct 30, 2014 at 10:10 AM, Esteban Freire esfre...@cesga.es 
mailto:esfre...@cesga.es wrote:


Hello all,

I would like to ask you if it is possible to add a ephemeral
disk on OpenNebula templates, so in order to have an extra space
which is not on the image but which is created when the image is
started. If it is so, could you please indicate me how to do it?

Sorry, probably, it is already documented but I don't have enough
time right now to have a look on it.

Thanks in advance,
Esteban
___
Users mailing list
Users@lists.opennebula.org mailto: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 http://www.OpenNebula.org | 
rsmont...@opennebula.org mailto:rsmont...@opennebula.org | @OpenNebula



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


Re: [one-users] How to integrate Swift storage in OpenNebula

2014-10-30 Thread Carlo Daffara
The cleanest approach is simply to mount the swift datastore as a shared 
directory on opennebula, using either
cloudfuse https://github.com/redbo/cloudfuse
or 
s3ql https://bitbucket.org/nikratio/s3ql/overview
and then use the mounted directory (mounted on each node in the same place, 
usually /var/lib/one) with the shared datastore driver.
regards,
Carlo Daffara
cloudweavers ltd


- Messaggio originale -
Da: Ruben S. Montero rsmont...@opennebula.org
A: ngur...@neeleshgurjar.co.in
Cc: users users@lists.opennebula.org
Inviato: Giovedì, 30 ottobre 2014 13:44:51
Oggetto: Re: [one-users] How to integrate Swift storage in OpenNebula

Currently there is no Swift-backed datastore in OpenNebula, so you cannot 
directly reference swift object in your templates. 

However you could import the Swift objects as an image in a OpenNebula 
Datastore using the URL of the object. AFAIK this is, to some extent, similar 
to the Swift-Glance relationship... but I'm not an authority in OpenStack... 

Cheers 

Ruben 

On Wed, Oct 29, 2014 at 11:19 AM,  ngur...@neeleshgurjar.co.in  wrote: 


Hi 
I have configured OpenNebula 4.8 and working good. 

I have one Swift storage cluster in place. I want to store datastore on that 
Swift storage. 

I tried to create new datastore but in that there is no option for Swift. 

How can I add Swift storage for datastore? 

Regards 
Neelesh Gurjar 
__ _ 
Users mailing list 
Users@lists.opennebula.org 
http://lists.opennebula.org/ listinfo.cgi/users-opennebula. org 

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

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


Re: [one-users] RANK=FREEMEMORY

2014-10-30 Thread Steven Timm

I think I see what went wrong by looking at the documentation.
The value as shown in onehost show -x
is now labeled FREE_MEM instead of FREEMEMORY.
(The current docs also correctly show the variable as FREE_MEM).
I will edit my template and see if that has an effect.

Also it looks like RANK is deprecated in favor of SCHED_RANK
and SCHED_DS_RANK is that correct?

Any way short of a text editor and onetemplate update to
fix all the legacy templates that have it wrong?

Steve Timm


On Thu, 30 Oct 2014, Ruben S. Montero wrote:


Hi Steven,
This should be working as long it is in the host information. Could you send
the onehost show -x for one of the hosts? (You can send it to me offlist if
there is any sensible information).

The Rank expression is supposed to work with any variable under the
following XPaths:

    /HOST/TEMPLATE/,
    /HOST/HOST_SHARE/,
    /HOST/,
    /HOST/CLUSTER_TEMPLATE/

Cheers

Ruben

On Wed, Oct 29, 2014 at 10:34 PM, Steven Timm t...@fnal.gov wrote:

  Under OpenNebula 3 we have been using RANK=FREEMEMORY
  to launch the next virtual machine on the hypervisor which
  has the most memory available at the time.  I am using the
  same in OpenNebula 4.8 but it does not appear to be working,
  even though FREEMEMORY is still a documented selection variable
  in the requirements section.  In particular
  all the RANKS of the machines show up as 0 in the sched.log
  when you look at the allocation cycle and there is no
  FREEMEMORY
  variable reported in the output of
  onehost show 
  under opennebula 4.8.

  Are there other selection variables which could have
  the same desired effect, i.e. a horizontal fill of the cloud?

  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




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




--
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] RANK=FREEMEMORY

2014-10-30 Thread Ruben S. Montero
On Thu, Oct 30, 2014 at 2:57 PM, Steven Timm t...@fnal.gov wrote:

 I think I see what went wrong by looking at the documentation.
 The value as shown in onehost show -x
 is now labeled FREE_MEM instead of FREEMEMORY.
 (The current docs also correctly show the variable as FREE_MEM).
 I will edit my template and see if that has an effect.

 Also it looks like RANK is deprecated in favor of SCHED_RANK
 and SCHED_DS_RANK is that correct?



Yes,




 Any way short of a text editor and onetemplate update to
 fix all the legacy templates that have it wrong?



All of this should be automatically handled by the upgrade process...


 Steve Timm


 On Thu, 30 Oct 2014, Ruben S. Montero wrote:

  Hi Steven,
 This should be working as long it is in the host information. Could you
 send
 the onehost show -x for one of the hosts? (You can send it to me offlist
 if
 there is any sensible information).

 The Rank expression is supposed to work with any variable under the
 following XPaths:

 /HOST/TEMPLATE/,
 /HOST/HOST_SHARE/,
 /HOST/,
 /HOST/CLUSTER_TEMPLATE/

 Cheers

 Ruben

 On Wed, Oct 29, 2014 at 10:34 PM, Steven Timm t...@fnal.gov wrote:

   Under OpenNebula 3 we have been using RANK=FREEMEMORY
   to launch the next virtual machine on the hypervisor which
   has the most memory available at the time.  I am using the
   same in OpenNebula 4.8 but it does not appear to be working,
   even though FREEMEMORY is still a documented selection variable
   in the requirements section.  In particular
   all the RANKS of the machines show up as 0 in the sched.log
   when you look at the allocation cycle and there is no
   FREEMEMORY
   variable reported in the output of
   onehost show 
   under opennebula 4.8.

   Are there other selection variables which could have
   the same desired effect, i.e. a horizontal fill of the cloud?

   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




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



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




-- 
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] How to protect a virtual network from being used by users?

2014-10-30 Thread Ruben S. Montero
Yes, the recommended approach is to update the ACLs to wathever fits your
use-case. Note that users may have access to the API, and nothing would
prevent them manage the VNET objects, even though you disable the Sunstone
button

Cheers

On Tue, Oct 28, 2014 at 10:20 PM, Hamada, Ondrej ondrej.ham...@acision.com
wrote:

 I see. Well if the users are controlling the VMs only via sunstone, you
 can disable the 'add nic' function for the 'user/cloud' view. But I suppose
 that replacing the default ACLs is the best option.

 -Original Message-
 From: Pavel Tankov [mailto:pavel.tan...@strategyobject.com]
 Sent: Tuesday, October 28, 2014 12:59 PM
 To: Hamada, Ondrej; users@lists.opennebula.org
 Subject: Re: [one-users] How to protect a virtual network from being used
 by users?

 That's exactly what I had done. The problem is that users are able to
 change the network when they instantiate the template. They can add/remove
 networks at will.

 Pavel Tankov

 On 10/27/2014 11:11 PM, Hamada, Ondrej wrote:
  Hi Pavel,
 
  Create two templates - first one uses the public network and all users
 are allowed to instantiate this template. The second template uses the
 restricted network and is allowed to be used only by admins.
 
  Ondra
 
  -Original Message-
  From: Pavel Tankov [mailto:pavel.tan...@strategyobject.com]
  Sent: Monday, October 27, 2014 11:16 AM
  To: Hamada, Ondrej; users@lists.opennebula.org
  Subject: Re: [one-users] How to protect a virtual network from being
 used by users?
 
  I don't understand what is to solve the network separation on template
 level. Could you, please, clarify?
 
  Pavel Tankov
 
  On 10/24/2014 05:18 PM, Hamada, Ondrej wrote:
  Hi Pavel,
 
  Well, I suppose it is the default. I was also struggling with it and
 finally I had to replace the default ACLs with more strict ones.
 
  You can try to solve the network separation on template level if you
 don't want to play with ACLs.
 
  Ondra
 
  -Original Message-
  From: Pavel Tankov [mailto:pavel.tan...@strategyobject.com]
  Sent: Friday, October 24, 2014 4:01 PM
  To: Hamada, Ondrej; users@lists.opennebula.org
  Subject: Re: [one-users] How to protect a virtual network from being
 used by users?
 
  Hello Ondra,
 
  You are right, I just saw the ACLs. They are by default created like
 this:
 
  $ oneacl list
ID USER RES_VHNIUTGDCOZ   RID OPE_UMAC  ZONE
 0   @1 V-NI-T---O- * ---c#0
 1* --Z * u--- *
 2   @1 -H- * -m--#0
 3   @1 --ND--- * u---#0
 
  (or see the attached screen shot)
 
  The group named users is denoted by @1. So, it looks like in the very
 first ALC (ID 0) the group @1 (users) is granted a CREATE permission on
 all Virtual Networks (Resource ID *). Which may be OK or not, it depends
 what you want.
 
  But then ACL (ID 3) grants the group @1 (users) the permission to use
 any Virtual Network (RID *). The ACLs have permissive nature so once
 granted I can't restrict it with a later rule. I could only re-write the
 default ACLs completely, which I am not quite willing to try.
 
  The documentation says
  (
 http://docs.opennebula.org/4.8/administration/users_and_groups/manage_acl.html
 ):
 
  Please note: the ACL rules is an advanced mechanism. For most use
 cases, you should be able to rely on the built-in resource permissions and
 the ACL Rules created automatically when a group is created, and when a
 resource provider is added.
 
  But it looks like *all* Vritual Networks are meant to be used by
  *anyone* by default and there is not much I can do about it with the
 normal means, namely with the resource permissions.
 
  Is that so, indeed, or where am I wrong?
 
  Pavel Tankov
 
  On 10/24/2014 04:33 PM, Hamada, Ondrej wrote:
  Hi Pavel,
 
  Have you checked ACLs as well? I guess that one of the default ACL
 grants all users the 'use' permission for all 'networks'.
 
  Ondra
 
  -Original Message-
  From: Users [mailto:users-boun...@lists.opennebula.org] On Behalf Of
  Pavel Tankov
  Sent: Friday, October 24, 2014 12:09 PM
  To: users@lists.opennebula.org
  Subject: [one-users] How to protect a virtual network from being used
 by users?
 
  Hello,
 
  I (as oneadmin) have configured two virtual networks:
  - one named default for use by regular users to deploy disposable
  test VMs
  - one named SPECIAL for use by the admin to create servers that
  will not be disposable but will stay always ON
 
  Both networks have different IP ranges so that you could easily tell
 whether it's a server or a disposable test VM by looking at it's IP address.
 
  I have set up Opennebula with LDAP authentication. LDAP users
 authenticate just fine and are able to create themselves VMs using those
 templates that the admin has allowed for them. Now, I'd like to make so
 that only default virtual network is exposed to regular users, and
 SPECIAL is not 

Re: [one-users] RANK=FREEMEMORY

2014-10-30 Thread Steven Timm

On Thu, 30 Oct 2014, Ruben S. Montero wrote:




On Thu, Oct 30, 2014 at 2:57 PM, Steven Timm t...@fnal.gov wrote:
  I think I see what went wrong by looking at the documentation.
  The value as shown in onehost show -x
  is now labeled FREE_MEM instead of FREEMEMORY.
  (The current docs also correctly show the variable as FREE_MEM).
  I will edit my template and see if that has an effect.

  Also it looks like RANK is deprecated in favor of SCHED_RANK
  and SCHED_DS_RANK is that correct?



Yes, 

 

  Any way short of a text editor and onetemplate update to
  fix all the legacy templates that have it wrong?

 

All of this should be automatically handled by the upgrade process... 


It wasn't, the last time we tried a test upgrade using the
upgrade scripts.  There were a lot of deprecated fields that stayed
in the machine templates and some required ones that didn't get in.

Steve





  Steve Timm


  On Thu, 30 Oct 2014, Ruben S. Montero wrote:

Hi Steven,
This should be working as long it is in the host
information. Could you send
the onehost show -x for one of the hosts? (You can
send it to me offlist if
there is any sensible information).

The Rank expression is supposed to work with any
variable under the
following XPaths:

    /HOST/TEMPLATE/,
    /HOST/HOST_SHARE/,
    /HOST/,
    /HOST/CLUSTER_TEMPLATE/

Cheers

Ruben

On Wed, Oct 29, 2014 at 10:34 PM, Steven Timm
t...@fnal.gov wrote:

      Under OpenNebula 3 we have been using
RANK=FREEMEMORY
      to launch the next virtual machine on the
hypervisor which
      has the most memory available at the time.  I
am using the
      same in OpenNebula 4.8 but it does not appear
to be working,
      even though FREEMEMORY is still a documented
selection variable
      in the requirements section.  In particular
      all the RANKS of the machines show up as 0
in the sched.log
      when you look at the allocation cycle and
there is no
      FREEMEMORY
      variable reported in the output of
      onehost show 
      under opennebula 4.8.

      Are there other selection variables which
could have
      the same desired effect, i.e. a horizontal
fill of the cloud?

      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




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



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




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




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


[one-users] Contextualization with Cloud-init debug

2014-10-30 Thread Javier Juarez
Hi dudes,

I´m trying to make a small provisioning of our VMs based on cloud-init
without success. The contextualization process works well apparently (our
network interfaces and ssh keys have been deployed), but I think that the
cloud-init phase does not work at all. Any ideas about how to debug this
kind of behaviour after the contextualization step.

We are using OpenNebula versión 4.8.0, our images have the
contextualization package version 4.8.0 and our context file looks like
that:

CONTEXT=[
  NETWORK=YES,
  SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY],
  USER_DATA=#cloud-config
bootcmd:
  - yum clean all
  - yum -y update
packages:
  - tree
  - lsof
runcmd:
  - curl http://sfs.csic.es/mri-installer/scripts/install_mri.sh|sh
  - curl http://sfs.csic.es/chef-installer/scripts/install_chef.sh|sh
]

thanks in advance,
Javier
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Deploying running vps to a different system datastore

2014-10-30 Thread Ruben S. Montero
Currently, this is not supported :( But this is in our short-term roadmap
and hopefully implemented after 4.10

Cheers

On Tue, Oct 28, 2014 at 6:39 PM, Sergi s...@okitup.com wrote:

 Hello,

 We have an opennebula installation with two hypervisors (one acting also
 as NFS server for the shared datastores).

 We have a few running instances on a shared system datastore and would
 like them running on a newly created ssh datastore, that is, running on
 the hypervisor's local disks.

 Using the deploy command is not possible because instances are not in
 the right state. How can we achieve that?

 Thanks in advance,
 regards,
 Sergi

 ___
 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] RANK=FREEMEMORY

2014-10-30 Thread Ruben S. Montero
Upgrade scripts update  VM templates in the OpenNebula database but not
running VMs, maybe this is the problem.

We've missed some variables, but for these ones, take a look to the upgrade
script 4.4.1_to_4.5.80.rb. The following should be updated:
gsub(TOTALCPU,   MAX_CPU).
gsub(TOTALMEMORY,MAX_MEM).
gsub(FREECPU,FREE_CPU).
gsub(FREEMEMORY, FREE_MEM).
gsub(USEDCPU,USED_CPU).
gsub(USEDMEMORY, USED_MEM)

RANK is replaced by SCHED_RANK in 3.8.5_to_3.9.80.rb script.

Maybe there is a bug in the migration code...

Cheers

Ruben


On Thu, Oct 30, 2014 at 3:19 PM, Steven Timm t...@fnal.gov wrote:

 On Thu, 30 Oct 2014, Ruben S. Montero wrote:



 On Thu, Oct 30, 2014 at 2:57 PM, Steven Timm t...@fnal.gov wrote:
   I think I see what went wrong by looking at the documentation.
   The value as shown in onehost show -x
   is now labeled FREE_MEM instead of FREEMEMORY.
   (The current docs also correctly show the variable as FREE_MEM).
   I will edit my template and see if that has an effect.

   Also it looks like RANK is deprecated in favor of SCHED_RANK
   and SCHED_DS_RANK is that correct?



 Yes,



   Any way short of a text editor and onetemplate update to
   fix all the legacy templates that have it wrong?



 All of this should be automatically handled by the upgrade process...


 It wasn't, the last time we tried a test upgrade using the
 upgrade scripts.  There were a lot of deprecated fields that stayed
 in the machine templates and some required ones that didn't get in.

 Steve




   Steve Timm


   On Thu, 30 Oct 2014, Ruben S. Montero wrote:

 Hi Steven,
 This should be working as long it is in the host
 information. Could you send
 the onehost show -x for one of the hosts? (You can
 send it to me offlist if
 there is any sensible information).

 The Rank expression is supposed to work with any
 variable under the
 following XPaths:

 /HOST/TEMPLATE/,
 /HOST/HOST_SHARE/,
 /HOST/,
 /HOST/CLUSTER_TEMPLATE/

 Cheers

 Ruben

 On Wed, Oct 29, 2014 at 10:34 PM, Steven Timm
 t...@fnal.gov wrote:

   Under OpenNebula 3 we have been using
 RANK=FREEMEMORY
   to launch the next virtual machine on the
 hypervisor which
   has the most memory available at the time.  I
 am using the
   same in OpenNebula 4.8 but it does not appear
 to be working,
   even though FREEMEMORY is still a documented
 selection variable
   in the requirements section.  In particular
   all the RANKS of the machines show up as 0
 in the sched.log
   when you look at the allocation cycle and
 there is no
   FREEMEMORY
   variable reported in the output of
   onehost show 
   under opennebula 4.8.

   Are there other selection variables which
 could have
   the same desired effect, i.e. a horizontal
 fill of the cloud?

   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




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



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




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

Re: [one-users] Contextualization with Cloud-init debug

2014-10-30 Thread vincent

On 2014-10-30 15:33, Javier Juarez wrote:

Hi dudes,

I´m trying to make a small provisioning of our VMs based on cloud-init
without success. The contextualization process works well apparently 
(our
network interfaces and ssh keys have been deployed), but I think that 
the
cloud-init phase does not work at all. Any ideas about how to debug 
this

kind of behaviour after the contextualization step.

We are using OpenNebula versión 4.8.0, our images have the
contextualization package version 4.8.0 and our context file looks like
that:

CONTEXT=[
  NETWORK=YES,
  SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY],
  USER_DATA=#cloud-config
bootcmd:
  - yum clean all
  - yum -y update
packages:
  - tree
  - lsof
runcmd:
  - curl http://sfs.csic.es/mri-installer/scripts/install_mri.sh|sh
  - curl http://sfs.csic.es/chef-installer/scripts/install_chef.sh|sh
]

thanks in advance,
Javier



Hi Javier,

Since cloud-init uses yaml for its config file you need to make sure 
indentation/syntax is correct.
You can see this in the cloud-init logfile inside the VM (something like 
: can't read yaml blob).


What OS are you using for the VM? When its CentOS/RHEL with Selinux 
enabled, you'll probably need to

install a SELinux policy (i needed to in CentOS7).

Regards,
Vincent


___
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] add custom info to Sunstone cloud view

2014-10-30 Thread vincent

Hi,

I would like to add custom info to the Virtual Machines  overview when 
in Cloud View.


Now each square has cpu - mem, image name and ip address mentioned 
like :


x0.125 - 1GB
centos7-10GB-THIN
172.20.17.21

I would like to add the value of a field i have in the template being 
description which

would result in something like this :

x0.125 - 1GB
centos7-10GB-THIN
172.20.17.21
DB01 Server BXL

This provides meaningfull info because we update the name of the 
instance with the FQDN when
its deployed. This FQDN is a generated number + domain name which is not 
really meaningful.


Is something like this possible?
thx

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


<    2   3   4   5   6   7   8   9   10   11   >