[ 
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)

Reply via email to