[GitHub] cloudstack pull request: More VR performance!

2016-01-21 Thread borisroman
GitHub user borisroman opened a pull request:

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

More VR performance!



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

$ git pull https://github.com/borisroman/cloudstack 4.7-vr-performance-wip

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

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

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

This closes #1356


commit 3eceb60f5ca8b86b3308243ae2905bbfbd54bc39
Author: Boris Schrijver 
Date:   2016-01-20T12:34:09Z

More VR performance!




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: [VOTE] Apache CloudStack 4.7.1

2016-01-21 Thread Boris Roman Schrijver
Hi all,

I’ve tested this release extensively over the past few weeks. It’s getting 
better and better!

Vote: +1 (binding)

All integration tests succeeded and deployment on both Xen and KVM went fine. 
Currently running this release in beta!

 
 
 Boris Roman Schrijver
Mission Critical Engineer

+31 20 7506500
+31 20 7506500
Boeingavenue 271
1119 PD Schiphol-Rijk

 
 








On 20/01/16 23:27, "Remi Bergsma"  wrote:

>Hi all,
>
>I've created a 4.7.1 release candidate, with the following artifacts up for a 
>vote:
>
>Git Branch and Commit SH:
>https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=4.7.1-RC20160120T2318
>
>Commit: 5ea07dc93799f28dd6c268b17514867d92dc53f7
>
>Source release (checksums and signatures are available at the same location):
>https://dist.apache.org/repos/dist/dev/cloudstack/4.7.1/
>
>PGP release keys (signed using A47DDC4F):
>https://dist.apache.org/repos/dist/release/cloudstack/KEYS
>
>Vote will be open for at least 72 hours.
>
>For sanity in tallying the vote, can PMC members please be sure to indicate 
>"(binding)" with their vote?
>
>[ ] +1  approve
>[ ] +0  no opinion
>[ ] -1  disapprove (and reason why)
>


usage server issue - cpu and ram size

2016-01-21 Thread Jochim, Ingo
Hi all,

there is an issue with usage records. To the running time of a VM the usage 
server does not collect any information about the size of a machine.
The fields are empty. That means if you resize a machine a few times you will 
know how long the machine was running but don't know how much you need to 
charge because you don't know the size of the different periods.

Does anyone have a solution or workaround?
A bug report has been opened.

Thanks and regards,
Ingo

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

"The usage data is created without including the information of properties of 
the usage object. For example if we want to bill a vm with usagetype 1 we only 
see the time the vm was used. But we don't see in the usage data how many cpus, 
etc. the vm had at the time the usage record was created. Thus we cannot bill 
changes of the vm. For example if a customer adds a cpu core to his vm and 
later removes it, this should be seen in the usage records. But as far as I 
know the database records are all set to NULL and cloudmonkey does not return 
these fields although they are availble in the API."

-- 
This email was Virus checked by UTM 9. http://www.sophos.com


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

2016-01-21 Thread jenkins
See 

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

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud ---
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[1.736s]
[INFO] Apache CloudStack . SUCCESS [2.129s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.863s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [18.736s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:30.891s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.109s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [53.615s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [26.802s]
[INFO] Apache CloudStack API . SUCCESS [1:48.495s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [16.819s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [30.008s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.112s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [28.503s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [25.966s]
[INFO] Apache CloudStack Core  SUCCESS [1:22.130s]
[INFO] Apache CloudStack Agents .. SUCCESS [36.171s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [36.624s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [15.141s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:07.819s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [40.506s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [25.146s]
[INFO] Apache CloudStack Server .. SUCCESS [4:16.300s]
[INFO] Apache CloudStack Framework - Quota ... SUCCESS [37.066s]
[INFO] Apache CloudStack Usage Server  SUCCESS [44.744s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:22.442s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.092s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.453s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [53.314s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [48.175s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [30.954s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [26.629s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [22.580s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [20.843s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [35.140s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.263s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [8.447s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [0.945s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [26.789s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[23.502s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[36.013s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [17.524s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [23.429s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [15.814s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS 
[16.839s]
[INFO] Apache 

RE: [ANNOUNCE] New PMC member: Boris Roman Schrijver

2016-01-21 Thread Suresh Sadhu
Congrats Boris!!

On 1/19/16 4:15 AM, Wilder Rodrigues wrote:
> The Project Management Committee (PMC) for Apache CloudStack is 
> pleased to announce that Boris Roman Schrijver has accepted our invitation to 
> join the PMC.
> 
> Please join me in congratulating him.
> 
> On behalf of the Apache CloudStack PMC Wilder Rodrigues
> 


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

2016-01-21 Thread jenkins
See 

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

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud ---
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[1.833s]
[INFO] Apache CloudStack . SUCCESS [2.078s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.779s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [19.861s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:32.322s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.111s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [54.545s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [28.232s]
[INFO] Apache CloudStack API . SUCCESS [1:58.158s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [17.018s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [29.860s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.083s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [28.435s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [25.518s]
[INFO] Apache CloudStack Core  SUCCESS [1:21.551s]
[INFO] Apache CloudStack Agents .. SUCCESS [36.159s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [37.750s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [14.464s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:06.989s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [40.973s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [25.937s]
[INFO] Apache CloudStack Server .. SUCCESS [4:12.749s]
[INFO] Apache CloudStack Framework - Quota ... SUCCESS [37.648s]
[INFO] Apache CloudStack Usage Server  SUCCESS [46.097s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:21.587s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.075s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.436s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [53.199s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [49.031s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [30.382s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [27.170s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [25.986s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [22.993s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [35.476s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.460s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [8.029s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [0.943s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [27.286s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[24.067s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[35.972s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [18.069s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [23.642s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [15.807s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS 
[17.618s]
[INFO] Apache 

[GitHub] cloudstack pull request: CLOUDSTACK-9142 Migrate VM changes xmlDes...

2016-01-21 Thread DaanHoogland
Github user DaanHoogland commented on the pull request:

https://github.com/apache/cloudstack/pull/1348#issuecomment-173519263
  
@remibergsma I reproduced the error. I had not copied the newlines from the 
problematic system into my unit test. will push a fix without hurry.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: [VOTE] Apache CloudStack 4.7.1

2016-01-21 Thread Remi Bergsma
Hi Pierre-Luc,

The only reference I find is in the schema-460to461.sql file. But since you 
already run 4.6.1 it is not executed.

How did you upgrade to 4.6.1 before?

Regards,
Remi



On 21/01/16 15:30, "Pierre-Luc Dion"  wrote:

>Did test upgrade from 4.6.1 to 4.7.1 and when I look into Affinity Groups
> tab in the ui  I see the following error message:
>
>DB Exception on: com.mysql.jdbc.JDBC4PreparedStatement@23f3ef77: SELECT
>affinity_group_view.id, affinity_group_view.name, affinity_group_view.type,
>affinity_group_view.description, affinity_group_view.uuid,
>affinity_group_view.account_id, affinity_group_view.account_uuid,
>affinity_group_view.account_name, affinity_group_view.account_type,
>affinity_group_view.domain_id, affinity_group_view.domain_uuid,
>affinity_group_view.domain_name, affinity_group_view.domain_path,
>affinity_group_view.project_id, affinity_group_view.project_uuid,
>affinity_group_view.project_name, affinity_group_view.vm_id,
>affinity_group_view.vm_uuid, affinity_group_view.vm_name,
>affinity_group_view.vm_display_name, affinity_group_view.vm_state,
>affinity_group_view.acl_type FROM affinity_group_view WHERE
>affinity_group_view.id IN (2,3)
>
>Could it be possible a db query is missing in the upgrade path ?
>
>
>Performing the query directly in MySQL provide the following error:
>ERROR 1054 (42S22): Unknown column 'affinity_group_view.project_id' in
>'field list'
>
>
>Thanks,
>
>PL
>
>
>On Thu, Jan 21, 2016 at 7:31 AM, Boris Roman Schrijver <
>bschrij...@schubergphilis.com> wrote:
>
>> Hi all,
>>
>> I’ve tested this release extensively over the past few weeks. It’s getting
>> better and better!
>>
>> Vote: +1 (binding)
>>
>> All integration tests succeeded and deployment on both Xen and KVM went
>> fine. Currently running this release in beta!
>>
>>
>>
>>  Boris Roman Schrijver
>> Mission Critical Engineer
>>
>> +31 20 7506500
>> +31 20 7506500
>> Boeingavenue 271
>> 1119 PD Schiphol-Rijk
>>
>>  
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On 20/01/16 23:27, "Remi Bergsma"  wrote:
>>
>> >Hi all,
>> >
>> >I've created a 4.7.1 release candidate, with the following artifacts up
>> for a vote:
>> >
>> >Git Branch and Commit SH:
>> >
>> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=4.7.1-RC20160120T2318
>> >
>> >Commit: 5ea07dc93799f28dd6c268b17514867d92dc53f7
>> >
>> >Source release (checksums and signatures are available at the same
>> location):
>> >https://dist.apache.org/repos/dist/dev/cloudstack/4.7.1/
>> >
>> >PGP release keys (signed using A47DDC4F):
>> >https://dist.apache.org/repos/dist/release/cloudstack/KEYS
>> >
>> >Vote will be open for at least 72 hours.
>> >
>> >For sanity in tallying the vote, can PMC members please be sure to
>> indicate "(binding)" with their vote?
>> >
>> >[ ] +1  approve
>> >[ ] +0  no opinion
>> >[ ] -1  disapprove (and reason why)
>> >
>>


Re: [VOTE] Apache CloudStack 4.7.1

2016-01-21 Thread Pierre-Luc Dion
Did test upgrade from 4.6.1 to 4.7.1 and when I look into Affinity Groups
 tab in the ui  I see the following error message:

DB Exception on: com.mysql.jdbc.JDBC4PreparedStatement@23f3ef77: SELECT
affinity_group_view.id, affinity_group_view.name, affinity_group_view.type,
affinity_group_view.description, affinity_group_view.uuid,
affinity_group_view.account_id, affinity_group_view.account_uuid,
affinity_group_view.account_name, affinity_group_view.account_type,
affinity_group_view.domain_id, affinity_group_view.domain_uuid,
affinity_group_view.domain_name, affinity_group_view.domain_path,
affinity_group_view.project_id, affinity_group_view.project_uuid,
affinity_group_view.project_name, affinity_group_view.vm_id,
affinity_group_view.vm_uuid, affinity_group_view.vm_name,
affinity_group_view.vm_display_name, affinity_group_view.vm_state,
affinity_group_view.acl_type FROM affinity_group_view WHERE
affinity_group_view.id IN (2,3)

Could it be possible a db query is missing in the upgrade path ?


Performing the query directly in MySQL provide the following error:
ERROR 1054 (42S22): Unknown column 'affinity_group_view.project_id' in
'field list'


Thanks,

PL


On Thu, Jan 21, 2016 at 7:31 AM, Boris Roman Schrijver <
bschrij...@schubergphilis.com> wrote:

> Hi all,
>
> I’ve tested this release extensively over the past few weeks. It’s getting
> better and better!
>
> Vote: +1 (binding)
>
> All integration tests succeeded and deployment on both Xen and KVM went
> fine. Currently running this release in beta!
>
>
>
>  Boris Roman Schrijver
> Mission Critical Engineer
>
> +31 20 7506500
> +31 20 7506500
> Boeingavenue 271
> 1119 PD Schiphol-Rijk
>
>  
>
>
>
>
>
>
>
>
>
> On 20/01/16 23:27, "Remi Bergsma"  wrote:
>
> >Hi all,
> >
> >I've created a 4.7.1 release candidate, with the following artifacts up
> for a vote:
> >
> >Git Branch and Commit SH:
> >
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=4.7.1-RC20160120T2318
> >
> >Commit: 5ea07dc93799f28dd6c268b17514867d92dc53f7
> >
> >Source release (checksums and signatures are available at the same
> location):
> >https://dist.apache.org/repos/dist/dev/cloudstack/4.7.1/
> >
> >PGP release keys (signed using A47DDC4F):
> >https://dist.apache.org/repos/dist/release/cloudstack/KEYS
> >
> >Vote will be open for at least 72 hours.
> >
> >For sanity in tallying the vote, can PMC members please be sure to
> indicate "(binding)" with their vote?
> >
> >[ ] +1  approve
> >[ ] +0  no opinion
> >[ ] -1  disapprove (and reason why)
> >
>


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

2016-01-21 Thread jenkins
See 

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

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud ---
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[1.739s]
[INFO] Apache CloudStack . SUCCESS [2.054s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.756s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [18.786s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:32.622s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.108s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [55.143s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [27.607s]
[INFO] Apache CloudStack API . SUCCESS [1:50.905s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [16.343s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [30.183s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.087s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [28.440s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [25.532s]
[INFO] Apache CloudStack Core  SUCCESS [1:21.747s]
[INFO] Apache CloudStack Agents .. SUCCESS [36.097s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [36.731s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [14.307s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:10.894s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [40.239s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [25.097s]
[INFO] Apache CloudStack Server .. SUCCESS [4:12.838s]
[INFO] Apache CloudStack Framework - Quota ... SUCCESS [37.512s]
[INFO] Apache CloudStack Usage Server  SUCCESS [44.719s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:21.107s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.072s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.430s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [53.260s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [47.537s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [31.273s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [26.613s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [25.656s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [21.155s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [35.361s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.438s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [8.549s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [1.013s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [26.934s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[23.541s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[37.460s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [17.462s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [23.168s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [16.958s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS 
[17.158s]
[INFO] Apache 

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

2016-01-21 Thread jenkins
See 

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

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud ---
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[1.750s]
[INFO] Apache CloudStack . SUCCESS [2.108s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.790s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [18.553s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:30.011s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.111s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [53.707s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [27.622s]
[INFO] Apache CloudStack API . SUCCESS [1:50.926s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [16.495s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [29.431s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.089s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [28.193s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [25.044s]
[INFO] Apache CloudStack Core  SUCCESS [1:21.854s]
[INFO] Apache CloudStack Agents .. SUCCESS [38.163s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [36.665s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [14.444s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:06.523s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [41.025s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [25.726s]
[INFO] Apache CloudStack Server .. SUCCESS [4:12.716s]
[INFO] Apache CloudStack Framework - Quota ... SUCCESS [37.737s]
[INFO] Apache CloudStack Usage Server  SUCCESS [45.424s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:22.807s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.077s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.481s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [54.372s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [48.057s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [29.715s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [26.560s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [30.943s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [20.441s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [35.191s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.351s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [7.898s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [1.017s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [26.752s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[25.025s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[36.078s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [17.618s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [23.832s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [16.852s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS 
[16.988s]
[INFO] Apache 

[GitHub] cloudstack pull request: Fix Sync of template.properties in Swift

2016-01-21 Thread syed
Github user syed commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1331#discussion_r50443906
  
--- Diff: 
services/secondary-storage/server/src/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java
 ---
@@ -942,6 +931,83 @@ protected Answer copyFromNfsToS3(CopyCommand cmd) {
 }
 }
 
+protected boolean swiftUploadMetadataFile(SwiftTO swift, File srcFile, 
String containerName) throws IOException {
+
+
+//create a template.properties for Swift with its correct unique 
name
--- End diff --

Thanks for the suggestion. I finally was able to get some time to work on 
this again. I'll send a new PR soon with your comments. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: Fix Sync of template.properties in Swift

2016-01-21 Thread syed
Github user syed commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1331#discussion_r50446719
  
--- Diff: 
services/secondary-storage/server/src/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java
 ---
@@ -942,6 +931,83 @@ protected Answer copyFromNfsToS3(CopyCommand cmd) {
 }
 }
 
+protected boolean swiftUploadMetadataFile(SwiftTO swift, File srcFile, 
String containerName) throws IOException {
+
+
+//create a template.properties for Swift with its correct unique 
name
+File uniqDir = _storage.createUniqDir();
+String metaFileName = uniqDir.getAbsolutePath() + File.separator + 
"template.properties";
+_storage.create(uniqDir.getAbsolutePath(), "template.properties");
+
+String uniqueName = FilenameUtils.getBaseName(srcFile.getName());
+File metaFile = new File(metaFileName);
+FileWriter writer = new FileWriter(metaFile);
+BufferedWriter bufferWriter = new BufferedWriter(writer);
+bufferWriter.write("uniquename=" + uniqueName);
+bufferWriter.write("\n");
+bufferWriter.write("filename=" + srcFile.getName());
+bufferWriter.write("\n");
+bufferWriter.write("size=" + srcFile.length());
+bufferWriter.write("\n");
+bufferWriter.write("virtualsize=" + getVirtualSize(srcFile, 
getTemplateFormat(srcFile.getName(;
+bufferWriter.close();
+writer.close();
+
+SwiftUtil.putObject(swift, metaFile, containerName, _tmpltpp);
+metaFile.delete();
+uniqDir.delete();
+
+return true;
+}
+
+
+protected Answer copyFromNfsToSwift(CopyCommand cmd) {
+
+final DataTO srcData = cmd.getSrcTO();
+final DataTO destData = cmd.getDestTO();
+
+DataStoreTO srcDataStore = srcData.getDataStore();
+NfsTO srcStore = (NfsTO)srcDataStore;
+DataStoreTO destDataStore = destData.getDataStore();
+File srcFile = getFile(srcData.getPath(), srcStore.getUrl());
+
+SwiftTO swift = (SwiftTO)destDataStore;
+
+try {
+
+String containerName = 
SwiftUtil.getContainerName(destData.getObjectType().toString(), 
destData.getId());
+String swiftPath = SwiftUtil.putObject(swift, srcFile, 
containerName, srcFile.getName());
+
+
+DataTO retObj = null;
+if (destData.getObjectType() == DataObjectType.TEMPLATE) {
+swiftUploadMetadataFile(swift, srcFile, containerName);
+TemplateObjectTO newTemplate = new TemplateObjectTO();
+newTemplate.setPath(swiftPath);
+newTemplate.setSize(getVirtualSize(srcFile, 
getTemplateFormat(srcFile.getName(;
+newTemplate.setPhysicalSize(srcFile.length());
+
newTemplate.setFormat(getTemplateFormat(srcFile.getName()));
+retObj = newTemplate;
+} else if (destData.getObjectType() == DataObjectType.VOLUME) {
+VolumeObjectTO newVol = new VolumeObjectTO();
+newVol.setPath(containerName);
+newVol.setSize(srcFile.length());
--- End diff --

Good catch @pdube. That should be the virtual size (not the physical) 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: Fix Sync of template.properties in Swift

2016-01-21 Thread syed
Github user syed commented on the pull request:

https://github.com/apache/cloudstack/pull/1331#issuecomment-173678575
  
Jira ticket : 
[CLOUDSTACK-9247](https://issues.apache.org/jira/browse/CLOUDSTACK-9247)

I've tested this on our local setup and it works as expected. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: Add ability to download templates in Swif...

2016-01-21 Thread syed
Github user syed commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1332#discussion_r50451895
  
--- Diff: 
plugins/storage/image/swift/src/org/apache/cloudstack/storage/datastore/driver/SwiftImageStoreDriverImpl.java
 ---
@@ -67,7 +73,28 @@ public DataStoreTO getStoreTO(DataStore store) {
 
 @Override
 public String createEntityExtractUrl(DataStore store, String 
installPath, ImageFormat format, DataObject dataObject) {
-throw new UnsupportedServiceException("Extract entity url is not 
yet supported for Swift image store provider");
+
+SwiftTO swiftTO = (SwiftTO)store.getTO();
+String tempKey = UUID.randomUUID().toString();
+boolean result = SwiftUtil.setTempKey(swiftTO, tempKey);
+
+if (!result) {
+s_logger.error("Unable to set Temp-Key: " + tempKey);
+return "";
+}
+
+String containerName = 
SwiftUtil.getContainerName(dataObject.getType().toString(), dataObject.getId());
+String objectName = installPath.split("\\/")[1];
+// Get extract url expiration interval set in global configuration 
(in seconds)
+int urlExpirationInterval = 
Integer.parseInt(_configDao.getValue(Config.ExtractURLExpirationInterval.toString()));
+
+URL swiftUrl = SwiftUtil.generateTempUrl(swiftTO, containerName, 
objectName, tempKey, urlExpirationInterval);
+if (swiftUrl != null) {
+s_logger.info("Swift temp-url: " + swiftUrl.toString());
--- End diff --

changed to DEBUG



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: Add ability to download templates in Swif...

2016-01-21 Thread syed
Github user syed commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1332#discussion_r50452491
  
--- Diff: utils/src/main/java/com/cloud/utils/SwiftUtil.java ---
@@ -236,4 +247,60 @@ public static boolean deleteObject(SwiftClientCfg cfg, 
String path) {
 command.execute(parser);
 return true;
 }
+
+public static boolean setTempKey(SwiftClientCfg cfg, String tempKey){
+
+Map tempKeyMap = new HashMap<>();
+tempKeyMap.put("Temp-URL-Key", tempKey);
+return postMeta(cfg, "", "", tempKeyMap);
+
+}
+
+public static URL generateTempUrl(SwiftClientCfg cfg, String 
container, String object, String tempKey, int urlExpirationInterval) {
+
+int currentTime = (int) (System.currentTimeMillis() / 1000L);
+int expirationSeconds = currentTime + urlExpirationInterval;
+
+try {
+
+URL endpoint = new URL(cfg.getEndPoint());
+String method = "GET";
+String path = String.format("/v1/AUTH_%s/%s/%s", 
cfg.getAccount(), container, object);
+
+//sign the request
+String hmacBody = String.format("%s\n%d\n%s", method, 
expirationSeconds, path);
+String signature = calculateRFC2104HMAC(hmacBody, tempKey);
+path += String.format("?temp_url_sig=%s_url_expires=%d", 
signature, expirationSeconds);
+
+//generate the temp url
+URL tempUrl = new URL(endpoint.getProtocol(), 
endpoint.getHost(), endpoint.getPort(), path);
+
+return tempUrl;
+
+} catch (Exception e) {
+logger.error("Unable to generate temperoary URL " + 
e.getMessage());
--- End diff --

rethrowing exception 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


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

2016-01-21 Thread jenkins
See 

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

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud ---
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[1.714s]
[INFO] Apache CloudStack . SUCCESS [2.106s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.767s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [18.886s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:29.883s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.106s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [54.424s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [27.394s]
[INFO] Apache CloudStack API . SUCCESS [1:48.124s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [17.208s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [30.612s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.089s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [28.432s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [24.716s]
[INFO] Apache CloudStack Core  SUCCESS [1:20.892s]
[INFO] Apache CloudStack Agents .. SUCCESS [37.709s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [36.107s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [14.284s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:08.665s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [40.343s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [25.452s]
[INFO] Apache CloudStack Server .. SUCCESS [4:12.425s]
[INFO] Apache CloudStack Framework - Quota ... SUCCESS [37.845s]
[INFO] Apache CloudStack Usage Server  SUCCESS [44.552s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:21.617s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.067s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.464s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [53.861s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [48.439s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [30.052s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [26.217s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [32.544s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [20.604s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [35.190s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.477s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [7.772s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [0.958s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [26.399s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[23.157s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[37.293s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [17.324s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [23.371s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [15.872s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS 
[16.670s]
[INFO] Apache 

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

2016-01-21 Thread jenkins
See 

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

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud ---
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[1.710s]
[INFO] Apache CloudStack . SUCCESS [2.079s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.775s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [19.024s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:29.994s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.098s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [54.634s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [28.047s]
[INFO] Apache CloudStack API . SUCCESS [1:48.829s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [16.641s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [29.867s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.091s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [28.106s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [24.697s]
[INFO] Apache CloudStack Core  SUCCESS [1:20.798s]
[INFO] Apache CloudStack Agents .. SUCCESS [35.662s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [36.279s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [14.302s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:06.475s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [41.469s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [24.830s]
[INFO] Apache CloudStack Server .. SUCCESS [4:14.555s]
[INFO] Apache CloudStack Framework - Quota ... SUCCESS [37.975s]
[INFO] Apache CloudStack Usage Server  SUCCESS [45.059s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:21.537s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.095s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.428s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [54.167s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [48.624s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [30.061s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [26.962s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [25.699s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [23.283s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [35.421s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.382s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [7.537s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [1.013s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [26.834s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[23.412s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[36.275s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [17.229s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [23.754s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [16.207s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS 
[17.062s]
[INFO] Apache 

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

2016-01-21 Thread jenkins
See 

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

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud ---
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[1.820s]
[INFO] Apache CloudStack . SUCCESS [2.607s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.924s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [19.096s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:29.871s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.113s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [52.739s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [27.402s]
[INFO] Apache CloudStack API . SUCCESS [1:58.445s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [15.912s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [29.801s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.091s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [28.063s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [24.799s]
[INFO] Apache CloudStack Core  SUCCESS [1:20.745s]
[INFO] Apache CloudStack Agents .. SUCCESS [36.426s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [36.362s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [15.273s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:07.979s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [40.507s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [24.771s]
[INFO] Apache CloudStack Server .. SUCCESS [4:15.757s]
[INFO] Apache CloudStack Framework - Quota ... SUCCESS [37.508s]
[INFO] Apache CloudStack Usage Server  SUCCESS [44.424s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:19.785s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.083s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.435s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [54.124s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [49.327s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [30.363s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [26.417s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [30.853s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [20.836s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [35.343s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.257s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [7.914s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [1.016s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [26.379s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[23.399s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[37.448s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [17.421s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [23.287s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [16.322s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS 
[16.581s]
[INFO] Apache 

[GitHub] cloudstack pull request: CLOUDSTACK-8958: release dedicated ip ran...

2016-01-21 Thread ustcweizhou
GitHub user ustcweizhou opened a pull request:

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

CLOUDSTACK-8958: release dedicated ip range in domain removal

We are able to assign didacated vlan ip ranges after the merge of 
CLOUDSTACK-8958.
These ip ranges need to be released automatically when we delete a domain.

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

$ git pull https://github.com/ustcweizhou/cloudstack 
release-ip-ranges-for-domain

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

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

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

This closes #1357


commit 252ebb56f23cdffa243f8c71116688f19f6f9f0c
Author: Wei Zhou 
Date:   2016-01-20T16:21:06Z

CLOUDSTACK-8958: release dedicated ip range in domain removal




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


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

2016-01-21 Thread jenkins
See 

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

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud ---
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[1.820s]
[INFO] Apache CloudStack . SUCCESS [2.264s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.772s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [18.941s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:29.097s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.113s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [53.564s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [27.402s]
[INFO] Apache CloudStack API . SUCCESS [1:49.011s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [15.886s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [29.883s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.098s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [28.348s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [25.733s]
[INFO] Apache CloudStack Core  SUCCESS [1:21.044s]
[INFO] Apache CloudStack Agents .. SUCCESS [36.280s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [37.493s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [14.084s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:07.176s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [40.802s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [24.792s]
[INFO] Apache CloudStack Server .. SUCCESS [4:13.520s]
[INFO] Apache CloudStack Framework - Quota ... SUCCESS [36.330s]
[INFO] Apache CloudStack Usage Server  SUCCESS [44.535s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:23.101s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.098s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.450s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [53.739s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [48.247s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [29.682s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [25.879s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [25.485s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [23.907s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [35.338s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.533s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [8.221s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [1.029s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [26.360s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[23.429s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[36.612s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [17.338s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [23.077s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [15.693s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS 
[16.874s]
[INFO] Apache 

[GitHub] cloudstack pull request: Add ability to download templates in Swif...

2016-01-21 Thread syed
Github user syed commented on the pull request:

https://github.com/apache/cloudstack/pull/1332#issuecomment-173688390
  
JIRA: 
[CLOUDSTACK-9248](https://issues.apache.org/jira/browse/CLOUDSTACK-9248)

Tested this on our local setup. Created a template and generated the 
download link. Verified the download and it is the same as the template. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: Add ability to download templates in Swif...

2016-01-21 Thread syed
Github user syed commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1332#discussion_r50451763
  
--- Diff: 
plugins/storage/image/swift/src/org/apache/cloudstack/storage/datastore/driver/SwiftImageStoreDriverImpl.java
 ---
@@ -67,7 +73,28 @@ public DataStoreTO getStoreTO(DataStore store) {
 
 @Override
 public String createEntityExtractUrl(DataStore store, String 
installPath, ImageFormat format, DataObject dataObject) {
-throw new UnsupportedServiceException("Extract entity url is not 
yet supported for Swift image store provider");
+
+SwiftTO swiftTO = (SwiftTO)store.getTO();
+String tempKey = UUID.randomUUID().toString();
+boolean result = SwiftUtil.setTempKey(swiftTO, tempKey);
+
+if (!result) {
+s_logger.error("Unable to set Temp-Key: " + tempKey);
+return "";
--- End diff --

Fixed. Throwing exception instead


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---