Re: [one-users] strange EC2 beahvior in 4.8

2014-09-30 Thread Daniel Molina
Hi Olivier,

Did you fix this issue? I cannot reproduce it

Cheers

On 24 September 2014 15:45, Olivier Sallou olivier.sal...@irisa.fr wrote:

  All users have use permissions on image. And as I said, template group
 ownership modification fix the issue...






 On 09/24/2014 01:06 PM, Daniel Molina wrote:

 Hi Olivier,

  What about the image (280) permissions?

  Cheers

 On 24 September 2014 10:18, Olivier Sallou olivier.sal...@irisa.fr
 wrote:

 As more info,
 if  I change the group ownership of the template to users instead of
 oneadmin it works.

 However, as Permissions to Use on Other are set, it should work.

 Olivier

 On 09/24/2014 10:16 AM, Olivier Sallou wrote:
  I have updated my config to use the EC2 templates in one instead of old
  template files.
  It works fine when I am the oneadmin user.
 
  However, when I am using an other user I have this error when I create a
  new VM:
 
  Unexpected server error. response.body is:
 
 ResponseRequestId/ErrorsErrorCodeInvalidInstanceAttributeValue.NotFound/CodeMessageInvalidInstanceAttributeValue.NotFound
  m1.small/Message/Error/Errors/Response
 
 
  The code is:
 
  response = ec2.run_instances(
:image_id   = 'ami-0280',
:min_count  = 1,
:max_count  = 1,
:instance_type  = 'm1.small',
:user_data  = user_data,
:base64_encoded = true
)
 
  It works fine if I use the oneadmin credentials, but not for other
 users.
 
  m1.small is a template in one:
 
  TEMPLATE 143
  INFORMATION
  ID : 143
  NAME   : m1.small
  USER   : oneadmin
  GROUP  : oneadmin
  REGISTER TIME  : 09/23 10:26:52
 
  PERMISSIONS
 
  OWNER  : um-
  GROUP  : u--
  OTHER  : u--
 
  All users have USE right access.
 
  Any idea?
 
  Thanks
 
  Olviier
 

 --
  Olivier Sallou
 IRISA / University of Rennes 1
 Campus de Beaulieu, 35000 RENNES - FRANCE
 Tel: 02.99.84.71.95

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

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




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


 --
 Olivier Sallou
 IRISA / University of Rennes 1
 Campus de Beaulieu, 35000 RENNES - FRANCE
 Tel: 02.99.84.71.95

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





-- 
--
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] Deployment files transfer error

2014-09-30 Thread Hamada, Ondrej
I think it’s even advised when you want to use push-mode for monitoring.

O.

From: m.alfonso.lo...@gmail.com [mailto:m.alfonso.lo...@gmail.com] On Behalf Of 
Manuel Alfonso López Rourich
Sent: Tuesday, September 30, 2014 2:07 PM
To: Hamada, Ondrej
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Deployment files transfer error

Hello again,

I've resolved the problem in one host.

As I said in a previous message, I had access errors in the directory 
/var/lib/one/.ssh after mounting /var/lib/one in the remote host with NFS.

The problem was the fact that the oneadmin user id wasn't the same as the 
oneadmin user id in the front-end host so ONE couldn't access the ssh 
configuration and hosts couldn't comunicate each other without entering the 
password.

Now I have a doubt. Since the directory that is mounted is /var/lib/one from 
the front-end host, at the end, the directory is the same in the remote host 
and oneadmin has the same ssh key. Is this correct?

Thank you very much,

Best regards



2014-09-30 9:29 GMT+02:00 Hamada, Ondrej 
ondrej.ham...@acision.commailto:ondrej.ham...@acision.com:
Hi Manuel,

Could you provide more information like the output of `ls –la /var/lib/one/` 
command?

I suppose the problem might be related to idmapd configuration. I guess you 
will see all the files owned by ‘nobody:nogroup’. In that case Google is your 
friend.

Ondra

From: m.alfonso.lo...@gmail.commailto:m.alfonso.lo...@gmail.com 
[mailto:m.alfonso.lo...@gmail.commailto:m.alfonso.lo...@gmail.com] On Behalf 
Of Manuel Alfonso López Rourich
Sent: Monday, September 29, 2014 7:38 PM
To: Hamada, Ondrej; 
users@lists.opennebula.orgmailto:users@lists.opennebula.org

Subject: Re: [one-users] Deployment files transfer error

Hello again,

In order to share data between the host with the frontend and the target hosts, 
I followed the guide at 
http://docs.opennebula.org/4.6/design_and_installation/quick_starts/qs_ubuntu_kvm.html
 .

Mainly, I've exported the directory /var/lib/one in the frontend with NFS:

/var/lib/one/ *(rw,sync,no_subtree_check,root_squash) (in /etc/exports)

and I mounted the same directory in the host:

10.12.0.15:/var/lib/one/  /var/lib/one/  nfs   
soft,intr,rsize=8192,wsize=8192,noauto (in /etc/fstab)

Now, the directory /var/lib/one in the host has a more typical structure but I 
cannot access /var/lib/one/.ssh even with the root user. It throws a permission 
denied message.

Any ideas?

Thank you very much,

Best regards


2014-09-29 9:16 GMT+02:00 Hamada, Ondrej 
ondrej.ham...@acision.commailto:ondrej.ham...@acision.com:
Hi Manuel,

I’m not familiar with the slave zones, so I don’t know what will be the result 
of mounting the /var/lib/one in them. But you can always export only the needed 
datastore and mount it to /var/lib/one/datastores/$datastore_id on the target 
host.

Ondra

From: m.alfonso.lo...@gmail.commailto:m.alfonso.lo...@gmail.com 
[mailto:m.alfonso.lo...@gmail.commailto:m.alfonso.lo...@gmail.com] On Behalf 
Of Manuel Alfonso López Rourich
Sent: Monday, September 29, 2014 9:09 AM
To: Hamada, Ondrej
Cc: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: Re: [one-users] Deployment files transfer error

Good morning,

I've deployed another VM because I deleted the other one. Anyway, the error is 
the same:

Command execution fail: /var/lib/one/remotes/tm/shared/clone 
opennebula-worker15:/var/lib/one//datastores/1/2ac54ee0c7b5f0f489216e9a04451725 
10.12.0.18:/var/lib/one//datastores/0/18/disk.0 18 1

In the target host, the directory /var/lib/one/datastores/0/18/ is empty.

Do i have to configure /var/lib/one/ in the target hosts as a NFS directory?

Thank you very much

Best regards

2014-09-28 15:35 GMT+02:00 Ondrej Hamada 
ondrej.ham...@acision.commailto:ondrej.ham...@acision.com:
Hi Manuel,
you are obviously using shared datastores. Can you check that you can access 
the file 'var/lib/one//datastores/1/2ac54ee0c7b5f0f489216e9a04451725' on the 
target hosts?

Ondra

On 09/24/2014 11:03 AM, Manuel Alfonso López Rourich wrote:
Good morning,

I have four hosts and I installed OpenNebula in one of them. That installation 
of ONE is a slave zone.

I added the four hosts and I can deploy VMs in the one where ONE slave is 
installed but in the other ones I can't.

It must be some issue related with the files transfer during the deployment, 
because the errors in the log are:

Wed Sep 24 10:23:37 2014 [TM][D]: Message received: LOG I 11 Command execution 
fail: /var/lib/one/remotes/tm/shared/clone 
opennebula-worker15:/var/lib/one//datastores/1/2ac54ee0c7b5f0f489216e9a04451725 
10.12.0.18:/var/lib/one//datastores/0/11/disk.0 11 1
Wed Sep 24 10:23:37 2014 [TM][D]: Message received: LOG I 11 clone: Cloning 
/var/lib/one/datastores/1/2ac54ee0c7b5f0f489216e9a04451725 in 
10.12.0.18:/var/lib/one//datastores/0/11/disk.0
Wed Sep 24 10:23:37 2014 [TM][D]: Message received: LOG E 11 clone: Command cd 
/var/lib/one/datastores/0/11; cp 

[one-users] Running VMs listed as zombies on KVM host?

2014-09-30 Thread Dmitri Chebotarov
Hi,

Something strange is happening with my VMs... 
Below is 'one host show 161' output and it shows that ONE marks running VMs as 
zombies on the host. It happens to multiple VMs/HOSTs, but now all. I tried to 
delete ZOMBIES attribute, but few minutes later it's back with the list of 
running VMs. What would cause this behavior? 

(ONE 4.8)

$ onehost show 161
HOST 161 INFORMATION
ID: 161
NAME  : BC3-6
CLUSTER   : RHEL
STATE : MONITORED
IM_MAD: kvm
VM_MAD: kvm
VN_MAD: ovswitch
LAST MONITORING TIME  : 09/30 11:35:22

HOST SHARES
TOTAL MEM : 47.1G
USED MEM (REAL)   : 16.9G
USED MEM (ALLOCATED)  : 14G
TOTAL CPU : 2400
USED CPU (REAL)   : 50
USED CPU (ALLOCATED)  : 700
RUNNING VMS   : 4

MONITORING INFORMATION
ARCH=x86_64
ARCH=x86_64
CPUSPEED=1596
CPUSPEED=1596
HOSTNAME=BC3-6
HOSTNAME=BC3-6
HYPERVISOR=kvm
HYPERVISOR=kvm
MODELNAME=Intel(R) Xeon(R) CPU   X5660  @ 2.80GHz
MODELNAME=Intel(R) Xeon(R) CPU   X5660  @ 2.80GHz
NETRX=45361301966553
NETRX=0
NETTX=2465939705538
NETTX=0
RESERVED_CPU=
RESERVED_MEM=
TOTAL_ZOMBIES=4
VERSION=4.8.0
ZOMBIES=one-51701, one-51774, one-51747, one-51763

VIRTUAL MACHINES

ID USER GROUPNAMESTAT UCPUUMEM HOST TIME
 51701 vcl-gmu- vcl  vmguest-vcl323  runn   14  4G BC3-60d 12h40
 51747 vcl-gmu- vcl  vmguest-vcl65 ( runn9  2G BC3-60d 10h25
 51763 vcl-gmu- vcl  vmguest-vcl312  runn   12  4G BC3-60d 09h10
 51774 vcl-gmu- vcl  vmguest-vcl17 ( runn   14  4G BC3-60d 06h10

--
Thank you,

Dmitri Chebotarov
VCL Sys Eng, Engineering  Architectural Support, TSD - Ent Servers  Messaging
223 Aquia Building, Ffx, MSN: 1B5
Phone: (703) 993-6175 | Fax: (703) 993-3404
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] appmarket Credentials

2014-09-30 Thread Alejandro Feijóo

Hi.

I´m just testing appmarket but i have some problems...

I used the Guide(1) but... at first i did not change the 
appmarket-server.conf for admin credentials (just start with default 
username and password)


But... i dont understant the credentials part... it seems that i neet to 
create a user at appmarket and set it at sunstone-appmarket.conf but... 
what user?


i tried with default user and default password (because it has at 
appmarket-server.conf) but that not work...


any idea? because as root, if i use appmarket-user i have no access:

[root@test11 ~]# appmarket-user list
{
  message: User not authorized
}


Thanks in advance.


(1): 
https://github.com/OpenNebula/addon-appmarket/blob/master/doc/installation_and_configuration.md


--
Alejandro Feijóo Fraga
Systems Technician
CESGA

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


Re: [one-users] Cannot create a VM snapshot

2014-09-30 Thread Pavel Tankov

opennebula-node package is installed:

# rpm -qa | grep opennebula-node
opennebula-node-kvm-4.8.0-1.x86_64

The command onehost sync returns this:

# onehost sync
No hosts are going to be updated.

--
Pavel Tankov

On 09/30/2014 11:06 AM, Hamada, Ondrej wrote:

Maybe you have to run `onehost sync` against that node or install 
opennebula-node package.

O.


-Original Message-
From: Users [mailto:users-boun...@lists.opennebula.org] On Behalf Of Pavel 
Tankov
Sent: Tuesday, September 30, 2014 9:03 AM
To: users@lists.opennebula.org
Subject: Re: [one-users] Cannot create a VM snapshot

The 'snapshot_create' script is not available on /var/tmp/one/vmm/kvm/.
The contents of this folder is:

# ls -l /var/tmp/one/vmm/kvm/
total 32
-rwxr-xr-x 1 oneadmin oneadmin  1596 Aug 20 11:25 cancel -rwxr-xr-x 1 oneadmin 
oneadmin  1545 Aug 20 11:25 deploy
-rw-r--r-- 1 oneadmin oneadmin  1790 Aug 20 11:25 kvmrc -rwxr-xr-x 1 oneadmin 
oneadmin 14255 Aug 20 11:25 poll -rwxr-xr-x 1 oneadmin oneadmin  2304 Aug 20 
11:25 shutdown

But isn't this a temporary folder. Is the script expected to be there?

On the other hand:

# find / -name snapshot_create
/var/lib/one/remotes/vmm/sl/snapshot_create
/var/lib/one/remotes/vmm/ec2/snapshot_create
/var/lib/one/remotes/vmm/kvm/snapshot_create
/var/lib/one/remotes/vmm/vmware/snapshot_create
/var/lib/one/remotes/vmm/az/snapshot_create
/var/lib/one/remotes/vmm/xen3/snapshot_create
/var/lib/one/remotes/vmm/xen4/snapshot_create

-- Pavel Tankov

On 09/28/2014 05:04 PM, Ondrej Hamada wrote:

Hi Pavel,

this check has failed:

if [ -x /var/tmp/one/vmm/kvm/snapshot_create ];

You should check that the 'snapshot_create' script is available on the
host in the specified path and that it is executable by oneadmin user.

Ondra

On 09/24/2014 04:22 PM, Pavel Tankov wrote:

Hello,

I have Opennebula 4.8 on CentOS 6.5. I have installed from the
Marketplace CentOS 7 - KVM - OpenNebula 4.8

I am able to instantiate it and it runs fine. However, when I click
on the running VM -- Snapshots -- Take snapshot, It doesn't get
created and in the log there is this:

--- log begin ---
Wed Sep 24 17:13:41 2014 [Z0][DiM][I]: New VM state is ACTIVE.
Wed Sep 24 17:13:41 2014 [Z0][LCM][I]: New VM state is PROLOG.
Wed Sep 24 17:13:42 2014 [Z0][LCM][I]: New VM state is BOOT Wed Sep
24 17:13:42 2014 [Z0][VMM][I]: Generating deployment file:
/var/lib/one/vms/61/deployment.0
Wed Sep 24 17:13:42 2014 [Z0][VMM][I]: ExitCode: 0 Wed Sep 24
17:13:42 2014 [Z0][VMM][I]: Successfully execute network driver
operation: pre.
Wed Sep 24 17:13:42 2014 [Z0][VMM][I]: ExitCode: 0 Wed Sep 24
17:13:42 2014 [Z0][VMM][I]: Successfully execute virtualization
driver operation: deploy.
Wed Sep 24 17:13:42 2014 [Z0][VMM][I]: ExitCode: 0 Wed Sep 24
17:13:42 2014 [Z0][VMM][I]: Successfully execute network driver
operation: post.
Wed Sep 24 17:13:43 2014 [Z0][LCM][I]: New VM state is RUNNING Wed
Sep 24 17:15:05 2014 [Z0][VMM][I]: Command execution fail: 'if [ -x
/var/tmp/one/vmm/kvm/snapshot_create ]; then
/var/tmp/one/vmm/kvm/snapshot_create one-61 0 61 localhost; else exit
42; fi'
Wed Sep 24 17:15:05 2014 [Z0][VMM][I]: Warning: Permanently added
'localhost' (RSA) to the list of known hosts.
Wed Sep 24 17:15:05 2014 [Z0][VMM][I]: ExitCode: 42 Wed Sep 24
17:15:05 2014 [Z0][VMM][E]: Error creating new VM Snapshot
--- log end ---

Please, note that the image is from the Marketplace and is supposed
to be qcow2, e.g. to support snapshots.
I tried both with the image set to Persistent: no and Persistent:
yes.
I tried with both the image set to Type: OS and Type: DATABLOCK.

What could be the problem?
Thanks!




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

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

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



___
Users mailing list
Users@lists.opennebula.org

Re: [one-users] Extracting VM images

2014-09-30 Thread Daniel Molina
Hi,

Currently, it is not possible to export an existing image from OpenNebula,
only import from the Marketplace. We can consider this functionality for
future releases. There is already a ticket for this:
http://dev.opennebula.org/issues/2636

Cheers

On 25 September 2014 11:50, Daniel Dehennin daniel.dehen...@baby-gnu.org
wrote:

 Hello,

 Looking at the marketplace documentation, I see that it does not store
 images.

 This means that I need to extract image files to put them on a public
 web server and reference them in the maketplace.

 Is there a way to extract them by other way than doing:

 1. ssh one@nebula
 2. IMG=$(oneimage show ID | awk -F':' '/^SOURCE/ { print $2}')
 3. scp ${IMG} www-data@webserver:/somewhere/to/store/image/name.img

 Such workflow makes it impossible for simple users to extract their
 images from ONE and make them available for appliances.

 Is it possible to get some feedback on how you use maketplace with ONE?

 Regards.

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

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




-- 
--
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] appmarket Credentials

2014-09-30 Thread Daniel Molina
Hi Alejandro,

The credentials that you define in the appmarket-sunstone.conf is just for
Sunstone and it depends on how do you want to use the Appmarket. If you
want to use it as regular user, in the same way you use the default
Marketplace tab included in OpenNebula, you have to create a new regular
user in AppMarket and use it in the conf file. On the other hand if you
want to use the AppMarket as an admin and create new appliances you have to
use the default credentials included in appmarket-server.conf or create a
new admin user.

If you want to use the CLI you have to provide the credentials as params
$  appmarket-user list --user default --password default

Cheers

On 30 September 2014 08:34, Alejandro Feijóo alfei...@cesga.es wrote:

 Hi.

 I´m just testing appmarket but i have some problems...

 I used the Guide(1) but... at first i did not change the
 appmarket-server.conf for admin credentials (just start with default
 username and password)

 But... i dont understant the credentials part... it seems that i neet to
 create a user at appmarket and set it at sunstone-appmarket.conf but...
 what user?

 i tried with default user and default password (because it has at
 appmarket-server.conf) but that not work...

 any idea? because as root, if i use appmarket-user i have no access:

 [root@test11 ~]# appmarket-user list
 {
   message: User not authorized
 }


 Thanks in advance.


 (1): https://github.com/OpenNebula/addon-appmarket/blob/master/
 doc/installation_and_configuration.md

 --
 Alejandro Feijóo Fraga
 Systems Technician
 CESGA




-- 
--
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] Opennebula disk throttling.

2014-09-30 Thread Leszek Master
How can i set disk throttling iops and MB/s to my existing VM's without
redeploying ? If i add it to a xml file after rebooting my VM it disappear.

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


Re: [one-users] appmarket Credentials

2014-09-30 Thread Alejandro Feijóo

Ok... ignore that... i just found howto change at json...


sorry ...


El 30/09/14 12:10, Alejandro Feijóo escribió:

I think there are some problem at sunstone...

if I create a appliance through sunstone it fails, but if i create at 
appmarket create file.json it works ok.



my doubt its how change the template to write it in json...


there are an example.


CONTEXT=[
  NETWORK=YES,
  SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY] ]
CPU=1
DISK=[
  IMAGE_ID=0 ]
FEATURES=[
  ACPI=yes ]
GRAPHICS=[
  LISTEN=0.0.0.0,
  TYPE=VNC ]
MEMORY=1024
NIC=[
  NETWORK_ID=0 ]
OS=[
  ARCH=x86_64,
  BOOT=hd,
  ROOT=hda1 ]


how i can put that in json?


El 30/09/14 11:32, Alejandro Feijóo escribió:
Thanks so much, finally found that comand (mine error not set a pass 
and user...)


now i have a problem because i just create an appliance but i think i 
must set other ip and not localhost.



I create and register img, after that opennebula and appmarket set 
link to ( http://localhost:6242/appliance/542a773df3474d08bb03) 
but... thats nos possible to import appliance because (cant determine 
image size)


any idea? its works only change the 127.0.0.1 at appmarket server 
config?


Thanks in advance.


El 30/09/14 11:25, Daniel Molina escribió:

Hi Alejandro,

The credentials that you define in the appmarket-sunstone.conf is 
just for Sunstone and it depends on how do you want to use the 
Appmarket. If you want to use it as regular user, in the same way 
you use the default Marketplace tab included in OpenNebula, you have 
to create a new regular user in AppMarket and use it in the conf 
file. On the other hand if you want to use the AppMarket as an admin 
and create new appliances you have to use the default credentials 
included in appmarket-server.conf or create a new admin user.


If you want to use the CLI you have to provide the credentials as params
$ appmarket-user list --user default --password default

Cheers

On 30 September 2014 08:34, Alejandro Feijóo alfei...@cesga.es 
mailto:alfei...@cesga.es wrote:


Hi.

I´m just testing appmarket but i have some problems...

I used the Guide(1) but... at first i did not change the
appmarket-server.conf for admin credentials (just start with
default username and password)

But... i dont understant the credentials part... it seems that i
neet to create a user at appmarket and set it at
sunstone-appmarket.conf but... what user?

i tried with default user and default password (because it has
at appmarket-server.conf) but that not work...

any idea? because as root, if i use appmarket-user i have no access:

[root@test11 ~]# appmarket-user list
{
  message: User not authorized
}


Thanks in advance.


(1):

https://github.com/OpenNebula/addon-appmarket/blob/master/doc/installation_and_configuration.md

-- 
Alejandro Feijóo Fraga

Systems Technician
CESGA




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


--
Alejandro Feijóo Fraga
Systems Technician
CESGA


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


--
Alejandro Feijóo Fraga
Systems Technician
CESGA


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


--
Alejandro Feijóo Fraga
Systems Technician
CESGA

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


[one-users] Opennebula Federation

2014-09-30 Thread Maria Jular
Hello,

I have an OpenNebula federation (version 4.6.2) with a single master zone and 
several slave zones.
I would like to restrict some users to access to an only one slave zone.
i.e. A user is logged into master zone with Sunstone and then, this user  can 
only see and access to the slave zone to which he has access (a default zone 
for user owners).
How can this be done? With ACLs doesn't work.

Thank you!


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


[one-users] Cloud Bursting to Opennebula server

2014-09-30 Thread Alejandro Feijóo

Hi.

There are any option to have 2 diferents Opennebula running and through 
one send MV to any? similar to cloud bursting to EC2, Azure, IBM...


Because one option is to add the dom0 to both oned but... i need to know 
the CPU load and share resources at 2 ON servers...


Thanks in advance.

--
Alejandro Feijóo Fraga
Systems Technician
CESGA

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


Re: [one-users] Deployment files transfer error

2014-09-30 Thread Manuel Alfonso López Rourich
Hello again,

I've resolved the problem in one host.

As I said in a previous message, I had access errors in the directory
/var/lib/one/.ssh after mounting /var/lib/one in the remote host with NFS.

The problem was the fact that the oneadmin user id wasn't the same as the
oneadmin user id in the front-end host so ONE couldn't access the ssh
configuration and hosts couldn't comunicate each other without entering the
password.

Now I have a doubt. Since the directory that is mounted is /var/lib/one
from the front-end host, at the end, the directory is the same in the
remote host and oneadmin has the same ssh key. Is this correct?

Thank you very much,

Best regards



2014-09-30 9:29 GMT+02:00 Hamada, Ondrej ondrej.ham...@acision.com:

  Hi Manuel,



 Could you provide more information like the output of `ls –la
 /var/lib/one/` command?



 I suppose the problem might be related to idmapd configuration. I guess
 you will see all the files owned by ‘nobody:nogroup’. In that case Google
 is your friend.



 Ondra



 *From:* m.alfonso.lo...@gmail.com [mailto:m.alfonso.lo...@gmail.com] *On
 Behalf Of *Manuel Alfonso López Rourich
 *Sent:* Monday, September 29, 2014 7:38 PM
 *To:* Hamada, Ondrej; users@lists.opennebula.org

 *Subject:* Re: [one-users] Deployment files transfer error



 Hello again,



 In order to share data between the host with the frontend and the target
 hosts, I followed the guide at
 http://docs.opennebula.org/4.6/design_and_installation/quick_starts/qs_ubuntu_kvm.html
 .



 Mainly, I've exported the directory /var/lib/one in the frontend with NFS:



 /var/lib/one/ *(rw,sync,no_subtree_check,root_squash) (in /etc/exports)



 and I mounted the same directory in the host:



 10.12.0.15:/var/lib/one/  /var/lib/one/  nfs
 soft,intr,rsize=8192,wsize=8192,noauto (in /etc/fstab)



 Now, the directory /var/lib/one in the host has a more typical structure
 but I cannot access /var/lib/one/.ssh even with the root user. It throws a
 permission denied message.



 Any ideas?



 Thank you very much,



 Best regards





 2014-09-29 9:16 GMT+02:00 Hamada, Ondrej ondrej.ham...@acision.com:

  Hi Manuel,



 I’m not familiar with the slave zones, so I don’t know what will be the
 result of mounting the /var/lib/one in them. But you can always export only
 the needed datastore and mount it to /var/lib/one/datastores/$datastore_id
 on the target host.



 Ondra



 *From:* m.alfonso.lo...@gmail.com [mailto:m.alfonso.lo...@gmail.com] *On
 Behalf Of *Manuel Alfonso López Rourich
 *Sent:* Monday, September 29, 2014 9:09 AM
 *To:* Hamada, Ondrej
 *Cc:* users@lists.opennebula.org
 *Subject:* Re: [one-users] Deployment files transfer error



 Good morning,



 I've deployed another VM because I deleted the other one. Anyway, the
 error is the same:



 Command execution fail: /var/lib/one/remotes/tm/shared/clone
 opennebula-worker15:/var/lib/one//datastores/1/2ac54ee0c7b5f0f489216e9a04451725
 10.12.0.18:/var/lib/one//datastores/0/18/disk.0 18 1



 In the target host, the directory /var/lib/one/datastores/0/18/ is empty.



 Do i have to configure /var/lib/one/ in the target hosts as a NFS
 directory?



 Thank you very much



 Best regards



 2014-09-28 15:35 GMT+02:00 Ondrej Hamada ondrej.ham...@acision.com:

  Hi Manuel,
 you are obviously using shared datastores. Can you check that you can
 access the file
 'var/lib/one//datastores/1/2ac54ee0c7b5f0f489216e9a04451725' on the target
 hosts?

 Ondra



 On 09/24/2014 11:03 AM, Manuel Alfonso López Rourich wrote:

   Good morning,



 I have four hosts and I installed OpenNebula in one of them. That
 installation of ONE is a slave zone.



 I added the four hosts and I can deploy VMs in the one where ONE slave is
 installed but in the other ones I can't.



 It must be some issue related with the files transfer during the
 deployment, because the errors in the log are:



 Wed Sep 24 10:23:37 2014 [TM][D]: Message received: LOG I 11 Command
 execution fail: /var/lib/one/remotes/tm/shared/clone
 opennebula-worker15:/var/lib/one//datastores/1/2ac54ee0c7b5f0f489216e9a04451725
 10.12.0.18:/var/lib/one//datastores/0/11/disk.0 11 1

 Wed Sep 24 10:23:37 2014 [TM][D]: Message received: LOG I 11 clone:
 Cloning /var/lib/one/datastores/1/2ac54ee0c7b5f0f489216e9a04451725 in
 10.12.0.18:/var/lib/one//datastores/0/11/disk.0

 Wed Sep 24 10:23:37 2014 [TM][D]: Message received: LOG E 11 clone:
 Command cd /var/lib/one/datastores/0/11; cp
 /var/lib/one/datastores/1/2ac54ee0c7b5f0f489216e9a04451725
 /var/lib/one/datastores/0/11/disk.0 failed: Warning: Permanently added
 '10.12.0.18' (ECDSA) to the list of known hosts.

 Wed Sep 24 10:23:37 2014 [TM][D]: Message received: LOG I 11 cp: cannot
 stat '/var/lib/one/datastores/1/2ac54ee0c7b5f0f489216e9a04451725': No such
 file or directory

 Wed Sep 24 10:23:37 2014 [TM][D]: Message received: LOG E 11 Error copying
 opennebula-worker15:/var/lib/one//datastores/1/2ac54ee0c7b5f0f489216e9a04451725
 to 

[one-users] context package: network restart issue in Debian

2014-09-30 Thread Olivier Sallou
Hi,
we face some issues with the network restart on Debian with the
00-network script.
The issue occurs after an image save and a start of the new image, not
at first boot.

The network stop fails.

In the 00-network script, there is a test  if [ ... ubuntu], to apply
ifup/ifdown commands.
Here is a relative revision (maybe ot the only one):
http://dev.opennebula.org/projects/opennebula/repository/revisions/ff682025003d7ad1759aad838798c05636e2bb08

It seems that networking restart is not recommended (and deprecated) in
Debian either. As ifup/ifdown is generic, why not applying this
modification to both Ubuntu and Debian ? It seems that in some cases,
the networking restart does not work either in Debian.

Thanks

Olivier

-- 

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

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


Re: [one-users] strange EC2 beahvior in 4.8

2014-09-30 Thread Olivier Sallou

On 09/30/2014 11:06 AM, Daniel Molina wrote:
 Hi Olivier,

 Did you fix this issue? I cannot reproduce it
Setting ownership of the template group , plus setting use access to
group and others fixes the issue. So I do not have the problem
anymore with this modification, but I wonder why, as others have a
use permission. And I do not see such requirement in documentation (or
missed it).

Olivier

 Cheers

 On 24 September 2014 15:45, Olivier Sallou olivier.sal...@irisa.fr
 mailto:olivier.sal...@irisa.fr wrote:

 All users have use permissions on image. And as I said, template
 group ownership modification fix the issue...






 On 09/24/2014 01:06 PM, Daniel Molina wrote:
 Hi Olivier,

 What about the image (280) permissions?

 Cheers

 On 24 September 2014 10:18, Olivier Sallou
 olivier.sal...@irisa.fr mailto:olivier.sal...@irisa.fr wrote:

 As more info,
 if  I change the group ownership of the template to users
 instead of
 oneadmin it works.

 However, as Permissions to Use on Other are set, it should work.

 Olivier

 On 09/24/2014 10:16 AM, Olivier Sallou wrote:
  I have updated my config to use the EC2 templates in one
 instead of old
  template files.
  It works fine when I am the oneadmin user.
 
  However, when I am using an other user I have this error
 when I create a
  new VM:
 
  Unexpected server error. response.body is:
 
 
 ResponseRequestId/ErrorsErrorCodeInvalidInstanceAttributeValue.NotFound/CodeMessageInvalidInstanceAttributeValue.NotFound
  m1.small/Message/Error/Errors/Response
 
 
  The code is:
 
  response = ec2.run_instances(
:image_id   = 'ami-0280',
:min_count  = 1,
:max_count  = 1,
:instance_type  = 'm1.small',
:user_data  = user_data,
:base64_encoded = true
)
 
  It works fine if I use the oneadmin credentials, but not
 for other users.
 
  m1.small is a template in one:
 
  TEMPLATE 143
  INFORMATION
  ID : 143
  NAME   : m1.small
  USER   : oneadmin
  GROUP  : oneadmin
  REGISTER TIME  : 09/23 10:26:52
 
  PERMISSIONS
 
  OWNER  : um-
  GROUP  : u--
  OTHER  : u--
 
  All users have USE right access.
 
  Any idea?
 
  Thanks
 
  Olviier
 

 --
 Olivier Sallou
 IRISA / University of Rennes 1
 Campus de Beaulieu, 35000 RENNES - FRANCE
 Tel: 02.99.84.71.95

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

 ___
 Users mailing list
 Users@lists.opennebula.org mailto: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 http://www.OpenNebula.org |
 dmol...@opennebula.org mailto:dmol...@opennebula.org | @OpenNebula

 -- 
 Olivier Sallou
 IRISA / University of Rennes 1
 Campus de Beaulieu, 35000 RENNES - FRANCE
 Tel: 02.99.84.71.95

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




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

-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

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

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


[one-users] problem with user-view in sunstone 4.8

2014-09-30 Thread I Ribot
Hi ...

We just upgraded from 4.6.2 to 4.8.0 (with Debian packages from opennebula 
repositories)

All seems to work fine, but:

- logging in as non-privileged user with a user-view in Sunstone
- pushing the create template button (green + inside the template tab, of 
course)

 nothing happens

trying to investigate we found that:

- selecting one created template
- pushing the 'Update' button

 nothing happens

but if we press the 'Template' button of the selected template, we see its info 
(as expected), and then the 'Update' button works.

We don't have that problem with oneadmin user.


can you help us?
Thank you

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