You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "Akila (JIRA)" <ji...@apache.org> on 2015/09/22 07:29:04 UTC

[jira] [Updated] (STRATOS-1572) Updating network partition with a new availability zone has no affect on VMs launched by CC

     [ https://issues.apache.org/jira/browse/STRATOS-1572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Akila updated STRATOS-1572:
---------------------------
    Attachment: partition_fix.diff

Courtesy of Vanson Lim

> Updating network partition with a new availability zone has no affect on VMs launched by CC
> -------------------------------------------------------------------------------------------
>
>                 Key: STRATOS-1572
>                 URL: https://issues.apache.org/jira/browse/STRATOS-1572
>             Project: Stratos
>          Issue Type: Bug
>          Components: Cloud Controller
>    Affects Versions: 4.1.2, 4.1.3
>            Reporter: Akila
>             Fix For: FUTURE
>
>         Attachments: partition_fix.diff
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)