RE: [ACS44] Cherry pick for CLOUDSTACK-6575

2014-05-11 Thread Saksham Srivastava
Resending it as the original mail was not delivered.

Thanks,
Saksham

From: Saksham Srivastava
Sent: Thursday, May 8, 2014 1:26 PM
To: dev@cloudstack.apache.org
Subject: [ACS44] Cherry pick for CLOUDSTACK-6575


Hi Daan/Hugo,



Can you please cherry-pick following to 4.4:



Commit hash:  84135cd302ab5fb944a28e73b394d02a8d1c17e2



CLOUDSTACK-6575: Deploy VM failed with NPE while using custom compute offering



Contained in branches: 4.4-forward, master



Thanks,

Saksham



Re: [ACS44] Cherry pick for CLOUDSTACK-6595

2014-05-11 Thread Daan Hoogland
On Wed, May 7, 2014 at 10:53 PM, Alena Prokharchyk
 wrote:
> b9284db857cd001e75926cb7c49b6aff4ab63695


done

-- 
Daan


Re: 4.4 release-notes

2014-05-11 Thread Daan Hoogland
https://issues.apache.org/jira/secure/IssueNavigator.jspa?mode=hide&requestId=12327096
https://issues.apache.org/jira/secure/IssueNavigator.jspa?mode=hide&requestId=12327097

it is the dashboard I wanted to share, btw

On Wed, May 7, 2014 at 3:59 AM, Pierre-Luc Dion  wrote:
> Daan, you should be able to create public issue filters.
>
> Please refer to the case with INFRA,
> https://issues.apache.org/jira/browse/INFRA-7679
>
> Thanks,
>
>
> Pierre-Luc Dion
> Architecte de Solution Cloud | Cloud Solutions Architect
> 855-OK-CLOUD (855-652-5683) x1101
> - - -
>
> *CloudOps*420 rue Guy
> Montréal QC  H3J 1S6
> www.cloudops.com
> @CloudOps_
>
>
> On Tue, May 6, 2014 at 9:16 AM, David Nalley  wrote:
>
>> Animesh had to be granted karma on Jira to share filters/dashboards.
>>
>> --David
>>
>>
>> On Tue, May 6, 2014 at 9:10 AM, Sebastien Goasguen 
>> wrote:
>>
>> >
>> > On May 6, 2014, at 4:34 AM, Daan Hoogland 
>> wrote:
>> >
>> > > I think Pierre-Luc's idea is good and infra will surely pick up the
>> > > ticket one of these days. The dashboard is Animesh's work. I think he
>> > > used private filters.
>> >
>> > I agree, I built the RN for 4.3 based on animesh filters.
>> >
>> > I am just wondering why this needs special karma or that the filters are
>> > private.
>> >
>> > >
>> > > On Tue, May 6, 2014 at 10:19 AM, Sebastien Goasguen 
>> > wrote:
>> > >> Maybe we can ask animesh how he did it for 4.3 ...
>> > >>
>> > >> -sebastien
>> > >>
>> > >>
>> > >> On Mon, May 5, 2014 at 4:35 PM, Pierre-Luc Dion 
>> > wrote:
>> > >>
>> > >>> Request Created under ASF infrastructure team; INFRA project.
>> > >>>
>> > >>> Thanks David,
>> > >>>
>> > >>>
>> > >>> Pierre-Luc Dion
>> > >>> Architecte de Solution Cloud | Cloud Solutions Architect
>> > >>> 855-OK-CLOUD (855-652-5683) x1101
>> > >>> - - -
>> > >>>
>> > >>> *CloudOps*420 rue Guy
>> > >>> Montréal QC  H3J 1S6
>> > >>> www.cloudops.com
>> > >>> @CloudOps_
>> > >>>
>> > >>>
>> > >>> On Mon, May 5, 2014 at 4:17 PM, David Nalley  wrote:
>> > >>>
>> >  You'll need to file a ticket with infra.
>> > 
>> >  On Mon, May 5, 2014 at 2:52 PM, Daan Hoogland <
>> > daan.hoogl...@gmail.com>
>> >  wrote:
>> > > Animesh,
>> > >
>> > > Can you (give me rights to) add these filters to the release
>> > dashboard?
>> > >
>> > > On Fri, May 2, 2014 at 4:43 AM, Pierre-Luc Dion <
>> pd...@cloudops.com>
>> >  wrote:
>> > >> 4.4.0 Fixed Issues
>> > >> project = CLOUDSTACK AND type = Bug AND affectedVersion in (4.2.0,
>> >  4.2.1,
>> > >> 4.3.0) AND fixVersion = 4.4.0 AND resolution != "\"Unresolved\""
>> > ORDER
>> >  BY
>> > >> created DESC, priority DESC, key ASC
>> > >>
>> > >> 4.4.0 Known Issues
>> > >> project = CLOUDSTACK AND type = Bug AND (affectedVersion = 4.4.0
>> OR
>> > >> fixVersion = 4.4.0) AND resolution is EMPTY AND level = "Public"
>> > ORDER
>> >  BY
>> > >> priority DESC, key ASC
>> > >>
>> > >
>> > >
>> > >
>> > > --
>> > > Daan
>> > 
>> > >>>
>> > >>
>> > >>
>> > >>
>> > >> --
>> > >> ---
>> > >> Sebastien Goasguen
>> > >> Open Source Cloud Evangelist, Cloudstack
>> > >> http://sites.google.com/site/runseb/
>> > >
>> > >
>> > >
>> > > --
>> > > Daan
>> >
>> >
>>



-- 
Daan


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

2014-05-11 Thread jenkins
See 

--
[...truncated 18312 lines...]

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

[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi ---
[INFO] Cobertura 2.0.3 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/ec2/AmazonEC2SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/s3/AmazonS3SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SAcl.java.  Ensure this class was instrumented, and this 
data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SBucket.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SHost.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/BucketPolicyDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackAccountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackConfigurationDao.java.  Ensure this 
class was instrumented, and this data file contains the instrumentation 
information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackSvcOfferingDao.java.  Ensure this class 
was instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackUserDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostMountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartPartsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartUploadsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultipartMetaDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does 

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

2014-05-11 Thread jenkins
See 

--
[...truncated 18312 lines...]

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

[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi ---
[INFO] Cobertura 2.0.3 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/ec2/AmazonEC2SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/s3/AmazonS3SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SAcl.java.  Ensure this class was instrumented, and this 
data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SBucket.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SHost.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/BucketPolicyDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackAccountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackConfigurationDao.java.  Ensure this 
class was instrumented, and this data file contains the instrumentation 
information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackSvcOfferingDao.java.  Ensure this class 
was instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackUserDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostMountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartPartsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartUploadsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultipartMetaDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does 

Re: Review Request 21131: Remove hard coding of guest OS mapping for KVM

2014-05-11 Thread Nitin Mehta

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21131/#review42433
---

Ship it!


Ship It!

- Nitin Mehta


On May 7, 2014, 12:26 a.m., Amogh Vasekar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/21131/
> ---
> 
> (Updated May 7, 2014, 12:26 a.m.)
> 
> 
> Review request for cloudstack and Nitin Mehta.
> 
> 
> Bugs: 
> https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/CLOUDSTACK-6358
> 
> https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/CLOUDSTACK-6358
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> As a part of supporting dynamic guest OS defined by user, removing the 
> hard-coded dependencies.
> This patch is for KVM
> This patch is to be applied after https://reviews.apache.org/r/21087/
> 
> 
> Diffs
> -
> 
>   engine/schema/src/com/cloud/storage/dao/GuestOSHypervisorDaoImpl.java 
> 3b05120f5b9d5bcf4bab6ef25cd1dab2a6043c0d 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
>  345a8eea0cf3033eef10accdd94639bf014b0fb3 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java
>  4032305b03268b4b8b93a3f41038dce83bcaaf19 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/VifDriverBase.java
>  d89d71a1b2a93959ebcd4f0df529901e12445617 
>   server/src/com/cloud/hypervisor/KVMGuru.java 
> 174b32db578f66da83ed86e942f7f5b316512a55 
> 
> Diff: https://reviews.apache.org/r/21131/diff/
> 
> 
> Testing
> ---
> 
> 1. Local testing on KVM
> 2. Successfully got up system VMs
> 3. Successfully created a CentOS VM
> 4. Snapshots are not supported for KVM
> 
> 
> Thanks,
> 
> Amogh Vasekar
> 
>



Re: cherry-pick requests

2014-05-11 Thread Daan Hoogland
Rajesh,

neither of then cherry-pick cleanly to 4.4 :(

sorry

On Sun, May 11, 2014 at 4:45 AM, Rajesh Battala
 wrote:
> Hi Daan,
>
> I have fixed the ^M characters with this fix.
>
>
> please cherry-pick
> 1. cf41ccaa5b6475dace0bddbe6681c98cc5149189
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=6cd1c7ab32a5e4ca3228b25aa6bd6158cb57963c
>  CLOUDSTACK-6528 SetupGuestNetwork command is not deleting the guest network 
> configured on the eth device
>
> and then cherry pick
> 648a724dfc49222873124089464ccda92278fa9f
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=648a724dfc49222873124089464ccda92278fa9f
> which will solve line ending issues.
>
> Thanks
> Rajesh Battala
>
>
>
> -Original Message-
> From: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
> Sent: Monday, May 5, 2014 5:17 PM
> To: dev@cloudstack.apache.org
> Subject: RE: cherry-pick requests
>
> those are .cs files. As I was working with them on windows it could have got 
> introduced.
> I will correct them and request for a new cherry-pick.
>
> Thanks
> Rajesh Battala
>
> -Original Message-
> From: Daan Hoogland [mailto:daan.hoogl...@gmail.com]
> Sent: Monday, May 5, 2014 2:52 PM
> To: dev
> Subject: Re: cherry-pick requests
>
> cf41ccaa5b6475dace0bddbe6681c98cc5149189 is introducing ^M line endings. 
> please make sure your env is clean. I hate to be nitpicking but can you 
> fix/prevent this?
>
> I pushed the other two to wip-git.
>
> On Mon, May 5, 2014 at 10:44 AM, Rajesh Battala  
> wrote:
>> Hi Daan,
>>
>> Please cherry-pick these commits to 4.4 branch.
>>
>> 1 6cd1c7ab32a5e4ca3228b25aa6bd6158cb57963c
>>
>> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=6c
>> d1c7ab32a5e4ca3228b25aa6bd6158cb57963c
>> CLOUDSTACK-6528 SetupGuestNetwork command is not deleting the guest
>> network configured on the eth device
>>
>>
>> 2. cf41ccaa5b6475dace0bddbe6681c98cc5149189
>>
>> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=cf
>> 41ccaa5b6475dace0bddbe6681c98cc5149189
>> CLOUDSTACK-6518 [Hyper-V] Efficient way of finding the empty nic in
>> VR/VpcVR to configure VPC entities
>>
>> 3. 144990df11b2d7eb2ece50a043aea26b9eddfdda
>> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=14
>> 4990df11b2d7eb2ece50a043aea26b9eddfdda
>> Fixed testSetupGuestNetwork unit test as the SetupGuestnetwork prepare
>> command got changed
>>
>>
>> Thanks
>> Rajesh Battala
>
>
>
> --
> Daan



-- 
Daan


Re: [ACS44] Cherry pick for CLOUDSTACK-6575

2014-05-11 Thread Daan Hoogland
On Sun, May 11, 2014 at 8:36 AM, Saksham Srivastava
 wrote:
> 84135cd302ab5fb944a28e73b394d02a8d1c17e2


is in

-- 
Daan


Re: Review Request 21156: CLOUDSTACK-6575: Deploy VM failed with NPE while using custom compute offering

2014-05-11 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21156/#review42640
---


Commit 3943e0ba1c6fc343ac928980bb7309c7256b4e8e in cloudstack's branch 
refs/heads/4.4 from Saksham Srivastava
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=3943e0b ]

CLOUDSTACK-6575: Deploy VM failed with NPE while using custom compute offering


- ASF Subversion and Git Services


On May 7, 2014, 12:22 p.m., Saksham Srivastava wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/21156/
> ---
> 
> (Updated May 7, 2014, 12:22 p.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-6575
> https://issues.apache.org/jira/browse/CLOUDSTACK-6575
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Deploy VM failed with NPE while using custom compute offering:
> Steps to reproduce:
> 1. Install and configure Adv zone.
> 2. Create Compute offering with Custom option enabled.
> 3. Deploy VM using Default Cent OS template using Custom option enabled 
> Compute offering.
> 
> Root Cause:
> In schema-410to420.sql ALTER TABLE `cloud`.`disk_offering` ADD COLUMN 
> `customized_iops` tinyint(1) unsigned COMMENT 'Should customized IOPS be 
> displayed to the end user'; 
> 
> The default value of customized_iops is null and ServiceOfferingVO construtor 
> calls the super constructor in DiskOfferingVO passing null to boolean value, 
> hence the NPE.
> 
> Fix: Change Boolean to boolean with appropriate conversions.
> 
> 
> Diffs
> -
> 
>   engine/schema/src/com/cloud/service/ServiceOfferingVO.java 3be0aaa 
> 
> Diff: https://reviews.apache.org/r/21156/diff/
> 
> 
> Testing
> ---
> 
> Deployed vm with customized_iops as null in disk_offering table.
> Deployed vm with customized_iops as not null in disk_offering table.
> Both the deployments pass.
> Build passes successfully.
> 
> 
> Thanks,
> 
> Saksham Srivastava
> 
>



CloudMonkey 5.1 error

2014-05-11 Thread Daan Hoogland
Not sure if this is a bug in code or in user:
daan:~> cloudmonkey -d ~/.cloudmonkey/local.root
Traceback (most recent call last):
  File "/usr/local/bin/cloudmonkey", line 5, in 
from pkg_resources import load_entry_point
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
line 2603, in 
working_set.require(__requires__)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
line 666, in require
needed = self.resolve(parse_requirements(requirements))
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
line 565, in resolve
raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: requests

I did sudo pip install cloudmonkey

and got
daan:~> pip list | grep cloud
cloudmonkey (5.1.0)

Any change in reqs?
any extra reqs on macosx?

-- 
Daan


[ACS4.4] Cherry-pick CLOUDSTACK-6600

2014-05-11 Thread Min Chen
Hi Daan,

Could you please cherry-pick the following commit from 4.4-forward to 4.4 
branch?

Commit: 500c99eef7f7a04d95ed95697a2678fef283e61d
CLOUDSTACK-6600:IAM Security checker needs to have cache to improve checkAccess 
performance.

Thanks
-min


Re: Review Request 21156: CLOUDSTACK-6575: Deploy VM failed with NPE while using custom compute offering

2014-05-11 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21156/#review42463
---


Commit 84135cd302ab5fb944a28e73b394d02a8d1c17e2 in cloudstack's branch 
refs/heads/4.4-forward from Saksham Srivastava
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=84135cd ]

CLOUDSTACK-6575: Deploy VM failed with NPE while using custom compute offering


- ASF Subversion and Git Services


On May 7, 2014, 12:22 p.m., Saksham Srivastava wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/21156/
> ---
> 
> (Updated May 7, 2014, 12:22 p.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-6575
> https://issues.apache.org/jira/browse/CLOUDSTACK-6575
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Deploy VM failed with NPE while using custom compute offering:
> Steps to reproduce:
> 1. Install and configure Adv zone.
> 2. Create Compute offering with Custom option enabled.
> 3. Deploy VM using Default Cent OS template using Custom option enabled 
> Compute offering.
> 
> Root Cause:
> In schema-410to420.sql ALTER TABLE `cloud`.`disk_offering` ADD COLUMN 
> `customized_iops` tinyint(1) unsigned COMMENT 'Should customized IOPS be 
> displayed to the end user'; 
> 
> The default value of customized_iops is null and ServiceOfferingVO construtor 
> calls the super constructor in DiskOfferingVO passing null to boolean value, 
> hence the NPE.
> 
> Fix: Change Boolean to boolean with appropriate conversions.
> 
> 
> Diffs
> -
> 
>   engine/schema/src/com/cloud/service/ServiceOfferingVO.java 3be0aaa 
> 
> Diff: https://reviews.apache.org/r/21156/diff/
> 
> 
> Testing
> ---
> 
> Deployed vm with customized_iops as null in disk_offering table.
> Deployed vm with customized_iops as not null in disk_offering table.
> Both the deployments pass.
> Build passes successfully.
> 
> 
> Thanks,
> 
> Saksham Srivastava
> 
>



Review Request 21196: CLOUDSTACK-6551: [Automation] Failed to revert vm snapshot in xen

2014-05-11 Thread Harikrishna Patnala

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21196/
---

Review request for cloudstack and Kishan Kavala.


Bugs: CLOUDSTACK-6551
https://issues.apache.org/jira/browse/CLOUDSTACK-6551


Repository: cloudstack-git


Description
---

CLOUDSTACK-6551: [Automation] Failed to revert vm snapshot in xen 
Added revert_memory_snapshot method to cloud-plugin-storage


Diffs
-

  scripts/vm/hypervisor/xenserver/xenserver62/cloud-plugin-storage 03a05b7 

Diff: https://reviews.apache.org/r/21196/diff/


Testing
---


Thanks,

Harikrishna Patnala



[ACS4.4] Cherry-pick request for CLOUDSTACK-6551 and CLOUDSTACK-6544

2014-05-11 Thread Harikrishna Patnala
Hi Daan,

Can you please cherry pick the following commits to 4.4 branch

1) Commit 17810b0e95ce6418b6809ab5d3dd436659120721 in cloudstack's branch 
refs/heads/4.4-forward from Harikrishna Patnala
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=17810b0 ]
CLOUDSTACK-6544: [Automation] Failed to create template for ROOT volume in Xen, 
with Exception: callHostPlugin failed

2) Commit f784f274be8aec7c8d07bcb4b569df1c6c3380af in cloudstack's branch 
refs/heads/4.4-forward from Harikrishna Patnala
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=f784f27 ]
CLOUDSTACK-6551: [Automation] Failed to revert vm snapshot in xen


Thank you,
Harikrishna





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

2014-05-11 Thread jenkins
See 

--
[...truncated 18312 lines...]

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

[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi ---
[INFO] Cobertura 2.0.3 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/ec2/AmazonEC2SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/s3/AmazonS3SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SAcl.java.  Ensure this class was instrumented, and this 
data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SBucket.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SHost.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/BucketPolicyDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackAccountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackConfigurationDao.java.  Ensure this 
class was instrumented, and this data file contains the instrumentation 
information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackSvcOfferingDao.java.  Ensure this class 
was instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackUserDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostMountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartPartsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartUploadsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultipartMetaDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does 

Re: Where is appropriate place to begin discussion for 5.0 API discussion?

2014-05-11 Thread Daan Hoogland
I started a thread on it about a while back and al I got was a +1.
Please start a page under
https://cwiki.apache.org/confluence/display/CLOUDSTACK/4.5+Design+Documents
Maybe rename it  to
https://cwiki.apache.org/confluence/display/CLOUDSTACK/5.0+Design+Documents

On Fri, May 9, 2014 at 10:33 PM, Demetrius Tsitrelis
 wrote:
> I know that any breaking API changes have to wait until the next major 
> version of the project and I don't see any sections on the Wiki about ideas 
> for the 5.x version.
>



-- 
Daan


Re: 4.4 release-notes

2014-05-11 Thread Daan Hoogland
I had shared my dashboard by now:
https://issues.apache.org/jira/secure/Dashboard.jspa?selectPageId=12323265

it contains more issue filters and I had to remove some other gadgets
because it complained about some maximum. I don't think we need all
those dashboards. Pierre-Luc has his filters,

On Wed, May 7, 2014 at 10:55 PM, Animesh Chaturvedi
 wrote:
> Daan, I have added the two widgets to Dashboard based on the filters you 
> mentioned. I did not see any specific permission in JIRA to grant you access. 
> I guess only the owner can modify it, let me check on Atlassian documentation
>
>> -Original Message-
>> From: Daan Hoogland [mailto:daan.hoogl...@gmail.com]
>> Sent: Monday, May 05, 2014 11:53 AM
>> To: Animesh Chaturvedi
>> Cc: dev
>> Subject: Re: 4.4 release-notes
>>
>> Animesh,
>>
>> Can you (give me rights to) add these filters to the release dashboard?
>>
>> On Fri, May 2, 2014 at 4:43 AM, Pierre-Luc Dion 
>> wrote:
>> > 4.4.0 Fixed Issues
>> > project = CLOUDSTACK AND type = Bug AND affectedVersion in (4.2.0,
>> > 4.2.1,
>> > 4.3.0) AND fixVersion = 4.4.0 AND resolution != "\"Unresolved\"" ORDER
>> > BY created DESC, priority DESC, key ASC
>> >
>> > 4.4.0 Known Issues
>> > project = CLOUDSTACK AND type = Bug AND (affectedVersion = 4.4.0 OR
>> > fixVersion = 4.4.0) AND resolution is EMPTY AND level = "Public" ORDER
>> > BY priority DESC, key ASC
>> >
>>
>>
>>
>> --
>> Daan



-- 
Daan


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

2014-05-11 Thread jenkins
See 

--
[...truncated 18312 lines...]

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

[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi ---
[INFO] Cobertura 2.0.3 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/ec2/AmazonEC2SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/s3/AmazonS3SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SAcl.java.  Ensure this class was instrumented, and this 
data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SBucket.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SHost.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/BucketPolicyDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackAccountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackConfigurationDao.java.  Ensure this 
class was instrumented, and this data file contains the instrumentation 
information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackSvcOfferingDao.java.  Ensure this class 
was instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackUserDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostMountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartPartsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartUploadsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultipartMetaDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does 

Jenkins build is back to normal : cloudstack-4.4-maven-build-noredist #210

2014-05-11 Thread jenkins
See 




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

2014-05-11 Thread jenkins
See 

--
[...truncated 18312 lines...]

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

[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi ---
[INFO] Cobertura 2.0.3 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/ec2/AmazonEC2SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/s3/AmazonS3SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SAcl.java.  Ensure this class was instrumented, and this 
data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SBucket.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SHost.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/BucketPolicyDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackAccountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackConfigurationDao.java.  Ensure this 
class was instrumented, and this data file contains the instrumentation 
information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackSvcOfferingDao.java.  Ensure this class 
was instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackUserDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostMountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartPartsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartUploadsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultipartMetaDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does 

Review Request 21221: CLOUDSTACK-6606: Fix: create network offering dailog box has greyed out (not selectable) providers for the connectivity service.

2014-05-11 Thread Gabor Apati-Nagy

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21221/
---

Review request for cloudstack, Brian Federle, Jessica Wang, and Murali Reddy.


Bugs: CLOUDSTACK-6606
https://issues.apache.org/jira/browse/CLOUDSTACK-6606


Repository: cloudstack-git


Description
---

Add Network Offering page: Some providers are disabled based on the selection 
state of the VPC checkbox. However, this should not be done for Connectivity 
service. This patch fixes this.


Diffs
-

  ui/scripts/configuration.js 1b82188 

Diff: https://reviews.apache.org/r/21221/diff/


Testing
---


Thanks,

Gabor Apati-Nagy



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

2014-05-11 Thread jenkins
See 

Changes:

[nitin.mehta] CLOUDSTACK-6597: Updatevm - root admin should be allowed to 
change instance name

--
[...truncated 18332 lines...]

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

[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi ---
[INFO] Cobertura 2.0.3 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/ec2/AmazonEC2SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/s3/AmazonS3SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SAcl.java.  Ensure this class was instrumented, and this 
data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SBucket.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SHost.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/BucketPolicyDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackAccountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackConfigurationDao.java.  Ensure this 
class was instrumented, and this data file contains the instrumentation 
information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackSvcOfferingDao.java.  Ensure this class 
was instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackUserDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostMountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartPartsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartUploadsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultipartMetaDao.java.  Ensure this class was 
instrumented, and this data file contains the instrument

GetHostStatsCommand on KVM/Libvirt inaccurate?

2014-05-11 Thread Jeff Hair
Watching the output of the GetHostStatsCommand shows that the CPU
utilization is almost always the same. This is because the
LibvirtComputingResource runs this script to calculate CPU Idle time:

idle=$(top -b -n 1|grep Cpu\(s\):|cut -d% -f4|cut -d, -f2);echo $idle

Then it subtracts that number from 100. Because top always returns the
average idle time since boot on its first run, this can lead to some rather
constant data. Was this an intended effect? Running top multiple times and
averaging the results but ignoring the first value will produce more
accurate data for the stats collector. For example:

top -b -n 5 -d 1 | grep Cpu
%Cpu(s): 17.9 us,  3.8 sy,  0.0 ni, 76.1 id,  2.1 wa,  0.0 hi,  0.0 si,
 0.0 st
%Cpu(s):  5.0 us,  3.0 sy,  0.0 ni, 92.1 id,  0.0 wa,  0.0 hi,  0.0 si,
 0.0 st
%Cpu(s):  8.7 us,  3.0 sy,  0.0 ni, 86.6 id,  1.7 wa,  0.0 hi,  0.0 si,
 0.0 st
%Cpu(s): 25.5 us,  1.5 sy,  0.0 ni, 73.0 id,  0.0 wa,  0.0 hi,  0.0 si,
 0.0 st
%Cpu(s):  7.0 us,  2.2 sy,  0.0 ni, 90.5 id,  0.2 wa,  0.0 hi,  0.0 si,
 0.0 st

If this is something useful for the LibvirtComputingResource, I can open a
Jira ticket and submit a patch.


Re: Review Request 21196: CLOUDSTACK-6551: [Automation] Failed to revert vm snapshot in xen

2014-05-11 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21196/#review42493
---


Commit 3ac633d2f5a486c9363f3e0a582edc9d02ac575f in cloudstack's branch 
refs/heads/4.4 from Harikrishna Patnala
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=3ac633d ]

CLOUDSTACK-6551: [Automation] Failed to revert vm snapshot in xen


- ASF Subversion and Git Services


On May 8, 2014, 10:54 a.m., Harikrishna Patnala wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/21196/
> ---
> 
> (Updated May 8, 2014, 10:54 a.m.)
> 
> 
> Review request for cloudstack, anthony xu and Kishan Kavala.
> 
> 
> Bugs: CLOUDSTACK-6551
> https://issues.apache.org/jira/browse/CLOUDSTACK-6551
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> CLOUDSTACK-6551: [Automation] Failed to revert vm snapshot in xen 
> Added revert_memory_snapshot method to cloud-plugin-storage
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/Xenserver625Resource.java
>  d290194 
> 
> Diff: https://reviews.apache.org/r/21196/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Harikrishna Patnala
> 
>



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

2014-05-11 Thread jenkins
See 

--
[...truncated 18312 lines...]

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

[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi ---
[INFO] Cobertura 2.0.3 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/ec2/AmazonEC2SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/s3/AmazonS3SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SAcl.java.  Ensure this class was instrumented, and this 
data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SBucket.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SHost.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/BucketPolicyDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackAccountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackConfigurationDao.java.  Ensure this 
class was instrumented, and this data file contains the instrumentation 
information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackSvcOfferingDao.java.  Ensure this class 
was instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackUserDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostMountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartPartsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartUploadsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultipartMetaDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does 

Re: [QUESTION][DB] transaction rollback occurs late

2014-05-11 Thread Daan Hoogland
Darren,

I saw you introduced this transaction code. Can you shed a light to
the behavior I describe?

On Thu, May 8, 2014 at 1:41 PM, Daan Hoogland  wrote:
> Hugo noted that the log of the roll back might actually occur after
> the null pointer. That still leaves the fact that the pointer is first
> a valid returned object and then causes a npe after that. Any hints as
> to how this transaction mech works?
>
> On Thu, May 8, 2014 at 10:51 AM, Daan Hoogland  
> wrote:
>> H all,
>>
>> consider the folowing please
>>
>> A network is created and used
>>
>>privateNetwork =
>> _networkMgr.createGuestNetwork(ntwkOffFinal.getId(), networkName,
>> displayText, gateway, cidr, uriString, null, owner, null, pNtwk,
>> pNtwk.getDataCenterId(),
>> ACLType.Account, null, vpcId, null, null, true, null);
>> s_logger.debug("Created private network " + privateNetwork);
>>
>> the next line[3987] in the logic is (there is an else block in between):
>> PrivateIpVO privateIp =
>> _privateIpDao.findByIpAndSourceNetworkIdAndVpcId(privateNetwork.getId(),
>> startIp, vpcId);
>>
>> the sequence logs as follows:
>>
>> log succes return of npe
>> log the roll back
>> log an npe on the object just returned and logged
>>
>> 2014-04-30 21:38:37,417 DEBUG [c.c.n.NetworkServiceImpl]
>> (catalina-exec-17:ctx-d1365378 ctx-664fada1 ctx-e0adfbee) Created
>> private network Ntwk[cf4d60e1-9d4a-46de-85bc-910a6ea44024|Guest|5]
>> 2014-04-30 21:38:37,433 DEBUG [c.c.u.d.T.Transaction]
>> (catalina-exec-17:ctx-d1365378 ctx-664fada1 ctx-e0adfbee) Rolling back
>> the transaction: Time = 209 Name = catalina-exec-17; called by
>> -TransactionLegacy.rollback:903-TransactionLegacy.removeUpTo:846-TransactionLegacy.close:670-Transaction.execute:41-NetworkServiceImpl.createPrivateNetwork:3964-NativeMethodAccessorImpl.invoke0:-2-NativeMethodAccessorImpl.invoke:-1-DelegatingMethodAccessorImpl.invoke:-1-Method.invoke:-1-AopUtils.invokeJoinpointUsingReflection:317-ReflectiveMethodInvocation.invokeJoinpoint:183-ReflectiveMethodInvocation.proceed:150
>> 2014-04-30 21:38:37,452 ERROR [c.c.a.ApiServer]
>> (catalina-exec-17:ctx-d1365378 ctx-664fada1 ctx-e0adfbee) unhandled
>> exception executing api command: [Ljava.lang.String;@1925edc3
>> java.lang.NullPointerException
>> at 
>> com.cloud.network.NetworkServiceImpl$11.doInTransaction(NetworkServiceImpl.java:3987)
>> ...
>>
>> it can of course be the _privateIpDao but I am trusting spring and the
>> class strucutre here. there is no logic between the two lines. so
>> privateNetwork must be the null involved in the npe. It has just been
>> logged and *after that* rolled back.
>> So in parallel to the network object being successfully returned the
>> transaction is being rolled back. What evil genius has been at work
>> here??? Or how stupid am I?
>>
>> I am sure similar issues must have been discussed earlier. any
>> pointers? How can/Should I make sure an object returned is indeed
>> valid?
>>
>> thanks,
>> --
>> Daan
>
>
>
> --
> Daan



-- 
Daan


Jenkins build is back to normal : cloudstack-4.4-maven-build-noredist #206

2014-05-11 Thread jenkins
See 




Build failed in Jenkins: cloudstack-4.4-maven-build-noredist #209

2014-05-11 Thread jenkins
See 


--
Started by upstream project "cloudstack-4.4-maven-build" build number 274
originally caused by:
 Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on cloudstack-buildslave-centos6-95c 
(cloudstack-buildslave-centos6) in workspace 

Fetching changes from the remote Git repository
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/cloudstack.git
Checking out Revision a2d8f6c9cb94b46782f93a3e430196512d2babb6 (origin/4.4)
[copy-to-slave] Copying 'cloudstack-nonoss-deps.tgz', excluding nothing, from 
'file:/var/lib/jenkins/userContent/' on the master to 
' 
on 'cloudstack-buildslave-centos6-95c'.
Invalid tool ID 3.1.1
FATAL: Couldn’t find any executable in 
/jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven-3.1.1
Build step 'Invoke top-level Maven targets' marked build as failure
Archiving artifacts


Re: Looking up findbugs warning

2014-05-11 Thread Daan Hoogland
Alena brought a problem up with the jenkins run. Findbugs seems to no
longer work with eclipse or jenkins. I haven't found a cause yet. The
command line maven profile still works.
$ mvn -P enablefindbugs ...

On Fri, May 9, 2014 at 3:00 PM, Devdeep Singh  wrote:
> Hi Daan,
>
> Sorry for reaching out to you directly. The apache mail server is down and I 
> think I saw commits from you fixing findbugs errors, so I thought I would ask 
> you.
>
> How can I look up the existing warnings in cloudstack that are being reported 
> by FindBugs? I am looking at report from the latest build at [1]. However the 
> details page is blank and I can only see the number of outstanding warnings 
> (270) in cloudstack. The details of the warnings are not shown.
>
> Is there any place, on jenkins.buildacloud.org or elsewhere, where I can look 
> up all the existing warnings?  Or is running the findbugs locally, as 
> explained here [2]  the only option?
>
> [1] 
> http://jenkins.buildacloud.org/job/build-master-slowbuild/799/findbugsResult/HIGH/
> [2] https://cwiki.apache.org/confluence/display/CLOUDSTACK/Using+FindBugs
>
> Regards,
> Devdeep



-- 
Daan


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

2014-05-11 Thread jenkins
See 

Changes:

[muralimmreddy] CLOUDSTACK-6608:OVS distributed firewall: default ACL rule is 
not

[muralimmreddy] CLOUDSTACK-6609: OVS distributed routing: ensure tunnels are 
created if

[kishan] CLOUDSTACK-6544: [Automation] Failed to create template for ROOT 
volume in Xen, with Exception: callHostPlugin failed

[koushik] Fixed few issues for userapiclient and port issue

[kishan] CLOUDSTACK-6551: [Automation] Failed to revert vm snapshot in xen

--
[...truncated 18313 lines...]

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

[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi ---
[INFO] Cobertura 2.0.3 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/ec2/AmazonEC2SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/s3/AmazonS3SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SAcl.java.  Ensure this class was instrumented, and this 
data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SBucket.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SHost.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/BucketPolicyDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackAccountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackConfigurationDao.java.  Ensure this 
class was instrumented, and this data file contains the instrumentation 
information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackSvcOfferingDao.java.  Ensure this class 
was instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackUserDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostMountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartPartsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartUploadsDao.java.  Ensure this class was 
instrumented,

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

2014-05-11 Thread jenkins
See 

--
[...truncated 18312 lines...]

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

[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi ---
[INFO] Cobertura 2.0.3 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/ec2/AmazonEC2SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/s3/AmazonS3SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SAcl.java.  Ensure this class was instrumented, and this 
data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SBucket.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SHost.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/BucketPolicyDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackAccountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackConfigurationDao.java.  Ensure this 
class was instrumented, and this data file contains the instrumentation 
information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackSvcOfferingDao.java.  Ensure this class 
was instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackUserDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostMountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartPartsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartUploadsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultipartMetaDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does 

VMware SystemVM Kernel Panics

2014-05-11 Thread Ian Duffy
Hi All,

I'm trying to setup a vmware Lab inside vmware Fusion.

I have Cloudstack 4.3 running on my host machine.
I have a VM for MySQL and NFS.
I have a VM with Windows 2k8 for vCenter.
I have a VM for ESXi.

On booting up the SystemVM OVA it kernel panics with:

"Kernel Panic - not syncing: Out of memory and no killable processes" -
http://imgur.com/7w77Cu5

Any idea why this is happening? I've a feeling its something to do with
nested virtualization of x64, is there any x86 systemvms available for
vmware?

Thanks,
Ian


Re: Review Request 17586: AWSAPI: cloudstack api on POST requests (instead GET), ssl enabling fixed

2014-05-11 Thread Dmitry Batkovich


> On April 23, 2014, 12:41 p.m., daan Hoogland wrote:
> > awsapi/src/com/cloud/bridge/util/JsonElementUtil.java: seems to be there 
> > twice as well!?!
> 
> Dmitry Batkovich wrote:
> I have written about it that "Update diff" works strange for me and I 
> have attached patch to "File Attachments". In raw file I see only one 
> JsonElementUtil and other classes...also it's good with licence headers
> 
> Dmitry Batkovich wrote:
> and now I have fixed code styles problems. patch in attachements

Daan, can you see this attachment? We are grateful if this patch will be 
applied as soon as possible.


- Dmitry


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17586/#review41138
---


On April 22, 2014, 10:50 p.m., Dmitry Batkovich wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/17586/
> ---
> 
> (Updated April 22, 2014, 10:50 p.m.)
> 
> 
> Review request for cloudstack, daan Hoogland and Sebastien Goasguen.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> * CloudStackClient.java http request mechanism replaced from GET requests to 
> POST for supporting EC2 requests larger than 2KB
> * SSL enabling fixed in EC2Engine.java
> 
> 
> Diffs
> -
> 
>   awsapi/conf/ec2-service.properties.in 82f5ad8 
>   awsapi/src/com/cloud/bridge/service/core/ec2/EC2Engine.java cd20214 
>   awsapi/src/com/cloud/bridge/util/JsonAccessor.java 2a94dea 
>   awsapi/src/com/cloud/bridge/util/JsonElementUtil.java PRE-CREATION 
>   awsapi/src/com/cloud/bridge/util/JsonElementUtil.java 2d8afb5 
>   awsapi/src/com/cloud/stack/CloudStackApi.java b7a1210 
>   awsapi/src/com/cloud/stack/CloudStackClient.java 03eba96 
>   awsapi/src/com/cloud/stack/CloudStackClientException.java PRE-CREATION 
>   awsapi/src/com/cloud/stack/CloudStackClientException.java ac1b3ef 
>   awsapi/src/com/cloud/stack/CloudStackCommand.java 8d6aa68 
>   awsapi/src/com/cloud/stack/CloudStackQueryBuilder.java PRE-CREATION 
>   awsapi/test/com/cloud/gate/util/CloudStackClientTestCase.java 826cb3a 
>   awsapi/test/com/cloud/gate/util/JsonAccessorTestCase.java 8603e59 
>   awsapi/test/com/cloud/gate/util/JsonElementUtilTestCase.java PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/17586/diff/
> 
> 
> Testing
> ---
> 
> 
> File Attachments
> 
> 
> cloudstack_api_post_and_ssl_fix.patch
>   
> https://reviews.apache.org/media/uploaded/files/2014/04/21/93dfe17d-2f7f-4413-80ba-76d33a3b5a47__cloudstack_api_post_and_ssl_fix.patch
> 
> 
> Thanks,
> 
> Dmitry Batkovich
> 
>



Build failed in Jenkins: build-master #790

2014-05-11 Thread jenkins
See 

Changes:

[nitin.mehta] CLOUDSTACK-6530: Make more networking entities implement 
Displayable interface.

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on cloudstack-buildslave-centos6-95c 
(cloudstack-buildslave-centos6) in workspace 

Fetching changes from the remote Git repository
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/cloudstack.git
Checking out Revision 1e300b0d122afa2fd6fb84307df809ac12af0964 (origin/master)
[copy-to-slave] Copying 'settings.xml', excluding nothing, from 
'file:/var/lib/jenkins/userContent/' on the master to 
' on 
'cloudstack-buildslave-centos6-95c'.
Invalid tool ID 3.1.1
FATAL: Couldn’t find any executable in 
/jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven-3.1.1
Build step 'Invoke top-level Maven targets' marked build as failure


Review Request 21200: Added Fix for CLOUDSTACK-6548

2014-05-11 Thread Santhosh Edukulla

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21200/
---

Review request for cloudstack and daan Hoogland.


Bugs: CLOUDSTACK-6548
https://issues.apache.org/jira/browse/CLOUDSTACK-6548


Repository: cloudstack-git


Description
---

1. Fixed a regression issue introduced for createPrivateNetwork
2. Mentioned test case 
"integration.smoke.test_privategw_acl.TestPrivateGwACL.test_privategw_acl", 
post the fix
was working fine. Below is the attached log.
3. Ran the checkstyle check


Diffs
-

  server/src/com/cloud/network/NetworkServiceImpl.java 05c2725 
  server/src/com/cloud/network/vpc/VpcManagerImpl.java ad078fc 

Diff: https://reviews.apache.org/r/21200/diff/


Testing
---

test_privategw_acl (integration.smoke.test_privategw_acl.TestPrivateGwACL) ... 
=== TestName: test_privategw_acl | Status : SUCCESS ===
ok

--
Ran 1 test in 127.279s

OK
~   

~   

~   

~ 


Thanks,

Santhosh Edukulla



ACS 4.3 problem with starting virtual routers

2014-05-11 Thread Andrei Mikhailovsky

Hello guys, 

could someone help me to solve the problem with virtual routers on ACS 4.3 
using Ubuntu 12.04 for both management and host servers. 

I've recenly upgraded from ACS 4.2.1 following the release notes. In the 
process of upgrading i've added new system vm template and following the 
upgrade i've restarted all virtual routers. The process went well so far as 
there we no errors. 

Next day i've noticed that I am no longer able to start new virtual routers or 
restart networks. I can successfully start existing virtual routers which are 
in the Stopped state, but can't start a new virtual router. For instance, the 
management server log shows the following when I am trying to restart an 
existing network: 



--- 

2014-05-07 00:11:32,069 DEBUG [c.c.a.ApiServlet] (catalina-exec-5:ctx-f0be1010) 
===START=== 192.168.169.52 -- GET command=restartNetwork&id=13 
1e86d0-8d0b-4e9a-964d-e102511b055a&cleanup=true&response=json&sessionkey=i9vBkmoEtC2L4tAjX%2BMQQ9NzZKw%3D&_=1399417892014
 
2014-05-07 00:11:32,106 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(catalina-exec-5:ctx-f0be1010 ctx-d6f35608) submit async job-4913, details: 
Asyn 
cJobVO {id:4913, userId: 3, accountId: 2, instanceType: None, instanceId: null, 
cmd: org.apache.cloudstack.api.command.user.network.RestartNetwo 
rkCmd, cmdInfo: 
{"id":"131e86d0-8d0b-4e9a-964d-e102511b055a","response":"json","cleanup":"true","sessionkey":"i9vBkmoEtC2L4tAjX+MQQ9NzZKw\u003d"
 
,"cmdEventType":"NETWORK.RESTART","ctxUserId":"3","httpmethod":"GET","_":"1399417892014","ctxAccountId":"2","ctxStartEventId":"15168"},
 cmdVersi 
on: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, 
initMsid: 238402986947280, completeMsid: null, lastUpdated: null, las 
tPolled: null, created: null} 
2014-05-07 00:11:32,107 INFO [o.a.c.f.j.i.AsyncJobMonitor] 
(Job-Executor-2:ctx-549fa81b) Add job-4913 into job monitoring 
2014-05-07 00:11:32,107 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(Job-Executor-2:ctx-549fa81b) Executing AsyncJobVO {id:4913, userId: 3, 
accountI 
d: 2, instanceType: None, instanceId: null, cmd: 
org.apache.cloudstack.api.command.user.network.RestartNetworkCmd, cmdInfo: 
{"id":"131e86d0-8d0b 
-4e9a-964d-e102511b055a","response":"json","cleanup":"true","sessionkey":"i9vBkmoEtC2L4tAjX+MQQ9NzZKw\u003d","cmdEventType":"NETWORK.RESTART","c
 
txUserId":"3","httpmethod":"GET","_":"1399417892014","ctxAccountId":"2","ctxStartEventId":"15168"},
 cmdVersion: 0, status: IN_PROGRESS, processS 
tatus: 0, resultCode: 0, result: null, initMsid: 238402986947280, completeMsid: 
null, lastUpdated: null, lastPolled: null, created: null} 
2014-05-07 00:11:32,108 DEBUG [c.c.a.ApiServlet] (catalina-exec-5:ctx-f0be1010 
ctx-d6f35608) ===END=== 192.168.169.52 -- GET command=restartNe 
twork&id=131e86d0-8d0b-4e9a-964d-e102511b055a&cleanup=true&response=json&sessionkey=i9vBkmoEtC2L4tAjX%2BMQQ9NzZKw%3D&_=1399417892014
 
2014-05-07 00:11:32,130 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(Job-Executor-2:ctx-549fa81b ctx-d6f35608) Restarting network 264... 
2014-05-07 00:11:32,130 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(Job-Executor-2:ctx-549fa81b ctx-d6f35608) Shutting down the network id=264 as 
a p 
art of network restart 
2014-05-07 00:11:32,134 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(Job-Executor-2:ctx-549fa81b ctx-d6f35608) Releasing 2 port forwarding rules 
for n 
etwork id=264 as a part of shutdownNetworkRules 
2014-05-07 00:11:32,160 DEBUG [c.c.n.e.VirtualRouterElement] 
(Job-Executor-2:ctx-549fa81b ctx-d6f35608) Virtual router elemnt doesn't need 
to ap 
ply firewall rules on the backend; virtual router doesn't exist in the network 
264 
2014-05-07 00:11:32,162 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(Job-Executor-2:ctx-549fa81b ctx-d6f35608) Releasing 0 static nat rules for 
networ 
k id=264 as a part of shutdownNetworkRules 
2014-05-07 00:11:32,162 DEBUG [c.c.n.f.FirewallManagerImpl] 
(Job-Executor-2:ctx-549fa81b ctx-d6f35608) There are no rules to forward to the 
netw 
ork elements 
2014-05-07 00:11:32,164 DEBUG [c.c.n.l.LoadBalancingRulesManagerImpl] 
(Job-Executor-2:ctx-549fa81b ctx-d6f35608) Revoking 0 Public load balancing 
rules for network id=264 
2014-05-07 00:11:32,164 DEBUG [c.c.n.l.LoadBalancingRulesManagerImpl] 
(Job-Executor-2:ctx-549fa81b ctx-d6f35608) There are no Load Balancing Rules to 
forward to the network elements 
2014-05-07 00:11:32,166 DEBUG [c.c.n.l.LoadBalancingRulesManagerImpl] 
(Job-Executor-2:ctx-549fa81b ctx-d6f35608) Revoking 0 Internal load balancing 
rules for network id=264 
2014-05-07 00:11:32,166 DEBUG [c.c.n.l.LoadBalancingRulesManagerImpl] 
(Job-Executor-2:ctx-549fa81b ctx-d6f35608) There are no Load Balancing Rules to 
forward to the network elements 
2014-05-07 00:11:32,168 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(Job-Executor-2:ctx-549fa81b ctx-d6f35608) Releasing 5 firewall ingress rules 
for network id=264 as a part of shutdownNetworkRules 
2014-05-07 00:11:32,186 DEBUG [c.c.n.e.VirtualRouterElement] 
(Job-Exe

[QA]Test Case for feature "Calculate Storage space correctly when using Thin Provisioning"

2014-05-11 Thread Prashant Kumar Mishra
Hi ,

I am planning to take feature " Calculate Storage space correctly when using 
Thin Provisioning"  for testing  I have written some test cases which may not 
be covering all the scenarios, please provide your feedback/suggestion if you 
see any gaps





Issue

=

https://issues.apache.org/jira/browse/CLOUDSTACK-6092



FS

==

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Storage+OverProvisioning+as+Per+Primary+Basis



Test Case



https://cwiki.apache.org/confluence/display/CLOUDSTACK/Calculate+Storage+space+correctly+when+using+Thin+Provisioning



Thanks

Prashant



Re: Looking up findbugs warning

2014-05-11 Thread Daan Hoogland
I found that the findbugs problem in eclipse can be traced back to a
java version conflict. Similar to some cloudstack problems. Making
sure the eclipse.ini file contains a -vm  argument
fixes it. I don't think I have enough access to the jenkins machine to
figure out if this problem is the same.

@Hugo,Prasanna: Can you check that there is only java7 at the
slowbuild jenkins slave?

On Fri, May 9, 2014 at 3:06 PM, Daan Hoogland  wrote:
> Alena brought a problem up with the jenkins run. Findbugs seems to no
> longer work with eclipse or jenkins. I haven't found a cause yet. The
> command line maven profile still works.
> $ mvn -P enablefindbugs ...
>
> On Fri, May 9, 2014 at 3:00 PM, Devdeep Singh  
> wrote:
>> Hi Daan,
>>
>> Sorry for reaching out to you directly. The apache mail server is down and I 
>> think I saw commits from you fixing findbugs errors, so I thought I would 
>> ask you.
>>
>> How can I look up the existing warnings in cloudstack that are being 
>> reported by FindBugs? I am looking at report from the latest build at [1]. 
>> However the details page is blank and I can only see the number of 
>> outstanding warnings (270) in cloudstack. The details of the warnings are 
>> not shown.
>>
>> Is there any place, on jenkins.buildacloud.org or elsewhere, where I can 
>> look up all the existing warnings?  Or is running the findbugs locally, as 
>> explained here [2]  the only option?
>>
>> [1] 
>> http://jenkins.buildacloud.org/job/build-master-slowbuild/799/findbugsResult/HIGH/
>> [2] https://cwiki.apache.org/confluence/display/CLOUDSTACK/Using+FindBugs
>>
>> Regards,
>> Devdeep
>
>
>
> --
> Daan



-- 
Daan


Review Request 21195: CLOUDSTACK-6544: [Automation] Failed to create template for ROOT volume in Xen, with Exception: callHostPlugin failed

2014-05-11 Thread Harikrishna Patnala

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21195/
---

Review request for cloudstack and Kishan Kavala.


Bugs: CLOUDSTACK-6544
https://issues.apache.org/jira/browse/CLOUDSTACK-6544


Repository: cloudstack-git


Description
---

CLOUDSTACK-6544: [Automation] Failed to create template for ROOT volume in Xen, 
with Exception: callHostPlugin failed

Missing vmopsSnapshot plugin in case of XenServer 6.2 SP1


Diffs
-

  scripts/vm/hypervisor/xenserver/xenserver62/patch 13f4f93 

Diff: https://reviews.apache.org/r/21195/diff/


Testing
---


Thanks,

Harikrishna Patnala



Re: VMware SystemVM Kernel Panics

2014-05-11 Thread Ian Duffy
I had success using the x86 systemvms built on jenkins (
http://jenkins.buildacloud.org/view/4.3/job/cloudstack-4.3-systemvm/ )

Thanks guys!


Citrix 6.2SP1 - snapshot error - unpause operation

2014-05-11 Thread Tomasz Zięba
Hello,

Is anyone using Citrix'a 6.2SP1 noticed a problem with blocking the VDI
during making snapshot'a?
VDI disk during snapshot is marked as paused and virtual machine can not
use it.

It looks like the process tapdisk (mapping VDI disk to the virtual machine)
was destroyed and at this point the system/hypervizor can not perform the
operation 'unpause'.
We reported the matter to the Citrix forum but topic is dead :-(

Details can be found under the link:
http://discussions.citrix.com/topic/350486-snapshot-error-unpause-operation/#
entry1812789

If anyone would have any tips would be grateful.


-- 
Regards,
Tomasz Zięba
Twitter: @TZieba
LinkedIn: 
pl.linkedin.com/pub/tomasz-zięba-ph-d/3b/7a8/ab6/


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

2014-05-11 Thread jenkins
See 

--
[...truncated 18332 lines...]

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

[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi ---
[INFO] Cobertura 2.0.3 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/ec2/AmazonEC2SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/s3/AmazonS3SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SAcl.java.  Ensure this class was instrumented, and this 
data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SBucket.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SHost.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/BucketPolicyDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackAccountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackConfigurationDao.java.  Ensure this 
class was instrumented, and this data file contains the instrumentation 
information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackSvcOfferingDao.java.  Ensure this class 
was instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackUserDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostMountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartPartsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartUploadsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultipartMetaDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does 

Re: Review Request 20099: Domain-Account-User Sync Up Among Multiple Regions (Core Changes)

2014-05-11 Thread Alex Ough

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20099/
---

(Updated May 7, 2014, 10:47 p.m.)


Review request for cloudstack.


Repository: cloudstack-git


Description
---

This is the review request for the core changes related with #17790 that has 
only the new plugin codes.


Diffs (updated)
-

  api/src/com/cloud/event/EventTypes.java 39ef710 
  api/src/com/cloud/user/AccountService.java 7e37b38 
  api/src/org/apache/cloudstack/api/ApiConstants.java fdb4558 
  api/src/org/apache/cloudstack/api/BaseCmd.java f6f21ae 
  api/src/org/apache/cloudstack/api/command/admin/region/AddRegionCmd.java 
f6743ba 
  api/src/org/apache/cloudstack/api/command/admin/region/UpdateRegionCmd.java 
b08cbbb 
  api/src/org/apache/cloudstack/api/response/RegionResponse.java 6c74fa6 
  api/src/org/apache/cloudstack/region/Region.java df64e44 
  api/src/org/apache/cloudstack/region/RegionService.java afefcc7 
  api/test/org/apache/cloudstack/api/command/test/RegionCmdTest.java 10c3d85 
  client/pom.xml d8dbde7 
  client/tomcatconf/commands.properties.in 45debe4 
  
engine/schema/resources/META-INF/cloudstack/core/spring-engine-schema-core-daos-context.xml
 489b37d 
  engine/schema/src/org/apache/cloudstack/region/RegionVO.java 608bd2b 
  
plugins/network-elements/juniper-contrail/test/org/apache/cloudstack/network/contrail/management/MockAccountManager.java
 957f708 
  plugins/pom.xml 9b391b8 
  
server/resources/META-INF/cloudstack/core/spring-server-core-managers-context.xml
 fc1c7e2 
  server/src/com/cloud/api/ApiResponseHelper.java 38f2f0b 
  server/src/com/cloud/api/dispatch/ParamProcessWorker.java e9bdd8b 
  server/src/com/cloud/event/ActionEventUtils.java 28e5680 
  server/src/com/cloud/user/AccountManager.java 03bf842 
  server/src/com/cloud/user/AccountManagerImpl.java 2070ee6 
  server/src/com/cloud/user/DomainManager.java f72b18a 
  server/src/com/cloud/user/DomainManagerImpl.java fbbe0c2 
  server/src/org/apache/cloudstack/region/RegionManager.java 6f25481 
  server/src/org/apache/cloudstack/region/RegionManagerImpl.java 8910714 
  server/src/org/apache/cloudstack/region/RegionServiceImpl.java 98cf500 
  server/test/com/cloud/api/dispatch/ParamProcessWorkerTest.java 12051a6 
  server/test/com/cloud/user/MockAccountManagerImpl.java f373cba 
  server/test/com/cloud/user/MockDomainManagerImpl.java 7dddefb 
  server/test/org/apache/cloudstack/region/RegionManagerTest.java d7bc537 
  setup/db/db/schema-440to450.sql 2bd5386 
  ui/scripts/regions.js 66dae8c 

Diff: https://reviews.apache.org/r/20099/diff/


Testing
---

1. Successfully tested real time synchronization as soon as resources are 
created/deleted/modified in one region.
2. Successfully tested full scans to synchronize resources that were missed 
during real time synchronization because of any reasons like network connection 
issues.
3. The tests were done manually and also automatically by randomly generating 
changes each region.


Thanks,

Alex Ough



Re: Review Request 18677: CLOUDSTACK-3272

2014-05-11 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/18677/#review42566
---


Commit 703e9f6f46228518e9ac83efe66cdfebe9107400 in cloudstack's branch 
refs/heads/4.4 from Daan Hoogland
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=703e9f6 ]

Revert "CLOUDSTACK-3272 Fixing NullPointerException for alerts"

This reverts commit 882bf079fa1886c9feab0948066a02c1cb6cd86a.


- ASF Subversion and Git Services


On May 6, 2014, 6:53 a.m., Sonal Ojha wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/18677/
> ---
> 
> (Updated May 6, 2014, 6:53 a.m.)
> 
> 
> Review request for cloudstack, Chiradeep Vittal, daan Hoogland, and Murali 
> Reddy.
> 
> 
> Bugs: CLOUDSTACK-3272
> https://issues.apache.org/jira/browse/CLOUDSTACK-3272
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> At present, there are multiple event types that are generated by CS, action 
> events,usage events, resource state change events and alerts. Current problem 
> is
> all the events gets published on the event bus when event bus is enabled. 
> Intent is to introduce global setting config parameters to specify which 
> category of events to be published or not be published on the event bus.
> 
> 
> Diffs
> -
> 
>   engine/components-api/src/com/cloud/event/UsageEventUtils.java f1707bd 
>   engine/components-api/src/com/cloud/network/NetworkStateListener.java 
> 0a5e033 
>   
> engine/orchestration/src/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java
>  96dafe9 
>   server/src/com/cloud/configuration/Config.java 89f47d4 
>   server/src/com/cloud/event/ActionEventUtils.java 363bb93 
>   server/src/com/cloud/event/AlertGenerator.java 5982eea 
>   server/src/com/cloud/network/IpAddressManagerImpl.java 746221f 
>   server/src/com/cloud/storage/StorageManagerImpl.java c27a457 
>   server/src/com/cloud/storage/listener/SnapshotStateListener.java 45f0c5d 
>   server/src/com/cloud/storage/listener/VolumeStateListener.java 1ab2755 
>   server/src/com/cloud/test/DatabaseConfig.java 07e4348 
>   server/src/com/cloud/vm/UserVmManagerImpl.java dbca21b 
>   server/src/com/cloud/vm/UserVmStateListener.java 6631ca3 
>   server/test/org/apache/cloudstack/affinity/AffinityApiUnitTest.java e7581d6 
> 
> Diff: https://reviews.apache.org/r/18677/diff/
> 
> 
> Testing
> ---
> 
> Successfully tested publishing / not publishing of various events based on 
> the global parameter publish.*.events.
> 
> 
> File Attachments
> 
> 
> Working patch for master (latest git commit 55f53e13e)
>   
> https://reviews.apache.org/media/uploaded/files/2014/04/15/a6b65b2b-32ea-41d1-97e5-b9958d8b8841__0001-CLOUDSTACK-3272-Latest-changes-to-add-global-configu.patch
> Works on commit 6c44c0661dae0e9de4ed53fad8951e72dbbd3335
>   
> https://reviews.apache.org/media/uploaded/files/2014/05/05/ea7c6ce6-7750-456a-96c0-41aa1aee9437__0002-CLOUDSTACK-3272-Latest-changes-to-add-global-configu.patch
> 
> 
> Thanks,
> 
> Sonal Ojha
> 
>



Re: Review Request 21260: CLOUDSTACK-6620: [Hyper-v] when all vms on host are deleted from outside, then there is null pointer exception in hyperv agent in getting vmstats

2014-05-11 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21260/#review42565
---


Commit b82e26253c9f13c215558f78d8f1eab7cf8f9eb9 in cloudstack's branch 
refs/heads/master from Anshul Gangwar
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=b82e262 ]

CLOUDSTACK-6620: Fixed null pointer exception in hyperv agent in getting 
vmstats, when all vms are deleted from outside


- ASF Subversion and Git Services


On May 9, 2014, 9:26 a.m., Anshul Gangwar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/21260/
> ---
> 
> (Updated May 9, 2014, 9:26 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and Rajesh Battala.
> 
> 
> Bugs: CLOUDSTACK-6620
> https://issues.apache.org/jira/browse/CLOUDSTACK-6620
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> [Hyper-v] when all vms on host are deleted from outside, then there is null 
> pointer exception in hyperv agent in getting vmstats. As hyperv agent tries 
> to get the stats of non-existent vm
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs 
> 7dbb8c1 
> 
> Diff: https://reviews.apache.org/r/21260/diff/
> 
> 
> Testing
> ---
> 
> Created the needed environment. Verified that after application of patch 
> there was no nullpointerexception
> 
> 
> Thanks,
> 
> Anshul Gangwar
> 
>



RE: cherry-pick requests

2014-05-11 Thread Rajesh Battala
Hi Daan, 

I have fixed the ^M characters with this fix. 


please cherry-pick  
1. cf41ccaa5b6475dace0bddbe6681c98cc5149189 
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=6cd1c7ab32a5e4ca3228b25aa6bd6158cb57963c
 CLOUDSTACK-6528 SetupGuestNetwork command is not deleting the guest network 
configured on the eth device

and then cherry pick 
648a724dfc49222873124089464ccda92278fa9f 
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=648a724dfc49222873124089464ccda92278fa9f
 
which will solve line ending issues.

Thanks
Rajesh Battala



-Original Message-
From: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 
Sent: Monday, May 5, 2014 5:17 PM
To: dev@cloudstack.apache.org
Subject: RE: cherry-pick requests

those are .cs files. As I was working with them on windows it could have got 
introduced.
I will correct them and request for a new cherry-pick.

Thanks
Rajesh Battala

-Original Message-
From: Daan Hoogland [mailto:daan.hoogl...@gmail.com]
Sent: Monday, May 5, 2014 2:52 PM
To: dev
Subject: Re: cherry-pick requests

cf41ccaa5b6475dace0bddbe6681c98cc5149189 is introducing ^M line endings. please 
make sure your env is clean. I hate to be nitpicking but can you fix/prevent 
this?

I pushed the other two to wip-git.

On Mon, May 5, 2014 at 10:44 AM, Rajesh Battala  
wrote:
> Hi Daan,
>
> Please cherry-pick these commits to 4.4 branch.
>
> 1 6cd1c7ab32a5e4ca3228b25aa6bd6158cb57963c
>  
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=6c
> d1c7ab32a5e4ca3228b25aa6bd6158cb57963c
> CLOUDSTACK-6528 SetupGuestNetwork command is not deleting the guest 
> network configured on the eth device
>
>
> 2. cf41ccaa5b6475dace0bddbe6681c98cc5149189
>  
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=cf
> 41ccaa5b6475dace0bddbe6681c98cc5149189
> CLOUDSTACK-6518 [Hyper-V] Efficient way of finding the empty nic in 
> VR/VpcVR to configure VPC entities
>
> 3. 144990df11b2d7eb2ece50a043aea26b9eddfdda
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=14
> 4990df11b2d7eb2ece50a043aea26b9eddfdda
> Fixed testSetupGuestNetwork unit test as the SetupGuestnetwork prepare 
> command got changed
>
>
> Thanks
> Rajesh Battala



--
Daan


@ActionEvent generation doesn't work when method is called within the same manager context

2014-05-11 Thread Alena Prokharchyk
Kelven/Darren,

While working on the fix for  CLOUDSTACK-6595, I’ve noticed that the methods 
annotated with @ActionEvents sometimes don’t generate the events. It happens 
when the annotated method is called within the same manager. When its called 
from another manager, the event is generated and inserted to cloud.events 
table. Kelven said its related to the Spring changes done by Darren.

Can you please take a look at it? Kelven, I’ve reassigned CLOUDSTACK-6595 to 
you (fix has to be submitted to 4.4-forward first, then cherry-picked to 4.4)

-Alena.

From: Alena Prokharchyk 
mailto:alena.prokharc...@citrix.com>>
Date: Wednesday, May 7, 2014 at 1:53 PM
To: Daan Hoogland mailto:daan.hoogl...@gmail.com>>, 
"dev@cloudstack.apache.org" 
mailto:dev@cloudstack.apache.org>>
Subject: [ACS44] Cherry pick for CLOUDSTACK-6595

Daan, can you please cherry-pick the commit to 4.4 branch:

commit b9284db857cd001e75926cb7c49b6aff4ab63695
Author: Alena Prokharchyk 
mailto:alena.prokharc...@citrix.com>>
Date:   Wed May 7 13:44:26 2014 -0700

CLOUDSTACK-6595: call expunge method marked with @ActionEvent from expunge 
thread context. So the action even EXPUNGE.VM is generated when vm is expunged 
by the thread.

Thank you,
Alena.


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

2014-05-11 Thread jenkins
See 

Changes:

[nitin.mehta] CLOUDSTACK-6530: Make Network and Volume implement Displayable 
interface. Iterate over all first class entities in the context to decide the 
display property for event display.

[mail] CLOUDSTACK-6614 bugfix: systemvm template build failed because of src 
iso link is broken

[min.chen] CLOUDSTACK-6600:IAM Security checker needs to have cache to improve

[min.chen] CLOUDSTACK-6598:IAM - listAccount() retrurns "Caller cannot be 
passed as

--
[...truncated 18319 lines...]

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

[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi ---
[INFO] Cobertura 2.0.3 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/ec2/AmazonEC2SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/s3/AmazonS3SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SAcl.java.  Ensure this class was instrumented, and this 
data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SBucket.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SHost.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/BucketPolicyDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackAccountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackConfigurationDao.java.  Ensure this 
class was instrumented, and this data file contains the instrumentation 
information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackSvcOfferingDao.java.  Ensure this class 
was instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackUserDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostMountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartPartsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartUploadsDao.java.  Ensure this class 

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

2014-05-11 Thread jenkins
See 

Changes:

[girish] CLOUDSTACK-6580: Adding listall parameter while listing Account in 
createUserApiClient

[Daan Hoogland] Revert "CLOUDSTACK-6485: private gateway network should not be 
associated with vpc"

--
[...truncated 18313 lines...]

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

[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi ---
[INFO] Cobertura 2.0.3 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/ec2/AmazonEC2SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/s3/AmazonS3SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SAcl.java.  Ensure this class was instrumented, and this 
data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SBucket.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SHost.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/BucketPolicyDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackAccountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackConfigurationDao.java.  Ensure this 
class was instrumented, and this data file contains the instrumentation 
information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackSvcOfferingDao.java.  Ensure this class 
was instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackUserDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostMountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartPartsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartUploadsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/

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

2014-05-11 Thread jenkins
See 

--
[...truncated 18312 lines...]

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

[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi ---
[INFO] Cobertura 2.0.3 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/ec2/AmazonEC2SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/s3/AmazonS3SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SAcl.java.  Ensure this class was instrumented, and this 
data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SBucket.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SHost.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/BucketPolicyDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackAccountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackConfigurationDao.java.  Ensure this 
class was instrumented, and this data file contains the instrumentation 
information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackSvcOfferingDao.java.  Ensure this class 
was instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackUserDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostMountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartPartsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartUploadsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultipartMetaDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does 

Re: Cloudstack maven repo with sonatype nexus

2014-05-11 Thread Suresh Balineni
Hi Rayees,

As of now, "juniper-contrail-api:jar" is not placed in maven central 
repository. It must be downloaded from the repository  
"http://juniper.github.io/contrail-maven/releases";.
I assume that you tried to download it from the same repo as a 3rd party JAR 
and placed into your local repository.

Can you please list out the commands used for installing this 3rd JAR file?

You can find the installation steps in the following document:
http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html

Also, please check if following files are downloaded into your ".m2" repository.

.m2/repository/net/juniper/contrail/juniper-contrail-api/1.0-SNAPSHOT/juniper-contrail-api-1.0-20131001.003401-3.jar.sha1
.m2/repository/net/juniper/contrail/juniper-contrail-api/1.0-SNAPSHOT/maven-metadata-juniper-contrail.xml
.m2/repository/net/juniper/contrail/juniper-contrail-api/1.0-SNAPSHOT/juniper-contrail-api-1.0-SNAPSHOT.pom.lastUpdated
.m2/repository/net/juniper/contrail/juniper-contrail-api/1.0-SNAPSHOT/juniper-contrail-api-1.0-SNAPSHOT.jar
.m2/repository/net/juniper/contrail/juniper-contrail-api/1.0-SNAPSHOT/juniper-contrail-api-1.0-SNAPSHOT.pom
.m2/repository/net/juniper/contrail/juniper-contrail-api/1.0-SNAPSHOT/juniper-contrail-api-1.0-20131001.003401-3.pom
.m2/repository/net/juniper/contrail/juniper-contrail-api/1.0-SNAPSHOT/maven-metadata-juniper-contrail.xml.sha1
.m2/repository/net/juniper/contrail/juniper-contrail-api/1.0-SNAPSHOT/juniper-contrail-api-1.0-20131001.003401-3.pom.sha1
.m2/repository/net/juniper/contrail/juniper-contrail-api/1.0-SNAPSHOT/juniper-contrail-api-1.0-20131001.003401-3.jar

- Suresh

From: Suresh Balineni mailto:sbalin...@juniper.net>>
Date: Friday, May 9, 2014 3:43 PM
To: Sunil Bakhru mailto:sbak...@juniper.net>>
Subject: Re: Cloudstack maven repo with sonatype nexus

Hi Sunil,

It looks like they are unable to download contrail-api.jar file. I will send an 
email to him to get more details about it.

Thanks,
Suresh

From: Sunil Bakhru mailto:sbak...@juniper.net>>
Date: Friday, May 9, 2014 3:40 PM
To: Suresh Balineni mailto:sbalin...@juniper.net>>
Subject: FW: Cloudstack maven repo with sonatype nexus

Did you get a chance to look at Rayee's problem ? I had sent you an email 
yesterday.

Can you please reply to him directly?

Sunil

From: Rayees Namathponnan 
mailto:rayees.namathpon...@citrix.com>>
Date: Friday, May 9, 2014 3:33 PM
To: Sunil Bakhru mailto:sbak...@juniper.net>>
Cc: Parth Jagirdar mailto:parth.jagir...@citrix.com>>
Subject: RE: Cloudstack maven repo with sonatype nexus

Hi Sunil,

There are issue with “ASF Dev list mail”,  we are not getting any mail from 
“dev@cloudstack.apache.org” past 2 days.

In case you have and update on this, can you please forward the mail to me.

Regards,
Rayees

From: Rayees Namathponnan
Sent: Thursday, May 08, 2014 12:27 PM
To: 'Sunil Bakhru'
Cc: Parth Jagirdar
Subject: RE: Cloudstack maven repo with sonatype nexus

Thanks a lot Sunil.

Regards,
Rayees

From: Sunil Bakhru [mailto:sbak...@juniper.net]
Sent: Thursday, May 08, 2014 10:56 AM
To: Rayees Namathponnan
Cc: Parth Jagirdar
Subject: Re: Cloudstack maven repo with sonatype nexus

Have asked my team to look and get back to you.

You should get a response sometime today.

Sunil

From: Rayees Namathponnan 
mailto:rayees.namathpon...@citrix.com>>
Date: Thursday, May 8, 2014 12:17 AM
To: Sunil Bakhru mailto:sbak...@juniper.net>>
Cc: Parth Jagirdar mailto:parth.jagir...@citrix.com>>
Subject: RE: Cloudstack maven repo with sonatype nexus

Hi Sunil,

Do you have any idea about this ? Thanks in advance.

Regards,
Rayees

From: Rayees Namathponnan
Sent: Wednesday, May 07, 2014 6:33 PM
To: dev@cloudstack.apache.org
Subject: Cloudstack maven repo with sonatype nexus

Hi All,

Any of you configured “sonatype nexus” with CloudStack for maven ?

I tried to configure this, but hitting issues with Juniper-Contrail and 
midonet;  both these jar files are not in maven central repo, then I tried to 
configure as “3rd party Repository”, but it doesn’t works.

While building “plugins/network-elements/juniper-contrail” , maven unable to 
resolve dependency.

[root@build-test2 juniper-contrail]# mvn install
[INFO] Scanning for projects...
[INFO]
[INFO] 
[INFO] Building Apache CloudStack Plugin - Network Juniper Contrail 
4.4.0-SNAPSHOT
[INFO] 
[WARNING] The POM for 
net.juniper.contrail:juniper-contrail-api:jar:1.0-SNAPSHOT is missing, no 
dependency information available
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 6.833s
[INFO] Finished at: Wed May 07 18:15:14 PDT 2014
[INFO] Final Memory: 8M/20M
[INFO] ---

Re: Willing to join cloudstack developer community

2014-05-11 Thread Rajani Karuturi
api docs might be a good place to start. http://cloudstack.apache.org/docs/api/

install guide and admin guide is available at 
http://docs.cloudstack.apache.org/en/4.3/

Thanks,
~Rajani



On 08-May-2014, at 4:11 pm, sandeep khandekar 
mailto:cloudstack.sand...@gmail.com>> wrote:

Hi,
I would like to join these community to write some programs using the API s
provided by cloudstack on java platform is it possible and how?

Refer some good books for cloudstack programming.
Thankyou

--
SANDEEP KHANDEKAR
Assistant Professor
Department of Computer science and engineering
Sreenidhi Institute of science and Technology
Hyderabad



Where is appropriate place to begin discussion for 5.0 API discussion?

2014-05-11 Thread Demetrius Tsitrelis
I know that any breaking API changes have to wait until the next major version 
of the project and I don't see any sections on the Wiki about ideas for the 5.x 
version.



Re: Cloudstack maven repo with sonatype nexus

2014-05-11 Thread Prasanna Santhanam
On Thu, May 08, 2014 at 01:33:20AM +, Rayees Namathponnan wrote:
> Hi All,
> 
> Any of you configured "sonatype nexus" with CloudStack for maven ?
> 
> I tried to configure this, but hitting issues with Juniper-Contrail
> and midonet;  both these jar files are not in maven central repo,
> then I tried to configure as "3rd party Repository", but it doesn't
> works.  While plugging "plugins/network-elements/juniper-contrail" ,
> maven unable to resolve dependency.

Don't have a instance handy but here's what I used to do:

You'll have to manually add a 3rd party repo for each of the jars not
available in central and upload the JAR and the corresponding POM into
Nexus. The nexus setup in Fremont lab should have one of the 3rd party
jars added this way for reference.

-- 
Prasanna.,


Powered by BigRock.com



[ACS44] Cherry pick for CLOUDSTACK-6399

2014-05-11 Thread Anshul Gangwar
Hi Daan/Hugo,



Can you please cherry-pick following from 4.4-forward to 4.4:

commit 704f6d8279c314a165199804ee43eaac4b0d482a
Author: Anshul Gangwar 
Date:   Fri May 9 14:32:36 2014 +0530

CLOUDSTACK-6399: When there are no vms running on hyperv host, then agent 
was returning null. In
that case cloudstack was not doing anything and not updating the state of 
the vms to stopped.
Now the agent returns empty list of hostvmstatereport. Management server 
will then update the
vm state to stopped (instead of not acting upon the return state).

Thanks,
Anshul



[ACS44] cherry-pick commits for CLOUDSTACK-6592, CLOUDSTACK-6593, CLOUDSTACK-6608, CLOUDSTACK-6609

2014-05-11 Thread Murali Reddy
Resending. Please cherry-pick below commits.

On 08/05/14 4:04 PM, "Murali Reddy"  wrote:

>Please cherry-pick below commits in 4.4-forward for the bugs
>CLOUDSTACK-6592, CLOUDSTACK-6593, CLOUDSTACK-6608, CLOUDSTACK-6609 
>
>2301ceb143b24731f5b211b797a7cc4d5a7912fe
>52257bc418476c361a831b9a0ada68a8b746bce9
>df65b2e7c438986fac645f0a33688f8b36a12152
>eaf04d44a72351d250725c9194bd0cafae0ea1e6
>
>




Re: StretchedL2Subnet

2014-05-11 Thread Murali Reddy
Daan, looks like you already pulled in fix into 4.4. I have committed it
on 4.4-forward, master as well.

On 08/05/14 5:08 PM, "Daan Hoogland"  wrote:

>Murali,
>
>Thanks.
>
>What branches is this on? what branches should it be on?
>
>regards,
>Daan
>
>On Thu, May 8, 2014 at 12:35 PM, Murali Reddy 
>wrote:
>>
>> Fixed with below commit.
>>
>> commit df65b2e7c438986fac645f0a33688f8b36a12152
>> Author: Murali Reddy 
>> Date:   Wed May 7 20:03:28 2014 +0530
>>
>> CLOUDSTACK-6593: Connectivity service capabilites should be matched
>> with
>> the provider only if at least one capability is specified
>>
>>
>> Fix avoids the check, and only if the createNetworkOffering
>> 'StrechedL2'Subnet' capability is specified then it should match
>> against
>> 'Connectivity' service provider
>>
>>
>>
>> On 06/05/14 5:41 PM, "Daan Hoogland"  wrote:
>>
>>>Murali,
>>>
>>>Can you have a look to see what defaults where introduced to make
>>>these tests fail? I see StretchedL2 was introduced in commit
>>>d2d54a946310d25a8edd4cab5abf8588a9e1b4df, committed on the 20th of
>>>march.
>>>
>>>thanks,
>>>Daan
>>>
>>>On Tue, May 6, 2014 at 2:00 PM, Ian Southam
>>>
>>>wrote:
 Anybody know what this is?

 I see our Integration testing (for Nicira) has started failing of
late.
 We are not requesting such a network so I presume a default has
changed
somewhere?

 

 ERROR:
test-create-nicira-network-offerings.testNetworkOffering.testCreateNetw
or
kOfferingNiciraL2
 --
 Traceback (most recent call last):
   File "/usr/local/lib/python2.7/site-packages/nose/case.py", line
197,
in runTest
 self.test(*self.arg)
   File "/home/jenkins/slave/workspace/team_tkt/Cloudstack Integration
Testing/build-cloud/scripts/test-create-nicira-network-offerings.py",
line 80, in testCreateNetworkOfferingNiciraL2
 resp = conn.marvinRequest(createNetOff)
   File
"/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py"
,
line 279, in marvinRequest
 response = jsonHelper.getResultObj(response.json(), response_type)
   File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py",
line 148, in getResultObj
 raise cloudstackException.cloudstackAPIException(respname, errMsg)
 cloudstackAPIException: Execute cmd: createnetworkoffering failed, due
to: errorCode: 431, errorText:Provider: NiciraNvp does not support
StretchedL2Subnet
  >> begin captured stdout << -
 DEBUG: sending GET request: createNetworkOffering {'specifyipranges':
'false', 'serviceproviderlist[2].provider': 'VirtualRouter',
'serviceproviderlist[5].service': 'Lb', 'displaytext':
'NiciraNvpL2SNAT', 'serviceproviderlist[0].service': 'UserData',
'serviceproviderlist[4].provider': 'VirtualRouter',
'serviceproviderlist[1].provider': 'VirtualRouter', 'availability':
'Optional', 'conservemode': 'true', 'serviceproviderlist[3].service':
'StaticNat', 'serviceproviderlist[5].provider': 'VirtualRouter',
'serviceproviderlist[0].provider': 'VirtualRouter', 'specifyvlan':
'false', 'serviceproviderlist[8].provider': 'VirtualRouter',
'serviceproviderlist[9].provider': 'NiciraNvp',
'serviceproviderlist[1].service': 'Vpn',
'serviceproviderlist[4].service': 'PortForwarding',
'supportedservices':
'UserData,Vpn,Dhcp,StaticNat,PortForwarding,Lb,Firewall,Dns,SourceNat,C
on
nectivity', 'traffictype': 'GUEST', 'serviceproviderlist[6].provider':
'VirtualRouter', 'serviceproviderlist[8].service': 'SourceNat',
'serviceproviderlist[3].provider': 'VirtualRouter', 'name':
'NiciraNvpL2SNAT', 'serviceproviderlist[9].service': 'Connectivity',
'guestiptype': 'Isolated', 'serviceproviderlist[7].provider':
'VirtualRouter', 'serviceproviderlist[7].service': 'Dns',
'serviceproviderlist[2].service': 'Dhcp',
'serviceproviderlist[6].service': 'Firewall'}
 DEBUG: Computed Signature by Marvin: uwA97AMbhXAPNjW+vzx90pAZv1M=
 DEBUG: Request:
http://cittapp232:8080/client/api?specifyipranges=false&serviceprovider
li
st%5B2%5D.provider=VirtualRouter&serviceproviderlist%5B5%5D.service=Lb&
ap
iKey=ZJi1_VqmRIhto3bj9zGlPq9y9ywI15bskwdvIGooKjfppdKk5lQhwVSMPyhs2wDN8o
_E
K51ePHN8ibzPxXXSTg&displaytext=NiciraNvpL2SNAT&serviceproviderlist%5B0%
5D
.service=UserData&serviceproviderlist%5B4%5D.provider=VirtualRouter&ser
vi
ceproviderlist%5B1%5D.provider=VirtualRouter&availability=Optional&cons
er
vemode=true&serviceproviderlist%5B3%5D.service=StaticNat&serviceprovide
rl
ist%5B5%5D.provider=VirtualRouter&response=json&serviceproviderlist%5B0
%5
D.provider=VirtualRouter&specifyvlan=false&serviceproviderlist%5B8%5D.p
ro
vider=VirtualRouter&serviceproviderlist%5B9%5D.provider=NiciraNvp&servi

[ACS44] Cherry pick for CLOUDSTACK-6399

2014-05-11 Thread Nitin Mehta
Hi Daan,


Can you please cherry-pick following from 4.4-forward to 4.4 ?


commit c12b28fc37b76fff6854f4f6bc068a634f1710bc
CLOUDSTACK-6633: listVolumes should return template/iso info for root
volumes




Thanks,
-Nitin



Re: [ACS44] Cherry pick for CLOUDSTACK-6633

2014-05-11 Thread Nitin Mehta
Correcting the subject.

On 11/05/14 10:57 PM, "Nitin Mehta"  wrote:

>Hi Daan,
>
>
>Can you please cherry-pick following from 4.4-forward to 4.4 ?
>
>
>commit c12b28fc37b76fff6854f4f6bc068a634f1710bc
>CLOUDSTACK-6633: listVolumes should return template/iso info for root
>volumes
>
>
>
>
>Thanks,
>-Nitin
>



RE: Cloudstack maven repo with sonatype nexus

2014-05-11 Thread Rayees Namathponnan
Thanks Prasanna.



-Original Message-
From: Prasanna Santhanam [mailto:t...@apache.org] 
Sent: Sunday, May 11, 2014 9:48 PM
To: dev@cloudstack.apache.org
Subject: Re: Cloudstack maven repo with sonatype nexus

On Thu, May 08, 2014 at 01:33:20AM +, Rayees Namathponnan wrote:
> Hi All,
> 
> Any of you configured "sonatype nexus" with CloudStack for maven ?
> 
> I tried to configure this, but hitting issues with Juniper-Contrail 
> and midonet;  both these jar files are not in maven central repo, then 
> I tried to configure as "3rd party Repository", but it doesn't works.  
> While plugging "plugins/network-elements/juniper-contrail" , maven 
> unable to resolve dependency.

Don't have a instance handy but here's what I used to do:

You'll have to manually add a 3rd party repo for each of the jars not available 
in central and upload the JAR and the corresponding POM into Nexus. The nexus 
setup in Fremont lab should have one of the 3rd party jars added this way for 
reference.

--
Prasanna.,


Powered by BigRock.com



Re: Control event publishing in multi region setups

2014-05-11 Thread Alex Ough
Alex,

It looks like I'd better wait until you're back because I'm afraid Alena
seems to need your approval based on what I've been through.
Let me know once you're back.

Thanks
Alex Ough


On Sat, May 10, 2014 at 12:50 PM, Alex Huang  wrote:

>  Alex and Alena,
>
>
>
> Perhaps, it’s best you two get on the phone about this.  I don’t see Alex
> understanding what I’m saying over email so there’s no point in me
> repeating it.  I’m not around next week and I think Alena is out after
> Wednesday.  Something on Monday or Tuesday would be a good idea or you can
> wait for me to come back the week after.
>
>
>
> --Alex
>
>
>
> *From:* Alex Ough [mailto:alex.o...@sungardas.com]
> *Sent:* Saturday, May 10, 2014 9:28 AM
> *To:* Alex Huang
>
> *Cc:* Murali Reddy; Alena Prokharchyk; Kishan Kavala;
> dev@cloudstack.apache.org
> *Subject:* Re: Control event publishing in multi region setups
>
>
>
> And I'm really wondering if you understood how the 'Full Scan' works. It
> is absolutely internal operations.
>
> Why do we force to use the event generating methods when the updates are
> only internal and never, ever, ever ... need events?
>
>
>
> Let me know if there is any chance it needs to use the events, then I'll
> follow your suggestion.
>
> Thanks
>
> Alex Ough
>
>
>
> On Sat, May 10, 2014 at 11:55 AM, Alex Ough 
> wrote:
>
>  I really don't know why you guys are making it complicated.
>
> The class has two different methods, one with 'event' decorator and the
> other without it.
>
> So the callers know which method to call depending on their needs.
>
> And the each method will be called accordingly.
>
>
>
> On Sat, May 10, 2014 at 6:13 AM, Alex Huang  wrote:
>
>  -1
>
>
>
> I do not believe in the argument that says “since there’s existing bad
> code, then I can check in code that also causes regressions for users.”  If
> that’s the case, what’s the point of the review?
>
>
>
> We’ve offered a path forward already.  Please reconsider that.
>
>
>
> --Alex
>
>
>
> *From:* Alex Ough [mailto:alex.o...@sungardas.com]
> *Sent:* Friday, May 9, 2014 9:14 PM
> *To:* Alex Huang
> *Cc:* Murali Reddy; Alena Prokharchyk; Kishan Kavala;
> dev@cloudstack.apache.org
>
>
> *Subject:* Re: Control event publishing in multi region setups
>
>
>
> Are we going to rolling this out?
>
>
>
> On Thu, May 8, 2014 at 2:28 PM, Alex Ough  wrote:
>
>  That's why there are 2 methods, one is that generates events and the
> other not and there are already a few public methods without event
> decoration.
>
>
>
> On Thu, May 8, 2014 at 2:25 PM, Alex Huang  wrote:
>
>  Alex,
>
>
>
> I did read this when you first proposed.  I do understand the two
> implementation.
>
>
>
> I understand that #2 is not activated via events but it doesn’t mean #2
> can just don’t generate events.  The blocker is precisely with the last
> sentence in #2 where it states #2 doesn’t generate an event when “it
> creates/updates/removes the resource in the local region”.
>
>
>
> Perhaps an example would make this more clear.
>
>
>
> Someone who deploys CloudStack sets up a process to listen to account
> events.  It is a simple audit process whose job is to verify that an
> account created in CloudStack is actually in their own billing database.
>  The fact that #2 doesn’t generate an event would mean this process would
> be broken for them.  This is the regression that causes the blocker.
>
>
>
> --Alex
>
>
>
>
>
> *From:* Alex Ough [mailto:alex.o...@sungardas.com]
> *Sent:* Thursday, May 8, 2014 11:02 AM
> *To:* Alex Huang
> *Cc:* Murali Reddy; Alena Prokharchyk; Kishan Kavala
>
>
> *Subject:* Re: Control event publishing in multi region setups
>
>
>
> Alex,
>
>
>
> I think you really review the wiki (
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Domain-Account-User+Sync+Up+Among+Multiple+Regions)
> or the implemented codes.
>
>
>
> To help you understand, there are 2 synchronizations supported in this
> feature.
>
>
>
> 1. real time sync : This is what you may imagine and event based. This is
> sending requests when they are created/updated/removed in the local region
> by subscribing their events.
>
>
>
> 2. full scan : This is NOT related with events and it is to cover when the
> #1 sync is failed with any reason like network failures. With interval, it
> just scans all resources and compare them with ones in remote regions and
> if there is any missing in the local region, it creates/updates/removes the
> resource in the local region and the NEW METHODS I need are called because
> it is local region only and no need to have events.
>
>
>
> I'm hoping you understand the feature a little more and let me know if you
> need more information.
>
> Thanks
>
> Alex Ough
>
>
>
>
>
> On Thu, May 8, 2014 at 1:43 PM, Alex Huang  wrote:
>
>  Hi Alex,
>
>
>
> Please know that the contribution is much appreciated.  It is not a case
> of whether or not Alena “wants” or “doesn’t want” to approve the review.
> She can only approve if the design is sound and has no regression

Re: Review Request 20659: CLOUDSTACK-5674: Fixed cloudstackConnection.py to return FAILED in case of well handled exceptions returning from server having jobresultcode as 530

2014-05-11 Thread ASF Subversion and Git Services

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20659/#review42671
---


Commit aaa2f5932ba8f7d3ef08ad5176744811589176f5 in cloudstack's branch 
refs/heads/4.4-forward from Gaurav Aradhye
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=aaa2f59 ]

CLOUDSTACK-5674: Fixed cloudstackConnection.py to return FAILED in case of well 
handled exceptions returning from server having jobresultcode as 530


- ASF Subversion and Git Services


On May 12, 2014, 6:04 a.m., Gaurav Aradhye wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/20659/
> ---
> 
> (Updated May 12, 2014, 6:04 a.m.)
> 
> 
> Review request for cloudstack and Girish Shilamkar.
> 
> 
> Bugs: CLOUDSTACK-5674
> https://issues.apache.org/jira/browse/CLOUDSTACK-5674
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> In case of well handled exceptions returned from the server with proper error 
> message, the response was as it is returned. Instead, it should check the 
> jobresultcode. If the jobresultcode is 530, it means that exception is 
> returned from server. In this case we should return FAILED.
> 
> 
> Diffs
> -
> 
>   tools/marvin/marvin/cloudstackConnection.py 8044da7 
>   tools/marvin/marvin/codes.py ef49c0c 
> 
> Diff: https://reviews.apache.org/r/20659/diff/
> 
> 
> Testing
> ---
> 
> Yes
> 
> 
> Thanks,
> 
> Gaurav Aradhye
> 
>



Re: Willing to join cloudstack developer community

2014-05-11 Thread Mike Tutkowski
This might be of interest to you:

http://www.packtpub.com/apache-cloudstack-cloud-computing/book


On Sun, May 11, 2014 at 9:39 PM, Rajani Karuturi  wrote:

> api docs might be a good place to start.
> http://cloudstack.apache.org/docs/api/
>
> install guide and admin guide is available at
> http://docs.cloudstack.apache.org/en/4.3/
>
> Thanks,
> ~Rajani
>
>
>
> On 08-May-2014, at 4:11 pm, sandeep khandekar <
> cloudstack.sand...@gmail.com> wrote:
>
> Hi,
> I would like to join these community to write some programs using the API s
> provided by cloudstack on java platform is it possible and how?
>
> Refer some good books for cloudstack programming.
> Thankyou
>
> --
> SANDEEP KHANDEKAR
> Assistant Professor
> Department of Computer science and engineering
> Sreenidhi Institute of science and Technology
> Hyderabad
>
>


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