Re: [one-users] mkdir: cannot create directory /var/lib/one: Permission denied

2011-06-06 Thread Jaime Melis
Hi Amber,

apparently something went wrong during the installation. Could you create in
your worker node /var/lib/one and give ownership to oneadmin?

regards,
Jaime

On Fri, Jun 3, 2011 at 4:14 PM, Amber Jain  wrote:

> Also, here is output of "onevm show 0":
> http://pastebin.com/Mu07UQ63
>
> Output of "onehost show 1":
> http://pastebin.com/UzDNGjDr
>
> There are 2 machines in this setup (as I mentioned in my previous mail).
> Frontend server is 'useraj2', while worker node is 'useraj1'. I can do
> password-less SSH from 'oneadmin' on 'useraj2' to 'oneadmin' on 'useraj1'
> (i.e. I can SSH worker node from frontend server).
>
>
>
> On Fri, Jun 3, 2011 at 7:39 PM, Amber Jain  wrote:
>
>> Hello,
>>
>> I'm trying to setup opennebula express 2.2.0 on clean install of Ubuntu
>> 10.04.1.
>> My network topology consists of 1 frontend server and 1 worker node.
>> install.sh and node-install.sh are both installed successfully.
>>
>> When I try to deploy ttylinux VM (as instructed at
>> http://opennebula.org/documentation:rel2.2:vmg), the VM stat shows "fail"
>> (http://pastebin.com/phG4xrnX).
>>
>> When I tried searching google, this thread sounds very similar. I tried
>> many combinations of permissions but couldnot get it working. Can anyone
>> please elaborate as to how do I resolve this permission(s) issue?
>>
>> I'm attaching relevant configuration and log files with this mail.
>> The output of onehost list: http://pastebin.com/gt58WUkx
>>
>> Thanks in advance...
>>
>> --
>> Amber Jain
>> http://amberj.devio.us/
>>
>>
>
>
> --
> Amber Jain
> http://amberj.devio.us/
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Jaime Melis, Cloud Technology Engineer/Researcher
Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jme...@opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] mkdir: cannot create directory /var/lib/one: Permission denied

2011-06-03 Thread Amber Jain
Also, here is output of "onevm show 0":
http://pastebin.com/Mu07UQ63

Output of "onehost show 1":
http://pastebin.com/UzDNGjDr

There are 2 machines in this setup (as I mentioned in my previous mail).
Frontend server is 'useraj2', while worker node is 'useraj1'. I can do
password-less SSH from 'oneadmin' on 'useraj2' to 'oneadmin' on 'useraj1'
(i.e. I can SSH worker node from frontend server).


On Fri, Jun 3, 2011 at 7:39 PM, Amber Jain  wrote:

> Hello,
>
> I'm trying to setup opennebula express 2.2.0 on clean install of Ubuntu
> 10.04.1.
> My network topology consists of 1 frontend server and 1 worker node.
> install.sh and node-install.sh are both installed successfully.
>
> When I try to deploy ttylinux VM (as instructed at
> http://opennebula.org/documentation:rel2.2:vmg), the VM stat shows "fail"
> (http://pastebin.com/phG4xrnX).
>
> When I tried searching google, this thread sounds very similar. I tried
> many combinations of permissions but couldnot get it working. Can anyone
> please elaborate as to how do I resolve this permission(s) issue?
>
> I'm attaching relevant configuration and log files with this mail.
> The output of onehost list: http://pastebin.com/gt58WUkx
>
> Thanks in advance...
>
> --
> Amber Jain
> http://amberj.devio.us/
>
>


-- 
Amber Jain
http://amberj.devio.us/
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] mkdir: cannot create directory /var/lib/one: Permission denied

2011-06-03 Thread Amber Jain
Hello,

I'm trying to setup opennebula express 2.2.0 on clean install of Ubuntu
10.04.1.
My network topology consists of 1 frontend server and 1 worker node.
install.sh and node-install.sh are both installed successfully.

When I try to deploy ttylinux VM (as instructed at
http://opennebula.org/documentation:rel2.2:vmg), the VM stat shows "fail" (
http://pastebin.com/phG4xrnX).

When I tried searching google, this thread sounds very similar. I tried many
combinations of permissions but couldnot get it working. Can anyone please
elaborate as to how do I resolve this permission(s) issue?

I'm attaching relevant configuration and log files with this mail.
The output of onehost list: http://pastebin.com/gt58WUkx

Thanks in advance...

-- 
Amber Jain
http://amberj.devio.us/


image.one
Description: Binary data


ttylinux.one
Description: Binary data
Fri Jun  3 07:21:21 2011 [DiM][I]: New VM state is ACTIVE.
Fri Jun  3 07:21:21 2011 [LCM][I]: New VM state is PROLOG.
Fri Jun  3 07:21:21 2011 [VM][I]: Virtual Machine has no context
Fri Jun  3 07:21:21 2011 [TM][I]: Command execution fail: /usr/lib/one/tm_commands/ssh/tm_clone.sh useraj2:/var/lib/one//images/8625d68b699fd30e64360471eb2c38fed47fcfb6 useraj1:/var/lib/one//0/images/disk.0
Fri Jun  3 07:21:21 2011 [TM][I]: STDERR follows.
Fri Jun  3 07:21:21 2011 [TM][I]: ERROR MESSAGE --8<--
Fri Jun  3 07:21:21 2011 [TM][I]: Warning: Permanently added 'useraj1,10.81.199.156' (RSA) to the list of known hosts.
Fri Jun  3 07:21:21 2011 [TM][I]: mkdir: cannot create directory `/var/lib/one': Permission denied
Fri Jun  3 07:21:21 2011 [TM][I]: ERROR MESSAGE -->8--
Fri Jun  3 07:21:21 2011 [TM][I]: ExitCode: 1
Fri Jun  3 07:21:21 2011 [TM][I]: tm_clone.sh: useraj2:/var/lib/one//images/8625d68b699fd30e64360471eb2c38fed47fcfb6 useraj1:/var/lib/one//0/images/disk.0
Fri Jun  3 07:21:21 2011 [TM][I]: tm_clone.sh: DST: /var/lib/one//0/images/disk.0
Fri Jun  3 07:21:21 2011 [TM][I]: tm_clone.sh: Creating directory /var/lib/one//0/images
Fri Jun  3 07:21:21 2011 [TM][I]: tm_clone.sh: ERROR: Command "/usr/bin/ssh useraj1 mkdir -p /var/lib/one//0/images" failed.
Fri Jun  3 07:21:21 2011 [TM][I]: tm_clone.sh: ERROR: Warning: Permanently added 'useraj1,10.81.199.156' (RSA) to the list of known hosts.
Fri Jun  3 07:21:21 2011 [TM][I]: mkdir: cannot create directory `/var/lib/one': Permission denied
Fri Jun  3 07:21:21 2011 [TM][E]: Error excuting image transfer script: Warning: Permanently added 'useraj1,10.81.199.156' (RSA) to the list of known hosts.
Fri Jun  3 07:21:22 2011 [DiM][I]: New VM state is FAILED
Fri Jun  3 07:21:22 2011 [TM][W]: Ignored: LOG - 0 tm_delete.sh: Deleting /var/lib/one//0/images

Fri Jun  3 07:21:22 2011 [TM][W]: Ignored: LOG - 0 tm_delete.sh: Executed "/usr/bin/ssh useraj1 rm -rf /var/lib/one//0/images".

Fri Jun  3 07:21:22 2011 [TM][W]: Ignored: TRANSFER SUCCESS 0 -

Fri Jun  3 07:03:53 2011 [ONE][I]: Init OpenNebula Log system
Fri Jun  3 07:03:53 2011 [ONE][I]: Log Level: 3 [0=ERROR,1=WARNING,2=INFO,3=DEBUG]
Fri Jun  3 07:03:53 2011 [ONE][I]: 
Fri Jun  3 07:03:53 2011 [ONE][I]:  OpenNebula Configuration File  
Fri Jun  3 07:03:53 2011 [ONE][I]: 
Fri Jun  3 07:03:53 2011 [ONE][I]: 
--
DB=BACKEND=sqlite
DEBUG_LEVEL=3
DEFAULT_DEVICE_PREFIX=hd
DEFAULT_IMAGE_TYPE=OS
HM_MAD=EXECUTABLE=one_hm
HOST_MONITORING_INTERVAL=600
IMAGE_REPOSITORY_PATH=/var/lib/one//images
IM_MAD=ARGUMENTS=kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm
MAC_PREFIX=02:00
MANAGER_TIMER=15
NETWORK_SIZE=254
PORT=2633
SCRIPTS_REMOTE_DIR=/var/tmp/one
TM_MAD=ARGUMENTS=tm_ssh/tm_ssh.conf,EXECUTABLE=one_tm,NAME=tm_ssh
VM_DIR=/var/lib/one/
VM_HOOK=ARGUMENTS=$VMID,COMMAND=image.rb,NAME=image,ON=DONE
VM_MAD=ARGUMENTS=kvm,DEFAULT=vmm_ssh/vmm_ssh_kvm.conf,EXECUTABLE=one_vmm_ssh,NAME=vmm_kvm,TYPE=kvm
VM_POLLING_INTERVAL=600
VNC_BASE_PORT=5900
--
Fri Jun  3 07:03:53 2011 [ONE][I]: Bootstraping OpenNebula database.
Fri Jun  3 07:03:54 2011 [VMM][I]: Starting Virtual Machine Manager...
Fri Jun  3 07:03:54 2011 [LCM][I]: Starting Life-cycle Manager...
Fri Jun  3 07:03:54 2011 [InM][I]: Starting Information Manager...
Fri Jun  3 07:03:54 2011 [TrM][I]: Starting Transfer Manager...
Fri Jun  3 07:03:54 2011 [DiM][I]: Starting Dispatch Manager...
Fri Jun  3 07:03:54 2011 [ReM][I]: Starting Request Manager...
Fri Jun  3 07:03:54 2011 [ReM][I]: Starting XML-RPC server, port 2633 ...
Fri Jun  3 07:03:54 2011 [HKM][I]: Starting Hook Manager...
Fri Jun  3 07:03:54 2011 [DiM][I]: Dispatch Manager started.
Fri Jun  3 07:03:54 2011 [HKM][I]: Hook Manager started.
Fri Jun  3 07:03:54 2011 [VMM][I]: Virtual Machine Manager started.
Fri Jun  3 07:03:54 2011 [LCM][I]: Life-cycle Manager started.
Fri Jun  3 07:03:54 2011 [InM][I]: Information Manager started.
Fri Jun  3 07:03:54 2011 [TrM][I]: Transfer Manager started.
Fri Jun  3 07:03:54 2011 [ReM][I]: Request Manager started.