You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sailaja Mada (JIRA)" <ji...@apache.org> on 2013/08/16 11:23:47 UTC
[jira] [Closed] (CLOUDSTACK-4277) Issue with listTemplates without
any zone configuration
[ https://issues.apache.org/jira/browse/CLOUDSTACK-4277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sailaja Mada closed CLOUDSTACK-4277.
------------------------------------
listTemplates is fixed now. But ISO's (VMware and Xentools iso's) are listed by default. I don't recall the behavior if we list them or not. I will track that as a separate ticket if its not expected to list.
Closing this bug.
> Issue with listTemplates without any zone configuration
> -------------------------------------------------------
>
> Key: CLOUDSTACK-4277
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4277
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Storage Controller
> Affects Versions: 4.2.0
> Environment: RHEL 6.2 MS
> Reporter: Sailaja Mada
> Assignee: Min Chen
> Fix For: 4.2.0
>
>
> Observation :
> Tried to view list of templates without configuring zone , it is listing all the system vm templates and default cent OS templates .
> This behavior is not observed before.
> 2013-08-12 13:18:53,916 INFO [cloud.api.ApiServer] (catalina-exec-3:null) (userId=2 accountId=2 sessionId=2C596448B0E7D3291B7FA76334A085A7) 10.144.7.12 -- GET command=listTemplates&response=json&sessionkey=wMUCQaSUAhWg4JmNNXrmhPGIOzc%3D&listAll=true&page=1&pagesize=20&templatefilter=all&_=1376293976571 200 { "listtemplatesresponse" : { "count":8 ,"template" : [ {"id":"4b58341c-031a-11e3-b7b2-5641688b41e2","name":"SystemVM Template (LXC)","displaytext":"SystemVM Template (LXC)","ispublic":false,"isready":false,"passwordenabled":false,"format":"QCOW2","isfeatured":false,"crossZones":true,"ostypeid":"ecbdeaba-0318-11e3-b7b2-5641688b41e2","ostypename":"Debian GNU/Linux 5.0 (32-bit)","account":"system","templatetype":"SYSTEM","hypervisor":"LXC","domain":"ROOT","domainid":"ec8ad800-0318-11e3-b7b2-5641688b41e2","isextractable":false,"checksum":"2755de1f9ef2ce4d6f2bee2efbb4da92","tags":[],"sshkeyenabled":false,"isdynamicallyscalable":false}, {"id":"ec8e64b6-0318-11e3-b7b2-5641688b41e2","name":"SystemVM Template (XenServer)","displaytext":"SystemVM Template (XenServer)","ispublic":false,"isready":false,"passwordenabled":false,"format":"VHD","isfeatured":false,"crossZones":true,"ostypeid":"ed81a824-0318-11e3-b7b2-5641688b41e2","ostypename":"Debian GNU/Linux 7(32-bit)","account":"system","templatetype":"SYSTEM","hypervisor":"XenServer","domain":"ROOT","domainid":"ec8ad800-0318-11e3-b7b2-5641688b41e2","isextractable":false,"checksum":"74b92f031cc5c2089ee89efb81344dcf","tags":[],"sshkeyenabled":false,"isdynamicallyscalable":false}, {"id":"ec98be84-0318-11e3-b7b2-5641688b41e2","name":"SystemVM Template (HyperV)","displaytext":"SystemVM Template (HyperV)","ispublic":false,"isready":false,"passwordenabled":false,"format":"VHD","isfeatured":false,"crossZones":true,"ostypeid":"ecbdeaba-0318-11e3-b7b2-5641688b41e2","ostypename":"Debian GNU/Linux 5.0 (32-bit)","account":"system","templatetype":"SYSTEM","hypervisor":"Hyperv","domain":"ROOT","domainid":"ec8ad800-0318-11e3-b7b2-5641688b41e2","isextractable":false,"checksum":"fb1b6e032a160d86f2c28feb5add6d83","tags":[],"sshkeyenabled":false,"isdynamicallyscalable":false}, {"id":"ec931e0c-0318-11e3-b7b2-5641688b41e2","name":"SystemVM Template (KVM)","displaytext":"SystemVM Template (KVM)","ispublic":false,"isready":false,"passwordenabled":false,"format":"QCOW2","isfeatured":false,"crossZones":true,"ostypeid":"ecbdeaba-0318-11e3-b7b2-5641688b41e2","ostypename":"Debian GNU/Linux 5.0 (32-bit)","account":"system","templatetype":"SYSTEM","hypervisor":"KVM","domain":"ROOT","domainid":"ec8ad800-0318-11e3-b7b2-5641688b41e2","isextractable":false,"checksum":"6cea42b2633841648040becb588bd8f0","tags":[],"sshkeyenabled":false,"isdynamicallyscalable":false}, {"id":"ec95eaf6-0318-11e3-b7b2-5641688b41e2","name":"SystemVM Template (vSphere)","displaytext":"SystemVM Template (vSphere)","ispublic":false,"isready":false,"passwordenabled":false,"format":"OVA","isfeatured":false,"crossZones":true,"ostypeid":"ecbdeaba-0318-11e3-b7b2-5641688b41e2","ostypename":"Debian GNU/Linux 5.0 (32-bit)","account":"system","templatetype":"SYSTEM","hypervisor":"VMware","domain":"ROOT","domainid":"ec8ad800-0318-11e3-b7b2-5641688b41e2","isextractable":false,"checksum":"8fde62b1089e5844a9cd3b9b953f9596","tags":[],"sshkeyenabled":false,"isdynamicallyscalable":true}, {"id":"ec947a86-0318-11e3-b7b2-5641688b41e2","name":"CentOS 5.6(64-bit) no GUI (XenServer)","displaytext":"CentOS 5.6(64-bit) no GUI (XenServer)","ispublic":true,"isready":false,"passwordenabled":false,"format":"VHD","isfeatured":true,"crossZones":true,"ostypeid":"ecbc066e-0318-11e3-b7b2-5641688b41e2","ostypename":"CentOS 5.3 (64-bit)","account":"system","templatetype":"BUILTIN","hypervisor":"XenServer","domain":"ROOT","domainid":"ec8ad800-0318-11e3-b7b2-5641688b41e2","isextractable":true,"checksum":"905cec879afd9c9d22ecc8036131a180","tags":[],"sshkeyenabled":false,"isdynamicallyscalable":true}, {"id":"ec95326e-0318-11e3-b7b2-5641688b41e2","name":"CentOS 5.3(64-bit) no GUI (vSphere)","displaytext":"CentOS 5.3(64-bit) no GUI (vSphere)","ispublic":true,"isready":false,"passwordenabled":false,"format":"OVA","isfeatured":true,"crossZones":true,"ostypeid":"ecbc066e-0318-11e3-b7b2-5641688b41e2","ostypename":"CentOS 5.3 (64-bit)","account":"system","templatetype":"BUILTIN","hypervisor":"VMware","domain":"ROOT","domainid":"ec8ad800-0318-11e3-b7b2-5641688b41e2","isextractable":true,"checksum":"f6f881b7f2292948d8494db837fe0f47","tags":[],"sshkeyenabled":false,"isdynamicallyscalable":false}, {"id":"ec93cb72-0318-11e3-b7b2-5641688b41e2","name":"CentOS 5.5(64-bit) no GUI (KVM)","displaytext":"CentOS 5.5(64-bit) no GUI (KVM)","ispublic":true,"isready":false,"passwordenabled":false,"format":"QCOW2","isfeatured":true,"crossZones":true,"ostypeid":"ed27af68-0318-11e3-b7b2-5641688b41e2","ostypename":"CentOS 5.5 (64-bit)","account":"system","templatetype":"BUILTIN","hypervisor":"KVM","domain":"ROOT","domainid":"ec8ad800-0318-11e3-b7b2-5641688b41e2","isextractable":true,"checksum":"ed0e788280ff2912ea40f7f91ca7a249","tags":[],"sshkeyenabled":false,"isdynamicallyscalable":false} ] } }
> ====================================
> This seems introduced by storage refactoring where we have gotten rid of previous direct sql to use db view to search for templates. Please file a bug for this.
> Thanks
> -min
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira