Urgent Question at VPC router:

2015-08-16 Thread anil lakineni
Hi All,

I have a web server inside cloud VPC, It usually getting 2500 user hits on
average at every time But I need to increase the user connections for ex:
5000 hits on web server.
Do you have any idea that I should change some configurations at VPC vR in
order to achieve my requirement.?

Else, Is cloud platform with XenServer supports my requirement?

Please Help me with valuable suggestions,

Thanks in advance.

Regards,
Anil.


Re: Urgent Question at VPC router:

2015-08-16 Thread Simon Weller
Anil,

Do you actually have a problem, or are you asking whether the VR is capable of 
scaling to your required connection level?

If you're experiencing problems, can you provide some more information in terms 
of logging from the VR?
Are you hitting HAProxy connection limits, or iptables conntrack table full 
warnings?
Is the virtual cpu or memory usage very high?

- Si

From: anil lakineni 
Sent: Sunday, August 16, 2015 8:36 AM
To: us...@cloudstack.apache.org; dev@cloudstack.apache.org
Subject: Urgent Question at VPC router:

Hi All,

I have a web server inside cloud VPC, It usually getting 2500 user hits on
average at every time But I need to increase the user connections for ex:
5000 hits on web server.
Do you have any idea that I should change some configurations at VPC vR in
order to achieve my requirement.?

Else, Is cloud platform with XenServer supports my requirement?

Please Help me with valuable suggestions,

Thanks in advance.

Regards,
Anil.


RE: Urgent Question at VPC router:

2015-08-16 Thread srinivas niddapu
Hello,

Need info based on Anil requirement.
vRouter / VPC  maximum connections limit?   Is Unlimited connections supports?

Please share us info regarding max/min values (IPsec tunnels/VLANs/sessions/ACL 
rules).

Thanks,
Srini.

-Original Message-
From: Simon Weller [mailto:swel...@ena.com] 
Sent: Sunday, August 16, 2015 10:05 PM
To: us...@cloudstack.apache.org; dev@cloudstack.apache.org
Subject: Re: Urgent Question at VPC router:

Anil,

Do you actually have a problem, or are you asking whether the VR is capable of 
scaling to your required connection level?

If you're experiencing problems, can you provide some more information in terms 
of logging from the VR?
Are you hitting HAProxy connection limits, or iptables conntrack table full 
warnings?
Is the virtual cpu or memory usage very high?

- Si

From: anil lakineni 
Sent: Sunday, August 16, 2015 8:36 AM
To: us...@cloudstack.apache.org; dev@cloudstack.apache.org
Subject: Urgent Question at VPC router:

Hi All,

I have a web server inside cloud VPC, It usually getting 2500 user hits on 
average at every time But I need to increase the user connections for ex:
5000 hits on web server.
Do you have any idea that I should change some configurations at VPC vR in 
order to achieve my requirement.?

Else, Is cloud platform with XenServer supports my requirement?

Please Help me with valuable suggestions,

Thanks in advance.

Regards,
Anil.


Re: Urgent Question at VPC router:

2015-08-16 Thread Simon Weller
Srini/Anil,

The answer is, it depends. You can greatly scale the VRs by adding additional 
cores and additional memory. The VRs are running Debian linux as a base, so any 
limitations would be the same as the Debian distro.

In terms of IPSEC deployment, any software based IPSEC solution isn't going to 
perform throughput wise as well as an appliance that does the 
encryption/decryption in hardware. In terms of the number of tunnels, I'm not 
sure I have an answer to that, but most deployments would involve a VR deployed 
per VPC/isolated network, so I can't imagine this would become a problem for 
you.

There is a proposal out there right now to replace openswan with strongswan, as 
openswan is no longer actively maintained:

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Replacing+openswan+ipsec+with+strongswan+ipsec

In our deployments, we've found the current session limits to be based on the 
currently deployed iptables conntrack configuration and the max session limits 
within the haproxy config. We rolled out own VR to get around the conntrack 
problems, but the haproxy config is created by the CS Management server, hence 
it would require a code change and recompile.

We've been thinking about proposing a rewrite to how the haproxy configuration 
is generated, we just haven't got around to it as of yet.

The haproxy config won't matter to you, unless you're using load balancing on 
the front end. 

We push very large amount of traffic through the VRs, with high current 
sessions and we've been very happy with the performance after a little tweaking 
here and there.

I hope this helps a little.

- Si

From: srinivas niddapu 
Sent: Sunday, August 16, 2015 11:45 AM
To: us...@cloudstack.apache.org; dev@cloudstack.apache.org
Subject: RE: Urgent Question at VPC router:

Hello,

Need info based on Anil requirement.
vRouter / VPC  maximum connections limit?   Is Unlimited connections supports?

Please share us info regarding max/min values (IPsec tunnels/VLANs/sessions/ACL 
rules).

Thanks,
Srini.

-Original Message-
From: Simon Weller [mailto:swel...@ena.com]
Sent: Sunday, August 16, 2015 10:05 PM
To: us...@cloudstack.apache.org; dev@cloudstack.apache.org
Subject: Re: Urgent Question at VPC router:

Anil,

Do you actually have a problem, or are you asking whether the VR is capable of 
scaling to your required connection level?

If you're experiencing problems, can you provide some more information in terms 
of logging from the VR?
Are you hitting HAProxy connection limits, or iptables conntrack table full 
warnings?
Is the virtual cpu or memory usage very high?

- Si

From: anil lakineni 
Sent: Sunday, August 16, 2015 8:36 AM
To: us...@cloudstack.apache.org; dev@cloudstack.apache.org
Subject: Urgent Question at VPC router:

Hi All,

I have a web server inside cloud VPC, It usually getting 2500 user hits on 
average at every time But I need to increase the user connections for ex:
5000 hits on web server.
Do you have any idea that I should change some configurations at VPC vR in 
order to achieve my requirement.?

Else, Is cloud platform with XenServer supports my requirement?

Please Help me with valuable suggestions,

Thanks in advance.

Regards,
Anil.


[GitHub] cloudstack pull request: Fixed Coverity issue "Dereference null re...

2015-08-16 Thread mike-tutkowski
Github user mike-tutkowski commented on the pull request:

https://github.com/apache/cloudstack/pull/630#issuecomment-131671852
  
LGTM


---
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 have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: [GitHub] cloudstack pull request: Quota master

2015-08-16 Thread Abhinandan Prateek
Kishan,

  With your familiarity with usage, I think it makes sense to review this 
plugin.

Regards,
-abhi

> On 13-Aug-2015, at 6:29 pm, DaanHoogland  wrote:
>
> Github user DaanHoogland commented on the pull request:
>
>https://github.com/apache/cloudstack/pull/689#issuecomment-130661556
>
>@bhaisaab well it looks promising.
>
>
> ---
> 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 have this feature
> enabled and wishes so, or if the feature is enabled but not working, please
> contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
> with INFRA.
> ---

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Software 
Engineering
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


[GitHub] cloudstack pull request: Allow VM snapshots and volume snapshots t...

2015-08-16 Thread anshul1886
Github user anshul1886 commented on the pull request:

https://github.com/apache/cloudstack/pull/672#issuecomment-131674635
  
@remibergsma Updated the description with bug link. These commits covers 
only second part i.e. allowing volume and VM snapshots to exist together. 


---
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 have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: Removed duplicate code in CitrixResourceB...

2015-08-16 Thread koushik-das
Github user koushik-das commented on the pull request:

https://github.com/apache/cloudstack/pull/700#issuecomment-131674848
  
LGTM. Please squash the commits before merge. Thanks


---
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 have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---



[GitHub] cloudstack pull request: CLOUDSTACK-8669: create volume failed due...

2015-08-16 Thread karuturi
Github user karuturi commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/695#discussion_r37157665
  
--- Diff: 
vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareContext.java ---
@@ -375,6 +377,18 @@ public void uploadFile(String urlString, File 
localFile) throws Exception {
 }
 }
 
+private Charset getCharSetFromConnection(HttpURLConnection conn) {
--- End diff --

Hi Daan, I didnt see any usages for it except for VmwareContext. May be 
utility method to get character encoding from a URL would be useful than a 
connection. Can I take this up later?


---
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 have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: marvin

2015-08-16 Thread Abhinandan Prateek
Thanks Santhosh !

> On 14-Aug-2015, at 8:35 pm, Santhosh Edukulla  
> wrote:
>
> 1, If you have run cloudstack build with required profile, post that go to
> tools/marvin directory and run "python setup.py install", this
> should install marvin on your machine.
>
> 2, If we want to create tar.gz file and copy it on to another machine, just
> run python setup.py sdist, under  tools/marvin, and it will create
> tar.gz file under dist/ directory. Then, you can install through normal pip
> install
>
> Note : Before that, just verify whether all relevant API cmd  files(py
> files) are created under /tools/marvin/marvin/cloudstackAPI/
>
>
> Santhosh
>
> On Fri, Aug 14, 2015 at 11:56 PM, Abhinandan Prateek <
> abhinandan.prat...@shapeblue.com> wrote:
>
>> Getting following errors on building marvin, although the target is
>> successful, there is no tools/marvin/dist/Marvin-*.tar.gz created !:
>>
>> (mvn -P developer -pl :cloud-marvin)
>>
>>
>>
>> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @
>> cloud-marvin ---
>> [INFO] Installing /mnt/hgfs/cloudstack_shapeblue/tools/marvin/pom.xml to
>> /root/.m2/repository/org/apache/cloudstack/cloud-marvin/4.6.0-SNAPSHOT/cloud-marvin-4.6.0-SNAPSHOT.pom
>> [INFO]
>> [INFO] --- exec-maven-plugin:1.2.1:exec (install) @ cloud-marvin ---
>> /usr/local/lib/python2.7/site-packages/setuptools-18.1-py2.7.egg/setuptools/dist.py:294:
>> UserWarning: The version specified ('4.6.0-SNAPSHOT') is an invalid
>> version, this may not work as expected with newer versions of setuptools,
>> pip, and PyPI. Please see PEP 440 for more details.
>> running sdist
>> running egg_info
>> writing requirements to Marvin.egg-info/requires.txt
>> writing Marvin.egg-info/PKG-INFO
>> writing top-level names to Marvin.egg-info/top_level.txt
>> writing dependency_links to Marvin.egg-info/dependency_links.txt
>> writing entry points to Marvin.egg-info/entry_points.txt
>> reading manifest file 'Marvin.egg-info/SOURCES.txt'
>> reading manifest template 'MANIFEST.in'
>> warning: no files found matching '*.txt' under directory 'docs'
>> writing manifest file 'Marvin.egg-info/SOURCES.txt'
>> warning: sdist: standard file not found: should have one of README,
>> README.rst, README.txt
>>
>> running check
>> making hard links in Marvin-4.6.0-SNAPSHOT...
>> hard linking CHANGES.txt -> Marvin-4.6.0-SNAPSHOT
>> error: [Errno 1] Operation not permitted
>> [INFO]
>> 
>> [INFO] BUILD SUCCESS
>> [INFO]
>> 
>> [INFO] Total time: 8.659 s
>> [INFO] Finished at: 2015-08-14T19:22:26+05:30
>> [INFO] Final Memory: 53M/241M
>>
>>
>>
>> Find out more about ShapeBlue and our range of CloudStack related services
>>
>> IaaS Cloud Design & Build<
>> http://shapeblue.com/iaas-cloud-design-and-build//>
>> CSForge - rapid IaaS deployment framework
>> CloudStack Consulting
>> CloudStack Software Engineering<
>> http://shapeblue.com/cloudstack-software-engineering/>
>> CloudStack Infrastructure Support<
>> http://shapeblue.com/cloudstack-infrastructure-support/>
>> CloudStack Bootcamp Training Courses<
>> http://shapeblue.com/cloudstack-training/>
>>
>> This email and any attachments to it may be confidential and are intended
>> solely for the use of the individual to whom it is addressed. Any views or
>> opinions expressed are solely those of the author and do not necessarily
>> represent those of Shape Blue Ltd or related companies. If you are not the
>> intended recipient of this email, you must neither take any action based
>> upon its contents, nor copy or show it to anyone. Please contact the sender
>> if you believe you have received this email in error. Shape Blue Ltd is a
>> company incorporated in England & Wales. ShapeBlue Services India LLP is a
>> company incorporated in India and is operated under license from Shape Blue
>> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
>> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is
>> a company registered by The Republic of South Africa and is traded under
>> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>>

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Software 
Engineering
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is a

[GitHub] cloudstack pull request: This branch implements the CSV and native...

2015-08-16 Thread anshul1886
Github user anshul1886 commented on the pull request:

https://github.com/apache/cloudstack/pull/351#issuecomment-131678148
  
Updated the code as per review comments


---
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 have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: This branch implements the CSV and native...

2015-08-16 Thread devdeep
Github user devdeep commented on the pull request:

https://github.com/apache/cloudstack/pull/351#issuecomment-131683283
  
Changes looks good to me. @remibergsma Are you ok with these changes? I'll 
go ahead and merge them then.


---
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 have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: Made the adding new keyboard language sup...

2015-08-16 Thread anshul1886
Github user anshul1886 commented on the pull request:

https://github.com/apache/cloudstack/pull/669#issuecomment-131683677
  
@sedukull , Can you give a LGTM now?


---
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 have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8726 : Automation for Quickly ...

2015-08-16 Thread sanju1010
Github user sanju1010 commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/683#discussion_r37160117
  
--- Diff: test/integration/component/test_simultaneous_volume_attach.py ---
@@ -0,0 +1,255 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+#Import Local Modules
+from marvin.cloudstackAPI import *
+from marvin.cloudstackTestCase import cloudstackTestCase, unittest
+from marvin.lib.utils import (cleanup_resources,
+  validateList)
+from marvin.lib.base import (ServiceOffering,
+ VirtualMachine,
+ Account,
+ Volume,
+ DiskOffering,
+ )
+from marvin.lib.common import (get_domain,
+get_zone,
+get_template,
+find_storage_pool_type)
+from marvin.codes import (
+PASS,
+FAILED,
+JOB_FAILED,
+JOB_CANCELLED,
+JOB_SUCCEEDED
+)
+from nose.plugins.attrib import attr
+import time
+
+
+class TestMultipleVolumeAttach(cloudstackTestCase):
+
+@classmethod
+def setUpClass(cls):
+testClient = super(TestMultipleVolumeAttach, 
cls).getClsTestClient()
+cls.apiclient = testClient.getApiClient()
+cls.services = testClient.getParsedTestDataConfig()
+cls._cleanup = []
+# Get Zone, Domain and templates
+cls.domain = get_domain(cls.apiclient)
+cls.zone = get_zone(cls.apiclient, testClient.getZoneForTests())
+cls.services['mode'] = cls.zone.networktype
+cls.hypervisor = testClient.getHypervisorInfo()
+cls.invalidStoragePoolType = False
+#for LXC if the storage pool of type 'rbd' ex: ceph is not 
available, skip the test
+if cls.hypervisor.lower() == 'lxc':
+if not find_storage_pool_type(cls.apiclient, 
storagetype='rbd'):
+# RBD storage type is required for data volumes for LXC
+cls.invalidStoragePoolType = True
+return
+
+cls.disk_offering = DiskOffering.create(
+cls.apiclient,
+cls.services["disk_offering"]
+)
+
+template = get_template(
+cls.apiclient,
+cls.zone.id,
+cls.services["ostype"]
+)
+if template == FAILED:
+assert False, "get_template() failed to return template with 
description %s" % cls.services["ostype"]
+
+cls.services["domainid"] = cls.domain.id
+cls.services["zoneid"] = cls.zone.id
+cls.services["template"] = template.id
+cls.services["diskofferingid"] = cls.disk_offering.id
+
+# Create VMs, VMs etc
+cls.account = Account.create(
+cls.apiclient,
+cls.services["account"],
+domainid=cls.domain.id
+)
+cls.service_offering = ServiceOffering.create(
+cls.apiclient,
+
cls.services["service_offering"]
+)
+cls.virtual_machine = VirtualMachine.create(
+cls.apiclient,
+cls.services,
+accountid=cls.account.name,
+domainid=cls.account.domainid,
+
serviceofferingid=cls.service_offering.id,
+mode=cls.services["mode"]
+

[GitHub] cloudstack pull request: Fixed Coverity issue "Dereference null re...

2015-08-16 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/cloudstack/pull/630


---
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 have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: Allow VM snapshots and volume snapshots t...

2015-08-16 Thread remibergsma
Github user remibergsma commented on the pull request:

https://github.com/apache/cloudstack/pull/672#issuecomment-131698325
  
@anshul1886 Thanks for the info. If this is the second part, is the first 
part already merged? If so, what was the PR nr?

What would be a good way to test/verify this?

All: This confluence doc (linked in jira) has a detailed description: 
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=60624966


---
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 have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8727: API call listVirtualMach...

2015-08-16 Thread kansal
Github user kansal commented on the pull request:

https://github.com/apache/cloudstack/pull/685#issuecomment-131699503
  
@kishankavala @DaanHoogland @sedukull The API level check was already in 
place but was not working because the check was done on the public key passed 
from user before converting it to public_key form using the method 
getPublicKeyFromKeyKeyMaterial(). Have made a change regarding that. Also, I 
feel the additional DB checks would be good. Please review?


---
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 have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---