When you download template, SSVM creates a download url link in db table. If 
for any reason it gets corrupted or destroyed then the download url is no 
longer valid and you can’t download it again. I have created a pr for it to fix 
the issue

Sent from my iPhone

> On 21-May-2020, at 5:07 PM, Andrija Panic <[email protected]> wrote:
> 
> Rahul,
> 
> we can't possibly predicting every infra failure case. It would be better
> to monitor your infra to ensure no storage issues. But yes, there is always
> place for improvement, I agree.
> 
> If SSVM is readonly, then possibly MANY/all of your system VMs (VRs) could
> also be in the same state.
> 
> Cheers,
> 
>> On Thu, 21 May 2020, 15:11 Rahul Yadav, <[email protected]>
>> wrote:
>> 
>> Hi Andrija,
>> 
>> Thank you for responding,
>> 
>> Unfortunately, System VM was in read-only mode and not able to write
>> symlink.
>> 
>> But, I think there should be a validation if secondary storage not
>> reachable or read-only mode then download URL should not be generated.
>> 
>> 
>> 
>> On Thu, May 21, 2020 at 5:49 PM Andrija Panic <[email protected]>
>> wrote:
>> 
>>> Hi Rahul.
>>> 
>>> log to the SSVM.
>>> 
>>> Check inside /var/www/userdata (hope I have the right path here) = there
>>> should be a sym link with name "581a31e5-acc0-46d0-b05b-879b75e18b3e.vhd
>>> <http://192.168.1.110/userdata/581a31e5-acc0-46d0-b05b-879b75e18b3e.vhd
>>> "
>>> that points to the different VHD file name on the Secondary Storage.
>>> 
>>> It might be that either the link is missing (not created) or that the
>>> destination VHD file (on the Secondary Storage) is not there or not
>>> accessible for whatever reason.
>>> 
>>> Regards,
>>> Andrija
>>> 
>>> On Thu, 21 May 2020 at 13:57, Rahul Yadav <[email protected]
>>> .invalid>
>>> wrote:
>>> 
>>>> Hi,
>>>> 
>>>> I have created a volumes template and template got created
>> successfully.
>>>> Now, I want to download the template so I click on the download
>>>> template (GUI) and it generated a URL with full path.
>>>> 
>>>> example-
>>>> http://192.168.1.110/userdata/581a31e5-acc0-46d0-b05b-879b75e18b3e.vhd
>>>> 
>>>> But, When I checked in secondary storage /var/www/html/userdata/
>> "there
>>>> are no file available."
>>>> 
>>>> Note- System VM cloud services are running fine and secondary storage
>> is
>>>> also mounted.
>>>> 
>>>> Please help me to troubleshoot this issue.
>>>> 
>>>> 
>>>> 
>>>> --
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> Regards,
>>>> 
>>>> Rahul Yadav
>>>> 
>>>> Consultant - Cloud
>>>> *IndiQus Technologies*
>>>> *O*   +91 11 4055 1411 <//+91%2011%204055%201411>  |   *M* +91
>> 8826699409
>>>> www.indiqus.com
>>>> 
>>> 
>>> 
>>> --
>>> 
>>> Andrija Panić
>>> 
>> 
>> 
>> --
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> Regards,
>> 
>> Rahul Yadav
>> 
>> Consultant - Cloud
>> *IndiQus Technologies*
>> *O*   +91 11 4055 1411 <//+91%2011%204055%201411>  |   *M* +91 8826699409
>> www.indiqus.com
>> 

Reply via email to