[one-users] OpenNebula 2.0: Debian packages in experimental

Łukasz Oleś lukaszoles at gmail.com
Sat Dec 4 06:49:45 PST 2010


Hi,

it looks like there are some permisions problem (node and server on one 
computer):

Sat Dec  4 16:36:27 2010 [DiM][I]: New VM state is ACTIVE.
Sat Dec  4 16:36:27 2010 [LCM][I]: New VM state is PROLOG.
Sat Dec  4 16:36:27 2010 [VM][I]: Virtual Machine has no context
Sat Dec  4 16:36:27 2010 [TM][I]: Command execution fail: 
/usr/lib/one/tm_commands/nfs/tm_clone.sh 
thor:/var/lib/one//images/82b9bd32cdc89a7c2738094c888f6c3112d79423 
thor:/var/lib/one//0/images/disk.0
Sat Dec  4 16:36:27 2010 [TM][I]: STDERR follows.
Sat Dec  4 16:36:27 2010 [TM][I]: ERROR MESSAGE --8<------
Sat Dec  4 16:36:27 2010 [TM][I]: cp: cannot open 
`/var/lib/one//images/82b9bd32cdc89a7c2738094c888f6c3112d79423' for reading: 
Permission denied
Sat Dec  4 16:36:27 2010 [TM][I]: ERROR MESSAGE ------>8--
Sat Dec  4 16:36:27 2010 [TM][I]: ExitCode: 1
Sat Dec  4 16:36:27 2010 [TM][I]: tm_clone.sh: 
thor:/var/lib/one//images/82b9bd32cdc89a7c2738094c888f6c3112d79423 
thor:/var/lib/one//0/images/disk.0
Sat Dec  4 16:36:27 2010 [TM][I]: tm_clone.sh: DST: 
/var/lib/one//0/images/disk.0
Sat Dec  4 16:36:27 2010 [TM][I]: tm_clone.sh: Creating directory 
/var/lib/one//0/images
Sat Dec  4 16:36:27 2010 [TM][I]: tm_clone.sh: Executed "mkdir -p 
/var/lib/one//0/images".
Sat Dec  4 16:36:27 2010 [TM][I]: tm_clone.sh: Executed "chmod a+w 
/var/lib/one//0/images".
Sat Dec  4 16:36:27 2010 [TM][I]: tm_clone.sh: Cloning 
/var/lib/one//images/82b9bd32cdc89a7c2738094c888f6c3112d79423
Sat Dec  4 16:36:27 2010 [TM][I]: tm_clone.sh: ERROR: Command "cp -r 
/var/lib/one//images/82b9bd32cdc89a7c2738094c888f6c3112d79423 
/var/lib/one//0/images/disk.0" failed.
Sat Dec  4 16:36:27 2010 [TM][I]: tm_clone.sh: ERROR: cp: cannot open 
`/var/lib/one//images/82b9bd32cdc89a7c2738094c888f6c3112d79423' for reading: 
Permission denied
Sat Dec  4 16:36:27 2010 [TM][E]: Error excuting image transfer script: cp: 
cannot open `/var/lib/one//images/82b9bd32cdc89a7c2738094c888f6c3112d79423' 
for reading: Permission denied
Sat Dec  4 16:36:27 2010 [DiM][I]: New VM state is FAILED
Sat Dec  4 16:36:27 2010 [TM][W]: Ignored: LOG - 0 tm_delete.sh: Deleting 
/var/lib/one//0/images

Sat Dec  4 16:36:27 2010 [TM][W]: Ignored: LOG - 0 tm_delete.sh: Executed "rm 
-rf /var/lib/one//0/images".

Sat Dec  4 16:36:27 2010 [TM][W]: Ignored: TRANSFER SUCCESS 0 -


It looks like oneadmin have no access to /var/lib/one/images:

root at debian:/mnt/one/confs# su oneadmin
oneadmin at debian:/mnt/one/confs$ oneimage create debian.img
Error: Permission denied - 
/var/lib/one//images/82b9bd32cdc89a7c2738094c888f6c3112d79423

Regards,
Łukasz Oleś




More information about the Users mailing list