You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
All templates from different zones and hypervisors are availible for reinstall VM #7560
Activity
kiranchavala commentedon May 29, 2023
@DaanHoogland this looks like a bug as the listTemplates api call is not passing the zone id when a user tries to restore a vm (https://cloudstack.apache.org/api/apidocs-4.18/apis/restoreVirtualMachine.html)
I think we should list only templates that are active in the zone and also based on the vm zone id
I have tried this with a normal user account and it lists all the templates
https://cloudstack.apache.org/api/apidocs-4.18/apis/listTemplates.html
http://<>:8080/client/api/?listall=true&templatefilter=executable&showicon=true&command=listTemplates&response=json
DaanHoogland commentedon Jul 11, 2023
@top-secrett if you can please test #7739?
top-secrett commentedon Jul 28, 2023
@DaanHoogland sorry, but I don't know how to test it
DaanHoogland commentedon Jul 28, 2023
ok, we'll have to wait till someone else does then
zap51 commentedon Jul 29, 2023
@DaanHoogland I tested, LGTM. Templates present in different zones are no longer shown during reinstall.
DaanHoogland commentedon Jul 31, 2023
fixed in #7739