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 86B2010F82 for ; Wed, 4 Jun 2014 11:07:02 +0000 (UTC) Received: (qmail 26022 invoked by uid 500); 4 Jun 2014 11:07:02 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 25998 invoked by uid 500); 4 Jun 2014 11:07:02 -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 25991 invoked by uid 500); 4 Jun 2014 11:07:02 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 25988 invoked by uid 99); 4 Jun 2014 11:07:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jun 2014 11:07:02 +0000 Date: Wed, 4 Jun 2014 11:07:02 +0000 (UTC) From: "Gabor Apati-Nagy (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-6840) [OVS][UI] Ovs provider should not be displayed in NetworkServiceProviders if the physical network isolation type is VLAN MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-6840?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D14017616#comment-14017616 ]=20 Gabor Apati-Nagy commented on CLOUDSTACK-6840: ---------------------------------------------- I have checked the UI code to make sure how it works currently.=20 Yes, there is code to intentionally show Ovs (as disabled) even when there = is no Ovs in the response. Could you tell me what is the expected behavior exactly? Are we supposed to= show Ovs only when it is in the response? It seems that the current code to always show is there because of CLOUDSTAC= K-6162, [~jessicawang] or [~murali.reddy] could you please advise if I should chang= e this or not? > [OVS][UI] Ovs provider should not be displayed in NetworkServiceProviders= if the physical network isolation type is VLAN > -------------------------------------------------------------------------= ----------------------------------------------- > > Key: CLOUDSTACK-6840 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-684= 0 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: UI > Affects Versions: 4.4.0 > Environment: Latest build from 4.4. with commit 32bbc84db99d0e5f7= f9b2a3fb41e4e783a2de350 > Reporter: Sanjeev N > Assignee: Gabor Apati-Nagy > Priority: Critical > Labels: ovs > Fix For: 4.4.0 > > Attachments: ovs_vlan.PNG > > > [OVS][UI] Ovs provider should not be displayed in NetworkServiceProviders= if the physical network isolation type is VLAN > Steps to reproduce: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 1.Bring up CS in advanced zone with xen cluster > 2.While creating physical network during zone creation choose VLAN as the= isolation type > 3.From UI navigate to Home->Infrastructure->Zones->CS-GRE->Physical Netwo= rk 1->Network Service Providers > Result: > =3D=3D=3D=3D=3D=3D > NetworkServiceProviders page shows OVS as one of the providers and by def= ault is in disabled state. Whereas API does not show OVS as one of the prov= iders. > Following is the API response: > http://10.147.59.119:8096/client/api?command=3DlistNetworkServiceProvider= s&physicalnetworkid=3De58d6d73-cd77-4917-875a-695f56a4b968 > 4InternalLbVme58d6d73-cd77-4917-875a-695f56a4b968= Enabled223a1a51-c6a0-4239-ac82-f96290520669Lb= true= VpcVirtualRoutere58d6d73-cd77-4917-875a-695f56a4b968Enabled641ae03f-861b-4e20-8b59-333f0848207eVpnDhcpDnsGatewayLb<= servicelist>SourceNatStaticNatPortForwardingUserDatatrueSecurityGroupProvidere58d6d73-cd77-4917-875a-695f56a4b968Di= sabled2414d618-ec08-4624-b16e-fd22e2326f24Sec= urityGroupfalseVirtualRo= utere58d6d73-cd77-4917-875a-695f56a4b968Enableddae0a4b6-24a7-4d56-91bd-8f0f4919938eVpnDhcpDnsGatewayFirewall<= /servicelist>LbSourceNatStaticNatPortForwardingUserDatatrue > DB entries from cloud db are as follows: > mysql> select * from physical_network_service_providers where physical_ne= twork_id=3D202; > +----+--------------------------------------+---------------------+------= -----------------+----------+---------------------------------+------------= ----------+-----------------------+----------------------+-----------------= ---------+---------------------------+-----------------------------+-------= ------------------------+-----------------------------+--------------------= --------------+----------------------------+-------------------------------= --+-----------------------------+---------+ > | id | uuid | physical_network_id | provi= der_name | state | destination_physical_network_id | vpn_service= _provided | dhcp_service_provided | dns_service_provided | gateway_service_= provided | firewall_service_provided | source_nat_service_provided | load_b= alance_service_provided | static_nat_service_provided | port_forwarding_ser= vice_provided | user_data_service_provided | security_group_service_provide= d | networkacl_service_provided | removed | > +----+--------------------------------------+---------------------+------= -----------------+----------+---------------------------------+------------= ----------+-----------------------+----------------------+-----------------= ---------+---------------------------+-----------------------------+-------= ------------------------+-----------------------------+--------------------= --------------+----------------------------+-------------------------------= --+-----------------------------+---------+ > | 11 | dae0a4b6-24a7-4d56-91bd-8f0f4919938e | 202 | Virtu= alRouter | Enabled | 0 | = 1 | 1 | 1 | = 1 | 1 | 1 | = 1 | 1 | = 1 | 1 | = 0 | 0 | NULL | > | 12 | 2414d618-ec08-4624-b16e-fd22e2326f24 | 202 | Secur= ityGroupProvider | Disabled | 0 | = 0 | 0 | 0 | = 0 | 0 | 0 | = 0 | 0 | = 0 | 0 | = 1 | 0 | NULL | > | 13 | 641ae03f-861b-4e20-8b59-333f0848207e | 202 | VpcVi= rtualRouter | Enabled | 0 | = 1 | 1 | 1 | = 1 | 0 | 1 | = 1 | 1 | = 1 | 1 | = 0 | 1 | NULL | > | 14 | 223a1a51-c6a0-4239-ac82-f96290520669 | 202 | Inter= nalLbVm | Enabled | 0 | = 0 | 0 | 0 | = 0 | 0 | 0 | = 1 | 0 | = 0 | 0 | = 0 | 0 | NULL | > +----+--------------------------------------+---------------------+------= -----------------+----------+---------------------------------+------------= ----------+-----------------------+----------------------+-----------------= ---------+---------------------------+-----------------------------+-------= ------------------------+-----------------------------+--------------------= --------------+----------------------------+-------------------------------= --+-----------------------------+---------+ > 4 rows in set (0.00 sec) -- This message was sent by Atlassian JIRA (v6.2#6252)