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=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}
 ] } }
Thanks,
Sailaja.M

Reply via email to