Re: [one-users] libvirt permissions issue:

2014-04-02 Thread Vladislav Gorbunov
Try to add this lines to the /etc/libvirt/qemu.conf user = "oneadmin" group = "oneadmin" dynamic_ownership = 0 2014-04-03 6:27 GMT+12:00 Steven Timm : > > This is about a test OpenNebula 4.4 installation but we have the same > problem in OpenNebula 3.2 and have been kludging around it. > > Head no

[one-users] libvirt permissions issue:

2014-04-02 Thread Steven Timm
This is about a test OpenNebula 4.4 installation but we have the same problem in OpenNebula 3.2 and have been kludging around it. Head node and hypervisors, scientific linux 6, libvirt qemu.conf has dynamic_ownership=0 as recommended in the guide. non-default libvirt settings in libvirt.conf

Re: [one-users] Opennebula template Push root password.

2014-04-02 Thread Jaime Melis
Hi Leszek, I don't understand either why it's not working for you then, the only explanation is that the image is not correct. Could you try with another image? I think that would the easiest option. Another option would be to open that image and replace the root password manually. To do so, this

Re: [one-users] Opennebula template Push root password.

2014-04-02 Thread Leszek Master
i'm trying to ssh from node-02 using leni account (leni@node-02) as in the ssh-key added to template. And i've got password prompt, the same is when i use ssh root@172.100.0.109 - password prompt. It should but it isn't :( 2014-04-02 16:29 GMT+02:00 Jaime Melis : > That should work. Just so we'r

Re: [one-users] Opennebula template Push root password.

2014-04-02 Thread Jaime Melis
That should work. Just so we're clear, you're trying to ssh from the oneadmin account in node02 to the *root* account of the VM: oneadmin@node-02:~ $ ssh root@172.100.0.109 Do you even get the password prompt? -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple ww

Re: [one-users] Opennebula template Push root password.

2014-04-02 Thread Leszek Master
I havent tryied them before. Now i checked this. It has never worked. onevm show 36: USER 2 INFORMATION ID : 2 NAME: leni GROUP : oneadmin PASSWORD: dasa2d2bc9d8dasda98213cd2abd5f505bc9 AUTH_DRIVER : core ENABLED : Yes USER TEMPLATE TOKEN_P

Re: [one-users] Opennebula template Push root password.

2014-04-02 Thread Jaime Melis
Hi, are you saying before trying to use a init.sh the ssh-keys did work, and after they don't? Have you tried removing the init.sh option from the template again see if you regain ssh access, or it has never worked? If it hasn't, please send us: onevm show and oneuser show On Wed, Apr 2, 2014

Re: [one-users] Opennebula template Push root password.

2014-04-02 Thread Leszek Master
Now i see i can't even log to my VM using ssh-keys added to template. I need to do something more with image downloaded form market place to get this working? 2014-04-02 15:32 GMT+02:00 Jaime Melis : > Try adding a debugging line to the script, like: > > echo "ROOT_PASSWORD: $ROOT_PASSWORD and P

Re: [one-users] Opennebula template Push root password.

2014-04-02 Thread Jaime Melis
Try adding a debugging line to the script, like: echo "ROOT_PASSWORD: $ROOT_PASSWORD and PASS: $PASS" > /tmp/debug after booting take a look at the /tmp/debug contents On Wed, Apr 2, 2014 at 3:31 PM, Leszek Master wrote: > It still doesn't work :(. Can i see is init.sh executed in my VM? > >

Re: [one-users] Opennebula template Push root password.

2014-04-02 Thread Leszek Master
It still doesn't work :(. Can i see is init.sh executed in my VM? 2014-04-02 15:16 GMT+02:00 Jaime Melis : > You should decode the ROOT_PASSWORD inside that script, something in the > lines of: > > #!/bin/bash > PASS=$(echo "$ROOT_PASSWORD" | base64 -d) > usermod -p "$PASS" root > > > On Wed, A

Re: [one-users] Opennebula template Push root password.

2014-04-02 Thread Jaime Melis
You should decode the ROOT_PASSWORD inside that script, something in the lines of: #!/bin/bash PASS=$(echo "$ROOT_PASSWORD" | base64 -d) usermod -p "$PASS" root On Wed, Apr 2, 2014 at 3:13 PM, Leszek Master wrote: > I'm trying to do this on ubuntu, i did what you said i've created file > names

Re: [one-users] Opennebula template Push root password.

2014-04-02 Thread Leszek Master
I'm trying to do this on ubuntu, i did what you said i've created file names init.sh upload it to Files and named there init.sh too. Next i applied it to template ($FILE[IMAGE_ID=10]) added ROOT_PASSWORD base 64 encoded and it doesn't work :( My init.sh: #!/bin/bash usermod -p "$ROOT_PASSWORD" ro

Re: [one-users] Opennebula template Push root password.

2014-04-02 Thread Jaime Melis
Leszek, Create a script, call it "init.sh", upload it to the Files & Kernel tab (as a Context type). Select it under the Context -> Files section of the VM Template. Whatever you put inside that init.sh script will get executed. The contents of the script depend on the distro you are using, but

[one-users] Opennebula template Push root password.

2014-04-02 Thread Leszek Master
How can i push root password to a VM for example using context? ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

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

2014-04-02 Thread Vladislav Gorbunov
Try to start qemu directly on the node-02 (on oneadmin user): virsh --connect qemu:///system create /var/lib/one//datastores/0/3/deployment.3 and see errors. 2014-04-01 0:27 GMT+12:00 Leszek Master : > I want to use ceph with opennebula as datastore. I've created ceph datastore > using manual - >

Re: [one-users] Problem boot VM template with opennebula

2014-04-02 Thread Cuquerella Sanchez, Javier
Hi, actually I specify the port manually. and there is no other service using port 5902. I should do in my template to enable VNC OpenNebula autonomously? Regards. Javier. --- Javier Cuquerella Sánchez javier.cuquere...@atos.net Atos Research & I