cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Giovannini <usern...@gmail.com>
Subject issue downloading a copy template to different zone
Date Wed, 12 Apr 2017 17:15:49 GMT
Hi guys,


I'm using the cloustack 4.6.2 and I'm hitting the following issue.

I created a new  secondary storage:

add imagestore zoneid=xxxx-xxxx-xxx-xxx name=xxxx_Secondary_SATA1
provider=NFS url=nfs://ixxxxx/vol/xxxxx_Secondary_SATA1/ESX


When I create a new template which end up on this SS and I try to download
I get an error /userdata/xxxxxxxxxxxxx   access denied.


After investigating I found out the issue.


During the SS creation the field parent in the image_store table is not
initialized leaving the default value to NULL.


This value is used by the SSVM  in the path of the  link to download the
template.


Broken link:

lrwxrwxrwx 1 root root  84 Apr  5 09:06
e55f5761-2dab-4095-b426-fe72c296150e.ova ->
/mnt/SecStorage/null/template/tmpl/875/1603/8ce602e5-e920-335a-bb24-b9595722a49f.ova


Working link:

lrwxrwxrwx 1 root root 116 Jan 23 11:01
e64820a2-dc45-48f6-b17e-bdeb6d47e650.ova ->
/mnt/SecStorage/5597b498-9507-3df2-ad46-ca9da35c7f7d/template/tmpl/173/1516/7f07df49-a26f-3833-85da-68c89c97daa



This can be fixed by updating the table manually and fixing the broken link
created so far but it will reappear again when as new SS will be created.


Does anyone have this issue or know if it is fixed an next releases ?


I didn't find anyone reporting it so far.



Regards,
Marco

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message