[one-users] error status on disk image
Wojciech Giel
wojciech.giel at cimr.cam.ac.uk
Mon Dec 12 08:33:47 PST 2011
Hello Fabian,
oneadmin is owner of templates , images:
drwxrwxrwx 2 oneadmin oneadmin 12 2011-12-09 16:22 0
-rw-r--r-- 1 oneadmin oneadmin 20 2011-12-09 14:43 auth
-rw-r--r-- 1 oneadmin oneadmin 819 2011-12-09 14:47 config
drwxrwsrwt 2 oneadmin oneadmin 12 2011-11-18 11:22 images
-rw-r--r-- 1 oneadmin oneadmin 16384 2011-12-09 16:35 oneacct.db
-rw-r--r-- 1 oneadmin oneadmin 25600 2011-12-09 14:41 one.db
drwxr-xr-x 7 oneadmin oneadmin 4180 2011-12-09 14:39 remotes
drwxrwxrwx 2 oneadmin oneadmin 132 2011-12-12 16:00 templates
some logs:
Mon Dec 12 16:23:57 2011 [ReM][D]: ImagePoolInfo method invoked
Mon Dec 12 16:24:02 2011 [ReM][D]: UserPoolInfo method invoked
Mon Dec 12 16:24:10 2011 [ReM][D]: ImageAllocate method invoked
Mon Dec 12 16:24:10 2011 [ImM][I]: Copying
/var/lib/one/templates/lll.img to repository for image 8
Mon Dec 12 16:24:10 2011 [ImG][D]: Message received: LOG I 8 Command
execution fail: /var/lib/one/remotes/image/fs/cp
/var/lib/one/templates/lll.img 8
Mon Dec 12 16:24:10 2011 [ImM][I]: Command execution fail:
/var/lib/one/remotes/image/fs/cp /var/lib/one/templates/lll.img 8
Mon Dec 12 16:24:10 2011 [ImG][D]: Message received: LOG E 8 cp: Not
allowed to copy images from /var/lib/one/ /etc/one/ /var/lib/one/ /etc/
Mon Dec 12 16:24:10 2011 [ImM][E]: cp: Not allowed to copy images from
/var/lib/one/ /etc/one/ /var/lib/one/ /etc/
Mon Dec 12 16:24:10 2011 [ImG][D]: Message received: LOG E 8 Not allowed
to copy image file /var/lib/one/templates/lll.img
Mon Dec 12 16:24:10 2011 [ImM][E]: Not allowed to copy image file
/var/lib/one/templates/lll.img
Mon Dec 12 16:24:10 2011 [ImG][D]: Message received: LOG I 8 ExitCode: 255
Mon Dec 12 16:24:10 2011 [ImM][I]: ExitCode: 255
Mon Dec 12 16:24:10 2011 [ImG][D]: Message received: CP FAILURE 8 Not
allowed to copy image file /var/lib/one/templates/lll.img
Mon Dec 12 16:24:10 2011 [ImM][E]: Error copying image in the
repository: Not allowed to copy image file /var/lib/one/templates/lll.img
Mon Dec 12 16:24:15 2011 [ReM][D]: ImagePoolInfo method invoked
Mon Dec 12 16:24:16 2011 [ReM][D]: HostPoolInfo method invoked
Mon Dec 12 16:24:16 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Mon Dec 12 16:24:16 2011 [ReM][D]: AclInfo method invoked
Mon Dec 12 16:24:26 2011 [ReM][D]: GroupPoolInfo method invoked
Mon Dec 12 16:24:26 2011 [AuM][D]: Message received: LOG I 8293 ExitCode: 0
thanks
wojciech
On 12/12/11 15:18, Fabian Wenk wrote:
> Hello Wojciech
>
> On 12.12.2011 15:18, Wojciech Giel wrote:
>> TIMESTAMP Mon Dec 12 14:07:32 2011
>> MESSAGE Error copying image in the repository: Not allowed to copy
>> image file /var/lib/one/templates/linux_generic.img
>>
>> oneadmin is the owner of /var/lib/one/templates/ directory.
>> what might be a problem ?
>
> Check the permissions on the folder of the image repository, as far as
> I know, at least oneadmin:cloud should be able to write there.
>
>
> bye
> Fabian
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
--
wojciech.giel at cimr.cam.ac.uk
JDRF/WT Diabetes and Inflammation Laboratory (DIL)
Cambridge Institute for Medical Research (CIMR)
University of Cambridge
Wellcome Trust/MRC Building
Addenbrooke's Hospital Hills Road Cambridge CB2 0XY
Tel: 01223 763228
More information about the Users
mailing list