[ https://issues.apache.org/jira/browse/STRATOS-1572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14901965#comment-14901965 ]
Akila edited comment on STRATOS-1572 at 9/22/15 5:28 AM: --------------------------------------------------------- Attaching patch. Courtesy of Vanson Lim was (Author: ravihansa): 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)