Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9120310120 for ; Wed, 5 Mar 2014 22:00:47 +0000 (UTC) Received: (qmail 56081 invoked by uid 500); 5 Mar 2014 22:00:47 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 56067 invoked by uid 500); 5 Mar 2014 22:00:46 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 56059 invoked by uid 500); 5 Mar 2014 22:00:45 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 56016 invoked by uid 99); 5 Mar 2014 22:00:44 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Mar 2014 22:00:44 +0000 Date: Wed, 5 Mar 2014 22:00:44 +0000 (UTC) From: "Alena Prokharchyk (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLOUDSTACK-6205) VPC: when network is created in Setup state (with vlan specified), it never gets plugged to the VPC VR after restart MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Alena Prokharchyk created CLOUDSTACK-6205: --------------------------------------------- Summary: VPC: when network is created in Setup state (with vla= n specified), it never gets plugged to the VPC VR after restart Key: CLOUDSTACK-6205 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6205 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the defa= ult.) Affects Versions: 4.3.0 Reporter: Alena Prokharchyk Assignee: Alena Prokharchyk Priority: Blocker Fix For: 4.3.0 1. VPC Isolated Guest network in Setup state (vlan is specified at the mome= nt of creation by the Root admin), doesn=E2=80=99t get replugged to the VPC= VR upon its restart. Happens when the network is created in Setup State (w= ith Vlan specified) 2. When new VM starts up in this non-plugged network, network gets plugged,= but the LB rules are not getting programmed on the VR for this network/vm Root cause for #1 - when the code forms the nics for the Guest networks, it= considers only networks in Implemented state: List guestNetworks =3D _vpcMgr.getVpcNetworks(vpcId); for (Network guestNetwork : guestNetworks) { if (guestNetwork.getState() =3D=3D Network.State.Implemented) { We should add one more condition - the network can be as well in setup stat= e. #2 is obviously caused by #1. When VR gets restarted, following happens: All guest networks in Implemented/Setup state from this VPC supposed to re-= plugged to the VR All networking rules should be set for all the networks that got plugged. If there was some network in non-implemented/non-setup state, its rules wil= l not get applied. They will get applied later as a part of network impleme= nt. So once #1 is fixed, the LB rules issue will get fixed as well. -- This message was sent by Atlassian JIRA (v6.2#6252)