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 CA1DB1144F for ; Fri, 29 Aug 2014 16:55:54 +0000 (UTC) Received: (qmail 13035 invoked by uid 500); 29 Aug 2014 16:55:54 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 13010 invoked by uid 500); 29 Aug 2014 16:55:54 -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 12963 invoked by uid 500); 29 Aug 2014 16:55:54 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 12937 invoked by uid 99); 29 Aug 2014 16:55:54 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Aug 2014 16:55:54 +0000 Date: Fri, 29 Aug 2014 16:55:54 +0000 (UTC) From: "Gabor Apati-Nagy (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-6732) [OVS][UI] Network Service Providers page displays two ovs providers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-6732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gabor Apati-Nagy updated CLOUDSTACK-6732: ----------------------------------------- Description: [OVS][UI] Network Service Providers page displays two ovs providers if there two zones and physical networks created with GRE isolation in both the zones. Steps to reproduce: ================ 1.Bring up CS with two advanced zones using xen clusters 2.Create physical networks in both the zones using GRE isolation 3.From UI naviagate to Home->Infrastructure-> Zones->Adv->Physical Network 1->Network Service Providers UI displays two OVS providers in enabled state one with name "Ovs" and another one with name "OVS". Clicking on "Ovs" provider shows details of it whereas clicking on provider with name "OVS" gives java script issue and UI becomes unresponsive: "TypeError: listViewArgs.onActionComplete is undefined detailViewArgs.data.onActionComplete = listViewArgs.onActionComplete;" Attaching screen shots to describe both the issues. =============================================================================================== Developer review section: =============================================================================================== Problem (refined): ----------------------------------- Two OVS providers are displayed at Home->Infrastructure-> Zones->Adv->Physical Network 1->Network Service Providers. The difference in the two OVS entries is only in capitalization. Clicking on the extra OVS causes exception. Root Cause Analysis: ----------------------------------- The code was not consistent in capitalization of the word OVS and that made some checks like Ovs==OVS failing. In consequence the OVS with different capitalization has been added and rendered to the UI as well. Proposed Solution: ----------------------------------- Reconciled capitalization issue, not adding Ovs twice. Notes for QA: ----------------------------------- The problem is more general than the above test case. This means that it is easier to reproduce. In general, to be able to reproduce the issue the following setup is needed: - Advanced Zone with a Physical network with GRE isolation was: [OVS][UI] Network Service Providers page displays two ovs providers if there two zones and physical networks created with GRE isolation in both the zones. Steps to reproduce: ================ 1.Bring up CS with two advanced zones using xen clusters 2.Create physical networks in both the zones using GRE isolation 3.From UI naviagate to Home->Infrastructure-> Zones->Adv->Physical Network 1->Network Service Providers UI displays two OVS providers in enabled state one with name "Ovs" and another one with name "OVS". Clicking on "Ovs" provider shows details of it whereas clicking on provider with name "OVS" gives java script issue and UI becomes unresponsive: "TypeError: listViewArgs.onActionComplete is undefined detailViewArgs.data.onActionComplete = listViewArgs.onActionComplete;" Attaching screen shots to describe both the issues. ----------------------- Problem (refined): ----------------------- Two OVS providers are displayed at Home->Infrastructure-> Zones->Adv->Physical Network 1->Network Service Providers. The difference in the two OVS entries is only in capitalization. Clicking on the extra OVS causes exception. ----------------------- Root Cause Analysis: ----------------------- The code was not consistent in capitalization of the word OVS and that made some checks like Ovs==OVS failing. In consequence the OVS with different capitalization has been added and rendered to the UI as well. ----------------------- Proposed Solution: ----------------------- Reconciled capitalization issue, not adding Ovs twice. Notes for QA: The problem is more general than the above test case. In general, having one Advanced Zone with a Physical network with GRE isolation is enough to reproduce. > [OVS][UI] Network Service Providers page displays two ovs providers > ------------------------------------------------------------------- > > Key: CLOUDSTACK-6732 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6732 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: UI > Affects Versions: 4.4.0 > Environment: Latest build from 4.4 branch with commit e6961fd21bb6d793302c234d0f409f66dc498072 > Reporter: Sanjeev N > Assignee: Gabor Apati-Nagy > Labels: ovs, ui > Fix For: 4.4.0 > > Attachments: issue1.PNG, issue2.PNG > > > [OVS][UI] Network Service Providers page displays two ovs providers if there two zones and physical networks created with GRE isolation in both the zones. > Steps to reproduce: > ================ > 1.Bring up CS with two advanced zones using xen clusters > 2.Create physical networks in both the zones using GRE isolation > 3.From UI naviagate to > Home->Infrastructure-> Zones->Adv->Physical Network 1->Network Service Providers > UI displays two OVS providers in enabled state one with name "Ovs" and another one with name "OVS". > Clicking on "Ovs" provider shows details of it whereas clicking on provider with name "OVS" gives java script issue and UI becomes unresponsive: > "TypeError: listViewArgs.onActionComplete is undefined > detailViewArgs.data.onActionComplete = listViewArgs.onActionComplete;" > Attaching screen shots to describe both the issues. > =============================================================================================== > Developer review section: > =============================================================================================== > Problem (refined): > ----------------------------------- > Two OVS providers are displayed at Home->Infrastructure-> Zones->Adv->Physical Network 1->Network Service Providers. > The difference in the two OVS entries is only in capitalization. > Clicking on the extra OVS causes exception. > Root Cause Analysis: > ----------------------------------- > The code was not consistent in capitalization of the word OVS and that made some checks like Ovs==OVS failing. In consequence the OVS with different capitalization has been added and rendered to the UI as well. > Proposed Solution: > ----------------------------------- > Reconciled capitalization issue, not adding Ovs twice. > Notes for QA: > ----------------------------------- > The problem is more general than the above test case. This means that it is easier to reproduce. > In general, to be able to reproduce the issue the following setup is needed: > - Advanced Zone with a Physical network with GRE isolation -- This message was sent by Atlassian JIRA (v6.2#6252)