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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1.0, 4.1.1, 4.1.2, 4.1.3
    • 4.1.4
    • Cloud Controller
    • 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

        1. partition_fix.diff
          14 kB
          Akila Perera

        Activity

          People

            ravihansa Akila Perera
            ravihansa Akila Perera
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: