cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Travis Graham <tgra...@tgraham.us>
Subject Re: Create Template on NFS secondary Storage
Date Thu, 03 Oct 2013 20:14:04 GMT
Can you check the permissions on the actual folders, 244 and 246 and see if they differ or
have different owners?

Travis

On Oct 3, 2013, at 4:06 PM, Pierre-Luc Dion <pdion@cloudops.com> wrote:

> root@s-184-VM:# ls -lh 244/*
> -rw-rw-rw- 1 4294967294 4294967294  309 Oct  3 18:01 244/template.properties
> 
> 244/a8ecc932-eaab-88f4-0687-37fbf15aeae5:
> total 1.4G
> -rw-r--r-- 1 4294967294 4294967294 1.5G Oct  3 18:01
> 73e0632e-c856-44f4-8712-ae1daf0d79d2.vhd
> 
> 
> 
> Pierre-Luc Dion
> Responsable technique - infrastructure | Technical lead - infrastructure
> 514-447-3456, 1101
> - - -*
> CloudOps
> *420 rue Guy
> Montréal QC  H3J 1S6
> www.cloudops.com
> @CloudOps_
> 
> 
> On Thu, Oct 3, 2013 at 3:59 PM, Travis Graham <tgraham@tgraham.us> wrote:
> 
>> Can you check the permissions on the subdirectories?
>> 
>> Travis
>> 
>> On Oct 3, 2013, at 3:51 PM, Pierre-Luc Dion <pdion@cloudops.com> wrote:
>> 
>>> Hi all,
>>> 
>>> We are currently using Cloudstack 4.1.0 managing XenServer 6.0.2 servers.
>>> 
>>> 
>>> Since recently, I don't know what cause this to appear on our system but
>>> went we create a template from a Instance the template (.vhd) is upload
>> on
>>> on the secondary storage (NFS) but in a subdirectory  ex:
>>> 
>>> from the Storage VM:
>>> /mnt/SecStorage/7f6f1f2d-2d6f-3ec6-a25e-fb25f2704167/template/tmpl/3/246
>>> root@s-184-VM:~# ls -l
>>> total 8
>>> drwxr-xr-x 2 4294967294 4294967294 4096 Oct  3 19:35
>>> 02ee28f2-0c02-f936-3ca3-099cfe3f3a20
>>> -rw-rw-rw- 1 4294967294 4294967294  314 Oct  3 19:36 template.properties
>>> 
>>> root@s-184-VM:~# ls 02ee28f2-0c02-f936-3ca3-099cfe3f3a20/
>>> fe2fa941-3030-412d-8c35-b0e80a2e7e09.vhd
>>> 
>>> 
>>> So, when we create a new Instance from the template, the Instance
>> creation
>>> fail with the following error in the management-server.log:
>>> 
>>> 2013-10-03 15:48:01,190 WARN  [xen.resource.CitrixResourceBase]
>>> (DirectAgent-255:null) Catch Exception
>>> com.cloud.utils.exception.CloudRuntimeException on
>>> host:9a02ac57-bc92-43af-b50a-f5ba2d0fd806 for template: nfs://
>>> 
>> 172.24.1.120/data/secondary/template/tmpl/3/246/fe2fa941-3030-412d-8c35-b0e80a2e7e09.vhddue
>>> to com.cloud.utils.exception.CloudRuntimeException: can not create vdi
>>> in sr 451078ee-d335-bdb0-c41c-cd86524be3ea
>>> 
>>> if I move the VHD file in the 246 folder, it works !
>>> 
>>> Does anyone have this problem too  or have an idea of where it would come
>>> from ?
>>> 
>>> Thanks !
>>> 
>>> 
>>> Pierre-Luc Dion
>>> Responsable technique - infrastructure | Technical lead - infrastructure
>>> - - -*
>>> CloudOps
>>> *www.cloudops.com
>>> @CloudOps_
>> 
>> 


Mime
View raw message