[GitHub] cloudstack pull request: Added Virtualmachine count and ID's to li...

2015-08-13 Thread wido
Github user wido commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/679#discussion_r36946797
  
--- Diff: server/src/com/cloud/api/query/dao/SecurityGroupJoinDaoImpl.java 
---
@@ -125,6 +130,15 @@ public SecurityGroupResponse 
newSecurityGroupResponse(SecurityGroupJoinVO vsg, A
 }
 }
 
+List securityGroupVmMap = 
_securityGroupVMMapDao.listBySecurityGroup(vsg.getId());
+s_logger.debug("newSecurityGroupResponse() -> virtualmachine 
count: " + securityGroupVmMap.size());
+sgResponse.setVirtualMachineCount(securityGroupVmMap.size());
+
+for(SecurityGroupVMMapVO securityGroupVMMapVO : 
securityGroupVmMap) {
+if (_userVmDao.findById(securityGroupVMMapVO.getInstanceId()) 
!= null)
--- End diff --

Could you enclose this if by brackets? { }


---
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: Added Virtualmachine count and ID's to li...

2015-08-13 Thread wido
Github user wido commented on the pull request:

https://github.com/apache/cloudstack/pull/679#issuecomment-130564758
  
LGTM if you fix the brackets in the if-statement


---
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: Quota master

2015-08-13 Thread abhinandanprateek
GitHub user abhinandanprateek opened a pull request:

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

Quota master

This pull request is for quota service implementation, divided into 
following two commits:
1. Quota server side implementation
   a. Quota Framework plugin containing Daos
   b. Quota database plugin for quota APIs
   3. Quota Usage server enhancements 
2. Quota UI plugin

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

$ git pull https://github.com/shapeblue/cloudstack quota-master

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

https://github.com/apache/cloudstack/pull/689.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 #689


commit 230b6f4bb81f4eeb314ac02b3fd338b24b7fb359
Author: Abhinandan Prateek 
Date:   2015-08-13T06:12:30Z

CLOUDSTACK-8592: Implement Quota service

Quota service while allowing for scalability will make sure that the cloud 
is
not exploited by attacks, careless use and program errors. To address this
problem, we propose to employ a quota-enforcement service that allows 
resource
usage within certain bounds as defined by policies and available quotas for
various entities.  Quota service extends the functionality of usage server 
to
provide a measurement for the resources used by the accounts and domains 
using a
common unit referred to as cloud currency in this document. It can be 
configured
to ensure that your usage won’t exceed the budget allocated to 
accounts/domain
in cloud currency.  It will let user know how much of the cloud resources 
he is
using. It will help the cloud admins, if they want, to ensure that a user 
does
not go beyond his allocated quota. Per usage cycle if a account is found to 
be
exceeding its quota then it is locked. Locking an account means that it 
will not
be able to initiat e a new resource allocation request, whether it is more
storage or an additional ip. Needless to say quota service as well as any 
action
on the account is configurable.

FS: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Quota+Service+-+FS

Signed-off-by: Rohit Yadav 

commit c78fb351bdd199a77aba8f4f0b1578711c696bfb
Author: Rohit Yadav 
Date:   2015-08-13T06:15:21Z

CLOUDSTACK-8592: Implement UI Plugin for Quota Service

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


[GitHub] cloudstack pull request: CLOUDSTACK-8693-Adding-missing-code-in-te...

2015-08-13 Thread pritisarap12
Github user pritisarap12 commented on the pull request:

https://github.com/apache/cloudstack/pull/668#issuecomment-130566681
  
Updated testpath to get single commit.


---
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-13 Thread anshul1886
Github user anshul1886 commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/669#discussion_r36949815
  
--- Diff: client/pom.xml ---
@@ -478,6 +478,12 @@
 
   
 
+
--- End diff --

My understanding about unit testing is similar to mentioned in this blog 
http://simpleprogrammer.com/2010/10/15/the-purpose-of-unit-testing/




---
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-8710: Fixed applying iptables ...

2015-08-13 Thread jayapalu
GitHub user jayapalu opened a pull request:

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

CLOUDSTACK-8710: Fixed applying iptables rules for s2s vpn

@remibergsma @wilderrodrigues 
Moved applying iptables rules apply after vpn configuration so that vpn 
specific rules also get applied

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

$ git pull https://github.com/jayapalu/cloudstack vpn

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

https://github.com/apache/cloudstack/pull/690.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 #690


commit da9e757b8e48c54a4ecbd3bdb027b573ac5a3314
Author: Jayapal 
Date:   2015-08-13T08:37:12Z

CLOUDSTACK-8710: Fixed applying iptables rules for s2s vpn




---
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-13 Thread sedukull
Github user sedukull commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/669#discussion_r36952117
  
--- Diff: client/pom.xml ---
@@ -478,6 +478,12 @@
 
   
 
+
--- End diff --

Its good that it does not say that UT are meant to test "corner" cases or 
"some uncertainity", as per your earlier understanding. It talks about TDD, in 
which UT are not meant to be written post the code, its good to follow TDD if 
we can write tests before the code. But if we missed it, and If we feel there 
is a value add in writing some tests, which can benefit others and helps 
testing the code in long run, its appreciated to add few, there is no harm.  We 
could see many commits coming are having UT recently. Some even made sure to 
get near 100% coverage for their code. We know its not a new distinct module, 
its up to you and whatever the community decides!!!


---
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-13 Thread nitt10prashant
Github user nitt10prashant commented on the pull request:

https://github.com/apache/cloudstack/pull/683#issuecomment-130587552
  
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.
---


[GitHub] cloudstack pull request: test case automated for list template pag...

2015-08-13 Thread nitt10prashant
Github user nitt10prashant commented on the pull request:

https://github.com/apache/cloudstack/pull/646#issuecomment-130588174
  
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.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8710: Fixed applying iptables ...

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

https://github.com/apache/cloudstack/pull/690#issuecomment-130593053
  
Hi @jayapalu I also worked on this, and but even with the firewall rules 
applied, the functionality still doesn't work because some rules are missing. 
So, this might fix CLOUDSTACK-8710 as it applies the rules but I think the goal 
should be to make two VMs in two VPCs be able to reach each other through the 
VPN. Anyway, I'll make a separate issue for this and keep working on it.

I already figured out what rules are missing. Some other issues are also 
impacting this, like the missing default gateway.

Let's be clear on who works on what (by assigning the issue) or else we'll 
do duplicate work. That's why I assigned the issue to me yesterday.

Will run test to verify your fix 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-8693-Adding-missing-code-in-te...

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

https://github.com/apache/cloudstack/pull/668#issuecomment-130598324
  
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.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8693-Adding-missing-code-in-te...

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

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


---
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: Added Virtualmachine count and ID's to li...

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

https://github.com/apache/cloudstack/pull/679#issuecomment-130600502
  
@borisroman Could you please squash the commits into 1 (or maybe 2 if you 
want the tests separate).


---
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: Added Virtualmachine count and ID's to li...

2015-08-13 Thread koushik-das
Github user koushik-das commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/679#discussion_r36958780
  
--- Diff: server/src/com/cloud/api/query/dao/SecurityGroupJoinDaoImpl.java 
---
@@ -125,6 +130,16 @@ public SecurityGroupResponse 
newSecurityGroupResponse(SecurityGroupJoinVO vsg, A
 }
 }
 
+List securityGroupVmMap = 
_securityGroupVMMapDao.listBySecurityGroup(vsg.getId());
+s_logger.debug("newSecurityGroupResponse() -> virtualmachine 
count: " + securityGroupVmMap.size());
+sgResponse.setVirtualMachineCount(securityGroupVmMap.size());
+
+for(SecurityGroupVMMapVO securityGroupVMMapVO : 
securityGroupVmMap) {
+if (_userVmDao.findById(securityGroupVMMapVO.getInstanceId()) 
!= null) {
--- End diff --

@borisroman Please make findById() call only once. Something like

UserVMVO vm = _userVmDao.findById(securityGroupVMMapVO.getInstanceId());
if (vm != null) { sgResponse.addVirtualMachineId(vm.getUuid()); }


---
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-8710: Fixed applying iptables ...

2015-08-13 Thread jayapalu
Github user jayapalu commented on the pull request:

https://github.com/apache/cloudstack/pull/690#issuecomment-130602329
  
@remibergsma 
I thought you are only looking at the rules issue.  You can look at the 
other issues in s2s vpn.
You might have observed it but making it to your notice  In below rule 
space is needed at  '%s  -m' .  
-self.fw.append(["nat", "front", "-A POSTROUTING -t nat -o %s-m 
mark --set-xmark 0x525/0x -j ACCEPT" % dev])
+self.fw.append(["nat", "front", "-A POSTROUTING -t nat -o %s -m 
mark --mark 0x525/0x -j ACCEPT" % dev])
I am actually looking at the ipsec with strongswan so I need s2s vpn 
iptables rules to applied for my testing.



---
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: Added Virtualmachine count and ID's to li...

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

https://github.com/apache/cloudstack/pull/679#issuecomment-130602430
  
@borisroman I have provided a code comment. Once you fix that and squash 
the commits as suggested by @remibergsma then its a LGTM from me. Thanks for 
the unit tests.


---
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: test case automated for list template pag...

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

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


---
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: Database consistency check

2015-08-13 Thread cs user
This would be fantastic if it can be written.

On Mon, Aug 10, 2015 at 1:17 PM, Daan Hoogland 
wrote:

> Norbert, I haven't begun to think about it. including dev@ to gather
> ideas.
> The db structure is based on updates since 4.0. A new install will be a 4.0
> DB which will then undergo a series of upgrade steps. A validation of the
> db could be divided in a basic part and an incremental part, maybe.
>
> A good tactic might be to start a collection of smaller checks that
> validate only individual parts. An example would be orphaned volumes, or
> removed volumes that are still attached to VMs. completeness of link tables
> is another one.
>
> This is not going to be caught in a single story, i'm afraid.
>
> On Mon, Aug 10, 2015 at 2:03 PM, Norbert Klein <
> norbert.kl...@infosecprojects.net> wrote:
>
> > Do you have any idea where to start? (I am not a developer). If there is
> > no script avaible
> > I think a developer has to do it or at least I need the criterias from
> > them. Without knowing
> > the internal CS structure I don't know exactly what to check.
> >
> > Am 10.08.2015 um 13:51 schrieb Daan Hoogland:
> > > Good point Norbert, I don't think there is. would be a great addition
> > > though. You want to take this on or at least create a ticket for it in
> > > jira?
> > https://issues.apache.org/jira/issues/?jql=project%20%3D%20CLOUDSTACK
> > >
> > > On Mon, Aug 10, 2015 at 1:48 PM, Norbert Klein <
> > > norbert.kl...@infosecprojects.net> wrote:
> > >
> > >> Hi all,
> > >>
> > >> what is the best way to check the cloudstack database consistency?
> > >> Is there any tool or script available which we could use to make sure
> > >> the database structure and content
> > >> is in a valid state? (for example after manual changes).
> > >>
> > >> Thx
> > >> Norbert
> > >>
> > >>
> > >
> >
>
>
>
> --
> Daan
>


[GitHub] cloudstack pull request: Added Virtualmachine count and ID's to li...

2015-08-13 Thread borisroman
Github user borisroman commented on the pull request:

https://github.com/apache/cloudstack/pull/679#issuecomment-130612388
  
@wido @remibergsma @koushik-das Folowed up on lastest comments by Remi and 
Koushik.


---
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: Remi Bergsma joins the PMC

2015-08-13 Thread Paul Angus
Congratulations Remi!

Regards,

Paul Angus
VP Technology/Cloud Architect
D: +44 20 3468 5163 |S: +44 20 3603 0540 | M: +44 7711 418 784 | T: @CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Remi Bergsma [mailto:rberg...@schubergphilis.com]
Sent: 11 August 2015 21:37
To:  
Subject: Re: Remi Bergsma joins the PMC

Thanks everyone! Great working with you :-)

> On 11 Aug 2015, at 07:44, Wilder Rodrigues  
> wrote:
>
> Congratulations, dude!
>
> Cheers,
> Wilder
>
> Sent from my iPhone
>
>> On 10 Aug 2015, at 19:09, Daan Hoogland  wrote:
>>
>> LS,
>>
>> Today the PMC has invited Remi Bergsma to join its ranks. I am happy
>> to say that he accepted. Please join me in congratulating Remi.
>>
>> ​regards,​
>> --
>> Daan
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: Added Virtualmachine count and ID's to li...

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

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


---
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-8731-checking usage event for ...

2015-08-13 Thread cloudsadhu
GitHub user cloudsadhu opened a pull request:

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

CLOUDSTACK-8731-checking usage event for delete volume

@summary: Test volume delete event generation in error state condition ... 
=== TestName: test_volume_delete_event_errorState | Status : SUCCESS ===
ok

--
Ran 1 test in 490.221s

OK


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

$ git pull https://github.com/cloudsadhu/cloudstack cs

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

https://github.com/apache/cloudstack/pull/691.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 #691


commit 84c6d7fcb62dbb0886345bd9d14a0bdb980f61b5
Author: sadhu 
Date:   2015-08-13T11:36:04Z

CLOUDSTACK-8731-checking usage event for delete volume




---
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: Release EC2stack 1.0.0

2015-08-13 Thread sebgoa

On Aug 13, 2015, at 12:00 AM, Ian Duffy  wrote:

> Hey Sebastien,
> 
> Thank you for doing this.
> 
> If there's any small jobs I can help out let me know, I'm allowed to work
> on this type of stuff again once Friday the 14th passes.
> 

we are missing a few badges in the readme. I think we had coveralls at one 
point and that fury thing…not sure what that is.

> On Wednesday, August 12, 2015, sebgoa  wrote:
> 
>> 
>> On Aug 12, 2015, at 12:31 PM, sebgoa >
>> wrote:
>> 
>>> Hi folks,
>>> 
>>> I am working towards making a release of EC2stack.
>>> Since it was given to our project we have not made an official release.
>>> 
>>> I just added a few documentation files, added license headers, notice
>> files, copied over the release script from cloud monkey.
>>> Plus a few other odds and ins.
>>> 
>>> I don't plan to do any changes to the actual code for now, but I would
>> like to make a 1.0.0 release and then start patching.
>>> 
>>> How do people feel about this ?
>>> Has anyone used it lately with 4.5.x releases ?
>>> 
>>> finally, any help to get the Travis runs working again would be good,
>> matter of changing the links I think.
>>> 
>> 
>> FWIW, I fixed the Travis build , we are green :)
>> 
>> https://github.com/apache/cloudstack-ec2stack
>> 
>>> feedback welcome, otherwise I will just cut a release and send a vote
>> thread.
>>> 
>>> cheers,
>>> 
>>> -Sebastien
>> 
>> 



[GitHub] cloudstack pull request: [CLOUDSTACK-8427] Add missing localizatio...

2015-08-13 Thread DaanHoogland
Github user DaanHoogland commented on the pull request:

https://github.com/apache/cloudstack/pull/686#issuecomment-130646010
  
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.
---


[GitHub] cloudstack pull request: [CS45] Add missing localization for some ...

2015-08-13 Thread DaanHoogland
Github user DaanHoogland commented on the pull request:

https://github.com/apache/cloudstack/pull/687#issuecomment-130647516
  
travis timeout
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.
---


[GitHub] cloudstack pull request: Quota master

2015-08-13 Thread DaanHoogland
Github user DaanHoogland commented on the pull request:

https://github.com/apache/cloudstack/pull/689#issuecomment-130652414
  
one big chunk of work Abhi, I have skimmed it and the structure looks good. 
I must have missed some minor issues in these 7000+ lines of code, though.
One major issue is that there is no single test in there, nor a test 
instruction/- description. I am sure I will break it if I poke at the other end 
of the system a bit.


---
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-8710: Fixed applying iptables ...

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

https://github.com/apache/cloudstack/pull/690#issuecomment-130654437
  
@jayapalu happy you're helping out! If you found out more stuff already, 
feel free to post. 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: Interface changes related to CLOUDSTACK-8...

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

https://github.com/apache/cloudstack/pull/680#issuecomment-130656396
  
@borisroman Please squash the commits here as well


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


Build failed in Jenkins: build-master-slowbuild #2045

2015-08-13 Thread jenkins
See 

--
[...truncated 27471 lines...]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] >>> findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud >>>
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:findbugs (findbugs) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud ---
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:instrument (default-cli) @ 
cloud-quickcloud ---
[WARNING] No files to instrument.
[INFO] NOT adding cobertura ser file to attached artifacts list.
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-quickcloud ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud ---
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[1.742s]
[INFO] Apache CloudStack . SUCCESS [2.148s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.765s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [20.582s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:14.057s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.108s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [53.211s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [26.929s]
[INFO] Apache CloudStack API . SUCCESS [1:51.158s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [17.717s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [29.799s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.096s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [27.324s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [25.128s]
[INFO] Apache CloudStack Core  SUCCESS [1:16.687s]
[INFO] Apache CloudStack Agents .. SUCCESS [35.224s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [32.325s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [14.261s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:04.931s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [40.008s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [25.294s]
[INFO] Apache CloudStack Server .. SUCCESS [3:57.566s]
[INFO] Apache CloudStack Usage Server  SUCCESS [44.699s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:26.887s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.074s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.435s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [55.356s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [47.681s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [29.688s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [26.550s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [30.393s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [23.781s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [34.194s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [11.948s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [5.971s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [0.748s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [26.120s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[23.337s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[35.271s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [18.002s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [23.652s]
[INFO] Apache CloudStack Plugin - ACL Sta

[GitHub] cloudstack pull request: Interface changes related to CLOUDSTACK-8...

2015-08-13 Thread borisroman
Github user borisroman commented on the pull request:

https://github.com/apache/cloudstack/pull/680#issuecomment-130659980
  
@remibergsma Done.


---
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: Quota master

2015-08-13 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/689#issuecomment-130660478
  
@DaanHoogland I think the aim here is to bring the work out for everyone to 
review early on, Abhi tells me he's already working on unit and marvin tests.


---
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-8725 RVR functionality is brok...

2015-08-13 Thread bvbharatk
GitHub user bvbharatk opened a pull request:

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

CLOUDSTACK-8725 RVR functionality is broken in case of isolated netwo…

CLOUDSTACK-8725 RVR functionality is broken in case of isolated networks, 
conntrackd fails to start.



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

$ git pull https://github.com/bvbharatk/cloudstack CLOUDSTACK-8725

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

https://github.com/apache/cloudstack/pull/692.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 #692


commit fbebfd76ca774281e80c72e9141cd179a9d31bed
Author: Bharat Kumar 
Date:   2015-08-13T12:28:15Z

CLOUDSTACK-8725 RVR functionality is broken in case of isolated networks, 
conntrackd fails to start.




---
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: Quota master

2015-08-13 Thread DaanHoogland
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.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8725 RVR functionality is brok...

2015-08-13 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/692#discussion_r36970870
  
--- Diff: systemvm/patches/debian/config/opt/cloud/bin/cs/CsRedundant.py ---
@@ -96,7 +96,7 @@ def _redundant_on(self):
 d = s.replace(".templ", "")
 CsHelper.copy_if_needed("%s/%s" % (self.CS_TEMPLATES_DIR, s), 
"%s/%s" % (self.CS_ROUTER_DIR, d))
 CsHelper.copy_if_needed("%s/%s" % (self.CS_TEMPLATES_DIR, 
"keepalived.conf.templ"), self.KEEPALIVED_CONF)
-CsHelper.copy_if_needed("%s/%s" % (self.CS_TEMPLATES_DIR, 
"conntrackd.conf.templ"), self.CONNTRACKD_CONF)
+CsHelper.copy("%s/%s" % (self.CS_TEMPLATES_DIR, 
"conntrackd.conf.templ"), self.CONNTRACKD_CONF)
--- End diff --

would it make sense to make sure it is marked as needed, or is this always 
needed (even in non redundant routers)?


---
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: Release EC2stack 1.0.0

2015-08-13 Thread Carlos Reategui
> Has anyone used it lately with 4.5.x releases ?
>

Yes and it seems to work ok with a recent version (1.7.42) of the aws cli
[1] once you tell it to use V2 signature.  I have not tried it with the ec2
cli tools [2].


>
> feedback welcome, otherwise I will just cut a release and send a vote
> thread.
>

One thing that would help is to try and figure out a good place to put the
name/internal name/display name fields that are used in Cloudstack.  Those
don't exist as part of the output of describe instances [3] and therefore
you get something like the table below which is not terribly helpful unless
you know the IP of the machine in question.  AWS generally uses tags for
things like that. They will prompt you to fill in a Name tag by default in
the launch wizard.  One possibility for Name could be to stick it in the
PrivateDnsName, but not sure about the other 2.  Thoughts?

thanks,
Carlos

[1] http://docs.aws.amazon.com/cli/latest/reference/
[2]
http://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/command-reference.html
[3]
http://docs.aws.amazon.com/cli/latest/reference/ec2/describe-instances.html#output


Output of describe-instances with table output:

--

|DescribeInstances   |

++

|| Reservations ||

|+--+---+|

||  *ReservationId*   |  *None* ||

|+--+---+|

|||  Instances |||

||+---++||

|||  *Hypervisor*   |  *XenServer* |||

|||  *ImageId*  |  *b4eb47a7-fc58-4b8a-a1d1-c67a475ed452*  |||

|||  *InstanceId*   |  *382815c2-4af2-4fa1-852b-5b4c70602005*  |||

|||  *InstanceType* |  *m1.small*  |||

|||  *KeyName*  ||||

|||  *LaunchTime*   |  *2014-09-27T17:40:39-0700*  |||

|||  *PrivateIpAddress* |  *10.110.106.132*|||

|||  *PublicIpAddress*  |  *10.110.106.132*|||

||+---++||

 Placement

|||+--+---+|||

  *AvailabilityZone*|  *Sunnyvale*

  *Tenancy* |  *default*  

|||+--+---+|||

   State  

|||+---+--+|||

  *Code* |  *80*  

  *Name* |  *stopped* 

|||+---+--+|||


RE: [Proposal] Replacing Openswan ipsec with Strongswan ipsec

2015-08-13 Thread Manasa Veloori
Hi ,

Planning to test this feature.
Please find the test plan at :
https://cwiki.apache.org/confluence/display/CLOUDSTACK/TestPlan+for+Replacing+openSwan+with+StrongSwan
 

Review the test plan and provide your comments.

Thanks,
Manasa

-Original Message-
From: Jayapal Reddy Uradi [mailto:jayapalreddy.ur...@citrix.com] 
Sent: Wednesday, August 12, 2015 10:30 AM
To: 
Subject: Re: [Proposal] Replacing Openswan ipsec with Strongswan ipsec

Here is the FS[1] and ticket[2] details.

[1]https://cwiki.apache.org/confluence/display/CLOUDSTACK/Replacing+openswan+ipsec+with+strongswan+ipsec
[2]https://issues.apache.org/jira/browse/CLOUDSTACK-8682


Thanks,
Jayapal

On 27-Jul-2015, at 12:12 PM, Suresh Sadhu  wrote:

> +1 
> 
> Kindly share any practical limitation or any know issues exists in strong 
> swan[if anybody using this protocol  in real time ,please share  your 
> experience ]...  that will really helpful us(both dev and qa) to design ,code 
> and test this feature in a better way.
> 
> 
> Regards
> Sadhu
> 
> 
> 
> -Original Message-
> From: Jayapal Reddy Uradi [mailto:jayapalreddy.ur...@citrix.com] 
> Sent: 24 July 2015 17:40
> To: dev@cloudstack.apache.org
> Subject: [Proposal] Replacing Openswan ipsec with Strongswan ipsec
> 
> Hi All,
> 
> Openswan is not being actively maintained by community.
> Any security updates to the packages then it is difficult to upgrade.
> latest version of OS X clients are not working on openswan.
> 
> To address the above concerns I am proposing to move from openswan ipsec to 
> strongswan ipsec.
> 
> I will be sharing the FS for this feature soon.
> 
> Thanks,
> Jayapal
> 
> 



Build failed in Jenkins: build-master-slowbuild #2046

2015-08-13 Thread jenkins
See 

--
[...truncated 27471 lines...]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] >>> findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud >>>
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:findbugs (findbugs) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud ---
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:instrument (default-cli) @ 
cloud-quickcloud ---
[WARNING] No files to instrument.
[INFO] NOT adding cobertura ser file to attached artifacts list.
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-quickcloud ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud ---
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[1.739s]
[INFO] Apache CloudStack . SUCCESS [2.282s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.771s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [21.340s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:13.348s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.106s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [52.733s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [27.665s]
[INFO] Apache CloudStack API . SUCCESS [1:50.071s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [15.711s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [31.756s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.103s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [27.540s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [25.101s]
[INFO] Apache CloudStack Core  SUCCESS [1:17.936s]
[INFO] Apache CloudStack Agents .. SUCCESS [35.462s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [32.409s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [15.419s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:06.908s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [40.036s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [25.317s]
[INFO] Apache CloudStack Server .. SUCCESS [4:01.764s]
[INFO] Apache CloudStack Usage Server  SUCCESS [44.238s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:20.735s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.069s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.426s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [57.310s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [48.629s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [29.599s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [26.008s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [30.747s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [23.720s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [35.009s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.203s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [5.583s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [0.740s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [26.470s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[23.271s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[36.321s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [16.988s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [23.069s]
[INFO] Apache CloudStack Plugin - ACL Sta

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

2015-08-13 Thread DaanHoogland
Github user DaanHoogland commented on the pull request:

https://github.com/apache/cloudstack/pull/630#issuecomment-130696363
  
@mike-tutkowski LGTM if LGTY


---
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: Coverity regressions per 10 aug 2015

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

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


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


[SHARE] VM migrations failing with Ubuntu 14.04.3

2015-08-13 Thread Rohit Yadav
Hi all,

I’ve been testing a bug on KVM which involves VM migration, and in that process 
I found that VM migrations failed in my environment twice even with clean 
setups of Ubuntu 14.04.3 (lastest and updated packages) based KVM hosts against 
CloudStack 4.5.2-SNAPSHOT (latest 4.5).

I wanted to share this issue to confirm if this is just my environment or if 
someone experienced similar issue with latest Ubuntu 14.04 based KVM hosts.

The specific errors I found in the logs were something like 
"qemuMigrationCancelDriveMirror:1421 : Unable to stop block job”, which are 
likely reproduced by others such as:

https://www.redhat.com/archives/libvirt-users/2014-June/msg00057.html
http://lists.nongnu.org/archive/html/qemu-devel/2014-12/msg03093.html

A possible solution could be to download libvirt to 1.1.x.

Regards,
Rohit Yadav
Software Architect, ShapeBlue


[cid:9DD97B41-04C5-45F0-92A7-951F3E962F7A]


M. +91 88 262 30892 | 
rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab




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.


Re: Release EC2stack 1.0.0

2015-08-13 Thread Ian Duffy
No problem. I'll look into those. I'd imagine Darren had them on a personal
account or something.

Any idea if we have an asf account on the related sites? If so Will need to
open infra tickets to get them enabled for the ec2stack GitHub mirror.

On Thursday, August 13, 2015, sebgoa  wrote:

>
> On Aug 13, 2015, at 12:00 AM, Ian Duffy >
> wrote:
>
> > Hey Sebastien,
> >
> > Thank you for doing this.
> >
> > If there's any small jobs I can help out let me know, I'm allowed to work
> > on this type of stuff again once Friday the 14th passes.
> >
>
> we are missing a few badges in the readme. I think we had coveralls at one
> point and that fury thing…not sure what that is.
>
> > On Wednesday, August 12, 2015, sebgoa >
> wrote:
> >
> >>
> >> On Aug 12, 2015, at 12:31 PM, sebgoa 
> >
> >> wrote:
> >>
> >>> Hi folks,
> >>>
> >>> I am working towards making a release of EC2stack.
> >>> Since it was given to our project we have not made an official release.
> >>>
> >>> I just added a few documentation files, added license headers, notice
> >> files, copied over the release script from cloud monkey.
> >>> Plus a few other odds and ins.
> >>>
> >>> I don't plan to do any changes to the actual code for now, but I would
> >> like to make a 1.0.0 release and then start patching.
> >>>
> >>> How do people feel about this ?
> >>> Has anyone used it lately with 4.5.x releases ?
> >>>
> >>> finally, any help to get the Travis runs working again would be good,
> >> matter of changing the links I think.
> >>>
> >>
> >> FWIW, I fixed the Travis build , we are green :)
> >>
> >> https://github.com/apache/cloudstack-ec2stack
> >>
> >>> feedback welcome, otherwise I will just cut a release and send a vote
> >> thread.
> >>>
> >>> cheers,
> >>>
> >>> -Sebastien
> >>
> >>
>
>


Re: Database consistency check

2015-08-13 Thread Daan Hoogland
enter a feature request in jira and start poking. (i might join in)

On Thu, Aug 13, 2015 at 12:07 PM, cs user  wrote:

> This would be fantastic if it can be written.
>
> On Mon, Aug 10, 2015 at 1:17 PM, Daan Hoogland 
> wrote:
>
> > Norbert, I haven't begun to think about it. including dev@ to gather
> > ideas.
> > The db structure is based on updates since 4.0. A new install will be a
> 4.0
> > DB which will then undergo a series of upgrade steps. A validation of the
> > db could be divided in a basic part and an incremental part, maybe.
> >
> > A good tactic might be to start a collection of smaller checks that
> > validate only individual parts. An example would be orphaned volumes, or
> > removed volumes that are still attached to VMs. completeness of link
> tables
> > is another one.
> >
> > This is not going to be caught in a single story, i'm afraid.
> >
> > On Mon, Aug 10, 2015 at 2:03 PM, Norbert Klein <
> > norbert.kl...@infosecprojects.net> wrote:
> >
> > > Do you have any idea where to start? (I am not a developer). If there
> is
> > > no script avaible
> > > I think a developer has to do it or at least I need the criterias from
> > > them. Without knowing
> > > the internal CS structure I don't know exactly what to check.
> > >
> > > Am 10.08.2015 um 13:51 schrieb Daan Hoogland:
> > > > Good point Norbert, I don't think there is. would be a great addition
> > > > though. You want to take this on or at least create a ticket for it
> in
> > > > jira?
> > > https://issues.apache.org/jira/issues/?jql=project%20%3D%20CLOUDSTACK
> > > >
> > > > On Mon, Aug 10, 2015 at 1:48 PM, Norbert Klein <
> > > > norbert.kl...@infosecprojects.net> wrote:
> > > >
> > > >> Hi all,
> > > >>
> > > >> what is the best way to check the cloudstack database consistency?
> > > >> Is there any tool or script available which we could use to make
> sure
> > > >> the database structure and content
> > > >> is in a valid state? (for example after manual changes).
> > > >>
> > > >> Thx
> > > >> Norbert
> > > >>
> > > >>
> > > >
> > >
> >
> >
> >
> > --
> > Daan
> >
>



-- 
Daan


[PROMOTE] CloudStack Silicon Valley User Group Meetup - September 10th, 2015

2015-08-13 Thread Karen Vuong
Hi all,



If you’re going to be in the Silicon Valley on September 10th - then join
us! The next CloudStack Silicon Valley Meetup has been scheduled for
Thursday, September 10th at Nuage Networks in Mountain View, CA. We have a
packed agenda with talks around CloudStack, SDN, NFV and Virtualization.



Date: Thursday, September 10th

Time: 6:00pm – 9:00pm

Address:  Nuage Networks, 755 Ravendale Dr., Mountain View, CA

Event link:
http://www.meetup.com/CloudStack-Silicon-Valley-User-Group/events/224611294/



Help Promote:



Click-to-tweet: http://ctt.ec/UN6Yb - RSVP now for the #CloudStack Silicon
Valley meetup on Sept 10! #NFV #SDN #Virtualization #Cloud all in one
meetup - clds.co/1gDYDmT



Click-to-tweet: http://ctt.ec/5ytK8 - Join the #CloudStack Silicon Valley
meetup on Sept 10! Thanks to @nuagenetworks for sponsoring - clds.co/1gDYDmT
#NFV #SDN #Cloud



Thanks,



Karen


[GitHub] cloudstack pull request: CLOUDSTACK-8710: Fixed applying iptables ...

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

https://github.com/apache/cloudstack/pull/690#issuecomment-130798498
  
Forgot to update this.. tested it and the rules are applied OK now. LGTM.

I will add more firewall rules so the feature will work again. Let's also 
look at the tests (if any).


---
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: Release EC2stack 1.0.0

2015-08-13 Thread Ian Duffy
> Yes and it seems to work ok with a recent version (1.7.42) of the aws cli
[1] once you tell it to use V2 signature.  I have not tried it with the ec2
cli tools [2].

Awesome! good spot.

We(Myself and Darren) noticed it stopped working with the latest awscli due
to changes in boto, our workaround due to not having time to work on it was
just to use an older version. Glad to see you found a better method.

> One thing that would help is to try and figure out a good place to put the
name/internal name/display name fields that are used in Cloudstack.

The language used between Cloudstack and AWS isn't identical. When we were
making EC2Stack we just tried to use best common sense for
the conversion of fields.

PrivateDNSName *to me* would be something that one would be able to
resolve... if displayname.whatever-set-domain.tld is resolvable at some
point in the system then this change seems sane. Otherwise use a tag.

If you want to do a PR totally happy to review it. its been awhile since I
worked on ec2stack so my memory is a bit foggy if I remember correctly it
should just be a case of modifying ec2stack/templates/instances.xml adding
the appropriate key with value of instance.displayname

On 12 August 2015 at 18:44, Carlos Reategui  wrote:

> > Has anyone used it lately with 4.5.x releases ?
> >
>
> Yes and it seems to work ok with a recent version (1.7.42) of the aws cli
> [1] once you tell it to use V2 signature.  I have not tried it with the ec2
> cli tools [2].
>
>
> >
> > feedback welcome, otherwise I will just cut a release and send a vote
> > thread.
> >
>
> One thing that would help is to try and figure out a good place to put the
> name/internal name/display name fields that are used in Cloudstack.  Those
> don't exist as part of the output of describe instances [3] and therefore
> you get something like the table below which is not terribly helpful unless
> you know the IP of the machine in question.  AWS generally uses tags for
> things like that. They will prompt you to fill in a Name tag by default in
> the launch wizard.  One possibility for Name could be to stick it in the
> PrivateDnsName, but not sure about the other 2.  Thoughts?
>
> thanks,
> Carlos
>
> [1] http://docs.aws.amazon.com/cli/latest/reference/
> [2]
>
> http://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/command-reference.html
> [3]
>
> http://docs.aws.amazon.com/cli/latest/reference/ec2/describe-instances.html#output
>
>
> Output of describe-instances with table output:
>
> --
>
> |DescribeInstances   |
>
> ++
>
> || Reservations ||
>
> |+--+---+|
>
> ||  *ReservationId*   |  *None* ||
>
> |+--+---+|
>
> |||  Instances |||
>
> ||+---++||
>
> |||  *Hypervisor*   |  *XenServer* |||
>
> |||  *ImageId*  |  *b4eb47a7-fc58-4b8a-a1d1-c67a475ed452*  |||
>
> |||  *InstanceId*   |  *382815c2-4af2-4fa1-852b-5b4c70602005*  |||
>
> |||  *InstanceType* |  *m1.small*  |||
>
> |||  *KeyName*  ||||
>
> |||  *LaunchTime*   |  *2014-09-27T17:40:39-0700*  |||
>
> |||  *PrivateIpAddress* |  *10.110.106.132*|||
>
> |||  *PublicIpAddress*  |  *10.110.106.132*|||
>
> ||+---++||
>
>  Placement
>
> |||+--+---+|||
>
>   *AvailabilityZone*|  *Sunnyvale*
>
>   *Tenancy* |  *default*  
>
> |||+--+---+|||
>
>    State  
>
> |||+---+--+|||
>
>   *Code* |  *80*  
>
>   *Name* |  *stopped* 
>
> |||+---+--+|||
>


Re: Release EC2stack 1.0.0

2015-08-13 Thread Ian Duffy
@seboga opened a ticket for the coveralls stuff
https://issues.apache.org/jira/servicedesk/customer/portal/1/INFRA-10123

I believe the pypi submission doesn't like the readme as an md and it will
render it weirdly on pypi (open to correction on this).
I've added you on the pypi entry so you should be able to upload the latest
binary to there.

On 13 August 2015 at 22:36, Ian Duffy  wrote:

> > Yes and it seems to work ok with a recent version (1.7.42) of the aws
> cli
> [1] once you tell it to use V2 signature.  I have not tried it with the ec2
> cli tools [2].
>
> Awesome! good spot.
>
> We(Myself and Darren) noticed it stopped working with the latest awscli
> due to changes in boto, our workaround due to not having time to work on it
> was just to use an older version. Glad to see you found a better method.
>
> > One thing that would help is to try and figure out a good place to put
> the
> name/internal name/display name fields that are used in Cloudstack.
>
> The language used between Cloudstack and AWS isn't identical. When we were
> making EC2Stack we just tried to use best common sense for
> the conversion of fields.
>
> PrivateDNSName *to me* would be something that one would be able to
> resolve... if displayname.whatever-set-domain.tld is resolvable at some
> point in the system then this change seems sane. Otherwise use a tag.
>
> If you want to do a PR totally happy to review it. its been awhile since I
> worked on ec2stack so my memory is a bit foggy if I remember correctly it
> should just be a case of modifying ec2stack/templates/instances.xml adding
> the appropriate key with value of instance.displayname
>
> On 12 August 2015 at 18:44, Carlos Reategui  wrote:
>
>> > Has anyone used it lately with 4.5.x releases ?
>> >
>>
>> Yes and it seems to work ok with a recent version (1.7.42) of the aws cli
>> [1] once you tell it to use V2 signature.  I have not tried it with the
>> ec2
>> cli tools [2].
>>
>>
>> >
>> > feedback welcome, otherwise I will just cut a release and send a vote
>> > thread.
>> >
>>
>> One thing that would help is to try and figure out a good place to put the
>> name/internal name/display name fields that are used in Cloudstack.  Those
>> don't exist as part of the output of describe instances [3] and therefore
>> you get something like the table below which is not terribly helpful
>> unless
>> you know the IP of the machine in question.  AWS generally uses tags for
>> things like that. They will prompt you to fill in a Name tag by default in
>> the launch wizard.  One possibility for Name could be to stick it in the
>> PrivateDnsName, but not sure about the other 2.  Thoughts?
>>
>> thanks,
>> Carlos
>>
>> [1] http://docs.aws.amazon.com/cli/latest/reference/
>> [2]
>>
>> http://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/command-reference.html
>> [3]
>>
>> http://docs.aws.amazon.com/cli/latest/reference/ec2/describe-instances.html#output
>>
>>
>> Output of describe-instances with table output:
>>
>> --
>>
>> |DescribeInstances   |
>>
>> ++
>>
>> || Reservations ||
>>
>> |+--+---+|
>>
>> ||  *ReservationId*   |  *None* ||
>>
>> |+--+---+|
>>
>> |||  Instances |||
>>
>> ||+---++||
>>
>> |||  *Hypervisor*   |  *XenServer* |||
>>
>> |||  *ImageId*  |  *b4eb47a7-fc58-4b8a-a1d1-c67a475ed452*  |||
>>
>> |||  *InstanceId*   |  *382815c2-4af2-4fa1-852b-5b4c70602005*  |||
>>
>> |||  *InstanceType* |  *m1.small*  |||
>>
>> |||  *KeyName*  ||||
>>
>> |||  *LaunchTime*   |  *2014-09-27T17:40:39-0700*  |||
>>
>> |||  *PrivateIpAddress* |  *10.110.106.132*|||
>>
>> |||  *PublicIpAddress*  |  *10.110.106.132*|||
>>
>> ||+---++||
>>
>>  Placement
>>
>> |||+--+---+|||
>>
>>   *AvailabilityZone*|  *Sunnyvale*
>>
>>   *Tenancy* |  *default*  
>>
>> |||+--+---+|||
>>
>>    State  
>>
>> |||+---+--+|||
>>
>>   *Code* |  *80*  
>>
>>   *Name* |  *stopped*  

Re: Release EC2stack 1.0.0

2015-08-13 Thread Carlos Reategui
Hi Ian,

PrivateDNSName *to me* would be something that one would be able to
> resolve... if displayname.whatever-set-domain.tld is resolvable at some
> point in the system then this change seems sane. Otherwise use a tag.
>
I suggested Name because that is what the hostname gets set to.  You can
also resolve that name when dns querying the VR (at least on my basic
network setup).  I don't know what display name is used for.  It does not
come across in any of the meta-data from the VR.


> If you want to do a PR totally happy to review it. its been awhile since I
> worked on ec2stack so my memory is a bit foggy if I remember correctly it
> should just be a case of modifying ec2stack/templates/instances.xml adding
> the appropriate key with value of instance.displayname
>
I'm out for the next few days but I'll have a look next week and see if I
can figure that out.  May be a good solution for now.

cheers
Carlos


Build failed in Jenkins: build-systemvm-master #592

2015-08-13 Thread jenkins
See 

Changes:

[Daan Hoogland] coverity 1315774: improvement of code to negate false positive

[Daan Hoogland] coverity 1315775: proper getting of networkLabel

[mike.tutkowski] Fixing a FindBugs issue related to PR 674

[priti.sarap] 
CLOUDSTACK-8693-Adding-missing-code-in-testpath_same_vm_name.py_testpatha

[sanjeev] test case automated for list template pagination

[wido] CLOUDSTACK-8133 Added Virtualmachine count and ID's to 
listSecurityGroups response.

[wido] Added unit tests for CLOUDSTACK-8133

--
[...truncated 3132 lines...]
   
Hit http://http.us.debian.org wheezy-updates Release.gpg

   
38% [Connecting to lug.mtu.edu] [Waiting for headers]
 
Hit http://security.debian.org wheezy/updates Release

38% [Connecting to lug.mtu.edu] [Waiting for headers]
 
Hit http://http.us.debian.org wheezy Release

 
38% [Connecting to lug.mtu.edu (141.219.84.84)]
   
38% [Release gpgv 102 kB] [Connecting to lug.mtu.edu (141.219.84.84)] [Waiting 
   
Hit http://http.us.debian.org wheezy-updates Release

   
38% [Release gpgv 102 kB] [Waiting for headers]
   
Hit http://http.debian.net wheezy-backports Release.gpg

   
44% [Release gpgv 102 kB]
42% [Waiting for headers]
 
42% [Release gpgv 168 kB] [Waiting for headers] [Waiting for headers]
 
42% [Release gpgv 168 kB] [Waiting for headers]
40% [Waiting for headers] [Waiting for headers]
   
40% [Release gpgv 131 kB] [Waiting for headers] [Waiting for headers] [Waiting 
   
Hit http://security.debian.org wheezy/updates/main Sources

   
40% [Release gpgv 131 kB] [Waiting for headers] [Waiting for headers]
 
39% [Waiting for headers] [Waiting for headers]
   
Hit http://http.debian.net wheezy-backports Release

39% [Waiting for headers] [Waiting for headers]
   
39% [Release gpgv 147 kB] [Waiting for headers] [Waiting for headers]
 
39% [Sources 995 kB] [Release gpgv 147 kB] [Waiting for headers] [Waiting for h
   
Hit http://http.us.debian.org wheezy/main Sources

   
39% [Sources 995 kB] [Release gpgv 147 kB] [Waiting for headers]

Hit http://http.us.debian.org wheezy/main i386 Packages


39% [Sources 995 kB] [Release gpgv 147 kB] [Waiting for headers] [Waiting for h
   
Hit http://security.debian.org wheezy/updates/main i386 Packages

39% [Sources 995 kB] [Release gpgv 147 kB] [Waiting for headers] [Waiting for h
   
40% [Sources 995 kB] [Waiting for headers] [Waiting for headers]

Hit http://http.us.debian.org wheezy/main Translation-en


40% [Sources 995 kB] [Waiting for headers] [Waiting for headers] [Waiting for h
   
Hit http://security.debian.org wheezy/updates/main Translation-en

   
40% [Sources 995 kB] [Waiting for headers] [Waiting for headers]

100% [Waiting for headers] [Waiting for headers]

100% [Sources 25.3 MB] [Waiting for headers] [Waiting for headers]
  
Hit http://http.us.debian.org wheezy-updates/main Sources

100% [Sources 25.3 MB] [Waiting for headers] [Waiting for headers]
  

Re: [SHARE] VM migrations failing with Ubuntu 14.04.3

2015-08-13 Thread Milamber

Hello Rohit,

On physical environment or a virtual environment (cloudstack under KVM?) ?

I will try to setup the same env here to validate or not the issue.

Milamber

On 13/08/2015 13:06, Rohit Yadav wrote:

Hi all,

I’ve been testing a bug on KVM which involves VM migration, and in 
that process I found that VM migrations failed in my environment twice 
even with clean setups of Ubuntu 14.04.3 (lastest and updated 
packages) based KVM hosts against CloudStack 4.5.2-SNAPSHOT (latest 4.5).


I wanted to share this issue to confirm if this is just my environment 
or if someone experienced similar issue with latest Ubuntu 14.04 based 
KVM hosts.


The specific errors I found in the logs were something like 
"qemuMigrationCancelDriveMirror:1421 : Unable to stop block job”, 
which are likely reproduced by others such as:


https://www.redhat.com/archives/libvirt-users/2014-June/msg00057.html
http://lists.nongnu.org/archive/html/qemu-devel/2014-12/msg03093.html

A possible solution could be to download libvirt to 1.1.x.

Regards,
Rohit Yadav
Software Architect, ShapeBlue




M. +91 88 262 30892 | rohit.ya...@shapeblue.com 


Blog: bhaisaab.org  | Twitter: @_bhaisaab




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.




Re: Database consistency check

2015-08-13 Thread Rajani Karuturi
I remember seeing a PR for it long time ago.
https://github.com/apache/cloudstack/pull/188

~Rajani

On Thu, Aug 13, 2015 at 6:33 PM, Daan Hoogland 
wrote:

> enter a feature request in jira and start poking. (i might join in)
>
> On Thu, Aug 13, 2015 at 12:07 PM, cs user  wrote:
>
> > This would be fantastic if it can be written.
> >
> > On Mon, Aug 10, 2015 at 1:17 PM, Daan Hoogland 
> > wrote:
> >
> > > Norbert, I haven't begun to think about it. including dev@ to gather
> > > ideas.
> > > The db structure is based on updates since 4.0. A new install will be a
> > 4.0
> > > DB which will then undergo a series of upgrade steps. A validation of
> the
> > > db could be divided in a basic part and an incremental part, maybe.
> > >
> > > A good tactic might be to start a collection of smaller checks that
> > > validate only individual parts. An example would be orphaned volumes,
> or
> > > removed volumes that are still attached to VMs. completeness of link
> > tables
> > > is another one.
> > >
> > > This is not going to be caught in a single story, i'm afraid.
> > >
> > > On Mon, Aug 10, 2015 at 2:03 PM, Norbert Klein <
> > > norbert.kl...@infosecprojects.net> wrote:
> > >
> > > > Do you have any idea where to start? (I am not a developer). If there
> > is
> > > > no script avaible
> > > > I think a developer has to do it or at least I need the criterias
> from
> > > > them. Without knowing
> > > > the internal CS structure I don't know exactly what to check.
> > > >
> > > > Am 10.08.2015 um 13:51 schrieb Daan Hoogland:
> > > > > Good point Norbert, I don't think there is. would be a great
> addition
> > > > > though. You want to take this on or at least create a ticket for it
> > in
> > > > > jira?
> > > >
> https://issues.apache.org/jira/issues/?jql=project%20%3D%20CLOUDSTACK
> > > > >
> > > > > On Mon, Aug 10, 2015 at 1:48 PM, Norbert Klein <
> > > > > norbert.kl...@infosecprojects.net> wrote:
> > > > >
> > > > >> Hi all,
> > > > >>
> > > > >> what is the best way to check the cloudstack database consistency?
> > > > >> Is there any tool or script available which we could use to make
> > sure
> > > > >> the database structure and content
> > > > >> is in a valid state? (for example after manual changes).
> > > > >>
> > > > >> Thx
> > > > >> Norbert
> > > > >>
> > > > >>
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Daan
> > >
> >
>
>
>
> --
> Daan
>


[GitHub] cloudstack pull request: CLOUDSTACK-8725 RVR functionality is brok...

2015-08-13 Thread bvbharatk
Github user bvbharatk commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/692#discussion_r37048693
  
--- Diff: systemvm/patches/debian/config/opt/cloud/bin/cs/CsRedundant.py ---
@@ -96,7 +96,7 @@ def _redundant_on(self):
 d = s.replace(".templ", "")
 CsHelper.copy_if_needed("%s/%s" % (self.CS_TEMPLATES_DIR, s), 
"%s/%s" % (self.CS_ROUTER_DIR, d))
 CsHelper.copy_if_needed("%s/%s" % (self.CS_TEMPLATES_DIR, 
"keepalived.conf.templ"), self.KEEPALIVED_CONF)
-CsHelper.copy_if_needed("%s/%s" % (self.CS_TEMPLATES_DIR, 
"conntrackd.conf.templ"), self.CONNTRACKD_CONF)
+CsHelper.copy("%s/%s" % (self.CS_TEMPLATES_DIR, 
"conntrackd.conf.templ"), self.CONNTRACKD_CONF)
--- End diff --

Hi Daan,

This will be needed only in case of redundant router. The current code 
tries to copy this file only if it is a rvr. It will not be copied for normal 
routers.


---
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: [SHARE] VM migrations failing with Ubuntu 14.04.3

2015-08-13 Thread Rohit Yadav

On 14-Aug-2015, at 4:13 am, Milamber 
mailto:milam...@apache.org>> wrote:

On physical environment or a virtual environment (cloudstack under KVM?) ?

In my case I was running Ubuntu 14.04.3 KVM hosts as VMs (nested 
virtualization), in one test on top of a Ubuntu 15.04 host and in another on 
top of Ubuntu 14.04.2 host, it failed for me in both cases.

Regards,
Rohit Yadav
Software Architect, ShapeBlue


[cid:9DD97B41-04C5-45F0-92A7-951F3E962F7A]


M. +91 88 262 30892 | 
rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab




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.


Re: [GitHub] cloudstack pull request: CLOUDSTACK-8723: Verify API call "listUsa...

2015-08-13 Thread Sanjeev N
LGTM!!

On Tue, Aug 11, 2015 at 4:56 PM, pritisarap12  wrote:

> Github user pritisarap12 commented on a diff in the pull request:
>
> https://github.com/apache/cloudstack/pull/675#discussion_r36734678
>
> --- Diff: test/integration/testpaths/testpath_usage.py ---
> @@ -2879,6 +2882,60 @@ def test_07_positive_tests_usage(self):
>  # aggregation period and current period will give the network
> usage
>  return
>
> +@attr(tags=["advanced", "basic"], required_hardware="false")
> +def test_08_checkNewVolumein_listUsageRecords(self):
> +""" Test case to check if new volume crated after
> +restore VM is listed in listUsageRecords
> +# 1. Launch a VM
> +# 2. Restore the VM
> +# 3. Check if the new volume created is listed in
> listUsageRecords API
> +"""
> +
> +# Step 1
> +vm_cluster = VirtualMachine.create(
> +self.userapiclient,
> +self.testdata["small"],
> +templateid=self.template.id,
> +accountid=self.account.name,
> +domainid=self.account.domainid,
> +serviceofferingid=self.service_offering.id,
> +zoneid=self.zone.id,
> +)
> +
> +volumes_root_list = list_volumes(
> +self.apiclient,
> +virtualmachineid=vm_cluster.id,
> +type='ROOT',
> +listall=True
> +)
> +
> +root_volume = volumes_root_list[0]
> +
> +# Step 2
> +vm_cluster.restore(self.apiclient)
> +
> +qresultset = self.dbclient.execute(
> +"select id from volumes where name='%s' and
> state='Ready';" %
> +root_volume.name)
> +
> +self.assertNotEqual(
> +len(qresultset),
> +0,
> +"Check DB Query result set"
> +)
> +
> +volumeCheck = "Volume Id: " + str(qresultset[0][0]) + " usage
> time"
> +
> +response = self.listUsageRecords(usagetype=6)
> +self.assertEqual(response[0], PASS, response[1])
> +UsageRecords = [record for record in response[1]
> +if volumeCheck in record.description]
> +# Step 3
> +self.assertNotEqual(
> --- End diff --
>
> No, In step 3 we are verifying that UsageRecords should not be None.
> or I have updated test case to fail it if UsageRecords  is empty.
>
>
> ---
> 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: APIServlet, AuthCmd, SAML fixes

2015-08-13 Thread abhinandanprateek
Github user abhinandanprateek commented on the pull request:

https://github.com/apache/cloudstack/pull/650#issuecomment-130971943
  
Looks good to me.


---
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: APIServlet, AuthCmd, SAML fixes

2015-08-13 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/650#issuecomment-130972448
  
![screen shot 2015-08-14 at 11 04 19 
am](https://cloud.githubusercontent.com/assets/95203/9267876/3cadb766-4274-11e5-8b23-2c1dd49a1bc9.png)

Discussed the PR with Funs on slack channel, will add few unit tests and 
merge it.


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


Build failed in Jenkins: build-4.5 #507

2015-08-13 Thread jenkins
See 

Changes:

[Rohit Yadav] CLOUDSTACK-8566: Strips the username and password credentials 
from host details

[Rohit Yadav] CLOUDSTACK-8613, CLOUDSTACK-6301: Dump KVM domain XML with secure 
flag

--
[...truncated 3105 lines...]
[WARNING] *
[WARNING] * Your build is requesting parallel execution, but project  *
[WARNING] * contains the following plugin(s) that have goals not marked   *
[WARNING] * as @threadSafe to support parallel building.  *
[WARNING] * While this /may/ work fine, please look for plugin updates*
[WARNING] * and/or request plugins be made thread-safe.   *
[WARNING] * If reporting an issue, report it against the plugin in*
[WARNING] * question, not against maven-core  *
[WARNING] *
[WARNING] The following plugins are not marked @threadSafe in Apache CloudStack 
Plugin - Network Brocade VCS:
[WARNING] org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.7.1
[WARNING] Enable debug to see more precisely which goals are not marked 
@threadSafe.
[WARNING] *
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-plugin-network-vcs ---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 

 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-plugin-network-vcs ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-plugin-network-vns ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
cloud-plugin-network-vns ---
[INFO] Compiling 29 source files to 

[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-jaxb2-plugin:0.7.1:generate (interface) @ 
cloud-plugin-network-vcs ---
Cannot find CatalogManager.properties
[INFO] 
[INFO] --- license-maven-plugin:2.5:check (cloudstack-checklicence) @ 
cloud-plugin-network-nvp ---
[INFO] Checking licenses...
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-plugin-network-nvp ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-plugin-network-nvp ---
[INFO] Compiling 7 source files to 

Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.774 sec
Running org.apache.cloudstack.internallbvmmgr.InternalLBVMManagerTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.909 sec

Results :

Tests run: 35, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Plugin - Stratosphere SSP 4.5.2-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-plugin-network-ssp ---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 

 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-plugin-network-ssp ---
[INFO] 
[INFO] --- maven-jaxb2-plugin:0.7.1:generate (portprofile) @ 
cloud-plugin-network-vcs ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-plugin-network-ssp ---
[INFO] 
[INFO] --- maven-jaxb2-plugin:0.7.1:generate (show-vcs) @ 
cloud-plugin-network-vcs ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-plugin-network-vcs ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-plugin-network-ssp ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin

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

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

https://github.com/apache/cloudstack/pull/351#issuecomment-130973969
  
Removed the MigrateCompleteCommand 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.
---


Build failed in Jenkins: build-master-noredist #4520

2015-08-13 Thread jenkins
See 

Changes:

[Rohit Yadav] CLOUDSTACK-8566: Strips the username and password credentials 
from host details

[Rohit Yadav] CLOUDSTACK-8613, CLOUDSTACK-6301: Dump KVM domain XML with secure 
flag

--
[...truncated 10009 lines...]
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-engine-storage-datamotion ---
[INFO] Building jar: 

[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ 
cloud-engine-storage-datamotion ---
[INFO] 
[INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ 
cloud-engine-storage-datamotion ---
[INFO] 
[INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @ 
cloud-plugin-storage-volume-default ---
[INFO] Building jar: 

[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default) @ 
cloud-plugin-storage-volume-default ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ 
cloud-plugin-storage-volume-default ---
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/apache/cloudstack/cloud-plugin-storage-volume-default/4.6.0-SNAPSHOT/cloud-plugin-storage-volume-default-4.6.0-SNAPSHOT.jar
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/apache/cloudstack/cloud-plugin-storage-volume-default/4.6.0-SNAPSHOT/cloud-plugin-storage-volume-default-4.6.0-SNAPSHOT.pom
[INFO] 
[INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @ 
cloud-engine-storage-datamotion ---
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ 
cloud-engine-storage-datamotion ---
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/apache/cloudstack/cloud-engine-storage-datamotion/4.6.0-SNAPSHOT/cloud-engine-storage-datamotion-4.6.0-SNAPSHOT.jar
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/apache/cloudstack/cloud-engine-storage-datamotion/4.6.0-SNAPSHOT/cloud-engine-storage-datamotion-4.6.0-SNAPSHOT.pom
log4j:WARN No appenders could be found for logger 
(org.springframework.test.context.junit4.SpringJUnit4ClassRunner).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
2015-08-14 05:57:47 DEBUG ConnectionTest:72 - getresult call: check_dom0_port - 
[ovm-1, 8899, 1]
2015-08-14 05:57:47 ERROR CloudstackPlugin:129 - Dom0 port check failed: 
com.cloud.hypervisor.ovm3.objects.Ovm3ResourceException: Client call 
check_dom0_port to null with [ovm-1, 8899, 1] went wrong: Exception: null
2015-08-14 05:57:47 DEBUG ConnectionTest:72 - getresult call: ovs_mkdirs - 
[/tmp/testing, 755]
2015-08-14 05:57:47 DEBUG ConnectionTest:72 - getresult call: ping - [ovm-1]
2015-08-14 05:57:47 DEBUG ConnectionTest:72 - getresult call: 
ovs_upload_ssh_key - [/tmp, This is some content]
2015-08-14 05:57:47 DEBUG ConnectionTest:72 - getresult call: ovs_mkdirs - 
[/tmp/testing]
2015-08-14 05:57:47 DEBUG ConnectionTest:72 - getresult call: check_domr_ssh - 
[169.254.3.2]
2015-08-14 05:57:47 DEBUG ConnectionTest:72 - getresult call: 
check_dom0_storage_health - [, , , 120]
2015-08-14 05:57:47 DEBUG ConnectionTest:72 - getresult call: 
check_dom0_storage_health - [, , , 120]
2015-08-14 05:57:47 DEBUG ConnectionTest:72 - getresult call: 
ovs_control_interface - [control0, 169.254.0.1/16]
2015-08-14 05:57:47 DEBUG ConnectionTest:72 - getresult call: 
check_dom0_storage_health_check - [, , , 120, 1]
2015-08-14 05:57:47 DEBUG ConnectionTest:72 - getresult call: 
ovs_domr_upload_file - [test, /tmp, test.txt, This is some content]
2015-08-14 05:57:47 DEBUG ConnectionTest:72 - getresult call: get_vncport - 
[test]
2015-08-14 05:57:47 DEBUG ConnectionTest:72 - getresult call: ovs_dom0_stats - 
[xenbr0]
2015-08-14 05:57:47 DEBUG ConnectionTest:72 - getresult call: ovs_domU_stats - 
[test]
2015-08-14 05:57:47 DEBUG

[GitHub] cloudstack pull request: APIServlet, AuthCmd, SAML fixes

2015-08-13 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/650#issuecomment-130988339
  
Added a unit test for SAML2AuthManager, will merge after Travis goes green


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


Build failed in Jenkins: build-master-jdk18 #273

2015-08-13 Thread jenkins
See 

Changes:

[Rohit Yadav] CLOUDSTACK-8566: Strips the username and password credentials 
from host details

[Rohit Yadav] CLOUDSTACK-8613, CLOUDSTACK-6301: Dump KVM domain XML with secure 
flag

--
[...truncated 2691 lines...]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-plugin-hypervisor-xenserver ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ 
cloud-plugin-hypervisor-xenserver ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 99 source files to 

[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-plugin-hypervisor-xenserver ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-plugin-hypervisor-xenserver ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 7 source files to 

[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ 
cloud-plugin-hypervisor-xenserver ---
[INFO] Surefire report directory: 


---
 T E S T S
---
Running 
com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.XenServer56FP1WrapperTest
log4j:WARN No appenders could be found for logger 
(com.cloud.hypervisor.xenserver.resource.XenServerConnectionPool).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.799 sec - in 
com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.XenServer56FP1WrapperTest
Running 
com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.XenServer610WrapperTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.947 sec - in 
com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.XenServer610WrapperTest
Running 
com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.XcpServerWrapperTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.202 sec - in 
com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.XcpServerWrapperTest
Running 
com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.XenServer56WrapperTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.278 sec - in 
com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.XenServer56WrapperTest
Running 
com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.XenServer620SP1WrapperTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.221 sec - in 
com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.XenServer620SP1WrapperTest
Running 
com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.XenServer620WrapperTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.049 sec - in 
com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.XenServer620WrapperTest
Running 
com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixRequestWrapperTest
Tests run: 81, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.624 sec - in 
com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixRequestWrapperTest

Results :

Tests run: 104, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Plugin - Hypervisor KVM 4.6.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-plugin-hypervisor-kvm ---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 

 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-plugin-hypervisor-kvm ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-plugin-hypervisor-kvm 

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

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

https://github.com/apache/cloudstack/pull/351#issuecomment-130996684
  
Unit test which is failing is testing KVM code and is not related to any 
changes in this file


---
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: APIServlet, AuthCmd, SAML fixes

2015-08-13 Thread bhaisaab
Github user bhaisaab closed the pull request at:

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


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