Re: Important Pending Items

2016-02-25 Thread Koushik Das
I think that it is better to sort out the CI stuff for validating PRs before 
moving ahead with the next release.
There was a recent mail from Bharat on a sample CI BVT run. As I understand it 
is still WIP, but once the remaining items are fixed it will be useful for 
validating PRs.

Also I can be the 2nd RM along with Will for the next release.

-Koushik 
 
> On 25-Feb-2016, at 10:13 PM, Will Stevens  wrote:
> 
> I am willing to step up as the RM for 4.9.  I need to get caught up on the
> workflow and what CI we have in place etc...  Any help getting caught up on
> how we are currently working would be appreciated.  I need to get my lab
> setup to start testing and working through the different PRs, so I am still
> a little ways out from being able to actually get things moving.
> 
> *Will STEVENS*
> Lead Developer
> 
> *CloudOps* *| *Cloud Solutions Experts
> 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
> w cloudops.com *|* tw @CloudOps_
> 
> On Wed, Feb 10, 2016 at 3:58 AM, Sebastien Goasguen 
> wrote:
> 
>> Morning folks,
>> 
>> We have several crucial pending items, that we need to resolve before
>> moving on:
>> 
>> 1- We need an RM for master ( just saw some commits there that should be
>> reverted or merged properly in other branches).
>> 
>> 2- We need to automate writing release notes, pushing/tagging new docs
>> when release come out and announcing releases on website. Currently neither
>> 4.7 nor 4.8 have been announced.
>> 
>> 3- CI is still almost inexistent
>> 
>> -Sebastien



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

2016-02-25 Thread jenkins
See 

--
[...truncated 28679 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.807s]
[INFO] Apache CloudStack . SUCCESS [2.113s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.814s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [19.556s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:31.068s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.105s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [53.241s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [27.240s]
[INFO] Apache CloudStack API . SUCCESS [1:49.269s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [16.495s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [29.389s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.087s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [28.513s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [24.225s]
[INFO] Apache CloudStack Core  SUCCESS [1:22.274s]
[INFO] Apache CloudStack Agents .. SUCCESS [36.357s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [35.648s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [15.290s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:06.683s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [40.940s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [25.440s]
[INFO] Apache CloudStack Server .. SUCCESS [4:10.164s]
[INFO] Apache CloudStack Framework - Quota ... SUCCESS [37.640s]
[INFO] Apache CloudStack Usage Server  SUCCESS [43.522s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:21.403s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.072s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.448s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [53.521s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [48.693s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [29.488s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [26.490s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [22.213s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [20.536s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [35.062s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.302s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [7.928s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [0.949s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [26.390s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[23.199s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[37.775s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [17.146s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [23.488s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [15.836s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS 
[16.712s]
[INFO] Apache 

Slow remote debugging

2016-02-25 Thread Tutkowski, Mike
Hi,


I can't put my finger exactly on when this started happening; however, at some 
point, my remote debugging from home (over VPN) with Eclipse has gotten 
ridiculously slow. I'm on Mars.1 now for Eclipse, but Juno gave me the same 
experience.


When I'm in the office, everything works quickly (just like it used to from 
home).


At home, it can take minutes to attach to the remote JVM running the CSMS.


When I hit a breakpoint and then resume to run to another breakpoint, it can 
also take minutes.


I've done a fair amount of searching on the web for solutions, but none of them 
have worked.


My internet speed is good: 38.61 Mbps download and 72.33 Mbps upload (just 
checked a moment ago).


Has anyone else experienced such issues? If so, how have you solved them?


Thanks!

Mike


[GitHub] cloudstack pull request: CLOUDSTACK-9168: Testpath to check if wro...

2016-02-25 Thread pavanb018
Github user pavanb018 commented on the pull request:

https://github.com/apache/cloudstack/pull/1245#issuecomment-189116369
  
I have reviewed the code and it looks good to me as per the code review.


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


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

2016-02-25 Thread jenkins
See 

--
[...truncated 28679 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.695s]
[INFO] Apache CloudStack . SUCCESS [2.051s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.771s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [19.099s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:30.466s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.103s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [53.230s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [27.198s]
[INFO] Apache CloudStack API . SUCCESS [1:47.947s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [16.563s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [29.775s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.086s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [28.024s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [25.400s]
[INFO] Apache CloudStack Core  SUCCESS [1:21.013s]
[INFO] Apache CloudStack Agents .. SUCCESS [37.101s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [36.373s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [14.204s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:07.622s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [40.955s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [25.708s]
[INFO] Apache CloudStack Server .. SUCCESS [4:10.857s]
[INFO] Apache CloudStack Framework - Quota ... SUCCESS [37.602s]
[INFO] Apache CloudStack Usage Server  SUCCESS [44.783s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:24.282s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.070s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.445s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [55.031s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [48.521s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [31.396s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [26.132s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [25.771s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [23.258s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [35.527s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.328s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [7.543s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [0.953s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [26.338s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[23.485s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[37.160s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [17.211s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [23.470s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [14.778s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS 
[16.670s]
[INFO] Apache 

Re: Build failed in Jenkins: build-master-slowbuild #3323

2016-02-25 Thread Will Stevens
Can someone who has SSH access to the Jenkins slave this is running on
please clean up some disk space? It is out of disk space, but I don't have
access to do a cleanup. Thx.
On Feb 25, 2016 7:16 PM,  wrote:

> See 
>
> --
> [...truncated 28689 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 <
> http://jenkins.buildacloud.org/job/build-master-slowbuild/ws/quickcloud/src/test/resources
> >
> [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.757s]
> [INFO] Apache CloudStack . SUCCESS [2.089s]
> [INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.795s]
> [INFO] Apache CloudStack Framework - Managed Context . SUCCESS
> [18.813s]
> [INFO] Apache CloudStack Utils ... SUCCESS
> [1:28.870s]
> [INFO] Apache CloudStack Framework ... SUCCESS [0.109s]
> [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS
> [52.816s]
> [INFO] Apache CloudStack Framework - Configuration ... SUCCESS
> [27.457s]
> [INFO] Apache CloudStack API . SUCCESS
> [1:49.265s]
> [INFO] Apache CloudStack Framework - REST  SUCCESS
> [16.284s]
> [INFO] Apache CloudStack Framework - IPC . SUCCESS
> [30.155s]
> [INFO] Apache CloudStack Cloud Engine  SUCCESS [0.084s]
> [INFO] Apache CloudStack Cloud Engine API  SUCCESS
> [28.420s]
> [INFO] Apache CloudStack Framework - Security  SUCCESS
> [25.230s]
> [INFO] Apache CloudStack Core  SUCCESS
> [1:21.490s]
> [INFO] Apache CloudStack Agents .. SUCCESS
> [36.733s]
> [INFO] Apache CloudStack Framework - Clustering .. SUCCESS
> [36.410s]
> [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS
> [14.163s]
> [INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS
> [2:07.916s]
> [INFO] Apache CloudStack Framework - Jobs  SUCCESS
> [40.842s]
> [INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS
> [25.546s]
> [INFO] Apache CloudStack Server .. SUCCESS
> [4:10.394s]
> [INFO] Apache CloudStack Framework - Quota ... SUCCESS
> [38.057s]
> [INFO] Apache CloudStack Usage Server  SUCCESS
> [44.087s]
> [INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS
> [1:24.508s]
> [INFO] Apache CloudStack Cloud Services .. SUCCESS [0.067s]
> [INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.489s]
> [INFO] Apache CloudStack Secondary Storage Service ... SUCCESS
> [54.992s]
> [INFO] Apache CloudStack Engine Storage Component  SUCCESS
> [47.943s]
> [INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS
> [31.912s]
> [INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS
> [25.841s]
> [INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS
> [26.268s]
> [INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS
> [22.636s]
> [INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS
> [36.067s]
> [INFO] Apache CloudStack Cloud Engine API  SUCCESS
> [12.472s]
> [INFO] Apache CloudStack Cloud Engine Service  SUCCESS [8.429s]
> [INFO] Apache CloudStack Plugin POM .. SUCCESS [0.969s]
> [INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS
> [26.547s]
> [INFO] Apache CloudStack Plugin - Storage Volume default provider  

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

2016-02-25 Thread jenkins
See 

--
[...truncated 28689 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.757s]
[INFO] Apache CloudStack . SUCCESS [2.089s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.795s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [18.813s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:28.870s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.109s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [52.816s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [27.457s]
[INFO] Apache CloudStack API . SUCCESS [1:49.265s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [16.284s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [30.155s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.084s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [28.420s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [25.230s]
[INFO] Apache CloudStack Core  SUCCESS [1:21.490s]
[INFO] Apache CloudStack Agents .. SUCCESS [36.733s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [36.410s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [14.163s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:07.916s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [40.842s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [25.546s]
[INFO] Apache CloudStack Server .. SUCCESS [4:10.394s]
[INFO] Apache CloudStack Framework - Quota ... SUCCESS [38.057s]
[INFO] Apache CloudStack Usage Server  SUCCESS [44.087s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:24.508s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.067s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.489s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [54.992s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [47.943s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [31.912s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [25.841s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [26.268s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [22.636s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [36.067s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.472s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [8.429s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [0.969s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [26.547s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[23.091s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[35.996s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [17.095s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [23.789s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [14.758s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS 
[16.836s]
[INFO] Apache 

Re: Question about templates and zones

2016-02-25 Thread Syed Mushtaq
Since no one answered, I am assuming this is a bug and I've opened a PR to
fix this https://github.com/apache/cloudstack/pull/1424

On Wed, Feb 24, 2016 at 12:48 PM, Syed Mushtaq 
wrote:

> Right, so if we have a region store (Swift or S3) that means that the
> templates should be cross zoned correct? I see this is the case with
> registerTemplate API but with createTemplate, it looks like we are not
> setting the cross zone flag I'm assuming that is a bug unless someone knows
> a reason.
>
> On Wed, Feb 24, 2016 at 9:32 AM, Patrick Dube 
> wrote:
>
>> Templates can be cross zones if the secondary storage is cross zones. In
>> the case of Swift, templates are not tied to a zone.
>>
>> On Tue, Feb 23, 2016 at 4:48 PM, Tutkowski, Mike <
>> mike.tutkow...@netapp.com>
>> wrote:
>>
>> > I see. Yeah, I just took a quick peek at the GUI and it drives the
>> > interaction through the selection of a zone for the template.
>> > 
>> > From: Syed Mushtaq 
>> > Sent: Tuesday, February 23, 2016 2:32 PM
>> > To: dev@cloudstack.apache.org
>> > Subject: Re: Question about templates and zones
>> >
>> > Yes but that is optional though. You can still delete a template just by
>> > giving the ID
>> >
>> > On Tue, Feb 23, 2016 at 4:20 PM, Tutkowski, Mike <
>> > mike.tutkow...@netapp.com>
>> > wrote:
>> >
>> > > Hi Syed,
>> > >
>> > > I don't have a direct answer for your question, but I do know that
>> when I
>> > > delete a template, I have to specify a zone.
>> > >
>> > > Talk to you later,
>> > > Mike
>> > > 
>> > > From: Syed Mushtaq 
>> > > Sent: Tuesday, February 23, 2016 11:58 AM
>> > > To: dev@cloudstack.apache.org
>> > > Subject: Question about templates and zones
>> > >
>> > > Hi,
>> > >
>> > > I am trying to figure out a bug where we create a template from
>> snapshot
>> > > and the API response returns NULL. We use Swift as a secondary storage
>> > and
>> > > by default, its scope is REGION. My question is, are templates tied
>> to a
>> > > zone? Because what I see is in the template_zone_ref table, there is
>> an
>> > > entry for my template with zone_id=1 but the template_view table shows
>> > > data_center_id as NULL. So I am now confused as to what is the correct
>> > > value and what my fix should be.
>> > >
>> > > Thanks,
>> > > -Syed
>> > >
>> >
>>
>
>


[GitHub] cloudstack pull request: [CLOUDSTACK-8973] Fix create template fro...

2016-02-25 Thread syed
GitHub user syed opened a pull request:

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

[CLOUDSTACK-8973] Fix create template from snapshot returning null in case 
of region store

This PR fixes a case where when we create a template from a snpashot in a 
region wide store, we don't set the cross zone flag which 

Tests:

Before fix 
```
(local) � > create template 
snapshotid=33aa3f3b-5a47-4d2a-8d27-12952c01ebed displaytext=t2 
ostypeid=20c8ead6-d750-11e5-9f8c-0652427c name=t9

accountid = 1b13d7c2-d750-11e5-9f8c-0652427c
cmd = 
org.apache.cloudstack.api.command.admin.template.CreateTemplateCmdByAdmin
created = 2016-02-23T16:09:24+
jobid = 4f9f5ff9-e7f0-4af6-999c-799431fd47de
jobinstanceid = a08a9711-bd31-43bb-80a2-49cf9d722a19
jobinstancetype = Template
jobprocstatus = 0
jobresult:
null:
crossZones = False
isfeatured = False
ispublic = False
isready = False
tags:
jobresultcode = 0
jobresulttype = object
jobstatus = 1
userid = 1b140f08-d750-11e5-9f8c-0652427c
```

See the *null* in response 

After fix: 

```
(local) � > create template 
snapshotid=33aa3f3b-5a47-4d2a-8d27-12952c01ebed displaytext=t2 
ostypeid=20c8ead6-d750-11e5-9f8c-0652427c name=t11

accountid = 1b13d7c2-d750-11e5-9f8c-0652427c
cmd = 
org.apache.cloudstack.api.command.admin.template.CreateTemplateCmdByAdmin
created = 2016-02-25T21:47:03+
jobid = 1b74209b-b3c1-4168-a243-f559aa0c081b
jobinstanceid = 06ecee5a-b1f2-4e67-80fb-f0f44b0aa198
jobinstancetype = Template
jobprocstatus = 0
jobresult:
template:
id = 06ecee5a-b1f2-4e67-80fb-f0f44b0aa198
name = t11
account = admin
created = 2016-02-25T21:47:03+
crossZones = True
displaytext = t2
domain = ROOT
domainid = 1b13ab80-d750-11e5-9f8c-0652427c
format = VHD
hypervisor = XenServer
isdynamicallyscalable = False
isextractable = True
isfeatured = False
ispublic = False
isready = True
ostypeid = 20c8ead6-d750-11e5-9f8c-0652427c
ostypename = CentOS 5 (64-bit)
passwordenabled = False
size = 21474836480
sourcetemplateid = 1af0f0cc-d750-11e5-9f8c-0652427c
sshkeyenabled = False
status = Download Complete
tags:
templatetype = USER
jobresultcode = 0
jobresulttype = object
jobstatus = 1
userid = 1b140f08-d750-11e5-9f8c-0652427c
``` 
Works correctly

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

$ git pull https://github.com/syed/cloudstack create-template-api-bug

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

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


commit 72f6939313810496e1f7da4a4752f398c3d1035a
Author: Syed 
Date:   2016-02-25T21:29:58Z

Fix create template from snapshot returning null in case of region store




---
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 #3322

2016-02-25 Thread jenkins
See 

--
[...truncated 28679 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.881s]
[INFO] Apache CloudStack . SUCCESS [2.275s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.765s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [19.203s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:33.050s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.101s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [53.414s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [27.162s]
[INFO] Apache CloudStack API . SUCCESS [1:49.401s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [16.348s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [29.655s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.086s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [28.308s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [25.095s]
[INFO] Apache CloudStack Core  SUCCESS [1:21.551s]
[INFO] Apache CloudStack Agents .. SUCCESS [36.162s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [36.280s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [14.531s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:08.476s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [40.961s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [25.682s]
[INFO] Apache CloudStack Server .. SUCCESS [4:12.919s]
[INFO] Apache CloudStack Framework - Quota ... SUCCESS [37.357s]
[INFO] Apache CloudStack Usage Server  SUCCESS [44.521s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:22.204s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.072s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.483s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [53.965s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [47.490s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [29.891s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [26.244s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [30.462s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [20.382s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [35.155s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.573s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [8.083s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [0.949s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [26.891s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[23.569s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[36.942s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [17.250s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [23.371s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [15.929s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS 
[16.981s]
[INFO] Apache 

Re: VR metadata unreachable from VPC tier

2016-02-25 Thread Syed Mushtaq
http://fpaste.org/329431/42948514/raw/

On Thu, Feb 25, 2016 at 2:36 PM, Nux!  wrote:

> Anywho, a VR reboot has not done anything. I continue to have the same
> issue.
> Here's the VR's iptables config, something is wrong with it, haven't found
> what, once I flush the rules I can get to VRIP:8080
> http://fpaste.org/329413/45642787/raw/
>
> Can you give your VR's ruleset, for comparison?
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> - Original Message -
> > From: "Nux!" 
> > To: dev@cloudstack.apache.org
> > Sent: Thursday, 25 February, 2016 19:04:13
> > Subject: Re: VR metadata unreachable from VPC tier
>
> > Thanks, I'll investigate some more.
> >
> > In the meanwhile I have tried to restart the VPC network, but nothing
> happened
> > when I clicked the restart button, the network is now listed with
> "restart
> > required Yes". What does that mean?
> >
> > --
> > Sent from the Delta quadrant using Borg technology!
> >
> > Nux!
> > www.nux.ro
> >
> > - Original Message -
> >> From: "Syed Mushtaq" 
> >> To: dev@cloudstack.apache.org
> >> Sent: Thursday, 25 February, 2016 17:33:02
> >> Subject: Re: VR metadata unreachable from VPC tier
> >
> >> It works in my local setup Nux. A VPC with one tier and a password
> enabled
> >> template. I am working on the master though. The flow to set password
> on a
> >> VM is the same for a normal VR and a VPC VR. The problem maybe that the
> VPC
> >> VR is not being sleected by the management server somehow. So there
> must be
> >> some problem with the VPC VR <=> CS management server.
> >>
> >> -Syed
> >>
> >>
> >> On Thu, Feb 25, 2016 at 10:38 AM, Nux!  wrote:
> >>
> >>> Deploy new VM.
> >>>
> >>> --
> >>> Sent from the Delta quadrant using Borg technology!
> >>>
> >>> Nux!
> >>> www.nux.ro
> >>>
> >>> - Original Message -
> >>> > From: "Syed Mushtaq" 
> >>> > To: dev@cloudstack.apache.org
> >>> > Sent: Thursday, 25 February, 2016 15:35:04
> >>> > Subject: Re: VR metadata unreachable from VPC tier
> >>>
> >>> > I see thanks. So this happens when you create a new VM or when you
> try to
> >>> > reset password of an already existing VM?
> >>> >
> >>> > On Thu, Feb 25, 2016 at 9:49 AM, Nux!  wrote:
> >>> >
> >>> >> Hi,
> >>> >>
> >>> >> I am yet to restart the VR, will do this a bit later on to see if
> the
> >>> >> problems gets fixed.
> >>> >>
> >>> >> Syed, the VM is trying to get the root password from the VR, but it
> >>> can't
> >>> >> connect to it.
> >>> >>
> >>> >> --
> >>> >> Sent from the Delta quadrant using Borg technology!
> >>> >>
> >>> >> Nux!
> >>> >> www.nux.ro
> >>> >>
> >>> >> - Original Message -
> >>> >> > From: "Syed Mushtaq" 
> >>> >> > To: dev@cloudstack.apache.org
> >>> >> > Sent: Thursday, 25 February, 2016 14:47:17
> >>> >> > Subject: Re: VR metadata unreachable from VPC tier
> >>> >>
> >>> >> > Hi nux,
> >>> >> >
> >>> >> > Just so I understand, what is the metadata that VR sends to a VM?
> >>> >> >
> >>> >> > On Thu, Feb 25, 2016, 9:44 AM Pierre-Luc Dion  >
> >>> >> wrote:
> >>> >> >
> >>> >> >> When you have this issue, if you setup a Portforwarding for ssh
> for
> >>> the
> >>> >> VM,
> >>> >> >> does the PF rule work?
> >>> >> >>
> >>> >> >> We observed similar issue where VR does not apply or receive
> configs
> >>> >> pushed
> >>> >> >> by the management-server. I haven't really start investigate
> that but
> >>> >> >> wondering if you have similar issue. and usually a restart of
> the VR
> >>> or
> >>> >> >> reset of the VPC fixe the issue.
> >>> >> >>
> >>> >> >>
> >>> >> >> PL
> >>> >> >>
> >>> >> >>
> >>> >> >>
> >>> >> >> On Thu, Feb 25, 2016 at 6:51 AM, Nux!  wrote:
> >>> >> >>
> >>> >> >> > Hi,
> >>> >> >> >
> >>> >> >> > Just a quick one, before I go on submitting a bug, apparently
> my
> >>> VMs
> >>> >> >> > connected in a VPC tier ("allow" acl) cannot get the metadata
> >>> password
> >>> >> >> from
> >>> >> >> > the VR.
> >>> >> >> > It works from normal isolated networks.
> >>> >> >> >
> >>> >> >> > Tested on ACS 4.8, Xen & KVM.
> >>> >> >> >
> >>> >> >> > Has anyone seen this?
> >>> >> >> >
> >>> >> >> >
> >>> >> >> > --
> >>> >> >> > Sent from the Delta quadrant using Borg technology!
> >>> >> >> >
> >>> >> >> > Nux!
> >>> >> >> > www.nux.ro
>


Re: [Proposal] Concerning open PRs

2016-02-25 Thread Syed Mushtaq
I also think that building RPMs for each PR will greatly ease testing of
those PRs by everyone. The problem that I find when testing is that I
necessarily don't have the same setup as others and I feel that the same is
the case with everyone else. For example, We have a Region wide secondary
store (Swift) while others have zone wide secondary storage. Now some fixes
that work on a zone wide sec storage may break for region storage (case in
point: createTemplate from  snapshot). If we  can get the RPMs, we can have
an automated deployment in our lab which tests the functionality that we
need and if everyone has a similar setup in their labs as well, we can be
very confident about the PR working in different environments.

-Syed


On Thu, Feb 25, 2016 at 11:19 AM, Will Stevens 
wrote:

> I also think this would improve the ability to manually test a PR.
>
> *Will STEVENS*
> Lead Developer
>
> *CloudOps* *| *Cloud Solutions Experts
> 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
> w cloudops.com *|* tw @CloudOps_
>
> On Sat, Feb 20, 2016 at 10:18 AM, Nux!  wrote:
>
> > +1 for "on PR" RPMs!
> >
> > --
> > Sent from the Delta quadrant using Borg technology!
> >
> > Nux!
> > www.nux.ro
> >
> > - Original Message -
> > > From: "Paul Angus" 
> > > To: dev@cloudstack.apache.org
> > > Sent: Saturday, 20 February, 2016 12:31:56
> > > Subject: RE: [Proposal] Concerning open PRs
> >
> > > Unfortunately the $dayjob keeps getting in the way of our CI work,
> > however wrt
> > > to PRs - we should have Jenkins build and keep the RPM artefacts
> > relating to a
> > > pull request (for a fix length of time). This will enable 'users' to
> > deploy an
> > > environment based on those RPMs and test it. The requirement to build
> > the RPMs
> > > from a PR in Git is an ENORMOUS barrier to non-devs.
> > >
> > > I don't know how to configure this in Jenkins (without breaking more
> > than I fix)
> > >
> > > Regards
> > >
> > >
> > >
> > >
> > >
> > > [ShapeBlue]
> > > Paul Angus
> > > VP Technology   ,   ShapeBlue
> > >
> > >
> > > d:  +44 203 617 0528 | s: +44 203 603
> > > 0540
>  |
> > > m:  +44 7711 418784
> > >
> > > e:  paul.an...@shapeblue.com | t:
> > > @cloudyangus
> > |
> > > w:  www.shapeblue.com
> > >
> > > a:  53 Chandos Place, Covent Garden London WC2N 4HS UK
> > >
> > >
> > > [cid:image581dbc.png@b52485ae.42bb289d]
> > >
> > >
> > > Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue
> > Services
> > > India LLP is a company incorporated in India and is operated under
> > license from
> > > Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company
> > incorporated in
> > > Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA
> > Pty Ltd
> > > is a company registered by The Republic of South Africa and is traded
> > under
> > > license from Shape Blue Ltd. ShapeBlue is a registered trademark.
> > > This email and any attachments to it may be confidential and are
> > intended solely
> > > for the use of the individual to whom it is addressed. Any views or
> > opinions
> > > expressed are solely those of the author and do not necessarily
> > represent those
> > > of Shape Blue Ltd or related companies. If you are not the intended
> > recipient
> > > of this email, you must neither take any action based upon its
> contents,
> > nor
> > > copy or show it to anyone. Please contact the sender if you believe you
> > have
> > > received this email in error.
> > >
> > >
> > >
> > >
> > > -Original Message-
> > > From: Wilder Rodrigues [mailto:wrodrig...@schubergphilis.com]
> > > Sent: Saturday, February 20, 2016 8:40 AM
> > > To: dev@cloudstack.apache.org
> > > Subject: Re: [Proposal] Concerning open PRs
> > >
> > > Hi there all,
> > >
> > > @Sebastian: it might look a bit extreme, but I believe that at the
> > moment it
> > > might be easier to get at least 5 of the community members investing 1
> > day per
> > > week to run automated tests on PRs, and hopefully merging them, than
> get
> > 1
> > > member to work 100% having a proper CI in place.
> > >
> > > Please don't get me wrong: CI is important and we need that! I just
> > don't see
> > > how the community can collaborate to get it done within a couple of
> > weeks. For
> > > example, how could I, with 5-6 hours per week, help on that? I know
> that
> > with
> > > such time I can help reviewing starting automated tests on a couple of
> > PRs.
> > >
> > > @Jeff: yes, perhaps having to test a PR before creating one is too
> much,
> > because
> > > not everybody has a test environment to run automated tests. However,
> the
> > > "nobody likes testing" should not be the way we start with this idea.
> > >
> > > What if we try 

Calculating Space Used in a (Non-Managed) Storage Pool

2016-02-25 Thread Tutkowski, Mike
Hi,


I was looking at the StorageManagerImpl.storagePoolHasEnoughSpace method 
(partially listed right below).


It doesn't seem like this would work.


First, it collects all of the used space of the storage pool from the capacity 
manager and stores it in allocatedSizeWithtemplate.


Next, it loops through all volumes we want to newly add to the pool.


For each volume, it checks to see if there is an associated template.


Now...I'm assuming in this list of volumes, at most one can be associated with 
a template because - otherwise - we will just keep overwriting the 
allocatedSizeWithtemplate variable with the latest call to 
CapacityManagerImpl.getAllocatedPoolCapacity.


Assuming that's correct (at most one volume is actually associated with a 
template), if you look at the implementation of getAllocatedPoolCapacity, it 
doesn't seem to do anything useful with the template that's passed into it.


It has a bit of logic in an "if" statement concerning the template. However, it 
doesn't really matter how the "if" statement resolves (true or false). In 
either case, it still collects the size of the template we are currently 
iterating over and adds this size to totalAllocatedSize, which is eventually 
returned.


I'm thinking the intent was to add the size of templateForVmCreation to 
totalAllocatedSize if templateForVmCreation was not encountered in 
templatePoolVOs.


That would seem to make sense because I believe the intent is to discover how 
much space would be needed in the storage pool for the new template (and then 
there's other code in StoragePoolImpl that adds on the size of the new volume).


Can anyone confirm or deny this for me?


Thanks!

Mike


StoragePoolImpl - Part of storagePoolHasEnoughSpace


// allocated space includes template of specified volume
StoragePoolVO poolVO = _storagePoolDao.findById(pool.getId());
long allocatedSizeWithtemplate = 
_capacityMgr.getAllocatedPoolCapacity(poolVO, null);
long totalAskingSize = 0;
for (Volume volume : volumes) {
if (volume.getTemplateId() != null) {
VMTemplateVO tmpl = 
_templateDao.findByIdIncludingRemoved(volume.getTemplateId());
if (tmpl != null && tmpl.getFormat() != ImageFormat.ISO) {
allocatedSizeWithtemplate = 
_capacityMgr.getAllocatedPoolCapacity(poolVO, tmpl);
}
}
if (volume.getState() != Volume.State.Ready) {
totalAskingSize = totalAskingSize + 
getVolumeSizeIncludingHypervisorSnapshotReserve(volume, pool);
}
}


CapacityManagerImpl.getAllocatedPoolCapacity


@Override
public long getAllocatedPoolCapacity(StoragePoolVO pool, VMTemplateVO 
templateForVmCreation) {
long totalAllocatedSize = 0;

// if the storage pool is managed, the used bytes can be larger than 
the sum of the sizes of all of the non-destroyed volumes
// in this case, call getUsedBytes(StoragePoolVO)
if (pool.isManaged()) {
return getUsedBytes(pool);
}
else {
// Get size for all the non-destroyed volumes
Pair sizes = 
_volumeDao.getNonDestroyedCountAndTotalByPool(pool.getId());

totalAllocatedSize = sizes.second() + sizes.first() * 
_extraBytesPerVolume;
}

// Get size for VM Snapshots
totalAllocatedSize = totalAllocatedSize + 
_volumeDao.getVMSnapshotSizeByPool(pool.getId());

// Iterate through all templates on this storage pool
boolean tmpinstalled = false;
List templatePoolVOs;
templatePoolVOs = _templatePoolDao.listByPoolId(pool.getId());

for (VMTemplateStoragePoolVO templatePoolVO : templatePoolVOs) {
if ((templateForVmCreation != null) && !tmpinstalled && 
(templatePoolVO.getTemplateId() == templateForVmCreation.getId())) {
tmpinstalled = true;
}
long templateSize = templatePoolVO.getTemplateSize();
totalAllocatedSize += templateSize + _extraBytesPerVolume;
}

return totalAllocatedSize;
}



Re: PR validation using proposed CI.

2016-02-25 Thread ilya
Bharat,

Hope all is well,

Perhaps you can explain the workflow and extensiveness of your tests.

Thanks
ilya



On 2/24/16 9:23 PM, Bharat Kumar wrote:
> Hi,
> 
> As all of you know from earlier discussions in the community, we have been 
> working on implementing a CI to test github PRs and publish results. We have 
> implemented this 
> internally and will start testing PRs and publish the results by mail to dev 
> list. 
> 
> At this point if a test fails, we do not know it for sure if it is due to a 
> bug in the test, in cloudstack or in the CI environment. We do not have 
> anything to cross reference. If a test is being
> reported as failure but is passing in your local environment,  please let us 
> know we will try and fix this in the CI environment.
> 
> We also do not have a way to share the management server logs and test run 
> logs. we are working on it. 
> 
> Please let us know if you guys think any improvements are needed.
> 
> Thanks,
> Bharat.
> 


Re: VR metadata unreachable from VPC tier

2016-02-25 Thread Syed Mushtaq
It works in my local setup Nux. A VPC with one tier and a password enabled
template. I am working on the master though. The flow to set password on a
VM is the same for a normal VR and a VPC VR. The problem maybe that the VPC
VR is not being sleected by the management server somehow. So there must be
some problem with the VPC VR <=> CS management server.

-Syed


On Thu, Feb 25, 2016 at 10:38 AM, Nux!  wrote:

> Deploy new VM.
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> - Original Message -
> > From: "Syed Mushtaq" 
> > To: dev@cloudstack.apache.org
> > Sent: Thursday, 25 February, 2016 15:35:04
> > Subject: Re: VR metadata unreachable from VPC tier
>
> > I see thanks. So this happens when you create a new VM or when you try to
> > reset password of an already existing VM?
> >
> > On Thu, Feb 25, 2016 at 9:49 AM, Nux!  wrote:
> >
> >> Hi,
> >>
> >> I am yet to restart the VR, will do this a bit later on to see if the
> >> problems gets fixed.
> >>
> >> Syed, the VM is trying to get the root password from the VR, but it
> can't
> >> connect to it.
> >>
> >> --
> >> Sent from the Delta quadrant using Borg technology!
> >>
> >> Nux!
> >> www.nux.ro
> >>
> >> - Original Message -
> >> > From: "Syed Mushtaq" 
> >> > To: dev@cloudstack.apache.org
> >> > Sent: Thursday, 25 February, 2016 14:47:17
> >> > Subject: Re: VR metadata unreachable from VPC tier
> >>
> >> > Hi nux,
> >> >
> >> > Just so I understand, what is the metadata that VR sends to a VM?
> >> >
> >> > On Thu, Feb 25, 2016, 9:44 AM Pierre-Luc Dion 
> >> wrote:
> >> >
> >> >> When you have this issue, if you setup a Portforwarding for ssh for
> the
> >> VM,
> >> >> does the PF rule work?
> >> >>
> >> >> We observed similar issue where VR does not apply or receive configs
> >> pushed
> >> >> by the management-server. I haven't really start investigate that but
> >> >> wondering if you have similar issue. and usually a restart of the VR
> or
> >> >> reset of the VPC fixe the issue.
> >> >>
> >> >>
> >> >> PL
> >> >>
> >> >>
> >> >>
> >> >> On Thu, Feb 25, 2016 at 6:51 AM, Nux!  wrote:
> >> >>
> >> >> > Hi,
> >> >> >
> >> >> > Just a quick one, before I go on submitting a bug, apparently my
> VMs
> >> >> > connected in a VPC tier ("allow" acl) cannot get the metadata
> password
> >> >> from
> >> >> > the VR.
> >> >> > It works from normal isolated networks.
> >> >> >
> >> >> > Tested on ACS 4.8, Xen & KVM.
> >> >> >
> >> >> > Has anyone seen this?
> >> >> >
> >> >> >
> >> >> > --
> >> >> > Sent from the Delta quadrant using Borg technology!
> >> >> >
> >> >> > Nux!
> >> >> > www.nux.ro
> >> >> >
>


[GitHub] cloudstack pull request: CLOUDSTACK-9267: String is not localized ...

2016-02-25 Thread swill
Github user swill commented on the pull request:

https://github.com/apache/cloudstack/pull/1390#issuecomment-15813
  
Sorry for the false alarm here.  I didn't dig deep enough initially.  It 
seems that the Jenkins slave is out of disk space which is resulting in errors.


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


Jenkins 'coohq-slave-01' Disk Full

2016-02-25 Thread Will Stevens
I am not sure how has access to this box, but can someone clean up some
space on this box?

We currently have the following problem with it:

java.io.IOException: No space left on device


Thanks,


*Will STEVENS*
Lead Developer

*CloudOps* *| *Cloud Solutions Experts
420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
w cloudops.com *|* tw @CloudOps_


Re: Important Pending Items

2016-02-25 Thread Will Stevens
I am willing to step up as the RM for 4.9.  I need to get caught up on the
workflow and what CI we have in place etc...  Any help getting caught up on
how we are currently working would be appreciated.  I need to get my lab
setup to start testing and working through the different PRs, so I am still
a little ways out from being able to actually get things moving.

*Will STEVENS*
Lead Developer

*CloudOps* *| *Cloud Solutions Experts
420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
w cloudops.com *|* tw @CloudOps_

On Wed, Feb 10, 2016 at 3:58 AM, Sebastien Goasguen 
wrote:

> Morning folks,
>
> We have several crucial pending items, that we need to resolve before
> moving on:
>
> 1- We need an RM for master ( just saw some commits there that should be
> reverted or merged properly in other branches).
>
> 2- We need to automate writing release notes, pushing/tagging new docs
> when release come out and announcing releases on website. Currently neither
> 4.7 nor 4.8 have been announced.
>
> 3- CI is still almost inexistent
>
> -Sebastien


[GitHub] cloudstack pull request: CLOUDSTACK-9267: String is not localized ...

2016-02-25 Thread swill
Github user swill commented on the pull request:

https://github.com/apache/cloudstack/pull/1390#issuecomment-188861751
  
Thanks.  I will dig a bit deeper and and see if I can figure out why the 
failures are happening in jenkins.


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


Re: [Proposal] Concerning open PRs

2016-02-25 Thread Will Stevens
I also think this would improve the ability to manually test a PR.

*Will STEVENS*
Lead Developer

*CloudOps* *| *Cloud Solutions Experts
420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
w cloudops.com *|* tw @CloudOps_

On Sat, Feb 20, 2016 at 10:18 AM, Nux!  wrote:

> +1 for "on PR" RPMs!
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> - Original Message -
> > From: "Paul Angus" 
> > To: dev@cloudstack.apache.org
> > Sent: Saturday, 20 February, 2016 12:31:56
> > Subject: RE: [Proposal] Concerning open PRs
>
> > Unfortunately the $dayjob keeps getting in the way of our CI work,
> however wrt
> > to PRs - we should have Jenkins build and keep the RPM artefacts
> relating to a
> > pull request (for a fix length of time). This will enable 'users' to
> deploy an
> > environment based on those RPMs and test it. The requirement to build
> the RPMs
> > from a PR in Git is an ENORMOUS barrier to non-devs.
> >
> > I don't know how to configure this in Jenkins (without breaking more
> than I fix)
> >
> > Regards
> >
> >
> >
> >
> >
> > [ShapeBlue]
> > Paul Angus
> > VP Technology   ,   ShapeBlue
> >
> >
> > d:  +44 203 617 0528 | s: +44 203 603
> > 0540 |
> > m:  +44 7711 418784
> >
> > e:  paul.an...@shapeblue.com | t:
> > @cloudyangus
> |
> > w:  www.shapeblue.com
> >
> > a:  53 Chandos Place, Covent Garden London WC2N 4HS UK
> >
> >
> > [cid:image581dbc.png@b52485ae.42bb289d]
> >
> >
> > Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue
> Services
> > India LLP is a company incorporated in India and is operated under
> license from
> > Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company
> incorporated in
> > Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA
> Pty Ltd
> > is a company registered by The Republic of South Africa and is traded
> under
> > license from Shape Blue Ltd. ShapeBlue is a registered trademark.
> > This email and any attachments to it may be confidential and are
> intended solely
> > for the use of the individual to whom it is addressed. Any views or
> opinions
> > expressed are solely those of the author and do not necessarily
> represent those
> > of Shape Blue Ltd or related companies. If you are not the intended
> recipient
> > of this email, you must neither take any action based upon its contents,
> nor
> > copy or show it to anyone. Please contact the sender if you believe you
> have
> > received this email in error.
> >
> >
> >
> >
> > -Original Message-
> > From: Wilder Rodrigues [mailto:wrodrig...@schubergphilis.com]
> > Sent: Saturday, February 20, 2016 8:40 AM
> > To: dev@cloudstack.apache.org
> > Subject: Re: [Proposal] Concerning open PRs
> >
> > Hi there all,
> >
> > @Sebastian: it might look a bit extreme, but I believe that at the
> moment it
> > might be easier to get at least 5 of the community members investing 1
> day per
> > week to run automated tests on PRs, and hopefully merging them, than get
> 1
> > member to work 100% having a proper CI in place.
> >
> > Please don't get me wrong: CI is important and we need that! I just
> don't see
> > how the community can collaborate to get it done within a couple of
> weeks. For
> > example, how could I, with 5-6 hours per week, help on that? I know that
> with
> > such time I can help reviewing starting automated tests on a couple of
> PRs.
> >
> > @Jeff: yes, perhaps having to test a PR before creating one is too much,
> because
> > not everybody has a test environment to run automated tests. However, the
> > "nobody likes testing" should not be the way we start with this idea.
> >
> > What if we try the following:
> >
> > * If the person creating a PR has tested his/her changes either
> > manually/automated with simulator/hardware and shows some evidences, then
> > having a review + integration tests from a comm member - whilst CI is
> not done,
> > should be enough to get a LGTM and the PR should be tested.
> >
> > But a LGTM on code review only should not suffice.
> >
> > For UI changes that have been tested by the author with screenshots on
> the PR, a
> > code review with 1 LGTM should be enough to merge it.
> >
> > What do you guys think?
> >
> > Cheers,
> > Wilder
> >
> > Sent from my iPhone
> >
> >> On 19 Feb 2016, at 19:43, Ramanath Katru 
> wrote:
> >>
> >> Can we get the CI proposed by Bharat up onto the ASF servers? While may
> not be
> >> complete or even if its running with issues, why not start it over
> there and
> >> have everyone fix it to get it up and running?
> >>
> >> Ram Katru
> >>
> >>
> >> -Original Message-
> >> From: sebgoa [mailto:run...@gmail.com]
> >> Sent: Thursday, February 18, 2016 

[GitHub] cloudstack pull request: CLOUDSTACK-9267: String is not localized ...

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

https://github.com/apache/cloudstack/pull/1390#issuecomment-188860155
  
@swill those entries already exist.
That failure in Jenkins seems to be happening even before Feb. 24th
It seems that I do not have access to Jenkins, can someone with access 
provide us with the log of that new warning that was generated.


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


[GitHub] cloudstack pull request: CLOUDSTACK-9267: String is not localized ...

2016-02-25 Thread swill
Github user swill commented on the pull request:

https://github.com/apache/cloudstack/pull/1390#issuecomment-188855819
  
Do we need to add a resources file to the Jenkins box to provide 
translations for these entries?

I believe this is the cause of the recent jenkins failure.  Does that make 
sense?


http://markmail.org/message/svyyit7klk6ixvya?q=list:org%2Eapache%2Eincubator%2Ecloudstack-%2A+Build+failed+in+Jenkins:+build-master-slowbuild+%233320


---
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: VR metadata unreachable from VPC tier

2016-02-25 Thread Nux!
Deploy new VM.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Syed Mushtaq" 
> To: dev@cloudstack.apache.org
> Sent: Thursday, 25 February, 2016 15:35:04
> Subject: Re: VR metadata unreachable from VPC tier

> I see thanks. So this happens when you create a new VM or when you try to
> reset password of an already existing VM?
> 
> On Thu, Feb 25, 2016 at 9:49 AM, Nux!  wrote:
> 
>> Hi,
>>
>> I am yet to restart the VR, will do this a bit later on to see if the
>> problems gets fixed.
>>
>> Syed, the VM is trying to get the root password from the VR, but it can't
>> connect to it.
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> - Original Message -
>> > From: "Syed Mushtaq" 
>> > To: dev@cloudstack.apache.org
>> > Sent: Thursday, 25 February, 2016 14:47:17
>> > Subject: Re: VR metadata unreachable from VPC tier
>>
>> > Hi nux,
>> >
>> > Just so I understand, what is the metadata that VR sends to a VM?
>> >
>> > On Thu, Feb 25, 2016, 9:44 AM Pierre-Luc Dion 
>> wrote:
>> >
>> >> When you have this issue, if you setup a Portforwarding for ssh for the
>> VM,
>> >> does the PF rule work?
>> >>
>> >> We observed similar issue where VR does not apply or receive configs
>> pushed
>> >> by the management-server. I haven't really start investigate that but
>> >> wondering if you have similar issue. and usually a restart of the VR or
>> >> reset of the VPC fixe the issue.
>> >>
>> >>
>> >> PL
>> >>
>> >>
>> >>
>> >> On Thu, Feb 25, 2016 at 6:51 AM, Nux!  wrote:
>> >>
>> >> > Hi,
>> >> >
>> >> > Just a quick one, before I go on submitting a bug, apparently my VMs
>> >> > connected in a VPC tier ("allow" acl) cannot get the metadata password
>> >> from
>> >> > the VR.
>> >> > It works from normal isolated networks.
>> >> >
>> >> > Tested on ACS 4.8, Xen & KVM.
>> >> >
>> >> > Has anyone seen this?
>> >> >
>> >> >
>> >> > --
>> >> > Sent from the Delta quadrant using Borg technology!
>> >> >
>> >> > Nux!
>> >> > www.nux.ro
>> >> >


Re: VR metadata unreachable from VPC tier

2016-02-25 Thread Syed Mushtaq
I see thanks. So this happens when you create a new VM or when you try to
reset password of an already existing VM?

On Thu, Feb 25, 2016 at 9:49 AM, Nux!  wrote:

> Hi,
>
> I am yet to restart the VR, will do this a bit later on to see if the
> problems gets fixed.
>
> Syed, the VM is trying to get the root password from the VR, but it can't
> connect to it.
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> - Original Message -
> > From: "Syed Mushtaq" 
> > To: dev@cloudstack.apache.org
> > Sent: Thursday, 25 February, 2016 14:47:17
> > Subject: Re: VR metadata unreachable from VPC tier
>
> > Hi nux,
> >
> > Just so I understand, what is the metadata that VR sends to a VM?
> >
> > On Thu, Feb 25, 2016, 9:44 AM Pierre-Luc Dion 
> wrote:
> >
> >> When you have this issue, if you setup a Portforwarding for ssh for the
> VM,
> >> does the PF rule work?
> >>
> >> We observed similar issue where VR does not apply or receive configs
> pushed
> >> by the management-server. I haven't really start investigate that but
> >> wondering if you have similar issue. and usually a restart of the VR or
> >> reset of the VPC fixe the issue.
> >>
> >>
> >> PL
> >>
> >>
> >>
> >> On Thu, Feb 25, 2016 at 6:51 AM, Nux!  wrote:
> >>
> >> > Hi,
> >> >
> >> > Just a quick one, before I go on submitting a bug, apparently my VMs
> >> > connected in a VPC tier ("allow" acl) cannot get the metadata password
> >> from
> >> > the VR.
> >> > It works from normal isolated networks.
> >> >
> >> > Tested on ACS 4.8, Xen & KVM.
> >> >
> >> > Has anyone seen this?
> >> >
> >> >
> >> > --
> >> > Sent from the Delta quadrant using Borg technology!
> >> >
> >> > Nux!
> >> > www.nux.ro
> >> >
>


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

2016-02-25 Thread jenkins
See 

Changes:

[nitin.maharana] CLOUDSTACK-9267: String is not localized on create instance 
wizards.

--
[...truncated 28679 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.761s]
[INFO] Apache CloudStack . SUCCESS [2.074s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.775s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [18.808s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:30.651s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.113s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [54.144s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [27.694s]
[INFO] Apache CloudStack API . SUCCESS [1:47.315s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [17.639s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [32.470s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.102s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [28.116s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [25.331s]
[INFO] Apache CloudStack Core  SUCCESS [1:23.272s]
[INFO] Apache CloudStack Agents .. SUCCESS [35.971s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [37.561s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [14.628s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:07.660s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [40.898s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [26.951s]
[INFO] Apache CloudStack Server .. SUCCESS [4:12.344s]
[INFO] Apache CloudStack Framework - Quota ... SUCCESS [38.540s]
[INFO] Apache CloudStack Usage Server  SUCCESS [44.205s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:22.154s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.066s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.457s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [55.147s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [48.568s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [31.310s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [25.800s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [22.173s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [21.176s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [35.478s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.462s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [8.445s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [0.945s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [26.593s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[23.424s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[35.761s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [17.116s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [23.630s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS 

Re: VR metadata unreachable from VPC tier

2016-02-25 Thread Syed Mushtaq
Hi nux,

Just so I understand, what is the metadata that VR sends to a VM?

On Thu, Feb 25, 2016, 9:44 AM Pierre-Luc Dion  wrote:

> When you have this issue, if you setup a Portforwarding for ssh for the VM,
> does the PF rule work?
>
> We observed similar issue where VR does not apply or receive configs pushed
> by the management-server. I haven't really start investigate that but
> wondering if you have similar issue. and usually a restart of the VR or
> reset of the VPC fixe the issue.
>
>
> PL
>
>
>
> On Thu, Feb 25, 2016 at 6:51 AM, Nux!  wrote:
>
> > Hi,
> >
> > Just a quick one, before I go on submitting a bug, apparently my VMs
> > connected in a VPC tier ("allow" acl) cannot get the metadata password
> from
> > the VR.
> > It works from normal isolated networks.
> >
> > Tested on ACS 4.8, Xen & KVM.
> >
> > Has anyone seen this?
> >
> >
> > --
> > Sent from the Delta quadrant using Borg technology!
> >
> > Nux!
> > www.nux.ro
> >
>


Re: VR metadata unreachable from VPC tier

2016-02-25 Thread Nux!
Hi,

I am yet to restart the VR, will do this a bit later on to see if the problems 
gets fixed.

Syed, the VM is trying to get the root password from the VR, but it can't 
connect to it.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Syed Mushtaq" 
> To: dev@cloudstack.apache.org
> Sent: Thursday, 25 February, 2016 14:47:17
> Subject: Re: VR metadata unreachable from VPC tier

> Hi nux,
> 
> Just so I understand, what is the metadata that VR sends to a VM?
> 
> On Thu, Feb 25, 2016, 9:44 AM Pierre-Luc Dion  wrote:
> 
>> When you have this issue, if you setup a Portforwarding for ssh for the VM,
>> does the PF rule work?
>>
>> We observed similar issue where VR does not apply or receive configs pushed
>> by the management-server. I haven't really start investigate that but
>> wondering if you have similar issue. and usually a restart of the VR or
>> reset of the VPC fixe the issue.
>>
>>
>> PL
>>
>>
>>
>> On Thu, Feb 25, 2016 at 6:51 AM, Nux!  wrote:
>>
>> > Hi,
>> >
>> > Just a quick one, before I go on submitting a bug, apparently my VMs
>> > connected in a VPC tier ("allow" acl) cannot get the metadata password
>> from
>> > the VR.
>> > It works from normal isolated networks.
>> >
>> > Tested on ACS 4.8, Xen & KVM.
>> >
>> > Has anyone seen this?
>> >
>> >
>> > --
>> > Sent from the Delta quadrant using Borg technology!
>> >
>> > Nux!
>> > www.nux.ro
>> >


Re: VR metadata unreachable from VPC tier

2016-02-25 Thread Pierre-Luc Dion
When you have this issue, if you setup a Portforwarding for ssh for the VM,
does the PF rule work?

We observed similar issue where VR does not apply or receive configs pushed
by the management-server. I haven't really start investigate that but
wondering if you have similar issue. and usually a restart of the VR or
reset of the VPC fixe the issue.


PL



On Thu, Feb 25, 2016 at 6:51 AM, Nux!  wrote:

> Hi,
>
> Just a quick one, before I go on submitting a bug, apparently my VMs
> connected in a VPC tier ("allow" acl) cannot get the metadata password from
> the VR.
> It works from normal isolated networks.
>
> Tested on ACS 4.8, Xen & KVM.
>
> Has anyone seen this?
>
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>


[GitHub] cloudstack pull request: CID-1338387: Deletion of method endPointS...

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

https://github.com/apache/cloudstack/pull/1124#issuecomment-188794542
  
That is right, sorry I did not pay much attention.
I will be waiting his answer


---
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: CID-1338387: Deletion of method endPointS...

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

https://github.com/apache/cloudstack/pull/1124#issuecomment-188790451
  
@rafaelweingartner , There is a question addressed to @remibergsma awaiting 
answer. Other then that, yes.


---
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: CID-1338387: Deletion of method endPointS...

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

https://github.com/apache/cloudstack/pull/1124#issuecomment-188772285
  
@DaanHoogland what do you think about this one ?
Tests were executed, reviews done.
I think we forgot it, should we go ahead and merge it?


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


[GitHub] cloudstack pull request: CLOUDSTACK-9267: String is not localized ...

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

https://github.com/apache/cloudstack/pull/1390#issuecomment-188769689
  
merged to 4.7, and then forwarded to master


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


[GitHub] cloudstack pull request: CLOUDSTACK-9267: String is not localized ...

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

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


---
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 #3319

2016-02-25 Thread jenkins
See 

Changes:

[priti.sarap] CLOUDSTACK-9066: Update testpath to delete account after deleting 
VMs of

--
[...truncated 28679 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 
[3.182s]
[INFO] Apache CloudStack . SUCCESS [4.318s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.812s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [20.797s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:32.479s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.142s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [53.168s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [27.945s]
[INFO] Apache CloudStack API . SUCCESS [1:48.227s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [16.560s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [30.376s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.135s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [28.836s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [25.259s]
[INFO] Apache CloudStack Core  SUCCESS [1:22.732s]
[INFO] Apache CloudStack Agents .. SUCCESS [36.167s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [36.511s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [14.366s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:08.972s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [40.051s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [25.710s]
[INFO] Apache CloudStack Server .. SUCCESS [4:14.098s]
[INFO] Apache CloudStack Framework - Quota ... SUCCESS [38.549s]
[INFO] Apache CloudStack Usage Server  SUCCESS [44.116s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:22.006s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.108s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.710s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [55.244s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [48.224s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [29.185s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [26.056s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [30.520s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [21.316s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [35.085s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.741s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [8.589s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [1.048s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [27.137s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[23.663s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[37.105s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [17.569s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [23.562s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS 

VR metadata unreachable from VPC tier

2016-02-25 Thread Nux!
Hi,

Just a quick one, before I go on submitting a bug, apparently my VMs connected 
in a VPC tier ("allow" acl) cannot get the metadata password from the VR.
It works from normal isolated networks.

Tested on ACS 4.8, Xen & KVM.

Has anyone seen this?


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: PR validation using proposed CI.

2016-02-25 Thread Bharat Kumar
Hi Daan,

we can do this, but before this i wanted make the test run logs available. Once 
I am done with this i will work on posting results on PR.

Thanks,
Bharat.

> On 25-Feb-2016, at 3:52 PM, Daan Hoogland  wrote:
> 
> Bharat, will you publish the results in the PR?
> 
> On Thu, Feb 25, 2016 at 6:23 AM, Bharat Kumar 
> wrote:
> 
>> Hi,
>> 
>> As all of you know from earlier discussions in the community, we have been
>> working on implementing a CI to test github PRs and publish results. We
>> have implemented this
>> internally and will start testing PRs and publish the results by mail to
>> dev list.
>> 
>> At this point if a test fails, we do not know it for sure if it is due to
>> a bug in the test, in cloudstack or in the CI environment. We do not have
>> anything to cross reference. If a test is being
>> reported as failure but is passing in your local environment,  please let
>> us know we will try and fix this in the CI environment.
>> 
>> We also do not have a way to share the management server logs and test run
>> logs. we are working on it.
>> 
>> Please let us know if you guys think any improvements are needed.
>> 
>> Thanks,
>> Bharat.
>> 
>> 
> 
> 
> -- 
> Daan



Re: PR validation using proposed CI.

2016-02-25 Thread Daan Hoogland
Bharat, will you publish the results in the PR?

On Thu, Feb 25, 2016 at 6:23 AM, Bharat Kumar 
wrote:

> Hi,
>
> As all of you know from earlier discussions in the community, we have been
> working on implementing a CI to test github PRs and publish results. We
> have implemented this
> internally and will start testing PRs and publish the results by mail to
> dev list.
>
> At this point if a test fails, we do not know it for sure if it is due to
> a bug in the test, in cloudstack or in the CI environment. We do not have
> anything to cross reference. If a test is being
> reported as failure but is passing in your local environment,  please let
> us know we will try and fix this in the CI environment.
>
> We also do not have a way to share the management server logs and test run
> logs. we are working on it.
>
> Please let us know if you guys think any improvements are needed.
>
> Thanks,
> Bharat.
>
>


-- 
Daan


[GitHub] cloudstack pull request: CLOUDSTACK-9267: String is not localized ...

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

https://github.com/apache/cloudstack/pull/1390#issuecomment-188708927
  
@rafaelweingartner go ahead, if you LGTM as well.


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


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

2016-02-25 Thread jenkins
See 

Changes:

[priti.sarap] CLOUDSTACK-9066: Update testpath to delete account after deleting 
VMs of

--
[...truncated 425 lines...]
Tests run: 10, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.534 sec - in 
com.cloud.utils.ScriptTest
Running com.cloud.utils.log.CglibThrowableRendererTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.192 sec - in 
com.cloud.utils.log.CglibThrowableRendererTest
Running com.cloud.utils.UuidUtilsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec - in 
com.cloud.utils.UuidUtilsTest
Running com.cloud.utils.crypto.RSAHelperTest
2016-02-25 10:14:44,753 INFO  [utils.crypt.RSAHelper] (main:) [ignored]error 
during public key encryption: Unsupported format
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.926 sec - in 
com.cloud.utils.crypto.RSAHelperTest
Running com.cloud.utils.crypto.EncryptionSecretKeyCheckerTest
2016-02-25 10:14:44,863 DEBUG [utils.crypt.EncryptionSecretKeyChecker] (main:) 
Encryption Type: null
2016-02-25 10:14:44,863 DEBUG [utils.crypt.EncryptionSecretKeyChecker] (main:) 
Encryption Type: file
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 sec - in 
com.cloud.utils.crypto.EncryptionSecretKeyCheckerTest
Running com.cloud.utils.PropertiesUtilsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec - in 
com.cloud.utils.PropertiesUtilsTest
Running com.cloud.utils.exception.ExceptionUtilTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
com.cloud.utils.exception.ExceptionUtilTest
Running com.cloud.utils.storage.QCOW2UtilsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in 
com.cloud.utils.storage.QCOW2UtilsTest
Running com.cloud.utils.encoding.UrlEncoderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec - in 
com.cloud.utils.encoding.UrlEncoderTest
Running com.cloud.utils.UriUtilsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.083 sec - in 
com.cloud.utils.UriUtilsTest
Running com.cloud.utils.HttpUtilsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.211 sec - in 
com.cloud.utils.HttpUtilsTest
Running com.cloud.utils.backoff.impl.ConstantTimeBackoffTest
2016-02-25 10:14:45,321 INFO  [backoff.impl.ConstantTimeBackoff] (Thread-1:) 
Thread Thread-1 interrupted while waiting for retry
2016-02-25 10:14:45,424 DEBUG [backoff.impl.ConstantTimeBackoffTest] (main:) 
thread started
2016-02-25 10:14:45,424 DEBUG [backoff.impl.ConstantTimeBackoffTest] 
(Thread-2:) before
2016-02-25 10:14:45,526 DEBUG [backoff.impl.ConstantTimeBackoffTest] (main:) 
testing wakeup
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.319 sec - in 
com.cloud.utils.backoff.impl.ConstantTimeBackoffTest
Running com.cloud.utils.ProcessUtilTest
2016-02-25 10:14:45,527 INFO  [backoff.impl.ConstantTimeBackoff] (Thread-2:) 
Thread Thread-2 interrupted while waiting for retry
2016-02-25 10:14:45,527 DEBUG [backoff.impl.ConstantTimeBackoffTest] 
(Thread-2:) after
2016-02-25 10:14:45,533 DEBUG [cloud.utils.ProcessUtil] (main:) 
environment.properties could not be opened
2016-02-25 10:14:45,541 DEBUG [cloud.utils.ProcessUtil] (main:) 
environment.properties could not be opened
2016-02-25 10:14:45,541 DEBUG [cloud.utils.ProcessUtil] (main:) Executing: bash 
-c ps -p 123456 
2016-02-25 10:14:45,624 DEBUG [cloud.utils.ProcessUtil] (main:) Exit value is 1
2016-02-25 10:14:45,625 DEBUG [cloud.utils.ProcessUtil] (main:)   PID TTY   
   TIME CMD
2016-02-25 10:14:45,626 DEBUG [cloud.utils.ProcessUtil] (main:) Executing: bash 
-c echo $PPID 
2016-02-25 10:14:45,633 DEBUG [cloud.utils.ProcessUtil] (main:) Execution is 
successful.
2016-02-25 10:14:45,638 DEBUG [cloud.utils.ProcessUtil] (main:) 
environment.properties could not be opened
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.113 sec - in 
com.cloud.utils.ProcessUtilTest
Running com.cloud.utils.PasswordGeneratorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
com.cloud.utils.PasswordGeneratorTest
Running com.cloud.utils.rest.HttpUriRequestBuilderTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec - in 
com.cloud.utils.rest.HttpUriRequestBuilderTest
Running com.cloud.utils.rest.HttpStatusCodeHelperTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in 
com.cloud.utils.rest.HttpStatusCodeHelperTest
Running com.cloud.utils.rest.RESTServiceConnectorTest
2016-02-25 10:14:45,922 DEBUG [utils.rest.RESTServiceConnector] (main:) 
Executing retrieve object on /somepath
2016-02-25 10:14:45,923 DEBUG [utils.rest.BasicRestClient] (main:) Executig GET 
request on https://localhost:443/somepath
2016-02-25 10:14:45,933 DEBUG [utils.rest.RESTServiceConnector] (main:) 
Executed request: GET /somepath 

[GitHub] cloudstack pull request: CLOUDSTACK-9289:Automation for feature de...

2016-02-25 Thread sanju1010
Github user sanju1010 commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1417#discussion_r54070462
  
--- Diff: test/integration/component/test_deploy_vm_from_snapshot.py ---
@@ -0,0 +1,644 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+# Import Local Modules
+from marvin.codes import FAILED, PASS
+from nose.plugins.attrib import attr
+from marvin.cloudstackTestCase import cloudstackTestCase
+from marvin.cloudstackAPI import seedTemplateFromVmSnapshot
+from marvin.lib.utils import cleanup_resources, validateList
+from marvin.lib.base import (Account,
+ DiskOffering,
+ ServiceOffering,
+ VirtualMachine,
+ VmSnapshot,
+ Volume)
+from marvin.lib.common import (get_zone,
+   get_domain,
+   get_template)
+import urllib
+import tempfile
+import os
+import time
+from functools import reduce
+
+
+class TestDeployVm(cloudstackTestCase):
+
+@classmethod
+def setUpClass(cls):
+testClient = super(TestDeployVm, cls).getClsTestClient()
+cls.apiclient = testClient.getApiClient()
+cls._cleanup = []
+cls.unsupportedHypervisor = False
+cls.hypervisor = testClient.getHypervisorInfo()
+if not cls.hypervisor.lower() in "vmware":
+cls.unsupportedHypervisor = True
+return
+
+cls.services = testClient.getParsedTestDataConfig()
+# Get Zone, Domain and templates
+cls.domain = get_domain(cls.apiclient)
+cls.zone = get_zone(cls.apiclient, testClient.getZoneForTests())
+
+template = get_template(
+cls.apiclient,
+cls.zone.id,
+cls.services["ostype"]
+)
+if template == FAILED:
+assert False, "get_template() failed to return template\
+with description %s" % cls.services["ostype"]
+
+cls.services["domainid"] = cls.domain.id
+cls.services["small"]["zoneid"] = cls.zone.id
+cls.services["templates"]["ostypeid"] = template.ostypeid
+cls.services["zoneid"] = cls.zone.id
+
+# Create VMs, NAT Rules etc
+cls.account = Account.create(
+cls.apiclient,
+cls.services["account"],
+domainid=cls.domain.id
+)
+cls._cleanup.append(cls.account)
+
+cls.service_offering = ServiceOffering.create(
+cls.apiclient,
+cls.services["service_offerings"]["tiny"]
+)
+
+cls.service_offering1 = ServiceOffering.create(
+cls.apiclient,
+cls.services["service_offerings"]["small"]
+)
+cls.disk_offering = DiskOffering.create(cls.apiclient,
+
cls.services["disk_offering"])
+cls._cleanup.append(cls.service_offering)
+cls._cleanup.append(cls.service_offering1)
+cls._cleanup.append(cls.disk_offering)
+cls.virtual_machine = VirtualMachine.create(
+cls.apiclient,
+cls.services["small"],
+templateid=template.id,
+accountid=cls.account.name,
+domainid=cls.account.domainid,
+serviceofferingid=cls.service_offering.id,
+mode=cls.zone.networktype
+)
+
+cls.vm_snp = VmSnapshot.create(cls.apiclient,
+   vmid=cls.virtual_machine.id,
+   )
+
+return
+
+@classmethod
+def tearDownClass(cls):
+try:
+# Cleanup resources used
+cleanup_resources(cls.apiclient, cls._cleanup)
+   

[GitHub] cloudstack pull request: CLOUDSTACK-9289:Automation for feature de...

2016-02-25 Thread sanju1010
Github user sanju1010 commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1417#discussion_r54068802
  
--- Diff: test/integration/component/test_deploy_vm_from_snapshot.py ---
@@ -0,0 +1,644 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+# Import Local Modules
+from marvin.codes import FAILED, PASS
+from nose.plugins.attrib import attr
+from marvin.cloudstackTestCase import cloudstackTestCase
+from marvin.cloudstackAPI import seedTemplateFromVmSnapshot
+from marvin.lib.utils import cleanup_resources, validateList
+from marvin.lib.base import (Account,
+ DiskOffering,
+ ServiceOffering,
+ VirtualMachine,
+ VmSnapshot,
+ Volume)
+from marvin.lib.common import (get_zone,
+   get_domain,
+   get_template)
+import urllib
+import tempfile
+import os
+import time
+from functools import reduce
+
+
+class TestDeployVm(cloudstackTestCase):
+
+@classmethod
+def setUpClass(cls):
+testClient = super(TestDeployVm, cls).getClsTestClient()
+cls.apiclient = testClient.getApiClient()
+cls._cleanup = []
+cls.unsupportedHypervisor = False
+cls.hypervisor = testClient.getHypervisorInfo()
+if not cls.hypervisor.lower() in "vmware":
+cls.unsupportedHypervisor = True
+return
+
+cls.services = testClient.getParsedTestDataConfig()
+# Get Zone, Domain and templates
+cls.domain = get_domain(cls.apiclient)
+cls.zone = get_zone(cls.apiclient, testClient.getZoneForTests())
+
+template = get_template(
+cls.apiclient,
+cls.zone.id,
+cls.services["ostype"]
+)
+if template == FAILED:
+assert False, "get_template() failed to return template\
+with description %s" % cls.services["ostype"]
+
+cls.services["domainid"] = cls.domain.id
+cls.services["small"]["zoneid"] = cls.zone.id
+cls.services["templates"]["ostypeid"] = template.ostypeid
+cls.services["zoneid"] = cls.zone.id
+
+# Create VMs, NAT Rules etc
+cls.account = Account.create(
+cls.apiclient,
+cls.services["account"],
+domainid=cls.domain.id
+)
+cls._cleanup.append(cls.account)
+
+cls.service_offering = ServiceOffering.create(
+cls.apiclient,
+cls.services["service_offerings"]["tiny"]
+)
+
+cls.service_offering1 = ServiceOffering.create(
+cls.apiclient,
+cls.services["service_offerings"]["small"]
+)
+cls.disk_offering = DiskOffering.create(cls.apiclient,
+
cls.services["disk_offering"])
+cls._cleanup.append(cls.service_offering)
+cls._cleanup.append(cls.service_offering1)
+cls._cleanup.append(cls.disk_offering)
+cls.virtual_machine = VirtualMachine.create(
+cls.apiclient,
+cls.services["small"],
+templateid=template.id,
+accountid=cls.account.name,
+domainid=cls.account.domainid,
+serviceofferingid=cls.service_offering.id,
+mode=cls.zone.networktype
+)
+
+cls.vm_snp = VmSnapshot.create(cls.apiclient,
+   vmid=cls.virtual_machine.id,
+   )
+
+return
+
+@classmethod
+def tearDownClass(cls):
+try:
+# Cleanup resources used
+cleanup_resources(cls.apiclient, cls._cleanup)
+   

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

2016-02-25 Thread jenkins
See 

--
[...truncated 28679 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.756s]
[INFO] Apache CloudStack . SUCCESS [2.108s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.784s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [18.810s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:30.958s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.110s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [53.253s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [27.748s]
[INFO] Apache CloudStack API . SUCCESS [1:47.131s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [16.920s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [29.735s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.093s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [28.815s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [25.400s]
[INFO] Apache CloudStack Core  SUCCESS [1:22.949s]
[INFO] Apache CloudStack Agents .. SUCCESS [36.273s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [36.360s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [14.244s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:07.565s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [40.861s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [25.936s]
[INFO] Apache CloudStack Server .. SUCCESS [4:12.996s]
[INFO] Apache CloudStack Framework - Quota ... SUCCESS [37.668s]
[INFO] Apache CloudStack Usage Server  SUCCESS [44.409s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:21.281s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.065s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.457s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [54.865s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [48.011s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [31.253s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [27.349s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [22.397s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [20.381s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [35.636s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.176s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [8.188s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [0.995s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [26.627s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[24.074s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[36.088s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [17.197s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [23.312s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [15.970s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS 
[17.078s]
[INFO] Apache 

[GitHub] cloudstack pull request: CLOUDSTACK-9066: Update testpath to delet...

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

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


---
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: ACS CI BVT RUN: xenserver: Pr_number: 1417

2016-02-25 Thread Bharat Kumar
Hi seboga,

i replied inline.

Thanks,
Bharat.

> On 25-Feb-2016, at 2:09 PM, sebgoa  wrote:
> 
> Bharat, that’s great, thanks for this
> 
> But…
> 
> Since this is the first results like this sent to the list, can you explain 
> what we are looking at.
> What hardware this is running on, what configuration of cloudstack…

Currently the tests are bing run using xenserver, the test setup consists of 3 
xen hosts across 2 clusters and the networking type is advanced.
I will add some of these details to the report as well.

> 
> And I very much would like for these results to be sent as comments to the PR 
> discussion,
> if it cannot be done we need to push ASF infra to make it happen

I totally agree with you, I started on it, but before that I am thinking we 
need to somehow make the test run logs available. once this is complete 
i will enhance this to post directly on the PR.

> 
> 
> 
>> On Feb 25, 2016, at 6:27 AM, Bharat Kumar  wrote:
>> 
>> 
>> On 24-Feb-2016, at 10:24 PM, 
>> jenkins-...@citrix.com wrote:
>> 
>> [http://jenkins-ccp.citrix.com/static/e59dfe28/images/32x32/red.gif]
>> BUILD FAILURE
>> Build Start Date:   Wed Feb 24 06:29:34 2016
>> Git Repo Url:   https://github.com/apache/cloudstack.git
>> Git Commit Id:  9d89229942436d98f4897d8030f95bb8702bf
>> Git Branch Info:1417
>> Hyper Visor Info:   xenserver
>> Build No:   11
>> Health Report
>> W   Description Score
>> [http://jenkins-ccp.citrix.com//static/d7293164/images/16x16/health-00to19.png]
>>  Build stability: All recent builds failed.  0
>> [http://jenkins-ccp.citrix.com//static/d7293164/images/16x16/health-80plus.png]
>>  Test Result: 22 tests failing out of a total of 142 tests.  84
>> 
>> 
>> Changes
>> No Changes
>> 
>> 
>> Test Result
>> Package Failed  Passed  Skipped Total
>> < tt=""><>  2   0   0   2
>> :teardown
>> :setup
>> integration.smoke.test_affinity_groups  0   1   0   1
>> integration.smoke.test_affinity_groups_projects 0   1   0   1
>> integration.smoke.test_deploy_vgpu_enabled_vm   0   0   1   1
>> integration.smoke.test_deploy_vm_iso0   1   0   1
>> integration.smoke.test_deploy_vm_root_resize0   3   0   3
>> integration.smoke.test_deploy_vm_with_userdata  0   2   0   2
>> integration.smoke.test_deploy_vms_with_varied_deploymentplanners0
>>3   0   3
>> integration.smoke.test_disk_offerings   0   5   0   5
>> integration.smoke.test_global_settings  0   1   0   1
>> integration.smoke.test_guest_vlan_range 1   0   0   1
>> integration.smoke.test_guest_vlan_range.TestDedicateGuestVlanRange.test_dedicateGuestVlanRange
>> integration.smoke.test_internal_lb  0   4   0   4
>> integration.smoke.test_iso  2   4   1   7
>> integration.smoke.test_iso.TestISO.test_04_extract_Iso
>> integration.smoke.test_iso.TestISO.test_07_list_default_iso
>> integration.smoke.test_loadbalance  0   3   0   3
>> integration.smoke.test_multipleips_per_nic  0   1   0   1
>> integration.smoke.test_network  0   10  0   10
>> integration.smoke.test_network_acl  0   1   0   1
>> integration.smoke.test_nic  0   1   0   1
>> integration.smoke.test_nic_adapter_type 0   0   1   1
>> integration.smoke.test_non_contigiousvlan   0   1   0   1
>> integration.smoke.test_over_provisioning0   1   0   1
>> integration.smoke.test_password_server  1   0   0   1
>> integration.smoke.test_password_server.TestIsolatedNetworksPasswdServer.test_isolate_network_password_server
>> integration.smoke.test_portable_publicip0   2   0   2
>> integration.smoke.test_primary_storage  1   1   0   2
>> integration.smoke.test_primary_storage.TestPrimaryStorageServices.test_01_primary_storage_iscsi
>> integration.smoke.test_privategw_acl3   1   0   4
>> integration.smoke.test_privategw_acl.TestPrivateGwACL.test_02_vpc_privategw_static_routes
>> integration.smoke.test_privategw_acl.TestPrivateGwACL.test_03_vpc_privategw_restart_vpc_cleanup
>> integration.smoke.test_privategw_acl.TestPrivateGwACL.test_04_rvpc_privategw_static_routes
>> integration.smoke.test_public_ip_range  0   1   0   1
>> integration.smoke.test_pvlan0   1   0   1
>> integration.smoke.test_regions  0   1   0   1
>> integration.smoke.test_reset_vm_on_reboot   0   1   0   1
>> integration.smoke.test_resource_detail  0   1   0   1
>> integration.smoke.test_router_dhcphosts 1   0   0   

[GitHub] cloudstack pull request: CLOUDSTACK-9066: Update testpath to delet...

2016-02-25 Thread shwetaag
Github user shwetaag commented on the pull request:

https://github.com/apache/cloudstack/pull/1078#issuecomment-188677423
  
did code walk through. LGTM


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


Re: [GitHub] cloudstack pull request: CLOUDSTACK-9066: Update testpath to delet...

2016-02-25 Thread Sanjeev N
Test Results:
snapshot hardning ... === TestName: test_01_snapshot_hardning_kvm | Status
: : SUCCESS ===
ok

--
Ran 1 test in 1477.688s

OK

LGTM!!

On Wed, Feb 17, 2016 at 3:02 PM, pritisarap12  wrote:

> Github user pritisarap12 commented on the pull request:
>
> https://github.com/apache/cloudstack/pull/1078#issuecomment-185115973
>
> Testcase result:
>
> snapshot hardning ... === TestName: test_01_snapshot_hardning_kvm |
> Status : SUCCESS ===
> ok
> snapshot hardning ... === SKIP: Skip test for server other than
> XenServer
>
> --
> Ran 2 tests in 1259.500s
>
> OK (SKIP=1)
>
>
>
>
> ---
> 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: CSNetFilter.py

2016-02-25 Thread Jayapal Reddy Uradi
As per my knowledge the unseen cmd seen when there is difference in rules 
between MS sent and rules save on VR.
The diff rules which are in VR get deleted.

Thanks,
Jayapal


On 25-Feb-2016, at 2:15 pm, Abhinandan Prateek 
> 
wrote:

Will anyone know why some rules are being removed by CsNetFilter on VR:

Following is the output from /var/log/cloud.log


2016-02-25 08:00:13,563  CsNetfilter.py get_unseen:129 unseen cmd:  iptables -t 
mangle -D VPN_STATS_eth1 -m mark -o eth1 --mark 0x525
2016-02-25 08:00:13,563  CsHelper.py execute:160 Executing: iptables -t mangle 
-D VPN_STATS_eth1 -m mark -o eth1 --mark 0x525
2016-02-25 08:00:13,568  CsNetfilter.py get_unseen:132 Delete rule -D 
VPN_STATS_eth1 -m mark -o eth1 --mark 0x525 from table mangle
2016-02-25 08:00:13,568  CsNetfilter.py get_unseen:129 unseen cmd:  iptables -t 
mangle -D VPN_STATS_eth1 -i eth1 -m mark --mark 0x524
2016-02-25 08:00:13,569  CsHelper.py execute:160 Executing: iptables -t mangle 
-D VPN_STATS_eth1 -i eth1 -m mark --mark 0x524
2016-02-25 08:00:13,575  CsNetfilter.py get_unseen:132 Delete rule -D 
VPN_STATS_eth1 -i eth1 -m mark --mark 0x524 from table mangle
2016-02-25 08:00:13,576  CsNetfilter.py get_unseen:129 unseen cmd:  iptables -t 
filter -D INPUT -d 224.0.0.0/24 -j ACCEPT
2016-02-25 08:00:13,576  CsHelper.py execute:160 Executing: iptables -t filter 
-D INPUT -d 224.0.0.0/24 -j ACCEPT

-abhi


Abhinandan Prateek
Software Architect  ,   ShapeBlue


d:   | s: +44 203 603 0540  |  
m:  +91 970 11 99011

e:  abhinandan.prat...@shapeblue.com | t: 
 |  w:  
www.shapeblue.com

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





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




Find out more about ShapeBlue and our range of CloudStack related services:
IaaS Cloud Design & Build | 
CSForge – rapid IaaS deployment framework
CloudStack Consulting | 
CloudStack Software 
Engineering
CloudStack Infrastructure 
Support | CloudStack 
Bootcamp Training Courses



Re: ACS CI BVT RUN: xenserver: Pr_number: 1417

2016-02-25 Thread sebgoa
Bharat, that’s great, thanks for this

But…

Since this is the first results like this sent to the list, can you explain 
what we are looking at.
What hardware this is running on, what configuration of cloudstack…

And I very much would like for these results to be sent as comments to the PR 
discussion,
if it cannot be done we need to push ASF infra to make it happen



> On Feb 25, 2016, at 6:27 AM, Bharat Kumar  wrote:
> 
> 
> On 24-Feb-2016, at 10:24 PM, 
> jenkins-...@citrix.com wrote:
> 
> [http://jenkins-ccp.citrix.com/static/e59dfe28/images/32x32/red.gif]BUILD 
> FAILURE
> Build Start Date:   Wed Feb 24 06:29:34 2016
> Git Repo Url:   https://github.com/apache/cloudstack.git
> Git Commit Id:  9d89229942436d98f4897d8030f95bb8702bf
> Git Branch Info:1417
> Hyper Visor Info:   xenserver
> Build No:   11
> Health Report
> W   Description Score
> [http://jenkins-ccp.citrix.com//static/d7293164/images/16x16/health-00to19.png]
>  Build stability: All recent builds failed.  0
> [http://jenkins-ccp.citrix.com//static/d7293164/images/16x16/health-80plus.png]
>  Test Result: 22 tests failing out of a total of 142 tests.  84
> 
> 
> Changes
> No Changes
> 
> 
> Test Result
> Package Failed  Passed  Skipped Total
> < tt=""><>  2   0   0   2
> :teardown
> :setup
> integration.smoke.test_affinity_groups  0   1   0   1
> integration.smoke.test_affinity_groups_projects 0   1   0   1
> integration.smoke.test_deploy_vgpu_enabled_vm   0   0   1   1
> integration.smoke.test_deploy_vm_iso0   1   0   1
> integration.smoke.test_deploy_vm_root_resize0   3   0   3
> integration.smoke.test_deploy_vm_with_userdata  0   2   0   2
> integration.smoke.test_deploy_vms_with_varied_deploymentplanners0 
>   3   0   3
> integration.smoke.test_disk_offerings   0   5   0   5
> integration.smoke.test_global_settings  0   1   0   1
> integration.smoke.test_guest_vlan_range 1   0   0   1
> integration.smoke.test_guest_vlan_range.TestDedicateGuestVlanRange.test_dedicateGuestVlanRange
> integration.smoke.test_internal_lb  0   4   0   4
> integration.smoke.test_iso  2   4   1   7
> integration.smoke.test_iso.TestISO.test_04_extract_Iso
> integration.smoke.test_iso.TestISO.test_07_list_default_iso
> integration.smoke.test_loadbalance  0   3   0   3
> integration.smoke.test_multipleips_per_nic  0   1   0   1
> integration.smoke.test_network  0   10  0   10
> integration.smoke.test_network_acl  0   1   0   1
> integration.smoke.test_nic  0   1   0   1
> integration.smoke.test_nic_adapter_type 0   0   1   1
> integration.smoke.test_non_contigiousvlan   0   1   0   1
> integration.smoke.test_over_provisioning0   1   0   1
> integration.smoke.test_password_server  1   0   0   1
> integration.smoke.test_password_server.TestIsolatedNetworksPasswdServer.test_isolate_network_password_server
> integration.smoke.test_portable_publicip0   2   0   2
> integration.smoke.test_primary_storage  1   1   0   2
> integration.smoke.test_primary_storage.TestPrimaryStorageServices.test_01_primary_storage_iscsi
> integration.smoke.test_privategw_acl3   1   0   4
> integration.smoke.test_privategw_acl.TestPrivateGwACL.test_02_vpc_privategw_static_routes
> integration.smoke.test_privategw_acl.TestPrivateGwACL.test_03_vpc_privategw_restart_vpc_cleanup
> integration.smoke.test_privategw_acl.TestPrivateGwACL.test_04_rvpc_privategw_static_routes
> integration.smoke.test_public_ip_range  0   1   0   1
> integration.smoke.test_pvlan0   1   0   1
> integration.smoke.test_regions  0   1   0   1
> integration.smoke.test_reset_vm_on_reboot   0   1   0   1
> integration.smoke.test_resource_detail  0   1   0   1
> integration.smoke.test_router_dhcphosts 1   0   0   1
> integration.smoke.test_router_dhcphosts.TestRouterDHCPHosts.test_router_dhcphosts
> integration.smoke.test_routers  0   9   0   9
> integration.smoke.test_routers_iptables_default_policy  0   2   0 
>   2
> integration.smoke.test_routers_network_ops  3   2   0   5
> integration.smoke.test_routers_network_ops.TestIsolatedNetworks.test_01_isolate_network_FW_PF_default_routes_egress_true
> integration.smoke.test_routers_network_ops.TestRedundantIsolateNetworks.test_01_RVR_Network_FW_PF_SSH_default_routes_egress_true
> 

CSNetFilter.py

2016-02-25 Thread Abhinandan Prateek
Will anyone know why some rules are being removed by CsNetFilter on VR:

Following is the output from /var/log/cloud.log



2016-02-25 08:00:13,563  CsNetfilter.py get_unseen:129 unseen cmd:  iptables -t 
mangle -D VPN_STATS_eth1 -m mark -o eth1 --mark 0x525

2016-02-25 08:00:13,563  CsHelper.py execute:160 Executing: iptables -t mangle 
-D VPN_STATS_eth1 -m mark -o eth1 --mark 0x525

2016-02-25 08:00:13,568  CsNetfilter.py get_unseen:132 Delete rule -D 
VPN_STATS_eth1 -m mark -o eth1 --mark 0x525 from table mangle

2016-02-25 08:00:13,568  CsNetfilter.py get_unseen:129 unseen cmd:  iptables -t 
mangle -D VPN_STATS_eth1 -i eth1 -m mark --mark 0x524

2016-02-25 08:00:13,569  CsHelper.py execute:160 Executing: iptables -t mangle 
-D VPN_STATS_eth1 -i eth1 -m mark --mark 0x524

2016-02-25 08:00:13,575  CsNetfilter.py get_unseen:132 Delete rule -D 
VPN_STATS_eth1 -i eth1 -m mark --mark 0x524 from table mangle

2016-02-25 08:00:13,576  CsNetfilter.py get_unseen:129 unseen cmd:  iptables -t 
filter -D INPUT -d 224.0.0.0/24 -j ACCEPT

2016-02-25 08:00:13,576  CsHelper.py execute:160 Executing: iptables -t filter 
-D INPUT -d 224.0.0.0/24 -j ACCEPT

-abhi

[ShapeBlue]
Abhinandan Prateek
Software Architect  ,   ShapeBlue


d:   | s: +44 203 603 0540  |  
m:  +91 970 11 99011

e:  abhinandan.prat...@shapeblue.com | t: 
 |  w:  
www.shapeblue.com

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


[cid:imagede065f.png@86fb1005.41abd773]


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




Find out more about ShapeBlue and our range of CloudStack related services:
IaaS Cloud Design & Build | 
CSForge – rapid IaaS deployment framework
CloudStack Consulting | 
CloudStack Software 
Engineering
CloudStack Infrastructure 
Support | CloudStack 
Bootcamp Training Courses