You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "venkata swamybabu budumuru (JIRA)" <ji...@apache.org> on 2013/07/23 12:28:49 UTC
[jira] [Closed] (CLOUDSTACK-2065) [GSLB] addNetscalerLoadBalancer
is faling to persist gslb_site_publicip and privateip in db talbe
`external_load_balancer_devices`
[ https://issues.apache.org/jira/browse/CLOUDSTACK-2065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
venkata swamybabu budumuru closed CLOUDSTACK-2065.
--------------------------------------------------
Verified on the latest build. It updates the db with correct public and private IP of GSLB in the DB. made sure the same works with listnetscalerloadbalancerresponse. Closing this issue.
> [GSLB] addNetscalerLoadBalancer is faling to persist gslb_site_publicip and privateip in db talbe `external_load_balancer_devices`
> ----------------------------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-2065
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2065
> 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: commit d0a7eae5d97da777ad468b1b25fb9e3bb8b013a8
> Reporter: venkata swamybabu budumuru
> Assignee: Murali Reddy
> Priority: Blocker
> Fix For: 4.2.0
>
> Attachments: logs.tgz
>
>
> Steps to reproduce :
> 1. Have latest cloudstack master deployed with 2 advanced zones
> 2. each zone with 1 physical network
> 3. Try to addNetscalerLoadBalancer with gslb flag enabled along with site public and private ip.
> Observations:
> (i) API got executed successfully but, it didnt update the cloud.external_load_balancer_devices.gslb_site_publicip & gslb_site_privateip.
> Here is the snippet of API that was fired by CS and DB snippet
> command=addNetscalerLoadBalancer&physicalnetworkid=01615ac0-b442-4729-9372-df2809928529&username=nsroot&networkdevicetype=NetscalerVPXLoadBalancer&gslbprovider=true&gslbproviderpublicip=10.147.54.23&gslbproviderprivateip=10.0.53.1&url=https://10.147.54.5?publicinterface=1/1&privateinterface=1/2&numretries=2&lbdevicededicated=true&response=json&sessionkey=lmW5xToRpl9REs6YAQZ0Xhfahws=&_=1366207207129
> *************************** 4. row ***************************
> id: 6
> uuid: a91101ef-b1cd-4d58-8131-c6912b984feb
> physical_network_id: 200
> provider_name: Netscaler
> device_name: NetscalerVPXLoadBalancer
> capacity: 50
> device_state: Enabled
> allocation_state: Free
> is_dedicated: 1
> is_managed: 0
> host_id: 15
> parent_host_id: 0
> is_gslb_provider: 1
> gslb_site_publicip: NULL
> gslb_site_privateip: NULL
> 4 rows in set (0.00 sec)
> mysql> select * from host_details where host_id=15;
> +-----+---------+-------------------+------------------------------------------+
> | id | host_id | name | value |
> +-----+---------+-------------------+------------------------------------------+
> | 723 | 15 | deviceName | NetscalerVPXLoadBalancer |
> | 721 | 15 | guid | c35cec4c-11e2-4190-b52d-b91dabb1ad92 |
> | 731 | 15 | ip | 10.147.54.5 |
> | 729 | 15 | lbdevicededicated | true |
> | 733 | 15 | lbdeviceid | 6 |
> | 726 | 15 | name | 200-NetscalerVPXLoadBalancer-10.147.54.5 |
> | 727 | 15 | numretries | 2 |
> | 728 | 15 | password | nsroot |
> | 730 | 15 | physicalNetworkId | 200 |
> | 725 | 15 | privateinterface | 1/2 |
> | 724 | 15 | publicinterface | 1/1 |
> | 722 | 15 | username | nsroot |
> | 732 | 15 | zoneId | 1 |
> +-----+---------+-------------------+------------------------------------------+
> 13 rows in set (0.00 sec)
> Attaching all the required logs along with db dump, vmops.log and api.log to the bug.
--
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