Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-1572

Network partition availability zone setting has no affect on VMs launched by CC

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0, 4.1.1, 4.1.2, 4.1.3
    • Fix Version/s: 4.1.4
    • Component/s: Cloud Controller
    • Labels:
      None

      Description

      The code which builds the template (iaas.initialize) used by jclouds is executed only once before stratos appends the availability zone properties to the iaas datastructure.

      The problem is in the buildIaas() call shown below:

      https://github.com/apache/stratos/blob/92ff7e9b5800d578a37d6aa82551d60fbdd66529/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/iaases/openstack/OpenstackPartitionValidator.java

      The issue also exists in the cloudstack, ec2, gce and docker variants of this function.

      Many thanks to Vanson Lim for reporting this and providing the attached patch as a solution.

        Attachments

          Activity

            People

            • Assignee:
              ravihansa Akila
              Reporter:
              ravihansa Akila
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: