You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "top-secrett (via GitHub)" <gi...@apache.org> on 2023/05/25 08:28:57 UTC

[GitHub] [cloudstack] top-secrett opened a new issue, #7560: All templates from different zones and hypervisors are availible for reinstall VM

top-secrett opened a new issue, #7560:
URL: https://github.com/apache/cloudstack/issues/7560

   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and main branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main branch.
   -->
   
   ~~~
   4.18.0.0
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   Two anvanced zones:
   - xcp-ng
   - VMware
   
   
   ##### SUMMARY
   
   <!-- Explain the problem/feature briefly -->
   We have two zones with different hypervisors, but templates from all zones are available for each other when reinstall VM
   ![image](https://github.com/apache/cloudstack/assets/92435079/3d85c132-3299-47af-af35-390a108b34aa)
   ![image](https://github.com/apache/cloudstack/assets/92435079/29ef1658-8f81-42b8-b018-4298f68cfe6c)
   ![image](https://github.com/apache/cloudstack/assets/92435079/f85df94d-ba71-46a5-8d7a-710c277a2096)
   ![image](https://github.com/apache/cloudstack/assets/92435079/5569f606-a121-4f09-b95f-cd281b8411f3)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] kiranchavala commented on issue #7560: All templates from different zones and hypervisors are availible for reinstall VM

Posted by "kiranchavala (via GitHub)" <gi...@apache.org>.
kiranchavala commented on issue #7560:
URL: https://github.com/apache/cloudstack/issues/7560#issuecomment-1566563658

   @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
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] DaanHoogland commented on issue #7560: All templates from different zones and hypervisors are availible for reinstall VM

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #7560:
URL: https://github.com/apache/cloudstack/issues/7560#issuecomment-1655243875

   > @DaanHoogland sorry, but I don't know how to test it
   
   ok, we'll have to wait till someone else does then
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] DaanHoogland commented on issue #7560: All templates from different zones and hypervisors are availible for reinstall VM

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #7560:
URL: https://github.com/apache/cloudstack/issues/7560#issuecomment-1630626434

   @top-secrett if you can please test #7739?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] zap51 commented on issue #7560: All templates from different zones and hypervisors are availible for reinstall VM

Posted by "zap51 (via GitHub)" <gi...@apache.org>.
zap51 commented on issue #7560:
URL: https://github.com/apache/cloudstack/issues/7560#issuecomment-1656584114

   @DaanHoogland I tested, LGTM. Template present in different zones are no longer shown during reinstall.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] top-secrett commented on issue #7560: All templates from different zones and hypervisors are availible for reinstall VM

Posted by "top-secrett (via GitHub)" <gi...@apache.org>.
top-secrett commented on issue #7560:
URL: https://github.com/apache/cloudstack/issues/7560#issuecomment-1655165228

   @DaanHoogland sorry, but I don't know how to test it


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] DaanHoogland closed issue #7560: All templates from different zones and hypervisors are availible for reinstall VM

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland closed issue #7560: All templates from different zones and hypervisors are availible for reinstall VM
URL: https://github.com/apache/cloudstack/issues/7560


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] DaanHoogland commented on issue #7560: All templates from different zones and hypervisors are availible for reinstall VM

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #7560:
URL: https://github.com/apache/cloudstack/issues/7560#issuecomment-1657736548

   fixed in #7739 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org