Site 2 Site VPN on VPC not working after upgrading ACS from 4.2 to 4.8.1.1

2016-11-06 Thread Cloud List
Hi, Another issue we noted after upgrading ACS from 4.2 to 4.8.1.1 is that site-to-site VPN is not working. From GUI, I cannot even go to Home > Network > Select view: VPN customer gateway with below error messages shown on the GUI: Caught: com.mysql.jdbc.JDBC4PreparedStatement@45ae1e69: SEL

Re: Site 2 Site VPN on VPC not working after upgrading ACS from 4.2 to 4.8.1.1

2016-11-06 Thread Cloud List
Hi, [RESOLVED] Would like to share that I managed to find the workaround to the problem by emptying the password ipsec_psk field on the entry inside s2s_customer_gateway table, delete the VPN connection, modify the VPN customer gateway with the new password (we will notice that the encrypted forma

Re: Long delay in listDomains API response

2016-11-06 Thread Sergey Levitskiy
Can you grep for this line ‘ctx-3f3ff343’ in your log and post it here? On 11/5/16, 11:01 PM, "Cloud List" wrote: Dear all, After researching further, I found out that our problem is exactly the one reported on this JIRA bug: https://issues.apache.org/jira/browse/CLOUD

Re: Long delay in listDomains API response

2016-11-06 Thread Cloud List
Hi Sergey, Thanks for your reply. The grep result is a bit long, total 64K lines, so I have uploaded it here: https://dl.dropboxusercontent.com/u/24788636/ctx-3f3ff343.txt It seems there are a lot of unnecessary creating and closing of connections to the DB, causing the delay? Looking forward t

Re: Long delay in listDomains API response

2016-11-06 Thread Wei ZHOU
I cannot say it is unnecessary or not for now. There are indeed many db connections when get resource limtiation/count of domains. A workaound is (1) listDomainChildren gets id of domain and sub-domains, then (2) listDomains with specified id. -Wei 2016-11-06 17:23 GMT+01:00 Cloud List : > Hi

Re: Long delay in listDomains API response

2016-11-06 Thread Cloud List
Hi Wei, Thanks for your reply. Is it possible for us to remove the resource limitation feature -- any global settings that we can set to turn this off? If not, would you be able to let us know where on the source code this is being set, so that we can try changing it and recompile ACS to turn off

[GitHub] cloudstack issue #1743: CLOUDSTACK-8326: Always fill UDP checksums in DHCP r...

2016-11-06 Thread wido
Github user wido commented on the issue: https://github.com/apache/cloudstack/pull/1743 Is this one ready to merge? It fixes a rather nasty bug in the VR which causes big problems when no DHCP offer is received by the Instance(s). --- If your project is set up for it, you can reply t

[GitHub] cloudstack issue #1713: CLOUDSTACK-9552: Allow egress TCP/53 implicitly in B...

2016-11-06 Thread wido
Github user wido commented on the issue: https://github.com/apache/cloudstack/pull/1713 LGTMs on this one? Small fix, but would be good for a LTS. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not h

Re: Long delay in listDomains API response

2016-11-06 Thread Cloud List
Hi Wei, In addition, can you also advice any specific tweak or tuning of the CloudStack management server and MySQL database's configurations to improve the time it takes to perform the listDomains API query and result? We have tried CloudStack and MySQL tunings as per below documentations and it

Re: Long delay in listDomains API response

2016-11-06 Thread Sergey Levitskiy
What essentially happens here that for each domain, you have access with your key, ACS executes 12 queries to get domain limits. Even if such query for each resource limit takes 0.03 sec it translates into 0.4 sec for each domain. If you have more than few domains, you will see rather lengthy t