cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wilder Rodrigues (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (CLOUDSTACK-6840) [OVS][UI] Ovs provider should not be displayed in NetworkServiceProviders if the physical network isolation type is VLAN
Date Fri, 05 Jun 2015 09:32:00 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-6840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Wilder Rodrigues reopened CLOUDSTACK-6840:
------------------------------------------
      Assignee: Wilder Rodrigues  (was: Jessica Wang)

OVS is supported by by VLAN, MPLS, STT. VXLAN and GRE carriers

This issue doesn't make sense, or at least the way it was fixed.

In the NetworkServiceImpl there was an IF block that was adding OVS as service provider only
when GRE was selected.

I removed the if and the code now adds it when in Advanced zone.

addDefaultOvsToPhysicalNetwork(pNetwork.getId());

> [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: Wilder Rodrigues
>            Priority: Critical
>              Labels: ovs
>             Fix For: 4.5.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.3.4#6332)

Mime
View raw message