Thanks Min. Jira ticket @ https://issues.apache.org/jira/browse/CLOUDSTACK-4277
Regards, Sailaja.M -----Original Message----- From: Min Chen [mailto:min.c...@citrix.com] Sent: Monday, August 12, 2013 10:16 PM To: dev@cloudstack.apache.org Subject: Re: [ACS42] Listtemplates API respone without any Zone configuration 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 On 8/12/13 1:16 AM, "Sailaja Mada" <sailaja.m...@citrix.com> wrote: >Hi, > >I have the setup with latest code. When I tried to view the list if >templates without configuring zone , it is listing all the system vm >templates and default cent OS templates . > >I have not observed this behavior before. Is it introduced >intentionally or is It a issue with API response ? > >Please confirm. > > >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=wMUCQaSUAhWg4JmNNXrmhPGI >Ozc >%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-1 >1e3 -b7b2-5641688b41e2","ostypename":"Debian GNU/Linux 5.0 >(32-bit)","account":"system","templatetype":"SYSTEM","hypervisor":"LXC" >,"d >omain":"ROOT","domainid":"ec8ad800-0318-11e3-b7b2-5641688b41e2","isextr >act >able":false,"checksum":"2755de1f9ef2ce4d6f2bee2efbb4da92","tags":[],"ss >hke yenabled":false,"isdynamicallyscalable":false}, >{"id":"ec8e64b6-0318-11e3-b7b2-5641688b41e2","name":"SystemVM Template >(XenServer)","displaytext":"SystemVM Template >(XenServer)","ispublic":false,"isready":false,"passwordenabled":false," >for >mat":"VHD","isfeatured":false,"crossZones":true,"ostypeid":"ed81a824-03 >18- 11e3-b7b2-5641688b41e2","ostypename":"Debian GNU/Linux >7(32-bit)","account":"system","templatetype":"SYSTEM","hypervisor":"Xen >Ser >ver","domain":"ROOT","domainid":"ec8ad800-0318-11e3-b7b2-5641688b41e2", >"is >extractable":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,"for >mat >":"VHD","isfeatured":false,"crossZones":true,"ostypeid":"ecbdeaba-0318- >11e 3-b7b2-5641688b41e2","ostypename":"Debian GNU/Linux 5.0 >(32-bit)","account":"system","templatetype":"SYSTEM","hypervisor":"Hyperv" >,"domain":"ROOT","domainid":"ec8ad800-0318-11e3-b7b2-5641688b41e2","ise >xtr >actable":false,"checksum":"fb1b6e032a160d86f2c28feb5add6d83","tags":[], >"ss hkeyenabled":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-1 >1e3 -b7b2-5641688b41e2","ostypename":"Debian GNU/Linux 5.0 >(32-bit)","account":"system","templatetype":"SYSTEM","hypervisor":"KVM" >,"d >omain":"ROOT","domainid":"ec8ad800-0318-11e3-b7b2-5641688b41e2","isextr >act >able":false,"checksum":"6cea42b2633841648040becb588bd8f0","tags":[],"ss >hke yenabled":false,"isdynamicallyscalable":false}, >{"id":"ec95eaf6-0318-11e3-b7b2-5641688b41e2","name":"SystemVM Template >(vSphere)","displaytext":"SystemVM Template >(vSphere)","ispublic":false,"isready":false,"passwordenabled":false,"fo >rma >t":"OVA","isfeatured":false,"crossZones":true,"ostypeid":"ecbdeaba-0318 >-11 e3-b7b2-5641688b41e2","ostypename":"Debian GNU/Linux 5.0 >(32-bit)","account":"system","templatetype":"SYSTEM","hypervisor":"VMware" >,"domain":"ROOT","domainid":"ec8ad800-0318-11e3-b7b2-5641688b41e2","ise >xtr >actable":false,"checksum":"8fde62b1089e5844a9cd3b9b953f9596","tags":[], >"ss hkeyenabled":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,"f >orm >at":"VHD","isfeatured":true,"crossZones":true,"ostypeid":"ecbc066e-0318 >-11 e3-b7b2-5641688b41e2","ostypename":"CentOS 5.3 >(64-bit)","account":"system","templatetype":"BUILTIN","hypervisor":"Xen >Ser >ver","domain":"ROOT","domainid":"ec8ad800-0318-11e3-b7b2-5641688b41e2", >"is >extractable":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,"for >mat >":"OVA","isfeatured":true,"crossZones":true,"ostypeid":"ecbc066e-0318-1 >1e3 -b7b2-5641688b41e2","ostypename":"CentOS 5.3 >(64-bit)","account":"system","templatetype":"BUILTIN","hypervisor":"VMw >are >","domain":"ROOT","domainid":"ec8ad800-0318-11e3-b7b2-5641688b41e2","is >ext >ractable":true,"checksum":"f6f881b7f2292948d8494db837fe0f47","tags":[], >"ss hkeyenabled":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" >:"Q >COW2","isfeatured":true,"crossZones":true,"ostypeid":"ed27af68-0318-11e >3-b 7b2-5641688b41e2","ostypename":"CentOS 5.5 >(64-bit)","account":"system","templatetype":"BUILTIN","hypervisor":"KVM"," >domain":"ROOT","domainid":"ec8ad800-0318-11e3-b7b2-5641688b41e2","isext >rac >table":true,"checksum":"ed0e788280ff2912ea40f7f91ca7a249","tags":[],"ss >hke yenabled":false,"isdynamicallyscalable":false} ] } } Thanks, >Sailaja.M >