[
https://issues.apache.org/jira/browse/CLOUDSTACK-2997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13722279#comment-13722279
]
Sowmya Krishnan edited comment on CLOUDSTACK-2997 at 7/29/13 9:01 AM:
----------------------------------------------------------------------
updateNetworkOffering with maxconnections is throwing up error. Also don't see
the concurrent_connections in network_offerings table.
--2013-07-29 12:33:16--
http://10.102.192.203:8096/client/api?command=updateNetworkOffering&id=7f6cd76e-acfc-478a-b84d-8ea7e990d27a&maxconnections=5950
Connecting to 10.102.192.203:8096... connected.
HTTP request sent, awaiting response... 530 Failed to update network offering
2013-07-29 12:33:16 ERROR 530: Failed to update network offering.
mysql> select * from network_offerings where id=17\G
*************************** 1. row ***************************
id: 17
name: Offering1
uuid: 7f6cd76e-acfc-478a-b84d-8ea7e990d27a
unique_name: Offering1
display_text: Offering1
nw_rate: NULL
mc_rate: 10
traffic_type: Guest
tags: NULL
system_only: 0
specify_vlan: 0
service_offering_id: NULL
conserve_mode: 0
created: 2013-07-29 06:50:58
removed: NULL
default: 0
availability: Optional
dedicated_lb_service: 1
shared_source_nat_service: 0
sort_key: 0
redundant_router_service: 0
state: Enabled
guest_type: Isolated
elastic_ip_service: 0
eip_associate_public_ip: 0
elastic_lb_service: 0
specify_ip_ranges: 0
inline: 0
is_persistent: 0
internal_lb: 0
public_lb: 1
egress_default_policy: 1
1 row in set (0.00 sec)
was (Author: sowmyak):
updateNetworkOffering with maxconnections is throwing up error. Also don't
see the concurrent_connections in network_offerings table.
> HAProxy maxconn is not configurable
> -----------------------------------
>
> Key: CLOUDSTACK-2997
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2997
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Install and Setup
> Affects Versions: 4.2.0
> Environment: Master, Xen
> Reporter: Parth Jagirdar
> Assignee: Bharat Kumar
> Priority: Critical
>
> In core//src/com/cloud/network/HAProxyConfigurator.java, maxconn is hardcoded
> to 4096. According to the HAProxy page, it is safe to assume 20k connections
> per GB of RAM. This parameter can be changed by the
> patches/systemvm/debian/config/root/reconfigLB.sh to be based on the actual
> RAM of the VR.
> During testing following observations were made..
> - /etc/haproxy/haproxy.cfg doesnt have maxconn as global variable.
> - patches/systemvm/debian/config/root/reconfigLB.sh doesnt configure
> HAProxy.cfg as per VR service offering and available RAM;
--
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