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

2012-09-07 Thread Duverne, Cyrille
Hello Carlos, As you might have read it, i'm using ONE 3.2 packaged in Ubuntu 12.04. onedatastore show isn't a supported command of this version... Or at least I get a command not found How could I retrieve this info from ? Regards CyD Thanks in advance. Cyrille Cyrille Duverne Blog :

Re: [one-users] Problem in running VMs

2012-09-07 Thread Carlos Martín Sánchez
Hi, If you are using the 'shared' Transfer Manager (TM) driver, then the directory /var/lib/one/var/datastores/0/0 should exist in both the front-end and the host. Please check if /var/lib/one/var/datastores/0 and /1 are correctly mounted, and have the right permissions so oneadmin can use them.

[one-users] BUG report: rotten file permissions in /etc/one

2012-09-07 Thread Matthew Patton
In the CentOS/RHEL rpm at least. several files contain username and passwords. Yet the files are mode 644. They should be mode 640 and gid=oneadmin. Similarly for directories. -- Cloud Services Architect, Senior System Administrator InfoRelay Online Systems (www.inforelay.com)

[one-users] BUG report: stray files in /var/lib/one/remotes

2012-09-07 Thread Matthew Patton
scripts_common.{sh,rb} are identical to their peers in /usr/lib/one. The ones in /var should be at least symlinks if they exist at all. Though looking at several of the im, tm, vmm they go to great pains to use the /usr/lib/one. I also don't follow why the entire contents of

[one-users] FEATURE request: duplicated code and failure to use a single environment configuration file

2012-09-07 Thread Matthew Patton
Seems every script has the same 10 lines to find common scriptlets to include. Things would be a hell of a lot simpler to maintain if there was a 'env.conf' in /etc/one (or the $ONE_LOCATION equivalent). -- Cloud Services Architect, Senior System Administrator InfoRelay Online Systems

Re: [one-users] Problem in running VMs

2012-09-07 Thread Matthew Patton
On Fri, 07 Sep 2012 05:20:09 -0400, Carlos Martín Sánchez cmar...@opennebula.org wrote: If you are using the 'shared' Transfer Manager (TM) driver, then the directory /var/lib/one/var/datastores/0/0 should exist in both the front-end and the host. Huh? Why is the front-end involved at all?

Re: [one-users] BUG report: rotten file permissions in /etc/one

2012-09-07 Thread Valentin Bud
Hello World, I can confirm this on CentOS 6.3 installed from source. Used -u oneadmin -g oneadmin. Thanks Matthew for noticing this. Good Will, v On Fri, Sep 7, 2012 at 1:07 PM, Matthew Patton mpat...@inforelay.comwrote: In the CentOS/RHEL rpm at least. several files contain username and

[one-users] Failed to create VM domain

2012-09-07 Thread Virginia Martín-Rubio Pascual
Hi, When I try to instantiate a VM template, I obtain this error: ... Fri Sep 7 14:48:27 2012 [DiM][I]: New VM state is ACTIVE. Fri Sep 7 14:48:27 2012 [LCM][I]: New VM state is PROLOG. Fri Sep 7 14:48:27 2012 [VM][I]: Virtual Machine has no context Fri Sep 7 14:48:32 2012 [TM][I]: clone:

Re: [one-users] Failed to create VM domain

2012-09-07 Thread Valentin Bud
Hi, What OS are you running OpenNebula on and what does /var/log/libvirt/qemu/one-9.log outputs? Good Will, v On Fri, Sep 7, 2012 at 4:06 PM, Virginia Martín-Rubio Pascual virginia.martinru...@rediris.es wrote: Hi, When I try to instantiate a VM template, I obtain this error: ... Fri

Re: [one-users] BUG report: stray files in /var/lib/one/remotes

2012-09-07 Thread Javier Fontan
On Fri, Sep 7, 2012 at 12:08 PM, Matthew Patton mpat...@inforelay.com wrote: scripts_common.{sh,rb} are identical to their peers in /usr/lib/one. The ones in /var should be at least symlinks if they exist at all. Though looking at several of the im, tm, vmm they go to great pains to use the

Re: [one-users] mixed type clusters and MAC persistance

2012-09-07 Thread Ruben S. Montero
Hi Matthew VM Templates are hypervisor agnostic, sometimes if tuning is required they can be customized for an hypervisor with the RAW attribute. However images and, in particular VMware ones, are specific to VMware and cannot be booted as is in KVM. So if you have a template using a VMware

Re: [one-users] Problem with x509 authentication for cli

2012-09-07 Thread Ruben S. Montero
Hi It seems that your debug efforts are in the right direction, would you mind to double check a couple of things. Using a irb session 1.- define a variable with the encrypted string of /home/new_user/.one/one_x509, that after the ':' a=1Af34.. 2.- This is a base64 encoding of the encrypted

[one-users] where do folks typically define ONE_LOCATION?

2012-09-07 Thread Matthew Patton
On Centos/RHEL I would presume one would set it in /etc/sysconfig/one. Otherwise 'oned' wouldn't pick it up on startup. Other place could be /etc/profile.d or decidedly worse, ~oneadmin/.profile. Where do the other Linux flavors tend to recommend setting this value? If installing from a