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

Rajesh Battala commented on CLOUDSTACK-2458:
--------------------------------------------

I had figured out the issue, I had fixed it locally and verified.
NetscalerElement has some wrong validation code check which causing this issue 
and this got merged recently with changes.
While fixing the issue I had observed there are few more issues in Vpc with 
latest changes added to Vpc.
I will try to send the patch to review board very soon.
                
> Unable to create LB rule in VPC using NS: vpc_service_map table does not have 
> NS as service provider for LB
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2458
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2458
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Network Controller
>    Affects Versions: 4.2.0
>         Environment: Master branch, commit id: 
> df39196bf77ac67129d8026075f7a71249f137e1
> Hypervisor: Xen Server
>            Reporter: Sowmya Krishnan
>            Assignee: Rajesh Battala
>            Priority: Blocker
>             Fix For: 4.2.0
>
>
> Failing to create LB rule with NS as external LB provider in a VPC
> Steps:
> Add NS as a dedicated NS provider
> Create VPC with "Default Offering with NS"
> Create VPC enabled Network offering and add Netscaler as the LB in the 
> offering
> Create a network tier with the above network offering and try to add LB rule
> Observations:
> Fails to create LB rule in NS 
> Also find that after VPC is created with "Default Offering as NS", 
> vpc_service_map is not updated with service provider as NS. I find only 
> InternalLB as the provider for LB:
> mysql> select * from vpc_service_map;
> +----+--------+----------------+------------------+---------------------+
> | id | vpc_id | service        | provider         | created             |
> +----+--------+----------------+------------------+---------------------+
> |  1 |      1 | Dns            | VpcVirtualRouter | 2013-05-13 09:41:51 |
> |  2 |      1 | SourceNat      | VpcVirtualRouter | 2013-05-13 09:41:51 |
> |  3 |      1 | StaticNat      | VpcVirtualRouter | 2013-05-13 09:41:51 |
> |  4 |      1 | NetworkACL     | VpcVirtualRouter | 2013-05-13 09:41:51 |
> |  5 |      1 | Gateway        | VpcVirtualRouter | 2013-05-13 09:41:51 |
> |  6 |      1 | Dhcp           | VpcVirtualRouter | 2013-05-13 09:41:51 |
> |  7 |      1 | UserData       | VpcVirtualRouter | 2013-05-13 09:41:51 |
> |  8 |      1 | Vpn            | VpcVirtualRouter | 2013-05-13 09:41:51 |
> |  9 |      1 | Lb             | InternalLbVm     | 2013-05-13 09:41:51 |
> | 10 |      1 | PortForwarding | VpcVirtualRouter | 2013-05-13 09:41:51 |
> +----+--------+----------------+------------------+---------------------+
> 10 rows in set (0.00 sec)
> mysql> select * from vpc;
> +----+--------------------------------------+------+--------------+--------------+-----------------+---------+---------+-----------+------------+-------------------+---------+---------------------+------------------+
> | id | uuid                                 | name | display_text | cidr      
>    | vpc_offering_id | zone_id | state   | domain_id | account_id | 
> network_domain    | removed | created             | restart_required |
> +----+--------------------------------------+------+--------------+--------------+-----------------+---------+---------+-----------+------------+-------------------+---------+---------------------+------------------+
> |  1 | 4f5402b8-b108-4d87-a3dc-3e523097eaa2 | VPC1 | VPC1         | 
> 10.10.1.0/24 |               2 |       1 | Enabled |         1 |          1 | 
> cs1cloud.internal | NULL    | 2013-05-13 09:41:51 |                0 |
> +----+--------------------------------------+------+--------------+--------------+-----------------+---------+---------+-----------+------------+-------------------+---------+---------------------+------------------+
> 1 row in set (0.00 sec)
> mysql> select * from vpc_offerings;
> +----+--------------------------------------+--------------------------------------+--------------------------------------+--------------------------------------+---------+---------+---------+---------------------+---------------------+
> | id | uuid                                 | unique_name                     
>      | name                                 | display_text                    
>      | state   | default | removed | created             | 
> service_offering_id |
> +----+--------------------------------------+--------------------------------------+--------------------------------------+--------------------------------------+---------+---------+---------+---------------------+---------------------+
> |  1 | 439946b1-511b-465e-ae10-bd44d9b57a1d | Default VPC offering            
>      | Default VPC offering                 | Default VPC offering            
>      | Enabled |       1 | NULL    | 2013-05-13 09:24:46 |                
> NULL |
> |  2 | 7ad9249c-31b5-4e1d-b99c-acbefa9c5995 | Default VPC  offering with 
> Netscaler | Default VPC  offering with Netscaler | Default VPC  offering with 
> Netscaler | Enabled |       0 | NULL    | 2013-05-13 09:24:46 |               
>  NULL |
> +----+--------------------------------------+--------------------------------------+--------------------------------------+--------------------------------------+---------+---------+---------+---------------------+---------------------+
> 2 rows in set (0.00 sec)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to