Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-2951

[UI][Mixed-Zone-Management] during "add Instance" wizard, listTemplates API is not listing any templates if the "Zone type" is set.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.2.0
    • 4.4.0
    • Management Server
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None
    • commit # 673b293d75419a4b76379092db2b204cdc6160a4

    Description

      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:

      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:

      It lists all the templates irrespective of which zone they belong to.

      Attached a screenshot for the same.

      Attachments

        1. 2014-10-09-jessica.PNG
          426 kB
          Jessica Wang
        2. apilog.log
          470 kB
          Venkata Swamy
        3. cloud.sql
          797 kB
          Venkata Swamy
        4. management-server.log
          6.63 MB
          Venkata Swamy
        5. Screen Shot 2013-06-12 at 3.19.46 PM.png
          224 kB
          Venkata Swamy
        6. Screen Shot 2013-06-12 at 3.20.36 PM.png
          106 kB
          Venkata Swamy
        7. Screen Shot 2013-06-12 at 3.25.08 PM.png
          464 kB
          Venkata Swamy

        Activity

          People

            jessicawang Jessica Wang
            swamy Venkata Swamy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: