You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Gabor Apati-Nagy (JIRA)" <ji...@apache.org> on 2014/06/04 13:07:02 UTC

[jira] [Commented] (CLOUDSTACK-6840) [OVS][UI] Ovs provider should not be displayed in NetworkServiceProviders if the physical network isolation type is VLAN

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-6840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14017616#comment-14017616 ] 

Gabor Apati-Nagy commented on CLOUDSTACK-6840:
----------------------------------------------

I have checked the UI code to make sure how it works currently. 
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 CLOUDSTACK-6162,
[~jessicawang] or [~murali.reddy] could you please advise if I should change 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-6840
>             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. with commit 32bbc84db99d0e5f7f9b2a3fb41e4e783a2de350
>            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:
> ==============
> 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 Network 1->Network Service Providers
> Result:
> ======
> NetworkServiceProviders page shows OVS as one of the providers and by default is in disabled state. Whereas API does not show OVS as one of the providers.
> Following is the API response:
> http://10.147.59.119:8096/client/api?command=listNetworkServiceProviders&physicalnetworkid=e58d6d73-cd77-4917-875a-695f56a4b968
> <listnetworkserviceprovidersresponse cloud-stack-version="4.4.0-SNAPSHOT"><count>4</count><networkserviceprovider><name>InternalLbVm</name><physicalnetworkid>e58d6d73-cd77-4917-875a-695f56a4b968</physicalnetworkid><state>Enabled</state><id>223a1a51-c6a0-4239-ac82-f96290520669</id><servicelist>Lb</servicelist><canenableindividualservice>true</canenableindividualservice></networkserviceprovider><networkserviceprovider><name>VpcVirtualRouter</name><physicalnetworkid>e58d6d73-cd77-4917-875a-695f56a4b968</physicalnetworkid><state>Enabled</state><id>641ae03f-861b-4e20-8b59-333f0848207e</id><servicelist>Vpn</servicelist><servicelist>Dhcp</servicelist><servicelist>Dns</servicelist><servicelist>Gateway</servicelist><servicelist>Lb</servicelist><servicelist>SourceNat</servicelist><servicelist>StaticNat</servicelist><servicelist>PortForwarding</servicelist><servicelist>UserData</servicelist><canenableindividualservice>true</canenableindividualservice></networkserviceprovider><networkserviceprovider><name>SecurityGroupProvider</name><physicalnetworkid>e58d6d73-cd77-4917-875a-695f56a4b968</physicalnetworkid><state>Disabled</state><id>2414d618-ec08-4624-b16e-fd22e2326f24</id><servicelist>SecurityGroup</servicelist><canenableindividualservice>false</canenableindividualservice></networkserviceprovider><networkserviceprovider><name>VirtualRouter</name><physicalnetworkid>e58d6d73-cd77-4917-875a-695f56a4b968</physicalnetworkid><state>Enabled</state><id>dae0a4b6-24a7-4d56-91bd-8f0f4919938e</id><servicelist>Vpn</servicelist><servicelist>Dhcp</servicelist><servicelist>Dns</servicelist><servicelist>Gateway</servicelist><servicelist>Firewall</servicelist><servicelist>Lb</servicelist><servicelist>SourceNat</servicelist><servicelist>StaticNat</servicelist><servicelist>PortForwarding</servicelist><servicelist>UserData</servicelist><canenableindividualservice>true</canenableindividualservice></networkserviceprovider></listnetworkserviceprovidersresponse>
> DB entries from cloud db are as follows:
> mysql> select * from physical_network_service_providers where physical_network_id=202;
> +----+--------------------------------------+---------------------+-----------------------+----------+---------------------------------+----------------------+-----------------------+----------------------+--------------------------+---------------------------+-----------------------------+-------------------------------+-----------------------------+----------------------------------+----------------------------+---------------------------------+-----------------------------+---------+
> | id | uuid                                 | physical_network_id | provider_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_balance_service_provided | static_nat_service_provided | port_forwarding_service_provided | user_data_service_provided | security_group_service_provided | networkacl_service_provided | removed |
> +----+--------------------------------------+---------------------+-----------------------+----------+---------------------------------+----------------------+-----------------------+----------------------+--------------------------+---------------------------+-----------------------------+-------------------------------+-----------------------------+----------------------------------+----------------------------+---------------------------------+-----------------------------+---------+
> | 11 | dae0a4b6-24a7-4d56-91bd-8f0f4919938e |                 202 | VirtualRouter         | Enabled  |                               0 |                    1 |                     1 |                    1 |                        1 |                         1 |                           1 |                             1 |                           1 |                                1 |                          1 |                               0 |                           0 | NULL    |
> | 12 | 2414d618-ec08-4624-b16e-fd22e2326f24 |                 202 | SecurityGroupProvider | Disabled |                               0 |                    0 |                     0 |                    0 |                        0 |                         0 |                           0 |                             0 |                           0 |                                0 |                          0 |                               1 |                           0 | NULL    |
> | 13 | 641ae03f-861b-4e20-8b59-333f0848207e |                 202 | VpcVirtualRouter      | Enabled  |                               0 |                    1 |                     1 |                    1 |                        1 |                         0 |                           1 |                             1 |                           1 |                                1 |                          1 |                               0 |                           1 | NULL    |
> | 14 | 223a1a51-c6a0-4239-ac82-f96290520669 |                 202 | InternalLbVm          | 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)