You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Jessica Wang (JIRA)" <ji...@apache.org> on 2014/10/10 01:25:33 UTC
[jira] [Commented] (CLOUDSTACK-2951) [UI][Mixed-Zone-Management]
during "add Instance" wizard, listTemplates API is not listing any
templates if the "Zone type" is set.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-2951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14165980#comment-14165980 ]
Jessica Wang commented on CLOUDSTACK-2951:
------------------------------------------
current API calls in Add Instance Wizard: (zonetype parameter is NOT passed)
http://10.215.3.26:8080/client/api?command=listTemplates&templatefilter=featured&zoneid=703c747a-19ab-417b-bd92-2bdd1720b450&response=json&sessionkey=80S2BHpQdSLqSgPEttIJdkIRh34%3D&_=1412896736860
http://10.215.3.26:8080/client/api?command=listTemplates&templatefilter=community&zoneid=703c747a-19ab-417b-bd92-2bdd1720b450&response=json&sessionkey=80S2BHpQdSLqSgPEttIJdkIRh34%3D&_=1412896736993
http://10.215.3.26:8080/client/api?command=listTemplates&templatefilter=selfexecutable&zoneid=703c747a-19ab-417b-bd92-2bdd1720b450&response=json&sessionkey=80S2BHpQdSLqSgPEttIJdkIRh34%3D&_=1412896737084
> [UI][Mixed-Zone-Management] during "add Instance" wizard, listTemplates API is not listing any templates if the "Zone type" is set.
> -----------------------------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-2951
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2951
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Management Server
> Affects Versions: 4.2.0
> Environment: commit # 673b293d75419a4b76379092db2b204cdc6160a4
> Reporter: venkata swamybabu budumuru
> Assignee: Jessica Wang
> Priority: Minor
> Fix For: 4.4.0
>
> Attachments: 2014-10-09-jessica.PNG, Screen Shot 2013-06-12 at 3.19.46 PM.png, Screen Shot 2013-06-12 at 3.20.36 PM.png, Screen Shot 2013-06-12 at 3.25.08 PM.png, apilog.log, cloud.sql, management-server.log
>
>
> Steps to reproduce :
> 1. Have at least 2 zones (1 Basic zone and another Advanced zone) with latest CloudStack setup
> 2. Make sure all the system vm templates and built in centOS templates listed before setting the zone-type drop down to some value.
> 3. Now set the zone type drop down (which can be found at top right corner of mgmt server main page) to either "advanced/basic"
> 4. Try to add instance and move to "add template" screen
> 5. open up the firebug as well and observe
> Observations:
> (i) Add template screen doesn't list any templates
> (ii) we can see in firebug that listTemplates API fired for featured, community etc.,, with zone type=advanced/basic, but, nothing returned as response.
> Attaching the screenshots, mgmt server logs, db dump to the bug.
> Also, found another issue i.e.
> Set "Zone type" drop down value to advanced/basic then go to "Templates" page
> Observations:
> (i) It lists all the templates irrespective of which zone they belong to.
> Attached a screenshot for the same.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)