[GitHub] cloudstack pull request: CLOUDSTACK-9140: Testcase to verify if De...

2016-02-16 Thread pritisarap12
Github user pritisarap12 commented on the pull request:

https://github.com/apache/cloudstack/pull/1218#issuecomment-185067571
  
Testcase result after modifications:

Dedicated cluster and router allocation ... === TestName: 
test_01_dedicated_cluster_allocation | Status : SUCCESS ===
ok

--
Ran 1 test in 278.037s

OK



---
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-9140: Testcase to verify if De...

2016-02-16 Thread pritisarap12
Github user pritisarap12 commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1218#discussion_r53127878
  
--- Diff: test/integration/component/maint/testpath_disable_enable_zone.py 
---
@@ -1691,3 +1696,159 @@ def test_01_disable_enable_host(self):
  )
 
 return
+
+
+class TestClusterDedication(cloudstackTestCase):
+
+@classmethod
+def setUpClass(cls):
+testClient = super(TestClusterDedication, cls).getClsTestClient()
+cls.apiclient = testClient.getApiClient()
+cls.testdata = testClient.getParsedTestDataConfig()
+cls.hypervisor = cls.testClient.getHypervisorInfo()
+
+# Get Zone, Domain and templates
+cls.domain = get_domain(cls.apiclient)
+cls.zone = get_zone(cls.apiclient, testClient.getZoneForTests())
+
+cls.template = get_template(
+cls.apiclient,
+cls.zone.id,
+cls.testdata["ostype"])
+
+cls.Skiptest = False
+cls._cleanup = []
+cls.clusters = Cluster.list(cls.apiclient, zoneid=cls.zone.id)
+if len(cls.clusters) < 2:
+cls.Skiptest = True
+
+try:
+# Create an account
+cls.account_1 = Account.create(
+cls.apiclient,
+cls.testdata["account"],
+domainid=cls.domain.id
+)
+
+cls._cleanup.append(cls.account_1)
+
+cls.account_2 = Account.create(
+cls.apiclient,
+cls.testdata["account"],
+domainid=cls.domain.id
+)
+
+cls._cleanup.append(cls.account_2)
+# Create user api client of the account
+cls.userapiclient_1 = testClient.getUserApiClient(
+UserName=cls.account_1.name,
+DomainName=cls.account_1.domain
+)
+cls.userapiclient_2 = testClient.getUserApiClient(
+UserName=cls.account_2.name,
+DomainName=cls.account_2.domain
+)
+
+# Create Service offering
+cls.service_offering = ServiceOffering.create(
+cls.apiclient,
+cls.testdata["service_offering"],
+)
+cls._cleanup.append(cls.service_offering)
+
+cls.disk_offering = DiskOffering.create(
+cls.apiclient,
+cls.testdata["disk_offering"],
+)
+
+cls._cleanup.append(cls.disk_offering)
+
+except Exception as e:
+cls.tearDownClass()
+raise e
+return
+
+@classmethod
+def tearDownClass(cls):
+try:
+cleanup_resources(cls.apiclient, cls._cleanup)
+except Exception as e:
+raise Exception("Warning: Exception during cleanup : %s" % e)
+
+def setUp(self):
+
+if self.Skiptest:
+self.skipTest("Insufficient clusters to run the test")
+
+self.apiclient = self.testClient.getApiClient()
+self.dbclient = self.testClient.getDbConnection()
+self.cleanup = []
+
+def tearDown(self):
+try:
+listClusterscmd = 
listDedicatedClusters.listDedicatedClustersCmd()
+listClusterscmd.clusterid = self.clusters[0].id
+ret_list = 
self.apiclient.listDedicatedClusters(listClusterscmd)
+if ret_list:
+dedicateCmd = 
releaseDedicatedCluster.releaseDedicatedClusterCmd()
+dedicateCmd.clusterid = self.clusters[0].id
+self.apiclient.releaseDedicatedCluster(dedicateCmd)
+
+cleanup_resources(self.apiclient, self.cleanup)
+except Exception as e:
+raise Exception("Warning: Exception during cleanup : %s" % e)
+return
+
+@attr(tags=["basic", "advanced"], required_hardware="false")
+def test_01_dedicated_cluster_allocation(self):
+""" Dedicated cluster and router allocation
+1.   Dedicate a cluster to one account
+2.   Deploy a VM on dedicated account
+3.   Deploy another VM on another account.
+4.   Verify the dedicated cluster is not used for
+virtual routers that belong to non-dedicated account
+"""
+
+# Step 1
+dedicateCmd = dedicateCluster.dedicateClusterCmd()
+dedicateCmd.clusterid = self.clusters[0].id
+dedicateCmd.domainid = self.domain.id
+

[GitHub] cloudstack pull request: CLOUDSTACK-8717: Failed to start instance...

2016-02-16 Thread sanju1010
Github user sanju1010 commented on the pull request:

https://github.com/apache/cloudstack/pull/1416#issuecomment-185061120
  
LGTM based on PR #667


---
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-8717: Failed to start instance...

2016-02-16 Thread sanju1010
Github user sanju1010 commented on the pull request:

https://github.com/apache/cloudstack/pull/1411#issuecomment-185057058
  
I have reverted this  merge commit 
commit d159af93b4e6485b30424026e1a84ce85a3c7abf
Author: sanjeev 
Date:   Wed Feb 17 11:53:07 2016 +0530

Revert "Merge pull request #1411 from 
pritisarap12/CLOUDSTACK-8717-Failed-to-start-instance-after-restoring-the-running-instance"

This reverts commit 13f4e5a253c6fac8ff38ffc0a43d237be290d084, reversing
changes made to 7332e88ec935f7bdcec4e0659dfac88d537d898a.



---
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-9287 - Fix unique mac address ...

2016-02-16 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:

https://github.com/apache/cloudstack/pull/1413#issuecomment-185052627
  
Hi,

I squashed a few commits that make sense to be squashed and amended all 
commit messages in order to add the CloudStack issue number. In addition, I 
removed a commit by @borisroman related to another fix. Why? That commit is not 
part of this fix and will follow in a separate PR.

Cheer,
Wilder




---
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-9289:Automation for feature de...

2016-02-16 Thread nitt10prashant
GitHub user nitt10prashant opened a pull request:

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

CLOUDSTACK-9289:Automation for feature deploy vm from vmsnapshot

Automation for deploy vm from snapshot .
1-Test to create VM from vm snapshots without data disk
2-Deploy vm from snapshot , ssh and verify data
3-Seed template and then deploy vm and check if timeis same for vm 
deployment
4-Create volume from vmshnapshot and verify usage
5-Create volume from vm snapshot and download
6-Create volume from snapshot and attach to vm
test result
===
create volume from vmshnapshot and verify usage ... === TestName: 
test_01_create_volume_from_vmsnapshot | Status : SUCCESS ===
ok
create volume from vm snapshot and download ... === TestName: 
test_02_create_volume_from_vmsnapshot | Status : SUCCESS ===
ok
create volume from snapshot and attach to vm ... === TestName: 
test_03_create_volume_from_vmsnapshot | Status : SUCCESS ===
ok
Test to create VM from vm snapshots without data disk ... === TestName: 
test_01_create_vm_from_vmsnapshots | Status : SUCCESS ===
ok
deploy vm from snaphsot , ssh and verify data ... === TestName: 
test_02_create_vm_from_vmsnapshots_and_verify_data | Status : SUCCESS ===
ok
Seed template and then deploy vm and check if time ... === TestName: 
test_03_seed_template_from_vmsnapshot | Status : SUCCESS ===
ok

--
Ran 6 tests in 1781.242s

OK

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/nitt10prashant/cloudstack deploy_vm_from_snp

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack/pull/1417.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1417


commit 9d89229942436d98f4897d8030f95cbcb8702cbf
Author: nitt10prashant 
Date:   2016-02-17T04:30:07Z

CLOUDSTACK-9289:Automation for feature deploy vm from vmsnapshot

changing script location from smoke to component

formatting to pep8




---
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: Strongswan vpn feature

2016-02-16 Thread jlk
Github user jlk commented on the pull request:

https://github.com/apache/cloudstack/pull/872#issuecomment-185027829
  
Any chance you can post /etc/ipsec.d/l2tp.conf, Pierre? I thought they 
would be compatible...


---
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-8717: Failed to start instance...

2016-02-16 Thread pritisarap12
GitHub user pritisarap12 opened a pull request:

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

CLOUDSTACK-8717: Failed to start instance after restoring the running 
instance 

Changing PR title and commit message 
In continuation with PR #1411  and  #667 

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/pritisarap12/cloudstack 
CLOUDSTACK-8717-Failed-to-start-instance-after-restoring-the-running-instance

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack/pull/1416.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1416


commit 06289da022e264c3135413cdb064a414a35e1c8c
Author: Priti Sarap 
Date:   2016-02-17T05:02:01Z

CLOUDSTACK-8717: Failed to start instance after restoring the running 
instance




---
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: Strongswan vpn feature

2016-02-16 Thread pdion891
Github user pdion891 commented on the pull request:

https://github.com/apache/cloudstack/pull/872#issuecomment-184990354
  
I've just tested systemVM template[1] using strongswan on 4.8.0. inside a 
VPC, the remote management VPN does not work, starting the service ipsec fail 
with following error in the VR:


![ipsec-fail-start](https://cloud.githubusercontent.com/assets/5923502/13098614/84e081fa-d4f8-11e5-83b2-03d56f5aa3a7.png)

This is not valid if the systemvm is not compatible with current release of 
4.8.0 and the management server require code change.

[1] http://jenkins.buildacloud.org/job/build-systemvm64-github/lastBuild/


---
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-www pull request: 4.8.0 with APIs, change copyright dat...

2016-02-16 Thread pdion891
Github user pdion891 closed the pull request at:

https://github.com/apache/cloudstack-www/pull/24


---
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-docs pull request: The help topic created for the DHCP/...

2016-02-16 Thread pdion891
Github user pdion891 commented on the pull request:

https://github.com/apache/cloudstack-docs/pull/11#issuecomment-184977147
  
@rajsekharkpally we cannot merge this PR, it is in the wrong format. Do you 
think you can submit it in .rst markup ?

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-docs-rn pull request: 4.8

2016-02-16 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/cloudstack-docs-rn/pull/28


---
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-9252: Support configurable NFS...

2016-02-16 Thread rafaelweingartner
Github user rafaelweingartner commented on the pull request:

https://github.com/apache/cloudstack/pull/1361#issuecomment-184915639
  
@serg38 , @nvazquez, we still need some other LGTM here. You could ask for 
some help reviewing this PR at Slack or @dev. Even with other LGTM, I think it 
would be good to see some integration test executed for this PR.


---
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: [update] ACS management unable to connect to xenserver hosts after reboot

2016-02-16 Thread Glenn Wagner
Hi Stephan,

Check that you can telnet port 8250 on the management server from SSVM , check 
that iptables has been setup correctly
Looks like it’s a firewall issue on the ACS Management server

Thanks
Glenn





[ShapeBlue]
Glenn Wagner
Senior Consultant   ,   ShapeBlue


d:   | s: +27 21 527 0091|  
m:  +27 73 917 4111

e:  glenn.wag...@shapeblue.com | t: 
 |  w:  
www.shapeblue.com

a:  2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West Cape Town 7130 
South Africa


[cid:image6aa740.png@33ce927b.48914897]


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.
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.




-Original Message-
From: Stephan Seitz [mailto:s.se...@secretresearchfacility.com]
Sent: Tuesday, 16 February 2016 5:19 PM
To: us...@cloudstack.apache.org
Cc: dev@cloudstack.apache.org
Subject: [update] ACS management unable to connect to xenserver hosts after 
reboot

Hi again!

I think we've found the root source, but are unable to mitigate that:

2016-02-16 16:13:22,217 DEBUG [c.c.a.m.ClusteredAgentManagerImpl]
(AgentManager-Handler-8:null) Seq 6--1: MgmtId 57177340185273: Req:
Routing to peer
2016-02-16 16:13:22,217 DEBUG [c.c.a.m.ClusteredAgentManagerImpl]
(AgentManager-Handler-9:null) Seq 6--1: MgmtId 57177340185273: Req:
Cancel request received
2016-02-16 16:13:22,899 DEBUG [c.c.a.m.ClusteredAgentManagerImpl]
(AgentManager-Handler-10:null) Seq 1-4458000681143369786: MgmtId
57177340185273: Req: Resource [Host:1] is unreachable: Host 1: Link is closed
2016-02-16 16:13:22,899 DEBUG [c.c.a.m.ClusteredAgentManagerImpl]
(AgentManager-Handler-10:null) Seq 1--1: MgmtId 57177340185273: Req:
Routing to peer
2016-02-16 16:13:22,900 DEBUG [c.c.a.m.ClusteredAgentManagerImpl]
(AgentManager-Handler-11:null) Seq 1--1: MgmtId 57177340185273: Req:
Cancel request received
2016-02-16 16:13:22,905 DEBUG [c.c.a.m.ClusteredAgentManagerImpl]
(AgentManager-Handler-12:null) Seq 3-2144839322535198778: MgmtId
57177340185273: Req: Resource [Host:3] is unreachable: Host 3: Link is closed

Here's a longer excerpt from the logfile during startup:

http://pastebin.com/SftVJCs4

Maybe someone knows how to resolve this? To me it looks like our single 
management-host has some kind of identity crisis?


Am Dienstag, den 16.02.2016, 15:12 +0100 schrieb Stephan Seitz:
> Hi acs gurus!
>
> We're currently facing a really strange problem after two somewhat
> simple steps.
> 1. Reboot Management-Node (well there is also a 2nd. NFS-Storage
> located)
> 2. Upgrade 4.7.0 to 4.7.1
>
> Both steps seemed successful and running, but after a few days I've
> noticed the SSVM in "running, not connected" state, so I decided to
> restart the SSVM. That's where all the trouble begun...
>
> I've pasted a somewhat repetive log excerpt here
> http://pastebin.com/8MM6XUBk
>
> If I try to (force) reconnect a host, we're getting huge repetive log
> entries like pasted here http://pastebin.com/cNR3TtkG
>
> Cloudmonkey quits with following Response:
>
> (local)  > reconnect host id=df4182f8-24a0-40ca-9ccc-6489f374cd4c
> Error Connection refused by server: ('Connection aborted.',
> BadStatusLine("''",))
>
>
> I've tcpdump'ed relevant traffic between management and xenservers and
> found simply nothing except some (i assume) unrelated NFS-Packets.
>
> Could please someone shed some light, how to fix that?
>
> Thanks in advance!
>
> - Stephan


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 

Re: [GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-02-16 Thread Mike Tutkowski
None of those individual commits should break CI.

On Tuesday, February 16, 2016, DaanHoogland  wrote:

> Github user DaanHoogland commented on a diff in the pull request:
>
> https://github.com/apache/cloudstack/pull/1403#discussion_r53058692
>
> --- Diff:
> engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java
> ---
> @@ -172,6 +195,12 @@ private void validate(SnapshotInfo snapshotInfo) {
>  }
>  }
>
> +private boolean usingBackendSnapshotFor(SnapshotInfo
> snapshotInfo) {
> +String property = getProperty(snapshotInfo.getId(),
> "takeSnapshot");
> +
> +return Boolean.parseBoolean(property);
> +}
> +
>  private Void handleCreateTemplateFromSnapshot(SnapshotInfo
> snapshotInfo, TemplateInfo templateInfo,
> AsyncCompletionCallback callback) {
> --- End diff --
>
> @mike-tutkowski if commits are atomic and not breaking ci, yes, else,
> no. Please use your own judgement.
>
>
> ---
> 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.
> ---
>


-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
*™*


[GitHub] cloudstack pull request: CLOUDSTACK-9287 - Fix unique mac address ...

2016-02-16 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:

https://github.com/apache/cloudstack/pull/1413#issuecomment-184850454
  
Hi,

I fixed the issues mentioned in the commits descriptions and added more 
tests in order to cover them.

I'm running the tests and will add the results once they are done.

Cheers,
Wilder


---
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: Taking fast and efficient volume snapshot...

2016-02-16 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1403#discussion_r53058692
  
--- Diff: 
engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java
 ---
@@ -172,6 +195,12 @@ private void validate(SnapshotInfo snapshotInfo) {
 }
 }
 
+private boolean usingBackendSnapshotFor(SnapshotInfo snapshotInfo) {
+String property = getProperty(snapshotInfo.getId(), 
"takeSnapshot");
+
+return Boolean.parseBoolean(property);
+}
+
 private Void handleCreateTemplateFromSnapshot(SnapshotInfo 
snapshotInfo, TemplateInfo templateInfo, 
AsyncCompletionCallback callback) {
--- End diff --

@mike-tutkowski if commits are atomic and not breaking ci, yes, else, no. 
Please use your own judgement.


---
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: [DISCUSS] CloudMonkey release work

2016-02-16 Thread Daan Hoogland
Thanks Rohit,

I think I use it from github at some of my CLIs but I will give some
attention to the points you mentioned over the coming days.

regards,

On Tue, Feb 16, 2016 at 5:38 PM, Rohit Yadav 
wrote:

> Hi all,
>
> It’s been months since the last official cloudmonkey release. I know many
> of us have been installing cloudmonkey directly from our git repo (for
> example: https://github.com/apache/cloudstack-cloudmonkey) and it has
> been working without any major known issues in production.
>
> Are there any outstanding bugs/issues you want to report and see fixed, if
> not I would like to start a voting thread for our next cloudmonkey release.
>
> There has not been a lot of changes since the last release, the new
> changes since last release are:
> - Support for history
> - Improved csv display/output
> - Improvements around auto completion
>
> Regards.
>
>
> [image: ShapeBlue] 
> Rohit Yadav
> Software Architect ,  ShapeBlue
> d:  * | s: +44 203 603 0540* <%7C%20s:%20+44%20203%20603%200540>  |  m:
> *+91 8826230892* <+91%208826230892>
> e:  *rohit.ya...@shapeblue.com | t: *
>   |  w:  *www.shapeblue.com*
> 
> a:  53 Chandos Place, Covent Garden London WC2N 4HS UK
> 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.
> 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.
>
>
> 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 
>



-- 
Daan


[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-02-16 Thread mike-tutkowski
Github user mike-tutkowski commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1403#discussion_r53053848
  
--- Diff: 
engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java
 ---
@@ -172,6 +195,12 @@ private void validate(SnapshotInfo snapshotInfo) {
 }
 }
 
+private boolean usingBackendSnapshotFor(SnapshotInfo snapshotInfo) {
+String property = getProperty(snapshotInfo.getId(), 
"takeSnapshot");
+
+return Boolean.parseBoolean(property);
+}
+
 private Void handleCreateTemplateFromSnapshot(SnapshotInfo 
snapshotInfo, TemplateInfo templateInfo, 
AsyncCompletionCallback callback) {
--- End diff --

I believe our current best practice is to not squash commits (i.e. to 
preserve the history).


---
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: [RESULT][VOTE] Apache CloudStack 4.7.1/4.8 (and call for new RM)

2016-02-16 Thread Simon Weller
Team,

We have a couple of things we need collaborate on:

1. Per Remi's request below, we need some folks familiar with the release 
process to either help, or document steps required to completed the release 
notes, docs and website updates.
2 Remi has spearheaded the charge for the last couple of releases and has done 
a fantastic job getting 4.7.x and 4.8 to a very stable point. We now need 
someone else (preferably more than one) to take over the RM responsibilities 
for the next release.
I suggest more than one, so the burden can be shared and we don't burn 
individuals out.

i'm more than happy to do my share and help the process along, but I'm not a 
committer, so we individuals who are to step forward and lead the charge.

- Si




From: Remi Bergsma 
Sent: Monday, February 8, 2016 3:43 AM
To: dev@cloudstack.apache.org
Subject: Re: [RESULT][VOTE] Apache CloudStack 4.7.0

It would be great if we could work together to complete the remaining items. 
Including release notes, docs, website updates etc. Haven’t done these myself 
and until now someone always stepped in and helped :-)

Thanks,
Remi



On 06/02/16 19:29, "Sebastien Goasguen"  wrote:

>
>> On Feb 5, 2016, at 3:08 AM, John Kinsella  wrote:
>>
>> Did the announcements for 4.7/4.8 go out? I don’t see them on the mailing 
>> lists or elsewhere?
>>
>
>
>I don’t think it went out, nor do I think there were RN for them or an update 
>to the website
>
>>> On Dec 17, 2015, at 8:37 AM, Remi Bergsma  
>>> wrote:
>>>
>>> Hi all,
>>>
>>> After 72 hours, the vote for CloudStack 4.7.0 [1] *passes* with 5 PMC + 1 
>>> non-PMC votes.
>>>
>>> +1 (PMC / binding)
>>> * Wilder
>>> * Wido
>>> * Milamber
>>> * Rohit
>>> * Remi
>>>
>>> +1 (non binding)
>>> * Boris
>>>
>>> 0
>>> * Abhinandan
>>> * Dag
>>> * Glenn
>>>
>>> -1
>>> Raja (has been discussed, seems local test configure issue)
>>>
>>> Thanks to everyone participating.
>>>
>>> I will now prepare the release announcement to go out after 24 hours to 
>>> give the mirrors time to catch up.
>>>
>>> [1] http://cloudstack.markmail.org/message/aahz3ajryvd7wzec
>>>
>>
>


[GitHub] cloudstack pull request: CLOUDSTACK-8830 CLONE - VM snapshot fails...

2016-02-16 Thread rafaelweingartner
Github user rafaelweingartner commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/798#discussion_r53049082
  
--- Diff: 
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/VmwareStorageManagerImpl.java
 ---
@@ -1464,4 +1440,45 @@ private String deleteDir(String dir) {
 private static String getVolumeRelativeDirInSecStroage(long volumeId) {
 return "volumes/" + volumeId;
 }
+
+/**
+ * This method is to check if a given TaskInfo Object is valid( and 
has name and entity name assigned).It return true if TaskInfo Object is valid 
and false otherwise.
+ *
+ * @param TaskInfo
+ *info
+ * @return boolean(true or false)
+ **/
+private boolean isvalidTaskInfoObj(TaskInfo info){
+return !(info == null || info.getEntityName() == null || 
info.getName() == null);
+}
+
+private boolean waitForRunningTaskOnVM(String vmName, String taskName, 
VmwareContext context) throws Exception {
+try {
+ManagedObjectReference taskmgr = 
context.getServiceContent().getTaskManager();
+List tasks = 
context.getVimClient().getDynamicProperty(taskmgr, "recentTask");
+
+for (ManagedObjectReference taskMor : tasks) {
+TaskInfo info = 
(TaskInfo)(context.getVimClient().getDynamicProperty(taskMor, "info"));
+
+if (!isvalidTaskInfoObj(info)) {
--- End diff --

Do you mean remove the “isvalidTaskInfoObj” and add that condition to 
the (if)?
I believe the way it is coded now, it is ok. It enables the writing of test 
cases and proper java documentation. 



---
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-9252: Support configurable NFS...

2016-02-16 Thread serg38
Github user serg38 commented on the pull request:

https://github.com/apache/cloudstack/pull/1361#issuecomment-184799968
  
Hi committers,
Can someone perform a second review and merge it at the earliest? We would 
like this to be part of 4.9?




---
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-8830 CLONE - VM snapshot fails...

2016-02-16 Thread rafaelweingartner
Github user rafaelweingartner commented on the pull request:

https://github.com/apache/cloudstack/pull/798#issuecomment-184798743
  
@maneesha-p  can you fix the PR title and its description?


---
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-8830 CLONE - VM snapshot fails...

2016-02-16 Thread rodrigo93
Github user rodrigo93 commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/798#discussion_r53048362
  
--- Diff: 
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/VmwareStorageManagerImpl.java
 ---
@@ -1464,4 +1440,45 @@ private String deleteDir(String dir) {
 private static String getVolumeRelativeDirInSecStroage(long volumeId) {
 return "volumes/" + volumeId;
 }
+
+/**
+ * This method is to check if a given TaskInfo Object is valid( and 
has name and entity name assigned).It return true if TaskInfo Object is valid 
and false otherwise.
+ *
+ * @param TaskInfo
+ *info
+ * @return boolean(true or false)
+ **/
+private boolean isvalidTaskInfoObj(TaskInfo info){
+return !(info == null || info.getEntityName() == null || 
info.getName() == null);
+}
+
+private boolean waitForRunningTaskOnVM(String vmName, String taskName, 
VmwareContext context) throws Exception {
+try {
+ManagedObjectReference taskmgr = 
context.getServiceContent().getTaskManager();
+List tasks = 
context.getVimClient().getDynamicProperty(taskmgr, "recentTask");
+
+for (ManagedObjectReference taskMor : tasks) {
+TaskInfo info = 
(TaskInfo)(context.getVimClient().getDynamicProperty(taskMor, "info"));
+
+if (!isvalidTaskInfoObj(info)) {
--- End diff --

Can't this if's statements be merged into one? This would reduce the 
complexity of this part of the code.


---
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-8830 CLONE - VM snapshot fails...

2016-02-16 Thread rodrigo93
Github user rodrigo93 commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/798#discussion_r53047922
  
--- Diff: 
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/VmwareStorageManagerImpl.java
 ---
@@ -1464,4 +1440,45 @@ private String deleteDir(String dir) {
 private static String getVolumeRelativeDirInSecStroage(long volumeId) {
 return "volumes/" + volumeId;
 }
+
+/**
+ * This method is to check if a given TaskInfo Object is valid( and 
has name and entity name assigned).It return true if TaskInfo Object is valid 
and false otherwise.
+ *
+ * @param TaskInfo
+ *info
+ * @return boolean(true or false)
+ **/
+private boolean isvalidTaskInfoObj(TaskInfo info){
+return !(info == null || info.getEntityName() == null || 
info.getName() == null);
+}
+
+private boolean waitForRunningTaskOnVM(String vmName, String taskName, 
VmwareContext context) throws Exception {
--- End diff --

Hi @maneesha-p,
Can't this method be void? Why does it need to return a boolean since it 
"waits for a running task"?


---
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-8677: Call-home functionality ...

2016-02-16 Thread rodrigo93
Github user rodrigo93 commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/625#discussion_r53039381
  
--- Diff: server/src/org/apache/cloudstack/report/AtomicGsonAdapter.java ---
@@ -0,0 +1,48 @@
+// 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.
+package org.apache.cloudstack.report;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import com.google.common.util.concurrent.AtomicLongMap;
+import java.util.Map;
+import java.io.IOException;
+
+public class AtomicGsonAdapter extends TypeAdapter {
+
+public AtomicLongMap read(JsonReader reader) throws 
IOException {
--- End diff --

Hi @wido,
Why don't you turn this method "void", so you could remove the "return 
null;" line.


---
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: [master/4.9+] vmware: upgrade mvn sdk dep...

2016-02-16 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/1415#issuecomment-184764377
  
Our Jenkins/Travis may be not able to verify that due to vmware/noredist 
option. The sdk jar is available here: 
https://github.com/bhaisaab/cloudstack-nonoss

Build result using -Dnoredist:

[INFO] Reactor Summary:
[INFO]
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration SUCCESS 
[  1.680 s]
[INFO] Apache CloudStack .. SUCCESS [  
1.841 s]
[INFO] Apache CloudStack Maven Conventions Parent . SUCCESS [  
0.966 s]
[INFO] Apache CloudStack Framework - Managed Context .. SUCCESS [  
3.703 s]
[INFO] Apache CloudStack Utils  SUCCESS [ 
24.385 s]
[INFO] Apache CloudStack Framework  SUCCESS [  
0.066 s]
[INFO] Apache CloudStack Framework - Event Notification ... SUCCESS [  
8.412 s]
[INFO] Apache CloudStack Framework - Configuration  SUCCESS [  
4.834 s]
[INFO] Apache CloudStack API .. SUCCESS [ 
19.041 s]
[INFO] Apache CloudStack Framework - REST . SUCCESS [  
2.698 s]
[INFO] Apache CloudStack Framework - IPC .. SUCCESS [  
5.001 s]
[INFO] Apache CloudStack Cloud Engine . SUCCESS [  
0.056 s]
[INFO] Apache CloudStack Cloud Engine API . SUCCESS [  
5.265 s]
[INFO] Apache CloudStack Framework - Security . SUCCESS [  
2.434 s]
[INFO] Apache CloudStack Core . SUCCESS [ 
39.057 s]
[INFO] Apache CloudStack Agents ... SUCCESS [  
7.683 s]
[INFO] Apache CloudStack Framework - Clustering ... SUCCESS [  
5.418 s]
[INFO] Apache CloudStack Framework - Event Notification ... SUCCESS [  
2.074 s]
[INFO] Apache CloudStack Cloud Engine Schema Component  SUCCESS [ 
19.163 s]
[INFO] Apache CloudStack Framework - Jobs . SUCCESS [  
5.967 s]
[INFO] Apache CloudStack Cloud Engine Internal Components API SUCCESS [  
3.599 s]
[INFO] Apache CloudStack Server ... SUCCESS [01:07 
min]
[INFO] Apache CloudStack Framework - Quota  SUCCESS [  
7.184 s]
[INFO] Apache CloudStack Usage Server . SUCCESS [  
7.263 s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component SUCCESS [ 
11.197 s]
[INFO] Apache CloudStack Cloud Services ... SUCCESS [  
0.056 s]
[INFO] Apache CloudStack Secondary Storage  SUCCESS [  
0.456 s]
[INFO] Apache CloudStack Secondary Storage Service  SUCCESS [  
6.161 s]
[INFO] Apache CloudStack Engine Storage Component . SUCCESS [  
7.479 s]
[INFO] Apache CloudStack Engine Storage Volume Component .. SUCCESS [  
5.170 s]
[INFO] Apache CloudStack Engine Storage Image Component ... SUCCESS [  
3.174 s]
[INFO] Apache CloudStack Engine Storage Data Motion Component SUCCESS [  
3.112 s]
[INFO] Apache CloudStack Engine Storage Cache Component ... SUCCESS [  
3.055 s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [  
9.043 s]
[INFO] Apache CloudStack Cloud Engine API . SUCCESS [  
2.078 s]
[INFO] Apache CloudStack Cloud Engine Service . SUCCESS [  
6.579 s]
[INFO] Apache CloudStack Plugin POM ... SUCCESS [  
0.730 s]
[INFO] Apache CloudStack Plugin - API Rate Limit .. SUCCESS [  
7.072 s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider SUCCESS [ 
 2.899 s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider SUCCESS 
[  5.707 s]
[INFO] Apache CloudStack Plugin - API SolidFire ... SUCCESS [  
2.771 s]
[INFO] Apache CloudStack Plugin - API Discovery ... SUCCESS [  
5.207 s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based ... SUCCESS [  
2.540 s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor SUCCESS [  
2.394 s]
[INFO] Apache CloudStack Plugin - Explicit Dedication Processor SUCCESS [  
2.591 s]
[INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner 
SUCCESS [  2.372 s]
[INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner 
SUCCESS [  2.311 s]
[INFO] Apache CloudStack Plugin - Implicit Dedication Planner SUCCESS [  
6.787 s]
[INFO] Apache CloudStack Plugin - Skip Heurestics Planner . SUCCESS [  
2.235 s]
[INFO] Apache CloudStack Plugin - Host Allocator Random ... SUCCESS [  
3.381 s]
[INFO] Apache CloudStack Plugin - Dedicated Resources . SUCCESS [  
7.232 s]
[INFO] Apache CloudStack Plugin - Hypervisor OracleVM . SUCCESS [  
3.479 s]
[INFO] Apache CloudStack Plugin - Open vSwitch  SUCCESS [  
3.766 s]
[INFO] Apache CloudStack Plugin - Hypervisor 

[GitHub] cloudstack pull request: [master/4.9+] vmware: upgrade mvn sdk dep...

2016-02-16 Thread bhaisaab
GitHub user bhaisaab opened a pull request:

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

[master/4.9+] vmware: upgrade mvn sdk dependency to 6.0

This upgrade CloudStack maven dependency to vmware sdk 6.0

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/shapeblue/cloudstack vmware-sdk-upgrade

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack/pull/1415.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1415


commit c8c38131d9d8bf7b0e11e3e8af1343e0c8c4c9e0
Author: Rohit Yadav 
Date:   2016-02-16T16:46:12Z

vmware: upgrade mvn sdk dependency to 6.0

This upgrade CloudStack maven dependency to vmware sdk 6.0

Signed-off-by: Rohit Yadav 




---
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.
---


[DISCUSS] CloudMonkey release work

2016-02-16 Thread Rohit Yadav
Hi all,

It’s been months since the last official cloudmonkey release. I know many of us 
have been installing cloudmonkey directly from our git repo (for example: 
https://github.com/apache/cloudstack-cloudmonkey) and it has been working 
without any major known issues in production.

Are there any outstanding bugs/issues you want to report and see fixed, if not 
I would like to start a voting thread for our next cloudmonkey release.

There has not been a lot of changes since the last release, the new changes 
since last release are:
- Support for history
- Improved csv display/output
- Improvements around auto completion

Regards.


[ShapeBlue]
Rohit Yadav
Software Architect  ,   ShapeBlue


d:   | s: +44 203 603 0540  |  
m:  +91 8826230892

e:  rohit.ya...@shapeblue.com | t: 
   |  w:  
www.shapeblue.com

a:  53 Chandos Place, Covent Garden London WC2N 4HS UK


[cid:imageef377c.png@2c39c138.448a5913]


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.
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.




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


Re: VMware vSphere 6

2016-02-16 Thread Rohit Yadav
Jeff,

You can do a git log -p vmware-base to find it out yourself.

This commit (4a6e2cdeeecae6953245ce3213513f4d5dd82e7f) fixes vCenter 6.0 
related login issue. Git tells me it exists on all 4.6+, though I did not check 
if we backported this to 4.5 as well.

> On 16-Feb-2016, at 5:15 PM, Jeff Hair  wrote:
>
> What commit(s) fix the vsphere login issue and dependency update?
>
> On Tue, Feb 16, 2016 at 4:01 PM, Rohit Yadav 
> wrote:
>
>> Only for 4.7+.
>>
>> We’ve simply fixed an issue that allows the vmware plugin to login/talk to
>> vCenter 6.0 and have bumped up the sdk version to 5.5 (from 5.1). There is
>> not a lot of test effort performed against vCenter/ESX 6.0 so we don’t know
>> if there are any subtle bugs.
>>
>> Thanks for the email, after checking the sdk version I think it’s time to
>> bump that version dependency to 6.0. Will send a PR soon.
>>
>>> On 16-Feb-2016, at 4:00 PM, Jeff Hair  wrote:
>>>
>>> Sorry for a 2-month old bump, but when were the changes introduced for
>>> vSphere 6? Did they only come in 4.7 or do they maybe stretch back to
>> 4.5?
>>>
>>> On Mon, Dec 28, 2015 at 5:17 AM, Rohit Yadav 
>>> wrote:
>>>
 Hi Kevin,

 vSphere 6 is already supported in the latest 4.7 release. I’ve tested
 vSphere 6 and it seems to work for me, though in the community we have
>> n't
 had a lot of testing efforts wrt vSphere6.

>

 [image: ShapeBlue] 
 Rohit Yadav
 Software Architect ,  ShapeBlue
 d:  * | s: +44 203 603 0540* <%7C%20s:%20+44%20203%20603%200540>  |  m:
 *+91 8826230892* <+91%208826230892>
 e:  *rohit.ya...@shapeblue.com | t: *
   |  w:  *www.shapeblue.com*
 
 a:  53 Chandos Place, Covent Garden London WC2N 4HS UK
 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.
 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.


 On 27-Dec-2015, at 5:07 PM, Kevin Walker 
 wrote:
>
> Hi Guys
>
> Is vSphere 6 support on the roadmap?
>
>
> Kind regards
>
> Kevin Walker

 Regards.

 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 

>>>
>>>
>>>
>>> --
>>> *Jeff Hair*
>>> Technical Lead and Software Developer
>>>
>>> Tel: (+354) 415 0200
>>> j...@greenqloud.com
>>> www.greenqloud.com
>>
>> Regards.
>>
>> 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
>>
>
>
>
> --
> *Jeff Hair*
> Technical Lead and Software Developer
>
> Tel: (+354) 415 0200
> j...@greenqloud.com
> www.greenqloud.com

Regards.

Find out more about ShapeBlue and our range of CloudStack related services:
IaaS Cloud Design & Build | 
CSForge – rapid IaaS deployment framework
CloudStack 

Re: VMware vSphere 6

2016-02-16 Thread Jeff Hair
What commit(s) fix the vsphere login issue and dependency update?

On Tue, Feb 16, 2016 at 4:01 PM, Rohit Yadav 
wrote:

> Only for 4.7+.
>
> We’ve simply fixed an issue that allows the vmware plugin to login/talk to
> vCenter 6.0 and have bumped up the sdk version to 5.5 (from 5.1). There is
> not a lot of test effort performed against vCenter/ESX 6.0 so we don’t know
> if there are any subtle bugs.
>
> Thanks for the email, after checking the sdk version I think it’s time to
> bump that version dependency to 6.0. Will send a PR soon.
>
> > On 16-Feb-2016, at 4:00 PM, Jeff Hair  wrote:
> >
> > Sorry for a 2-month old bump, but when were the changes introduced for
> > vSphere 6? Did they only come in 4.7 or do they maybe stretch back to
> 4.5?
> >
> > On Mon, Dec 28, 2015 at 5:17 AM, Rohit Yadav 
> > wrote:
> >
> >> Hi Kevin,
> >>
> >> vSphere 6 is already supported in the latest 4.7 release. I’ve tested
> >> vSphere 6 and it seems to work for me, though in the community we have
> n't
> >> had a lot of testing efforts wrt vSphere6.
> >>
> >>>
> >>
> >> [image: ShapeBlue] 
> >> Rohit Yadav
> >> Software Architect ,  ShapeBlue
> >> d:  * | s: +44 203 603 0540* <%7C%20s:%20+44%20203%20603%200540>  |  m:
> >> *+91 8826230892* <+91%208826230892>
> >> e:  *rohit.ya...@shapeblue.com | t: *
> >>   |  w:  *www.shapeblue.com*
> >> 
> >> a:  53 Chandos Place, Covent Garden London WC2N 4HS UK
> >> 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.
> >> 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.
> >>
> >>
> >> On 27-Dec-2015, at 5:07 PM, Kevin Walker 
> >> wrote:
> >>>
> >>> Hi Guys
> >>>
> >>> Is vSphere 6 support on the roadmap?
> >>>
> >>>
> >>> Kind regards
> >>>
> >>> Kevin Walker
> >>
> >> Regards.
> >>
> >> 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 
> >>
> >
> >
> >
> > --
> > *Jeff Hair*
> > Technical Lead and Software Developer
> >
> > Tel: (+354) 415 0200
> > j...@greenqloud.com
> > www.greenqloud.com
>
> Regards.
>
> 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
>



-- 
*Jeff Hair*
Technical Lead and Software Developer

Tel: (+354) 415 0200
j...@greenqloud.com
www.greenqloud.com


[GitHub] cloudstack pull request: Taking fast and efficient volume snapshot...

2016-02-16 Thread rodrigo93
Github user rodrigo93 commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1403#discussion_r53033391
  
--- Diff: 
engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java
 ---
@@ -172,6 +195,12 @@ private void validate(SnapshotInfo snapshotInfo) {
 }
 }
 
+private boolean usingBackendSnapshotFor(SnapshotInfo snapshotInfo) {
+String property = getProperty(snapshotInfo.getId(), 
"takeSnapshot");
+
+return Boolean.parseBoolean(property);
+}
+
 private Void handleCreateTemplateFromSnapshot(SnapshotInfo 
snapshotInfo, TemplateInfo templateInfo, 
AsyncCompletionCallback callback) {
--- End diff --

I see... Using "Void" instead of "void" is not a good programming practice 
and should be "avoided" =P.
Another suggestion that I forgot to mention is to squash your commits into 
one.


---
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: VMware vSphere 6

2016-02-16 Thread Rohit Yadav
Only for 4.7+.

We’ve simply fixed an issue that allows the vmware plugin to login/talk to 
vCenter 6.0 and have bumped up the sdk version to 5.5 (from 5.1). There is not 
a lot of test effort performed against vCenter/ESX 6.0 so we don’t know if 
there are any subtle bugs.

Thanks for the email, after checking the sdk version I think it’s time to bump 
that version dependency to 6.0. Will send a PR soon.

> On 16-Feb-2016, at 4:00 PM, Jeff Hair  wrote:
>
> Sorry for a 2-month old bump, but when were the changes introduced for
> vSphere 6? Did they only come in 4.7 or do they maybe stretch back to 4.5?
>
> On Mon, Dec 28, 2015 at 5:17 AM, Rohit Yadav 
> wrote:
>
>> Hi Kevin,
>>
>> vSphere 6 is already supported in the latest 4.7 release. I’ve tested
>> vSphere 6 and it seems to work for me, though in the community we have n't
>> had a lot of testing efforts wrt vSphere6.
>>
>>>
>>
>> [image: ShapeBlue] 
>> Rohit Yadav
>> Software Architect ,  ShapeBlue
>> d:  * | s: +44 203 603 0540* <%7C%20s:%20+44%20203%20603%200540>  |  m:
>> *+91 8826230892* <+91%208826230892>
>> e:  *rohit.ya...@shapeblue.com | t: *
>>   |  w:  *www.shapeblue.com*
>> 
>> a:  53 Chandos Place, Covent Garden London WC2N 4HS UK
>> 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.
>> 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.
>>
>>
>> On 27-Dec-2015, at 5:07 PM, Kevin Walker 
>> wrote:
>>>
>>> Hi Guys
>>>
>>> Is vSphere 6 support on the roadmap?
>>>
>>>
>>> Kind regards
>>>
>>> Kevin Walker
>>
>> Regards.
>>
>> 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 
>>
>
>
>
> --
> *Jeff Hair*
> Technical Lead and Software Developer
>
> Tel: (+354) 415 0200
> j...@greenqloud.com
> www.greenqloud.com

Regards.

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


[update] ACS management unable to connect to xenserver hosts after reboot

2016-02-16 Thread Stephan Seitz
Hi again!

I think we've found the root source, but are unable to mitigate that:

2016-02-16 16:13:22,217 DEBUG [c.c.a.m.ClusteredAgentManagerImpl]
(AgentManager-Handler-8:null) Seq 6--1: MgmtId 57177340185273: Req:
Routing to peer
2016-02-16 16:13:22,217 DEBUG [c.c.a.m.ClusteredAgentManagerImpl]
(AgentManager-Handler-9:null) Seq 6--1: MgmtId 57177340185273: Req:
Cancel request received
2016-02-16 16:13:22,899 DEBUG [c.c.a.m.ClusteredAgentManagerImpl]
(AgentManager-Handler-10:null) Seq 1-4458000681143369786: MgmtId
57177340185273: Req: Resource [Host:1] is unreachable: Host 1: Link is
closed
2016-02-16 16:13:22,899 DEBUG [c.c.a.m.ClusteredAgentManagerImpl]
(AgentManager-Handler-10:null) Seq 1--1: MgmtId 57177340185273: Req:
Routing to peer
2016-02-16 16:13:22,900 DEBUG [c.c.a.m.ClusteredAgentManagerImpl]
(AgentManager-Handler-11:null) Seq 1--1: MgmtId 57177340185273: Req:
Cancel request received
2016-02-16 16:13:22,905 DEBUG [c.c.a.m.ClusteredAgentManagerImpl]
(AgentManager-Handler-12:null) Seq 3-2144839322535198778: MgmtId
57177340185273: Req: Resource [Host:3] is unreachable: Host 3: Link is
closed

Here's a longer excerpt from the logfile during startup:

http://pastebin.com/SftVJCs4

Maybe someone knows how to resolve this? To me it looks like our single
management-host has some kind of identity crisis? 


Am Dienstag, den 16.02.2016, 15:12 +0100 schrieb Stephan Seitz: 
> Hi acs gurus!
> 
> We're currently facing a really strange problem after two somewhat
> simple steps.
> 1. Reboot Management-Node (well there is also a 2nd. NFS-Storage
> located)
> 2. Upgrade 4.7.0 to 4.7.1
> 
> Both steps seemed successful and running, but after a few days I've
> noticed the SSVM in "running, not connected" state, so I decided to
> restart the SSVM. That's where all the trouble begun...
> 
> I've pasted a somewhat repetive log excerpt here
> http://pastebin.com/8MM6XUBk
> 
> If I try to (force) reconnect a host, we're getting huge repetive log
> entries like pasted here http://pastebin.com/cNR3TtkG
> 
> Cloudmonkey quits with following Response:
> 
> (local)  > reconnect host id=df4182f8-24a0-40ca-9ccc-6489f374cd4c
> Error Connection refused by server: ('Connection aborted.',
> BadStatusLine("''",))
> 
> 
> I've tcpdump'ed relevant traffic between management and xenservers and
> found simply nothing except some (i assume) unrelated NFS-Packets.
> 
> Could please someone shed some light, how to fix that?
> 
> Thanks in advance!
> 
> - Stephan




Re: VMware vSphere 6

2016-02-16 Thread Jeff Hair
Sorry for a 2-month old bump, but when were the changes introduced for
vSphere 6? Did they only come in 4.7 or do they maybe stretch back to 4.5?

On Mon, Dec 28, 2015 at 5:17 AM, Rohit Yadav 
wrote:

> Hi Kevin,
>
> vSphere 6 is already supported in the latest 4.7 release. I’ve tested
> vSphere 6 and it seems to work for me, though in the community we have n't
> had a lot of testing efforts wrt vSphere6.
>
> >
>
> [image: ShapeBlue] 
> Rohit Yadav
> Software Architect ,  ShapeBlue
> d:  * | s: +44 203 603 0540* <%7C%20s:%20+44%20203%20603%200540>  |  m:
> *+91 8826230892* <+91%208826230892>
> e:  *rohit.ya...@shapeblue.com | t: *
>   |  w:  *www.shapeblue.com*
> 
> a:  53 Chandos Place, Covent Garden London WC2N 4HS UK
> 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.
> 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.
>
>
> On 27-Dec-2015, at 5:07 PM, Kevin Walker 
> wrote:
> >
> > Hi Guys
> >
> > Is vSphere 6 support on the roadmap?
> >
> >
> > Kind regards
> >
> > Kevin Walker
>
> Regards.
>
> 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 
>



-- 
*Jeff Hair*
Technical Lead and Software Developer

Tel: (+354) 415 0200
j...@greenqloud.com
www.greenqloud.com


Re: [4.8][VPN] IPSec service does not start automatically in VR

2016-02-16 Thread Nux!
Nope, not yet

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Pierre-Luc Dion" 
> To: dev@cloudstack.apache.org
> Sent: Tuesday, 16 February, 2016 01:25:55
> Subject: Re: [4.8][VPN] IPSec service does not start automatically in VR

> I think the current issue you rised is not related to strongswan PR.
> 
> I'll gave it a try to strongswan. Did you tried it ?
> 
> On Mon, Feb 15, 2016 at 7:57 PM, Nux!  wrote:
> 
>> Ah, ok, need to test
>> http://jenkins.buildacloud.org/job/build-systemvm64-github/lastBuild/ then
>> It's kind of confusing, that pull requests just stops, people stopped
>> caring about it.
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> - Original Message -
>> > From: "Pierre-Luc Dion" 
>> > To: dev@cloudstack.apache.org
>> > Sent: Tuesday, 16 February, 2016 00:10:04
>> > Subject: Re: [4.8][VPN] IPSec service does not start automatically in VR
>>
>> > Good catch Nux!,
>> >
>> > Just found this is what's causing remote management VPN of not working
>> with
>> > the 4.6 system-vm-template.
>> > seams to be related to this one:
>> >
>> > https://issues.apache.org/jira/browse/CLOUDSTACK-9079
>> >
>> >
>> >
>> > On Tue, Feb 9, 2016 at 12:32 PM, Nux!  wrote:
>> >
>> >> Hello,
>> >>
>> >> Messing today with a fresh install of 4.8 I noticed the ipsec service is
>> >> not started automatically in the VR.
>> >> Can we check the jenkins logs of the VR builder if the services required
>> >> for VPN are properly configured?
>> >> i.e.
>> >>
>> >> update-rc.d ipsec defaults
>> >> update-rc.d xl2tpd defaults
>> >>
>> >>
>> >>
>> >> --
>> >> Sent from the Delta quadrant using Borg technology!
>> >>
>> >> Nux!
>> >> www.nux.ro


[GitHub] cloudstack-www pull request: 4.8.0 with APIs, change copyright dat...

2016-02-16 Thread runseb
Github user runseb commented on the pull request:

https://github.com/apache/cloudstack-www/pull/24#issuecomment-184700198
  
quick glance, +1 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: [DOC] 4.8.0 PR review needed

2016-02-16 Thread Sebastien Goasguen

> On Feb 16, 2016, at 2:29 PM, Pierre-Luc Dion  wrote:
> 
> Hi,
> 
> Could it be possible to have review for following PR's for 4.8.0 release,
> 
> https://github.com/apache/cloudstack-www/pull/24
> https://github.com/apache/cloudstack-docs-rn/pull/28
> 


PL, just go ahead and merge and update sites and co.

Since you are the only one updating those, it’s fair to give you a blanket 
green light.

It would be awesome however to figure out a way to automate everything, so that 
a successful new release triggers a job that updates websites and docs.



> When I'll merge those two, I will update cloudstack-docs-install,
> cloudstack-docs and cloudstack-docs-admin to bump the version and URL's and
> package named without PR. since I'll not change content unless someone is
> against that approach.
> 
> Thanks!
> 
> PL



ACS management unable to connect to xenserver hosts after reboot

2016-02-16 Thread Stephan Seitz
Hi acs gurus!

We're currently facing a really strange problem after two somewhat
simple steps.
1. Reboot Management-Node (well there is also a 2nd. NFS-Storage
located)
2. Upgrade 4.7.0 to 4.7.1

Both steps seemed successful and running, but after a few days I've
noticed the SSVM in "running, not connected" state, so I decided to
restart the SSVM. That's where all the trouble begun...

I've pasted a somewhat repetive log excerpt here
http://pastebin.com/8MM6XUBk

If I try to (force) reconnect a host, we're getting huge repetive log
entries like pasted here http://pastebin.com/cNR3TtkG

Cloudmonkey quits with following Response:

(local)  > reconnect host id=df4182f8-24a0-40ca-9ccc-6489f374cd4c
Error Connection refused by server: ('Connection aborted.',
BadStatusLine("''",))


I've tcpdump'ed relevant traffic between management and xenservers and
found simply nothing except some (i assume) unrelated NFS-Packets.

Could please someone shed some light, how to fix that?

Thanks in advance!

- Stephan



[DOC] 4.8.0 PR review needed

2016-02-16 Thread Pierre-Luc Dion
Hi,

Could it be possible to have review for following PR's for 4.8.0 release,

https://github.com/apache/cloudstack-www/pull/24
https://github.com/apache/cloudstack-docs-rn/pull/28

When I'll merge those two, I will update cloudstack-docs-install,
cloudstack-docs and cloudstack-docs-admin to bump the version and URL's and
package named without PR. since I'll not change content unless someone is
against that approach.

Thanks!

PL


Re: New Ideas on Cloudstack

2016-02-16 Thread Simon Weller
Ilya,

It's just a different SDN/NFV option, that uses layer 3 routing and BGP.

- Si



From: ilya 
Sent: Monday, February 15, 2016 6:12 PM
To: dev@cloudstack.apache.org
Subject: Re: New Ideas on Cloudstack

Not entirely clear what issue this solves.

On 2/11/16 10:39 PM, Keerthiraja SJ wrote:
> Hi All,
>
> I would like to bring up some ideas about to integrate the
> http://www.projectcalico.org into cloudstack to next step ahead.
>
> How really will this help. I need all your feedback on this.
>
> Thanks,
> Keerthi
>


[GitHub] cloudstack pull request: Squashing two commits in to single commit

2016-02-16 Thread DaanHoogland
Github user DaanHoogland commented on the pull request:

https://github.com/apache/cloudstack/pull/1411#issuecomment-184636485
  
@runseb very sorry but I saw @remibergsma LGTM above here in this PR. 
please revert. I have not looked into this PR.


---
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: Squashing two commits in to single commit

2016-02-16 Thread runseb
Github user runseb commented on the pull request:

https://github.com/apache/cloudstack/pull/1411#issuecomment-184633589
  
@DaanHoogland @sanjeevneelarapu you guys are writing the code so I have 
nothing to say...but @remibergsma asked for updating the PR message and nothing 
was done. Now we have a commit in our history with the message "squashing two 
commits" , I would be a BD I would revert this.


---
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: SystemVM cleanups

2016-02-16 Thread resmo
GitHub user resmo opened a pull request:

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

SystemVM cleanups

from the logrotate docs

> size - With this, the log file is rotated when the specified size is 
reached. Size may be specified in bytes (default), kilobytes (sizek), or 
megabytes (sizem).

> Note: If size and time interval options are specified at same time, only 
size option take effect. it causes log files to be rotated without regard for 
the last rotation time. If both log size and timestamp of a log file need to be 
considered by logrotate, the minsize option should be used. logrotate will 
rotate log file when they grow bigger than minsize, but not before the 
additionally specified time interval.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/resmo/cloudstack fix/cleanup

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack/pull/1414.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1414


commit 4a3bc1e3024a7bd1608d25068963328f456b0aa2
Author: Rene Moser 
Date:   2016-02-16T10:21:30Z

systemvm, logrotate: remove daily explicitly as it is ignored

If the size directive is used, logrotate will ignore the daily, weekly, 
monthly, 
and yearly directives. 

Signed-off-by: Rene Moser 

commit eb3cd8f487e4c573ff92d98cc7969a93891b1155
Author: Rene Moser 
Date:   2016-02-16T10:25:48Z

remove cloud-cleanup

This script does not do anything because it fails due missing 
/var/log/cloud directory. Logrotate is used for this functionality.




---
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: [PROPOSAL] - Reference Guide for CloudStack configuration parameters

2016-02-16 Thread Rajsekhar K
Hi, All,

Thanks for your responses. I am sure we will be able to create a complete
reference guide for the CloudStack parameters.

I think I can create a wiki page that explains this effort and publish this
list of categories there. I think it will be easier for you to review the
list then.

Will let you know after I create this wiki page.

Thanks,
Rajsekhar

On Mon, Feb 15, 2016 at 5:07 PM, Daan Hoogland 
wrote:

> I like the idea but shouldn't it be part of the source code and extracted
> from there? What is the need to have it in a separate wiki?
>
> On Mon, Feb 15, 2016 at 9:18 AM, Rohit Yadav 
> wrote:
>
> > Nice, maybe put this on our cwiki so others can collaborate than do this
> > over a word doc?
> >
> > Regards.
> >
> >
> > [image: ShapeBlue] 
> > Rohit Yadav
> > Software Architect ,  ShapeBlue
> > d:  * | s: +44 203 603 0540* <%7C%20s:%20+44%20203%20603%200540>  |  m:
> > *+91 8826230892* <+91%208826230892>
> > e:  *rohit.ya...@shapeblue.com | t: *
> >   |  w:  *www.shapeblue.com*
> > 
> > a:  53 Chandos Place, Covent Garden London WC2N 4HS UK
> > 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.
> > 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.
> >
> >
> > On 14-Feb-2016, at 5:37 AM, Rajsekhar K 
> wrote:
> >
> > Hi, All,
> >
> > This is part of the effort to create a Reference Guide for CloudStack
> > configuration parameters. This guide intends to provide a single point of
> > reference for the configuration parameters that we use in CloudStack.
> Each
> > parameter will be treated as a topic in this guide.
> >
> > I am planning to document the following information for each parameter:
> >
> >
> >- Name and description of the parameter.
> >- List of features that the users can configure using the parameter.
> >- Changes in the behavior of each parameter when users provide low,
> >optimal, and high values to the parameters.
> >- Warnings, notes, and limitations for each parameter.
> >- Example for each parameter - Explaining the parameter with the help
> >of scenarios.
> >- Impact of each configuration parameter on APIs.
> >- Scope of the parameter - global, zone-level, or cluster-level.
> >- Dependencies among the configuration parameters.
> >- Category to which the parameter belongs.
> >
> >
> > Will let you know more about this effort as we progress with this guide.
> >
> > Please find attached the list of CloudStack parameters that are
> > categorized according to the functional areas they belong to. Could you
> > please review this list and let me know your review comment/confirmation?
> >
> > Also, I have a few parameters listed under the heading * Others (To be
> > categorized)*. Could you please help me categorize these parameters?
> >
> > Thanks,
> > Rajsekhar
> > 
> >
> >
> > Regards.
> >
> > 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 
> >
>
>
>
> --
> Daan
>