cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitin Mehta <Nitin.Me...@citrix.com>
Subject Re: download template -> delete vhd
Date Wed, 23 Jul 2014 23:06:07 GMT
Tomas - Its not the same, there have been fixes made in ACS master/4.4.
But as Min pointed out in current ACS it works fine and deletes only the
symlink.
To work around the situation in 4.2.1 you can try setting
extract.url.expiration.interval (the value is in seconds ) in global
settings to a large value (say 14400000 -- 4000 hrs ) so that the download
url never expire and do not delete the template.
Hope it helps. 

Thanks,
-Nitin



On 23/07/14 10:48 AM, "Min Chen" <min.chen@citrix.com> wrote:

>In current ACS master, Template is not deleted from secondary storage when
>extractTemplate is called, just its symlink is deleted.
>
>Thanks
>-min
>
>On 7/23/14 4:15 AM, "Tomasz Zięba" <t.a.zieba@gmail.com> wrote:
>
>>Hello,
>>
>>Could someone confirm that download template deletes the vhd file from
>>secondary storage.
>>
>>We are testing on the ACS version 4.2.1 but the code responsible for
>>removing is the same in version 4.4
>>
>>https://github.com/apache/cloudstack/blob/8b6dc7ce2f0058b9cf29bd9c72e4e0d
>>b
>>9162fe6e/services/secondary-storage/server/src/org/apache/cloudstack/stor
>>a
>>ge/template/UploadManagerImpl.java
>>
>>funkcja: handleDeleteEntityDownloadURLCommand
>>
>>
>>-- 
>>Regards,
>>Tomasz Zięba
>>Twitter: @TZieba
>>LinkedIn: pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/
>><http://pl.linkedin.com/pub/tomasz-zi%C4%99ba-ph-d/3b/7a8/ab6/>
>


Mime
View raw message