[JENKINS] Jenkins the spammer

2014-01-29 Thread Hugo Trippaers
Hey guys,

Ofter the last few weeks we had a lot of problems with Jenkins actually 
reporting build problems that were actually infrastructure related. I try and 
explain the issues and how we try to prevent them from happening in the future.

The GIT plugin used by jenkins has a build in timeout of 10 minutes, if a git 
operation takes longer than this it will report an error. This timeout is not 
configurable from within Jenkins and needs to be set with a system property. 
I’ve made a patch on the cloud-jenkins plugin that will allow us to set custom 
system properties for the jclouds slaves. This resolved most of the 
intermittent build problems.

There was also the recent change to java 7 for master. This caused most of the 
master builds to fail on Jenkins as all slaves were setup to explicitly use 
java 6 (at that was our target platform). Now we made some changes so each 
build can specify which JDK version it will use at build time. This works on 
the cloudstack-buildslaves but not yet on the rpm builders. Because of this the 
debian and redhat packages are not built yet.

There were also some problems with the artifacts required for the awsapi. Due 
to a configuration in the poms for the transient dependencies (outside our 
tree) several artifacts would have be downloaded from a maven repository that 
no longer existed. However the site didn’t return a 404 that maven would 
pickup, but a 200 with an index page so maven would think it properly 
downloaded the pom/jar file. Causing grief later in the proces. We now use a 
custom settings.xml for the master build that redirects this particular 
repository to the archiva instance that david setup.

The positive news is that we now have upgraded the service offering for the 
cloudstack-buildslaves to 4 x 2.6Ghz cores and 4Gb ram, further reducing the 
main master build to just under 8 minutes (including awsapi).

It’s not completely done yet, but hopefully this will help getting Jenkins back 
into a stable state where we can rely on failures being real failures in the 
build and not in the infrastructure.

Cheers,

Hugo





[Question] Refactoring ApiDispatcher and processing parameters

2014-01-29 Thread Antonio Fornié Casarrubios
Hi,


I'm working on cloud-server#com.cloud.api.ApiDispatcher and related classes
and trying to do some refactoring here. But I just had a couple of
questions to make sure I'm not missing anything important.


1* There are several instance methods, but then there is this
#processParameters that is static. It doesn't seem a method that I would
make static. It seems more like someone wanted to call it from another
class (perhaps AutoScaleManagerImpl) and instead of getting the
ApiDispatcher object, they just made the method static, which I think would
be wrong. Are there good reasons for this method to be static? Further,
from this methods they needed to call #doAccessChecks but in this case,
instead of making #doAccessChecks also static, they added a getInstance...
which we can avoid if no method is static in the first place. The
getInstance is also strange, but instead of fixing that it's better to just
remove it since we will not need it: we should use Spring for injecting
ApiDispatcher instead.


Is there are reason not to do the change I propose? Am I missing something?



2* About the parameters received in the HTTP request, we have two methods
for "fixing" them for our needs. First, in ApiServer#verifyRequest, we have
a Map but we never need to have an array of Strings, so
the code assumes the array will always have 1 item, and always uses
params[0] without even checking (the array could have 0 or 10 Strings). All
of this also happens along ApiServlet.


Later in ApiServer#handleRequest we do a first fix in the Map (which
doesn't seem to fit well in this method). Actually we move the values to a
Map to stop having arrays. And from that point we use only
the new Map.


And finally, later in Apidispatcher we do a final fix in the Map:

unpackedParams = cmd.unpackParams(params);

So that params have values already lowercase and format validated.


So unless someone knows reason to keep it this way, I want to fix the Map
of params from the very beginning once and for all in a separate methods.
>From that point all params will be checked, lower case and Map without 1-item arrays... so future methods coming later don't need
to worry about these details. Is there a reason doing this could be wrong?
Is there any point in the middle where it will brake if my values are
Strings instead of Arrays of Strings?



Thanks. Cheers


Antonio Fornie

MCE at Schuberg Philis


Re: master not building

2014-01-29 Thread Girish Shilamkar
I still see problems with latest master while building marvin. Not sure if this 
is also related checkstyle

[root@pun-lsfs21-node02 cloudstack]# /usr/local/apache-maven-3.1.1/bin/mvn -P 
developer -e -pl :cloud-marvin
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack marvin 4.4.0-SNAPSHOT
[INFO] 
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.pom
 (21 KB at 1.7 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.jar
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.jar
 (122 KB at 60.1 KB/sec)
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-marvin ---
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 16.363s
[INFO] Finished at: Wed Jan 29 14:58:41 IST 2014
[INFO] Final Memory: 29M/86M
[INFO] 
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check 
(cloudstack-checkstyle) on project cloud-marvin: Execution 
cloudstack-checkstyle of goal 
org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check failed: Plugin 
org.apache.maven.plugins:maven-checkstyle-plugin:2.11 or one of its 
dependencies could not be resolved: Failure to find 
org.apache.cloudstack:checkstyle:jar:4.4.0-SNAPSHOT in 
http://repository.apache.org/snapshots was cached in the local repository, 
resolution will not be reattempted until the update interval of 
apache.snapshots has elapsed or updates are forced -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check 
(cloudstack-checkstyle) on project cloud-marvin: Execution 
cloudstack-checkstyle of goal 
org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check failed: Plugin 
org.apache.maven.plugins:maven-checkstyle-plugin:2.11 or one of its 
dependencies could not be resolved: Failure to find 
org.apache.cloudstack:checkstyle:jar:4.4.0-SNAPSHOT in 
http://repository.apache.org/snapshots was cached in the local repository, 
resolution will not be reattempted until the update interval of 
apache.snapshots has elapsed or updates are forced
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution 
cloudstack-checkstyle of goal 
org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check failed: Plugin 
org.apache.maven.plugins:maven-checkstyle-plugin:2.11 or one of its 
dependencies could not be resolved: Failure to find 
org.apache.cloudstack:checkstyle:jar

Re: master not building

2014-01-29 Thread Hugo Trippaers
Girish,

Did you build cloudstack entirely before compiling just the marvin project?

Try running this before you build marvin: mvn -pl :checkstyle install

Cheers,

Hugo


On 29 jan. 2014, at 10:13, Girish Shilamkar  wrote:

> I still see problems with latest master while building marvin. Not sure if 
> this is also related checkstyle
> 
> [root@pun-lsfs21-node02 cloudstack]# /usr/local/apache-maven-3.1.1/bin/mvn -P 
> developer -e -pl :cloud-marvin
> [INFO] Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO]
>  
> [INFO] 
> 
> [INFO] Building Apache CloudStack marvin 4.4.0-SNAPSHOT
> [INFO] 
> 
> Downloading: 
> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.pom
> Downloaded: 
> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.pom
>  (21 KB at 1.7 KB/sec)
> Downloading: 
> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.jar
> Downloaded: 
> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.jar
>  (122 KB at 60.1 KB/sec)
> [INFO] 
> [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
> cloud-marvin ---
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 16.363s
> [INFO] Finished at: Wed Jan 29 14:58:41 IST 2014
> [INFO] Final Memory: 29M/86M
> [INFO] 
> 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check 
> (cloudstack-checkstyle) on project cloud-marvin: Execution 
> cloudstack-checkstyle of goal 
> org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check failed: Plugin 
> org.apache.maven.plugins:maven-checkstyle-plugin:2.11 or one of its 
> dependencies could not be resolved: Failure to find 
> org.apache.cloudstack:checkstyle:jar:4.4.0-SNAPSHOT in 
> http://repository.apache.org/snapshots was cached in the local repository, 
> resolution will not be reattempted until the update interval of 
> apache.snapshots has elapsed or updates are forced -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check 
> (cloudstack-checkstyle) on project cloud-marvin: Execution 
> cloudstack-checkstyle of goal 
> org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check failed: Plugin 
> org.apache.maven.plugins:maven-checkstyle-plugin:2.11 or one of its 
> dependencies could not be resolved: Failure to find 
> org.apache.cloudstack:checkstyle:jar:4.4.0-SNAPSHOT in 
> http://repository.apache.org/snapshots was cached in the local repository, 
> resolution will not be reattempted until the update interval of 
> apache.snapshots has elapsed or updates are forced
>   at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
>   at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>   at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>   at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>   at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>   at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>   at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
>   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
>   at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
>   at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
>   at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:597)
>   at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>   at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>   at 
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>   at 
> org.codehaus.plexus.classworlds.lau

Review Request 17495: CLOUDSTACK-5976: Typo in "ssh_keypairs" table's foreign key constraints on the Upgraded Setup

2014-01-29 Thread Harikrishna Patnala

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

Review request for cloudstack and Kishan Kavala.


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


Repository: cloudstack-git


Description
---

CLOUDSTACK-5976: Typo in "ssh_keypairs" table's foreign key constraints on the 
Upgraded Setup


Diffs
-

  engine/schema/src/com/cloud/upgrade/dao/Upgrade302to40.java 45f5f1b 

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


Testing
---

tested locally


Thanks,

Harikrishna Patnala



Re: master not building

2014-01-29 Thread Daan Hoogland
H Marcus,

sorry, I will off course better my ways even more.

On Wed, Jan 29, 2014 at 10:46 AM, Hugo Trippaers  wrote:
> Girish,
>
> Did you build cloudstack entirely before compiling just the marvin project?
>
> Try running this before you build marvin: mvn -pl :checkstyle install
>
> Cheers,
>
> Hugo
>
>
> On 29 jan. 2014, at 10:13, Girish Shilamkar  wrote:
>
>> I still see problems with latest master while building marvin. Not sure if 
>> this is also related checkstyle
>>
>> [root@pun-lsfs21-node02 cloudstack]# /usr/local/apache-maven-3.1.1/bin/mvn 
>> -P developer -e -pl :cloud-marvin
>> [INFO] Error stacktraces are turned on.
>> [INFO] Scanning for projects...
>> [INFO]
>> [INFO] 
>> 
>> [INFO] Building Apache CloudStack marvin 4.4.0-SNAPSHOT
>> [INFO] 
>> 
>> Downloading: 
>> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.pom
>> Downloaded: 
>> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.pom
>>  (21 KB at 1.7 KB/sec)
>> Downloading: 
>> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.jar
>> Downloaded: 
>> http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.jar
>>  (122 KB at 60.1 KB/sec)
>> [INFO]
>> [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
>> cloud-marvin ---
>> [INFO] 
>> 
>> [INFO] BUILD FAILURE
>> [INFO] 
>> 
>> [INFO] Total time: 16.363s
>> [INFO] Finished at: Wed Jan 29 14:58:41 IST 2014
>> [INFO] Final Memory: 29M/86M
>> [INFO] 
>> 
>> [ERROR] Failed to execute goal 
>> org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check 
>> (cloudstack-checkstyle) on project cloud-marvin: Execution 
>> cloudstack-checkstyle of goal 
>> org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check failed: Plugin 
>> org.apache.maven.plugins:maven-checkstyle-plugin:2.11 or one of its 
>> dependencies could not be resolved: Failure to find 
>> org.apache.cloudstack:checkstyle:jar:4.4.0-SNAPSHOT in 
>> http://repository.apache.org/snapshots was cached in the local repository, 
>> resolution will not be reattempted until the update interval of 
>> apache.snapshots has elapsed or updates are forced -> [Help 1]
>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
>> goal org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check 
>> (cloudstack-checkstyle) on project cloud-marvin: Execution 
>> cloudstack-checkstyle of goal 
>> org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check failed: Plugin 
>> org.apache.maven.plugins:maven-checkstyle-plugin:2.11 or one of its 
>> dependencies could not be resolved: Failure to find 
>> org.apache.cloudstack:checkstyle:jar:4.4.0-SNAPSHOT in 
>> http://repository.apache.org/snapshots was cached in the local repository, 
>> resolution will not be reattempted until the update interval of 
>> apache.snapshots has elapsed or updates are forced
>>   at 
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
>>   at 
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>>   at 
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>>   at 
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>>   at 
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>>   at 
>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>>   at 
>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>>   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
>>   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
>>   at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
>>   at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
>>   at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>   at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>   at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>   at java.lang.reflect.Method.invoke(Method.java:597)
>>   at 
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>>   at 
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>

Re: Findbugs report on 4.3-forward

2014-01-29 Thread Daan Hoogland
Animesh,

As for my fixes, I agree with you that not all of them are vital. You
pulled only one and this seems too few. There where more null pointers
and uses off  == and more scary things. I have rerouted my efforts to
master now. Again (Hugo end I don't always agree on practical matters,
on principals we usually do) I think it is up to you which ones to
pull. I rember I removed unused local vars. This doesn't seem vital
(or dangerous) but pulling only one seems very few.


On Wed, Jan 29, 2014 at 7:11 AM, Animesh Chaturvedi
 wrote:
>
>
> -Original Message-
> From: Ian Duffy [mailto:i...@ianduffy.ie]
> Sent: Tuesday, January 28, 2014 6:34 PM
> To: CloudStack Dev
> Subject: RE: Findbugs report on 4.3-forward
>
> Hi Animesh,
>
> Tested all those changes to detail. Those lines were removed due to 
> unexpected behavior that I had not spotted until now.
> [Animesh] That's what my worry is there may be unintended changes. I suspect 
> this one was not from find bugs. Looking at others from Daan there are many 
> formatting changes which are not necessary and hinder review
>
> They were suppose to allow for better fall over between multiple domain 
> controllers, how ever they were causing caching to occur. This meant if a 
> users password was reset in LDAP the old password was still allowing login 
> for a limited time.
>
> Please pull the changes forward,
> Thanks
>
> Ian.
> On 29 Jan 2014 00:07, "Animesh Chaturvedi" 
> wrote:
>
>> If I look at this commit for example
>>
>>
>> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commitdiff;
>> h=92b4f66d73562e4211d2d787554ff229dbeb5705
>>
>> It removes the two lines from LdapContextFactory.java
>>
>> environment.put("com.sun.jndi.ldap.read.timeout", "500");-
>> environment.put("com.sun.jndi.ldap.connect.pool", "true");
>>
>> Is that reported by find bug? I don't know this code  so not sure if
>> it is intentional or not ?
>>
>> The point is there may be unintended risks in allowing late changes.
>>
>>
>>


Re: Findbugs report on 4.3-forward

2014-01-29 Thread Daan Hoogland
come to think of it, I probably shouldn't burden you with the decision
on each of those commits. So if you don't want to go through all of
them I will review them and compile a list. If you don't want to wait
my call would be include all.

On Wed, Jan 29, 2014 at 12:48 PM, Daan Hoogland  wrote:
> Animesh,
>
> As for my fixes, I agree with you that not all of them are vital. You
> pulled only one and this seems too few. There where more null pointers
> and uses off  == and more scary things. I have rerouted my efforts to
> master now. Again (Hugo end I don't always agree on practical matters,
> on principals we usually do) I think it is up to you which ones to
> pull. I rember I removed unused local vars. This doesn't seem vital
> (or dangerous) but pulling only one seems very few.
>
>
> On Wed, Jan 29, 2014 at 7:11 AM, Animesh Chaturvedi
>  wrote:
>>
>>
>> -Original Message-
>> From: Ian Duffy [mailto:i...@ianduffy.ie]
>> Sent: Tuesday, January 28, 2014 6:34 PM
>> To: CloudStack Dev
>> Subject: RE: Findbugs report on 4.3-forward
>>
>> Hi Animesh,
>>
>> Tested all those changes to detail. Those lines were removed due to 
>> unexpected behavior that I had not spotted until now.
>> [Animesh] That's what my worry is there may be unintended changes. I suspect 
>> this one was not from find bugs. Looking at others from Daan there are many 
>> formatting changes which are not necessary and hinder review
>>
>> They were suppose to allow for better fall over between multiple domain 
>> controllers, how ever they were causing caching to occur. This meant if a 
>> users password was reset in LDAP the old password was still allowing login 
>> for a limited time.
>>
>> Please pull the changes forward,
>> Thanks
>>
>> Ian.
>> On 29 Jan 2014 00:07, "Animesh Chaturvedi" 
>> wrote:
>>
>>> If I look at this commit for example
>>>
>>>
>>> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commitdiff;
>>> h=92b4f66d73562e4211d2d787554ff229dbeb5705
>>>
>>> It removes the two lines from LdapContextFactory.java
>>>
>>> environment.put("com.sun.jndi.ldap.read.timeout", "500");-
>>> environment.put("com.sun.jndi.ldap.connect.pool", "true");
>>>
>>> Is that reported by find bug? I don't know this code  so not sure if
>>> it is intentional or not ?
>>>
>>> The point is there may be unintended risks in allowing late changes.
>>>
>>>
>>>


BVT report on 4.3 branch

2014-01-29 Thread Srikanteswararao Talluri



>Here is the report of automated smoke tests results on Xen and KVM.
>
>On Xenserver 6.2/Test Run: #1174 and 1175
>
>This report is consolidation of runs #1174 and #1175
>3 failures are not product failures but ssh time outs in the scripts.
>
>Link to reports: 
>http://jenkins.buildacloud.org/view/cloudstack-qa-4.3/job/test-smoke-matri
>x-4.3/1174/testReport/
> 
>http://jenkins.buildacloud.org/view/cloudstack-qa-4.3/job/test-smoke-matri
>x-4.3/1175/testReport/
>
>Total:97
>Fail :5
>Skip :2
>
>
>name   passfailskip
>test_public_ip_range/ 1   0   0
>test_nic/ 1   0   0
>test_global_settings/ 1   0   0
>test_deploy_vms_with_varied_deploymentplanners/   3   0   0
>test_regions/ 1   0   0
>test_ssvm/   10   0   0
>test_vpc_vpn/ 2   0   0
>test_affinity_groups/ 1   0   0
>test_deploy_vm/   1   0   0
>test_deploy_vm_with_userdata/ 2   0   0
>test_routers/ 9   0   0
>test_loadbalance/ 0   3   0
>test_portable_publicip/   2   0   0
>test_iso/ 5   0   1
>test_internal_lb/ 1   0   0
>test_vm_snapshots/3   0   0
>test_network/ 7   0   0
>test_disk_offerings/  3   0   0
>test_non_contigiousvlan/  1   0   0
>test_templates/   7   0   1
>test_network_acl/ 1   0   0
>test_multipleips_per_nic/ 1   0   0
>test_reset_vm_on_reboot/  1   0   0
>test_scale_vm/1   0   0
>test_pvlan/   1   0   0
>test_vm_life_cycle/  10   0   0
>test_privategw_acl/   1   0   0
>test_resource_detail/ 1   0   0
>test_guest_vlan_range/1   0   0
>test_volumes/ 9   0   0
>test_service_offerings/   4   0   0
>
>
>
>On KVM /RHEL 6.3 hosts/ Test Run: #1173
>---
>4 of the test failures are not valid because snapshots and scaling VM are
>not supported on KVM Hypervisor
>
>Link to report: 
>http://jenkins.buildacloud.org/job/test-smoke-matrix-4.3/1173/testReport/
>
>
>Total:97
>Fail :8
>Skip :2
>
>
>name   passfailskip
>test_public_ip_range/ 1   0   0
>test_nic/ 1   0   0
>test_global_settings/ 1   0   0
>test_deploy_vms_with_varied_deploymentplanners/   3   0   0
>test_regions/ 1   0   0
>test_ssvm/   10   0   0
>test_vpc_vpn/ 2   0   0
>test_affinity_groups/ 1   0   0
>test_deploy_vm/   1   0   0
>test_deploy_vm_with_userdata/ 2   0   0
>test_routers/ 9   0   0
>test_loadbalance/ 0   3   0
>test_portable_publicip/   2   0   0
>test_iso/ 5   0   1
>test_internal_lb/ 1   0   0
>test_vm_snapshots/0   3   0
>test_network/ 6   1   0
>test_disk_offerings/  3   0   0
>test_non_contigiousvlan/  1   0   0
>test_templates/   7   0   1
>test_network_acl/ 1   0   0
>test_multipleips_per_nic/ 1   0   0
>test_reset_vm_on_reboot/  1   0   0
>test_scale_vm/   

Review Request 17497: CLOUDSTACK-5977 - Incorrect String Quotations

2014-01-29 Thread Alexander Hitchins

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

Review request for cloudstack.


Repository: cloudstack-git


Description
---

CLOUDSTACK-5977 - String entered as "None" - Should be 'None' for MySQL (& 
MariaDB)


Diffs
-

  setup/db/create-schema.sql 2a53a71 

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


Testing
---

Ran SQL, No Issues.


Thanks,

Alexander Hitchins



Xen StorageMotion Fails

2014-01-29 Thread Francois Gaudreault

Hi,

I posted this on the users@ mailing-list yesterday, but giving it more 
thoughts I think this should have been posted here. We are running 4.2.1 
with XenServer 6.2SP1. I tried to run a storage motion from a local 
storage to another, and I am getting this error. Xen returns a 
VM_REQUIRES_NETWORK when attempting the migration. This error, according 
to the javadoc means:


You attempted to run a VM on a host which doesn't have a PIF on a 
Network needed by the VM. The VM has at least one VIF attached to the 
Network.


http://pastebin.com/cHcAyPtP

I believe this is supposed to be supported since CloudStack let me do it 
from the UI. Right?


Thanks!

--
Francois Gaudreault
Architecte de Solution Cloud | Cloud Solutions Architect
fgaudrea...@cloudops.com
514-629-6775
- - -
CloudOps
420 rue Guy
Montréal QC  H3J 1S6
www.cloudops.com
@CloudOps_



Re: [Question] Refactoring ApiDispatcher and processing parameters

2014-01-29 Thread Rohit Yadav
On Wed, Jan 29, 2014 at 2:14 PM, Antonio Fornié Casarrubios
 wrote:
> Hi,
>
>
> I'm working on cloud-server#com.cloud.api.ApiDispatcher and related classes
> and trying to do some refactoring here. But I just had a couple of
> questions to make sure I'm not missing anything important.
>
>
> 2* About the parameters received in the HTTP request, we have two methods
> for "fixing" them for our needs. First, in ApiServer#verifyRequest, we have
> a Map but we never need to have an array of Strings, so
> the code assumes the array will always have 1 item, and always uses
> params[0] without even checking (the array could have 0 or 10 Strings). All
> of this also happens along ApiServlet.

There are very few apis where one can pass maps as args like
map.vm[0], map.vm[1] etc. I don't exactly remember them right now but
a quick search across the api package will help you. But, if code has
changed and we know for sure it is always the params[0] we are
interested in so we should fix it.

>
> Later in ApiServer#handleRequest we do a first fix in the Map (which
> doesn't seem to fit well in this method). Actually we move the values to a
> Map to stop having arrays. And from that point we use only
> the new Map.
>
>
> And finally, later in Apidispatcher we do a final fix in the Map:
>
> unpackedParams = cmd.unpackParams(params);
>
> So that params have values already lowercase and format validated.
>
>
> So unless someone knows reason to keep it this way, I want to fix the Map
> of params from the very beginning once and for all in a separate methods.
> From that point all params will be checked, lower case and Map String> without 1-item arrays... so future methods coming later don't need
> to worry about these details. Is there a reason doing this could be wrong?
> Is there any point in the middle where it will brake if my values are
> Strings instead of Arrays of Strings?

Let one of the present API layer maintainers comment on them, but I
agree they must be fixed. In general, we should fix ApiDispatcher and
ApiServer/Servlet code all of which is messed up.

Regards.

>
>
>
> Thanks. Cheers
>
>
> Antonio Fornie
>
> MCE at Schuberg Philis


Re: devcloud veewee install broken?

2014-01-29 Thread Rohit Yadav
Oh this looks like something new, using debconf you can set one of the
two network drivers and fix in vagrant scripts. Patch welcome.

Regards.

On Wed, Jan 29, 2014 at 6:15 AM, chris snow  wrote:
> Hi Devs,
>
> I've managed to figure out how to perform the veewee build for devcloud at [1]
>
> However, during the performing the 'build' command, ubuntu is looking
> for some user input (screenshot uploaded to pastepic [2])
>
> Shall I raise this as an issue in JIRA?  With a bit of time, I may be
> able to fix this as well...
>
> Many thanks,
>
> Chris
>
> --
> [1] 
> https://github.com/snowch/cloudstack/tree/master/tools/appliance/definitions/devcloud
> [2] http://www.picpaste.com/veewee_install.png


Unable to add host with latest build on RHEL6 master

2014-01-29 Thread Manikanta Kattamuri
Hi All,

I am unable to add a host. i am getting this issue.

i freshly compiled the source and started the serverusing jetty on rhel
server 6  as master and xenserver6.2 as host.
mvn -pl :cloud-client-ui jetty:run

do i need to perform any special settings for Rhel? i did not get these
issues when working with ubuntu as master.

--LOG-
INFO  [c.c.h.x.d.XcpServerDiscoverer] (596922687@qtp-1299970164-5:ctx-cc1ca8ae
ctx-a98dfeae) Found host xenserver ip=192.168.1.10 product version=6.2.0
INFO  [c.c.h.x.r.CitrixResourceBase] (596922687@qtp-1299970164-5:ctx-cc1ca8ae
ctx-a98dfeae) Private Network is Pool-wide network associated with eth0 for
host 192.168.1.10
INFO  [c.c.h.x.r.CitrixResourceBase] (596922687@qtp-1299970164-5:ctx-cc1ca8ae
ctx-a98dfeae) Guest Network is Pool-wide network associated with eth0 for
host 192.168.1.10
INFO  [c.c.h.x.r.CitrixResourceBase] (596922687@qtp-1299970164-5:ctx-cc1ca8ae
ctx-a98dfeae) Public Network is Pool-wide network associated with eth0 for
host 192.168.1.10
INFO  [c.c.h.x.d.XcpServerDiscoverer] (596922687@qtp-1299970164-5:ctx-cc1ca8ae
ctx-a98dfeae) Host: xenserver connected with hypervisor type: XenServer.
Checking CIDR...
INFO  [c.c.a.m.DirectAgentAttache] (596922687@qtp-1299970164-5:ctx-cc1ca8ae
ctx-a98dfeae) StartupAnswer received 1 Interval = 60
WARN  [c.c.h.x.r.CitrixResourceBase] (DirectAgent-1:ctx-9b4d5584) We cannot
locate
/root/cloudstack/client/target/generated-webapp/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xenserver60/../../../../network/domr//call_firewall.sh
WARN  [c.c.h.x.r.CitrixResourceBase] (DirectAgent-1:ctx-9b4d5584) We cannot
locate
/root/cloudstack/client/target/generated-webapp/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xenserver60/../../../../../vms/systemvm.iso
WARN  [c.c.h.x.r.CitrixResourceBase] (DirectAgent-1:ctx-9b4d5584) We cannot
locate
/root/cloudstack/client/target/generated-webapp/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xenserver60/../../../../network/domr//bumpUpPriority.sh
WARN  [c.c.h.x.r.CitrixResourceBase] (DirectAgent-1:ctx-9b4d5584) We cannot
locate
/root/cloudstack/client/target/generated-webapp/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xenserver60/../../../../network/domr//dhcp_entry.sh
WARN  [c.c.h.x.r.CitrixResourceBase] (DirectAgent-1:ctx-9b4d5584) We cannot
locate
/root/cloudstack/client/target/generated-webapp/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xenserver60/../../../../network/domr//call_loadbalancer.sh
WARN  [c.c.h.x.r.CitrixResourceBase] (DirectAgent-1:ctx-9b4d5584) We cannot
locate
/root/cloudstack/client/target/generated-webapp/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xenserver60/../../../../network/domr//save_password_to_domr.sh
WARN  [c.c.h.x.r.CitrixResourceBase] (DirectAgent-1:ctx-9b4d5584) We cannot
locate
/root/cloudstack/client/target/generated-webapp/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xenserver60/../vhd-util
WARN  [c.c.h.x.r.CitrixResourceBase] (DirectAgent-1:ctx-9b4d5584) Failed to
configure brige firewall
WARN  [c.c.h.x.r.CitrixResourceBase] (DirectAgent-1:ctx-9b4d5584) Check
host 192.168.1.10 for CSP is installed or not and check network mode for
bridge
WARN  [c.c.h.x.d.XcpServerDiscoverer] (596922687@qtp-1299970164-5:ctx-cc1ca8ae
ctx-a98dfeae) Unable to setup agent 1 due to Failed to configure brige
firewall
INFO  [c.c.u.e.CSExceptionErrorCode] (596922687@qtp-1299970164-5:ctx-cc1ca8ae
ctx-a98dfeae) Could not find exception:
com.cloud.exception.ConnectionException in error code list for exceptions
WARN  [c.c.a.m.AgentManagerImpl] (596922687@qtp-1299970164-5:ctx-cc1ca8ae
ctx-a98dfeae) Monitor XcpServerDiscoverer says there is an error in the
connect process for 1 due to Reinitialize agent after setup.
INFO  [c.c.a.m.AgentManagerImpl] (596922687@qtp-1299970164-5:ctx-cc1ca8ae
ctx-a98dfeae) Host 1 is disconnecting with event AgentDisconnected
WARN  [c.c.r.ResourceManagerImpl] (596922687@qtp-1299970164-5:ctx-cc1ca8ae
ctx-a98dfeae) Unable to connect due to
com.cloud.exception.ConnectionException: Reinitialize agent after setup.
at
com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.processConnect(XcpServerDiscoverer.java:694)
 at
com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:492)
at
com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1406)
 at
com.cloud.resource.ResourceManagerImpl.createHostAndAgentDeferred(ResourceManagerImpl.java:1833)
at
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:761)
 at
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:576)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
at
org.springframework.aop.support.AopUtils.invokeJ

Re: Devcloud 2 - veewee/Vagrant projects

2014-01-29 Thread Rohit Yadav
Thanks for stepping in. That is much needed, in fact I think we should
use something like packer alongwith vagrant/veewee for both devcloud
and systemvmtemplate. Veewee can build vms, packer can export them to
various platforms/formats and a developer could use vagrant for local
devcloud/host automation.

Regards.

On Wed, Jan 29, 2014 at 1:30 AM, chris snow  wrote:
> I would like to build the devcloud2 image [1] from scratch using
> veewee (or packer) and turn it into a vagrant box.
>
> There seems to be several versions of Vagrant files and veewee
> definitions in the code base, making it difficult to know which one to
> start from, or whether they are still valid.
>
> Many thanks,
>
> Chris
>
> [1] http://bhaisaab.org/logs/devcloud/


Re: Devcloud 2 - veewee/Vagrant projects

2014-01-29 Thread Sebastien Goasguen

On Jan 29, 2014, at 8:49 AM, Rohit Yadav  wrote:

> Thanks for stepping in. That is much needed, in fact I think we should
> use something like packer alongwith vagrant/veewee for both devcloud
> and systemvmtemplate. Veewee can build vms, packer can export them to
> various platforms/formats and a developer could use vagrant for local
> devcloud/host automation.
> 

I looked into it the other day and I agree we need to revamp this.

veewee development and maintenance is going to stop. So we need to prep a 
packer version

So yes we should create a packer definition for devcloud3 :) and be able to 
post-process it to vagrant.



> Regards.
> 
> On Wed, Jan 29, 2014 at 1:30 AM, chris snow  wrote:
>> I would like to build the devcloud2 image [1] from scratch using
>> veewee (or packer) and turn it into a vagrant box.
>> 
>> There seems to be several versions of Vagrant files and veewee
>> definitions in the code base, making it difficult to know which one to
>> start from, or whether they are still valid.
>> 
>> Many thanks,
>> 
>> Chris
>> 
>> [1] http://bhaisaab.org/logs/devcloud/



RE: Release Managers for 4.3.1 and 4.4.0

2014-01-29 Thread Hugo Trippaers
Hey guys,

We've discussed this internally in our company and we want to put in the effort 
to drive the 4.4 release. Daan and me are not quite sure yet who will be 
picking this up when the time comes, but one of us will step up to be the 
release manager. 

That said, I fully agree with Edison that there might be improvements to make 
to the release process. We have time to discuss this I think, we have some 
ideas that we will be sharing with the list soon.

Cheers,

Hugo

> -Original Message-
> From: Edison Su [mailto:edison...@citrix.com]
> Sent: Thursday, January 23, 2014 7:58 PM
> To: dev@cloudstack.apache.org
> Subject: RE: Release Managers for 4.3.1 and 4.4.0
> 
> Maybe before calling out another release manager, we better sit down and
> talk about is there anything we can improve for the release process. Seems
> it's huge mount of work to do as a release manager.
> 
> > -Original Message-
> > From: David Nalley [mailto:da...@gnsa.us]
> > Sent: Thursday, January 23, 2014 10:45 AM
> > To: dev@cloudstack.apache.org
> > Subject: Release Managers for 4.3.1 and 4.4.0
> >
> > Hi folks,
> >
> > It's that time again - we are getting close to the end of the 4.3.0
> > cycle and we need to start identifying release managers for the next
> > patch and feature releases. Anyone want to step up and work on doing
> > this largely thankless task?
> >
> > --David


Re: assignCertToLB/removeCertToLb commands

2014-01-29 Thread Syed Ahmed

Hi,

I'll check this and fix it. This was in the 4.3 release.

Thanks,
-Syed

On Tue 28 Jan 2014 07:31:51 PM EST, Alena Prokharchyk wrote:

Hi Murali,

Doing some integration work with ssl cert stuff, and found that Apis you’ve 
submitted on behalf of Syed, have incorrect response name format (should be all 
lower cased, and end up with “response”). Can you please check? Also what 
release it went to? If it was released like that, and people started using it, 
we can’t change it as we will break api compatibility.

Thanks,
Alena.






Re: Findbugs report on 4.3-forward

2014-01-29 Thread Animesh Chaturvedi
I have asked for specific commits already a few times. Can you provide list 
today?

Thanks
Animesh

On Jan 29, 2014, at 4:03 AM, "Daan Hoogland"  wrote:

> come to think of it, I probably shouldn't burden you with the decision
> on each of those commits. So if you don't want to go through all of
> them I will review them and compile a list. If you don't want to wait
> my call would be include all.
> 
> On Wed, Jan 29, 2014 at 12:48 PM, Daan Hoogland  
> wrote:
>> Animesh,
>> 
>> As for my fixes, I agree with you that not all of them are vital. You
>> pulled only one and this seems too few. There where more null pointers
>> and uses off  == and more scary things. I have rerouted my efforts to
>> master now. Again (Hugo end I don't always agree on practical matters,
>> on principals we usually do) I think it is up to you which ones to
>> pull. I rember I removed unused local vars. This doesn't seem vital
>> (or dangerous) but pulling only one seems very few.
>> 
>> 
>> On Wed, Jan 29, 2014 at 7:11 AM, Animesh Chaturvedi
>>  wrote:
>>> 
>>> 
>>> -Original Message-
>>> From: Ian Duffy [mailto:i...@ianduffy.ie]
>>> Sent: Tuesday, January 28, 2014 6:34 PM
>>> To: CloudStack Dev
>>> Subject: RE: Findbugs report on 4.3-forward
>>> 
>>> Hi Animesh,
>>> 
>>> Tested all those changes to detail. Those lines were removed due to 
>>> unexpected behavior that I had not spotted until now.
>>> [Animesh] That's what my worry is there may be unintended changes. I 
>>> suspect this one was not from find bugs. Looking at others from Daan there 
>>> are many formatting changes which are not necessary and hinder review
>>> 
>>> They were suppose to allow for better fall over between multiple domain 
>>> controllers, how ever they were causing caching to occur. This meant if a 
>>> users password was reset in LDAP the old password was still allowing login 
>>> for a limited time.
>>> 
>>> Please pull the changes forward,
>>> Thanks
>>> 
>>> Ian.
>>> On 29 Jan 2014 00:07, "Animesh Chaturvedi" 
>>> wrote:
>>> 
 If I look at this commit for example
 
 
 https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commitdiff;
 h=92b4f66d73562e4211d2d787554ff229dbeb5705
 
 It removes the two lines from LdapContextFactory.java
 
 environment.put("com.sun.jndi.ldap.read.timeout", "500");-
 environment.put("com.sun.jndi.ldap.connect.pool", "true");
 
 Is that reported by find bug? I don't know this code  so not sure if
 it is intentional or not ?
 
 The point is there may be unintended risks in allowing late changes.
 
 
 


Re: assignCertToLB/removeCertToLb commands

2014-01-29 Thread Animesh Chaturvedi
Can you provide the fix today?

Thanks
Animesh

On Jan 29, 2014, at 7:36 AM, "Syed Ahmed"  wrote:

> Hi,
> 
> I'll check this and fix it. This was in the 4.3 release.
> 
> Thanks,
> -Syed
> 
> On Tue 28 Jan 2014 07:31:51 PM EST, Alena Prokharchyk wrote:
>> Hi Murali,
>> 
>> Doing some integration work with ssl cert stuff, and found that Apis you’ve 
>> submitted on behalf of Syed, have incorrect response name format (should be 
>> all lower cased, and end up with “response”). Can you please check? Also 
>> what release it went to? If it was released like that, and people started 
>> using it, we can’t change it as we will break api compatibility.
>> 
>> Thanks,
>> Alena.
> 
> 


Re: assignCertToLB/removeCertToLb commands

2014-01-29 Thread Syed Ahmed

Yes Animesh.

-Syed

On Wed 29 Jan 2014 10:54:02 AM EST, Animesh Chaturvedi wrote:

Can you provide the fix today?

Thanks
Animesh

On Jan 29, 2014, at 7:36 AM, "Syed Ahmed"  wrote:


Hi,

I'll check this and fix it. This was in the 4.3 release.

Thanks,
-Syed

On Tue 28 Jan 2014 07:31:51 PM EST, Alena Prokharchyk wrote:

Hi Murali,

Doing some integration work with ssl cert stuff, and found that Apis you’ve 
submitted on behalf of Syed, have incorrect response name format (should be all 
lower cased, and end up with “response”). Can you please check? Also what 
release it went to? If it was released like that, and people started using it, 
we can’t change it as we will break api compatibility.

Thanks,
Alena.








RSA Keys & Deployment on Windows

2014-01-29 Thread Alex Hitchins
All,

I've rebuilt my development environment from the 4.3 branch. In rebuilding, I 
hit upon a number of errors namely around ssh keys (id_rsa.cloud & 
id_rsa.cloud.pub). When running the Jetty command there were errors due to the 
file not existing. It then later looks for the file it's tried to create to 
insert this into the database.

I manually created the keys as the mvn script was set to use ssh-keygen under 
/bin/bash - also, as the folder was named beginning with a "." I had to create 
the directory with admin permissions.

Not sure if this is a bug or just needs writing up in the dev wiki under the 
setting up a windows environment. Happy to do so if I have the permissions to 
edit the site. If not, I'll blog about it so someone can find some help in the 
future.


Alex Hitchins
--
E: a...@alexhitchins.com
M: 07788 423 969


Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training
18th-19th February 2014, Brazil. 
Classroom
17th-23rd March 2014, Region A. Instructor led, 
On-line
24th-28th March 2014, Region B. Instructor led, 
On-line
16th-20th June 2014, Region A. Instructor led, 
On-line
23rd-27th June 2014, Region B. Instructor led, 
On-line

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


RSA Key Issue

2014-01-29 Thread Alex Hitchins
All,

 

I've rebuilt my development environment from the 4.3 branch. In rebuilding,
I hit upon a number of errors namely around ssh keys (id_rsa.cloud &
id_rsa.cloud.pub). When running the Jetty command there were errors due to
the file not existing. It then later looks for the file it's tried to create
to insert this into the database.

 

I manually created the keys as the mvn script was set to use ssh-keygen
under /bin/bash - also, as the folder was named beginning with a "." I had
to create the directory with admin permissions.

 

Not sure if this is a bug or just needs writing up in the dev wiki under the
setting up a windows environment. Happy to do so if I have the permissions
to edit the site. If not, I'll blog about it so someone can find some help
in the future.

 

 

Alex Hitchins

-- 

E:   a...@alexhitchins.com

M: 07788 423 969

 



Re: assignCertToLB/removeCertToLb commands

2014-01-29 Thread Syed Ahmed

Hi Alena,

I was checking the code and I see that the response for uploadSslCert 
is uploadsslcertresponse and deleteSslCert is deletesslcertresponse are 
you expecting something different?


Thanks,
-Syed


On Wed 29 Jan 2014 11:06:23 AM EST, Syed Ahmed wrote:

Yes Animesh.

-Syed

On Wed 29 Jan 2014 10:54:02 AM EST, Animesh Chaturvedi wrote:

Can you provide the fix today?

Thanks
Animesh

On Jan 29, 2014, at 7:36 AM, "Syed Ahmed" 
wrote:


Hi,

I'll check this and fix it. This was in the 4.3 release.

Thanks,
-Syed

On Tue 28 Jan 2014 07:31:51 PM EST, Alena Prokharchyk wrote:

Hi Murali,

Doing some integration work with ssl cert stuff, and found that
Apis you’ve submitted on behalf of Syed, have incorrect response
name format (should be all lower cased, and end up with
“response”). Can you please check? Also what release it went to? If
it was released like that, and people started using it, we can’t
change it as we will break api compatibility.

Thanks,
Alena.











Grunt Development

2014-01-29 Thread Alex Hitchins
All,

 

I'm currently working on a POC implementing Grunt for the build process. If
anyone has any comments/suggestions please let me know and I'll try to work
them into the version I'm working on. Initial goals are minify the
javascript files and get better sprite generation.

 

 

Alex Hitchins

-- 

E:   a...@alexhitchins.com

W:   http://alexhitchins.com

M: 07788 423 969

 



Re: Findbugs report on 4.3-forward

2014-01-29 Thread Daan Hoogland
The first five I allready posted. The ones between brackets seem minor
to me. Then again they also pose the least risk so in my opinion you
should pull them all. The last one is a bug we found during testing
(which was already fixed in master a while back).

these three in combination:
43ba36f97950aa8d09399a28bb50c6a22209f15e
f3529a19a9aad36dbd92e311018643629f19c748
437ff438af23f7ff499200e212966f275a309a75


9a1b882d0eb871c64fe0f0f3fbafbabae89188fa
(9aced41d708acd22b43ef0e512fa2cc657a6c0a2)
(b40156313adce56ae80a622e885ecd9ee403c2f6)
f3b9a7f1232e8f39e619bf99155a4e36ff2d88f9
c58e509924e97dfced80981da5c27b9f3aae9b33
(23a3d99fc0836839a88584d7aa6a978d99c5d126)
866a539b067663b346bd8d087c578987a86fe834
0b13f8e59db1e681e1dff0baa828bb0711842e9f
20127e09dc0e341a2f790a8a52cded4c5f1f0cc1
791b7f8f7fe8f7d342e46fbb61a3f421e87fca59
9772693dca9a91a438078de11b1be1e6044aa6f3
9495c68c1378e379880433d45ec43bfda75ec3f9

and

caf17c2f46bf317ec8966b08aaff728a73fda14a

On Wed, Jan 29, 2014 at 4:47 PM, Animesh Chaturvedi
 wrote:
> I have asked for specific commits already a few times. Can you provide list 
> today?
>
> Thanks
> Animesh
>
> On Jan 29, 2014, at 4:03 AM, "Daan Hoogland"  wrote:
>
>> come to think of it, I probably shouldn't burden you with the decision
>> on each of those commits. So if you don't want to go through all of
>> them I will review them and compile a list. If you don't want to wait
>> my call would be include all.
>>
>> On Wed, Jan 29, 2014 at 12:48 PM, Daan Hoogland  
>> wrote:
>>> Animesh,
>>>
>>> As for my fixes, I agree with you that not all of them are vital. You
>>> pulled only one and this seems too few. There where more null pointers
>>> and uses off  == and more scary things. I have rerouted my efforts to
>>> master now. Again (Hugo end I don't always agree on practical matters,
>>> on principals we usually do) I think it is up to you which ones to
>>> pull. I rember I removed unused local vars. This doesn't seem vital
>>> (or dangerous) but pulling only one seems very few.
>>>
>>>
>>> On Wed, Jan 29, 2014 at 7:11 AM, Animesh Chaturvedi
>>>  wrote:


 -Original Message-
 From: Ian Duffy [mailto:i...@ianduffy.ie]
 Sent: Tuesday, January 28, 2014 6:34 PM
 To: CloudStack Dev
 Subject: RE: Findbugs report on 4.3-forward

 Hi Animesh,

 Tested all those changes to detail. Those lines were removed due to 
 unexpected behavior that I had not spotted until now.
 [Animesh] That's what my worry is there may be unintended changes. I 
 suspect this one was not from find bugs. Looking at others from Daan there 
 are many formatting changes which are not necessary and hinder review

 They were suppose to allow for better fall over between multiple domain 
 controllers, how ever they were causing caching to occur. This meant if a 
 users password was reset in LDAP the old password was still allowing login 
 for a limited time.

 Please pull the changes forward,
 Thanks

 Ian.
 On 29 Jan 2014 00:07, "Animesh Chaturvedi" 
 wrote:

> If I look at this commit for example
>
>
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commitdiff;
> h=92b4f66d73562e4211d2d787554ff229dbeb5705
>
> It removes the two lines from LdapContextFactory.java
>
> environment.put("com.sun.jndi.ldap.read.timeout", "500");-
> environment.put("com.sun.jndi.ldap.connect.pool", "true");
>
> Is that reported by find bug? I don't know this code  so not sure if
> it is intentional or not ?
>
> The point is there may be unintended risks in allowing late changes.
>
>
>


Build failed in Jenkins: cloudstack-4.3-forward-maven-build #32

2014-01-29 Thread jenkins
See 


Changes:

[Daan Hoogland] CLOUDSTACK-5979 vlan parsing fixed

--
[...truncated 3436 lines...]
[INFO] 
[INFO] Building Apache CloudStack Plugin - Palo Alto 4.3.0
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-plugin-network-palo-alto ---
[INFO] Deleting 

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

 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-plugin-network-palo-alto ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-plugin-network-palo-alto ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
cloud-plugin-network-palo-alto ---
[INFO] Compiling 10 source files to 

[INFO] 
[INFO] >>> findbugs-maven-plugin:2.5.3:check (cloudstack-findbugs) @ 
cloud-plugin-network-palo-alto >>>
[INFO] 
[INFO] --- findbugs-maven-plugin:2.5.3:findbugs (findbugs) @ 
cloud-plugin-network-palo-alto ---
[INFO] Fork Value is true
[INFO] Done FindBugs Analysis
[INFO] 
[INFO] <<< findbugs-maven-plugin:2.5.3:check (cloudstack-findbugs) @ 
cloud-plugin-network-palo-alto <<<
[INFO] 
[INFO] --- findbugs-maven-plugin:2.5.3:check (cloudstack-findbugs) @ 
cloud-plugin-network-palo-alto ---
[INFO] BugInstance size is 0
[INFO] Error size is 0
[INFO] No errors/warnings found
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-plugin-network-palo-alto ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-plugin-network-palo-alto ---
[INFO] Compiling 2 source files to 

[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ 
cloud-plugin-network-palo-alto ---
[INFO] Surefire report directory: 


---
 T E S T S
---
Running com.cloud.network.resource.PaloAltoResourceTest
log4j:WARN No appenders could be found for logger 
(com.cloud.network.resource.PaloAltoResource).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.564 sec

Results :

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

[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Checkstyle Configuration 4.3.0
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ checkstyle ---
[INFO] Deleting 

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

 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ checkstyle ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
checkstyle ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ checkstyle 
---
[INFO] No sources to compile
[INFO] 
[INFO] >>> findbugs-maven-plugin:2.5.3:check (cloudstack-findbugs) @ checkstyle 
>>>
[INFO] 
[INFO] --- findbugs-maven-plugin:2.5.3:findbugs (findbugs) @ checkstyle ---
[INFO] 
[INFO] <<< findbugs-maven-plugin:2.5.3:check

Re: Findbugs report on 4.3-forward

2014-01-29 Thread Daan Hoogland
On Wed, Jan 29, 2014 at 5:47 PM, Daan Hoogland  wrote:
> and
>
> caf17c2f46bf317ec8966b08aaff728a73fda14a

never mind that last one, i was in a hury and screwed up. will revert


Jenkins build is back to normal : cloudstack-4.3-forward-maven-build #33

2014-01-29 Thread jenkins
See 




Re: Findbugs report on 4.3-forward

2014-01-29 Thread Daan Hoogland
please pull d38a50343130f6f147e2c9c7b2e32a43f31c7e6b to 4.3

this one came out of our regression testing, I hope other people are
keeping up the testing as well in spite of all the discussion on the
RC!!!

thanks for your patience Animesh,
Daan

On Wed, Jan 29, 2014 at 5:55 PM, Daan Hoogland  wrote:
> On Wed, Jan 29, 2014 at 5:47 PM, Daan Hoogland  
> wrote:
>> and
>>
>> caf17c2f46bf317ec8966b08aaff728a73fda14a
>
> never mind that last one, i was in a hury and screwed up. will revert


Re: assignCertToLB/removeCertToLb commands

2014-01-29 Thread Alena Prokharchyk
The commands that should be fixed are:

assignCertToLoadBalancer
removeCertFromLoadBalancer



Thanks,
Alena.


On 1/29/14, 8:33 AM, "Syed Ahmed"  wrote:

>Hi Alena,
>
>I was checking the code and I see that the response for uploadSslCert
>is uploadsslcertresponse and deleteSslCert is deletesslcertresponse are
>you expecting something different?
>
>Thanks,
>-Syed
>
>
>On Wed 29 Jan 2014 11:06:23 AM EST, Syed Ahmed wrote:
>> Yes Animesh.
>>
>> -Syed
>>
>> On Wed 29 Jan 2014 10:54:02 AM EST, Animesh Chaturvedi wrote:
>>> Can you provide the fix today?
>>>
>>> Thanks
>>> Animesh
>>>
>>> On Jan 29, 2014, at 7:36 AM, "Syed Ahmed" 
>>> wrote:
>>>
 Hi,

 I'll check this and fix it. This was in the 4.3 release.

 Thanks,
 -Syed

 On Tue 28 Jan 2014 07:31:51 PM EST, Alena Prokharchyk wrote:
> Hi Murali,
>
> Doing some integration work with ssl cert stuff, and found that
> Apis you¹ve submitted on behalf of Syed, have incorrect response
> name format (should be all lower cased, and end up with
> ³response²). Can you please check? Also what release it went to? If
> it was released like that, and people started using it, we can¹t
> change it as we will break api compatibility.
>
> Thanks,
> Alena.


>>
>>
>
>



Review Request 17504: Fix the response names in assign and remove cert from LB

2014-01-29 Thread Syed Ahmed

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

Review request for cloudstack, Alena Prokharchyk, Animesh Chaturvedi, and 
Murali Reddy.


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


Repository: cloudstack-git


Description
---

This patch fixes the response names for the API commands

assignCertToLoadBalancer
removeCertFromLoadBalancer


Diffs
-

  
api/src/org/apache/cloudstack/api/command/user/loadbalancer/AssignCertToLoadBalancerCmd.java
 4ea4a58 
  
api/src/org/apache/cloudstack/api/command/user/loadbalancer/RemoveCertFromLoadBalancerCmd.java
 e92d208 

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


Testing
---


Thanks,

Syed Ahmed



Re: assignCertToLB/removeCertToLb commands

2014-01-29 Thread Syed Ahmed

Thanks Alena,

I have the review request at https://reviews.apache.org/r/17504/

-Syed


On Wed 29 Jan 2014 12:47:54 PM EST, Alena Prokharchyk wrote:

The commands that should be fixed are:

assignCertToLoadBalancer
removeCertFromLoadBalancer



Thanks,
Alena.


On 1/29/14, 8:33 AM, "Syed Ahmed"  wrote:


Hi Alena,

I was checking the code and I see that the response for uploadSslCert
is uploadsslcertresponse and deleteSslCert is deletesslcertresponse are
you expecting something different?

Thanks,
-Syed


On Wed 29 Jan 2014 11:06:23 AM EST, Syed Ahmed wrote:

Yes Animesh.

-Syed

On Wed 29 Jan 2014 10:54:02 AM EST, Animesh Chaturvedi wrote:

Can you provide the fix today?

Thanks
Animesh

On Jan 29, 2014, at 7:36 AM, "Syed Ahmed" 
wrote:


Hi,

I'll check this and fix it. This was in the 4.3 release.

Thanks,
-Syed

On Tue 28 Jan 2014 07:31:51 PM EST, Alena Prokharchyk wrote:

Hi Murali,

Doing some integration work with ssl cert stuff, and found that
Apis you¹ve submitted on behalf of Syed, have incorrect response
name format (should be all lower cased, and end up with
³response²). Can you please check? Also what release it went to? If
it was released like that, and people started using it, we can¹t
change it as we will break api compatibility.

Thanks,
Alena.
















Re: cloudstack presenting wrong used memory values

2014-01-29 Thread Rafael Weingartner
Doesn't anyone think that those memory values presented on
infrastructure>hosts are a little odd?


On Tue, Jan 28, 2014 at 2:54 PM, Rafael Weingartner <
rafaelweingart...@gmail.com> wrote:

> Hi all,
>
> I am mailing this to the dev and users list, since I am not sure which one
> would be the best to make such question.
>
>
> So, I deployed Zenoss to monitor my Cloud, and I noticed something weird
> on a graph that it was generating about the Cloud's memory. The graph was
> showing total memory as 26GB, allocated as 16GB and used as 19MB.
>
> It was not making sense, so I was looking around and I noticed that this
> 19MB is the value that the Cloudstack presents as the memory used on
> infrastructure>Hosts.
>
>
> I think that this problem is related to this ticket opened last year.
>
> https://issues.apache.org/jira/browse/CLOUDSTACK-3048
> Sadly, it seems that no one has taken a look at it.
>
>
> Does anyone know anything about this problem/bug?
>
>
> --
> Rafael Weingärtner
>



-- 
Rafael Weingärtner


Re: Devcloud 2 - veewee/Vagrant projects

2014-01-29 Thread chris snow
I have started thinking about some options:

1)  use packer to convert the devcloud2 veewee definition as a starting point
2) create devcloud3 from scratch
3) start with an existing packer definition (e.g. [1])

Do you have a view on which option may be most suitable?

If we go with option 2 or 3, do you think debian 7.0 should be used as
a starting point, or another version such as 7.2 or 7.3?  Or even
another distro?

Are these goals still valid for devcloud3?

- Two network interfaces, host-only adapter so that the VM is
reachable from host os and a NAT so VMs can access Internet.
- Can be used both as an all in one box solution like the original
DevCloud but the mgmt server and other services can run elsewhere (on
host os).
- Reduce resource requirements, so one could run it in 1G limit.
- Allow multiple DevCloud VMs hosts.
- x86 dom0 and xen-i386 so it runs on all host os.
- Reduce exported appliance (ova) file size.
- It should be seamless, it should work out of the box.

Are there any new requirements in addition to the ones discussed in
this email chain, e.g.

- vagrant support (in addition to the ova/ovf image)
- packer and vagrant build environment


Many thanks,

Chris


[1] https://github.com/opscode/bento/tree/master/packer

On Wed, Jan 29, 2014 at 2:25 PM, Sebastien Goasguen  wrote:
>
> On Jan 29, 2014, at 8:49 AM, Rohit Yadav  wrote:
>
>> Thanks for stepping in. That is much needed, in fact I think we should
>> use something like packer alongwith vagrant/veewee for both devcloud
>> and systemvmtemplate. Veewee can build vms, packer can export them to
>> various platforms/formats and a developer could use vagrant for local
>> devcloud/host automation.
>>
>
> I looked into it the other day and I agree we need to revamp this.
>
> veewee development and maintenance is going to stop. So we need to prep a 
> packer version
>
> So yes we should create a packer definition for devcloud3 :) and be able to 
> post-process it to vagrant.
>
>
>
>> Regards.
>>
>> On Wed, Jan 29, 2014 at 1:30 AM, chris snow  wrote:
>>> I would like to build the devcloud2 image [1] from scratch using
>>> veewee (or packer) and turn it into a vagrant box.
>>>
>>> There seems to be several versions of Vagrant files and veewee
>>> definitions in the code base, making it difficult to know which one to
>>> start from, or whether they are still valid.
>>>
>>> Many thanks,
>>>
>>> Chris
>>>
>>> [1] http://bhaisaab.org/logs/devcloud/
>



-- 
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69


Re: [ACS 43] juniper-contrail RAT failure in logs

2014-01-29 Thread Suresh Balineni
Hi Animesh,

I fixed this issue.
This is the review request  url: https://reviews.apache.org/r/17506/

Regards,
Suresh


From: Animesh Chaturvedi 
mailto:animesh.chaturv...@citrix.com>>
Subject: [ACS 43] juniper-contrail RAT failure in logs
Date: January 28, 2014 at 4:40:43 PM PST
To: "dev@cloudstack.apache.org" 
mailto:dev@cloudstack.apache.org>>
Reply-To: dev@cloudstack.apache.org

I am trying to build on 4.3 and RAT fails in

cloudstack/plugins/network-elements/juniper-contrail/logs  in the generated log 
files.

The logs directly is not part of the source tree so I think gets generated as 
part of the build but does not get cleaned up with mvn clean.

If I delete the log directory manually and run RAT again it passes. Can Juniper 
folks check on it?

Thanks
Animesh



Review Request 17506: mvn clean - test logs- contrail -cleanps up only target, dist directories; testclient.log file should be generated inside target directory

2014-01-29 Thread Suresh Balineni

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

Review request for cloudstack.


Repository: cloudstack-git


Description
---

mvn clean - cleanps up only target, dist directories; testclient.log file 
should be generated inside target directory


Diffs
-

  plugins/network-elements/juniper-contrail/test/resources/log4j.properties 
138a961 

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


Testing
---

verified locally


Thanks,

Suresh Balineni



RE: Release Managers for 4.3.1 and 4.4.0

2014-01-29 Thread Animesh Chaturvedi
Hugo, Daan

Thanks for stepping up. I will also do a write up on my experiences as soon as 
I am done wrapping up 4.3

Thanks
Animesh

-Original Message-
From: Hugo Trippaers [mailto:htrippa...@schubergphilis.com] 
Sent: Wednesday, January 29, 2014 7:27 AM
To: dev@cloudstack.apache.org
Cc: Daan Hoogland
Subject: RE: Release Managers for 4.3.1 and 4.4.0

Hey guys,

We've discussed this internally in our company and we want to put in the effort 
to drive the 4.4 release. Daan and me are not quite sure yet who will be 
picking this up when the time comes, but one of us will step up to be the 
release manager. 

That said, I fully agree with Edison that there might be improvements to make 
to the release process. We have time to discuss this I think, we have some 
ideas that we will be sharing with the list soon.

Cheers,

Hugo

> -Original Message-
> From: Edison Su [mailto:edison...@citrix.com]
> Sent: Thursday, January 23, 2014 7:58 PM
> To: dev@cloudstack.apache.org
> Subject: RE: Release Managers for 4.3.1 and 4.4.0
> 
> Maybe before calling out another release manager, we better sit down 
> and talk about is there anything we can improve for the release 
> process. Seems it's huge mount of work to do as a release manager.
> 
> > -Original Message-
> > From: David Nalley [mailto:da...@gnsa.us]
> > Sent: Thursday, January 23, 2014 10:45 AM
> > To: dev@cloudstack.apache.org
> > Subject: Release Managers for 4.3.1 and 4.4.0
> >
> > Hi folks,
> >
> > It's that time again - we are getting close to the end of the 4.3.0 
> > cycle and we need to start identifying release managers for the next 
> > patch and feature releases. Anyone want to step up and work on doing 
> > this largely thankless task?
> >
> > --David


Re: Findbugs report on 4.3-forward

2014-01-29 Thread Chip Childers
On Tue, Jan 28, 2014 at 11:36:52PM +0100, Hugo Trippaers wrote:
> Hey Animesh,
> 
> Not in agreement here. These are squashed bugs and we want as less bugs in 
> the release as possible.
> 
> This is why we test any RC before we release it. I say include all the big 
> fixes we have in the release. If that means more testing before we cut the RC 
> then that is what it is. I can't rightfully vote for a release with known 
> issues with existing fixes. Quality over release schedule would be my vote 
> then.
> 
> Cheers,
> Hugo

+1 - to me, the schedule is really about constraining scope. Quality
should be primary.


Re: assignCertToLB/removeCertToLb commands

2014-01-29 Thread Alena Prokharchyk
Animesh, should it go directly to 4.3 branch?

Thanks,
Alena.

On 1/29/14, 9:58 AM, "Syed Ahmed"  wrote:

>Thanks Alena,
>
>I have the review request at https://reviews.apache.org/r/17504/
>
>-Syed
>
>
>On Wed 29 Jan 2014 12:47:54 PM EST, Alena Prokharchyk wrote:
>> The commands that should be fixed are:
>>
>> assignCertToLoadBalancer
>> removeCertFromLoadBalancer
>>
>>
>>
>> Thanks,
>> Alena.
>>
>>
>> On 1/29/14, 8:33 AM, "Syed Ahmed"  wrote:
>>
>>> Hi Alena,
>>>
>>> I was checking the code and I see that the response for uploadSslCert
>>> is uploadsslcertresponse and deleteSslCert is deletesslcertresponse are
>>> you expecting something different?
>>>
>>> Thanks,
>>> -Syed
>>>
>>>
>>> On Wed 29 Jan 2014 11:06:23 AM EST, Syed Ahmed wrote:
 Yes Animesh.

 -Syed

 On Wed 29 Jan 2014 10:54:02 AM EST, Animesh Chaturvedi wrote:
> Can you provide the fix today?
>
> Thanks
> Animesh
>
> On Jan 29, 2014, at 7:36 AM, "Syed Ahmed" 
> wrote:
>
>> Hi,
>>
>> I'll check this and fix it. This was in the 4.3 release.
>>
>> Thanks,
>> -Syed
>>
>> On Tue 28 Jan 2014 07:31:51 PM EST, Alena Prokharchyk wrote:
>>> Hi Murali,
>>>
>>> Doing some integration work with ssl cert stuff, and found that
>>> Apis you¹ve submitted on behalf of Syed, have incorrect response
>>> name format (should be all lower cased, and end up with
>>> ³response²). Can you please check? Also what release it went to? If
>>> it was released like that, and people started using it, we can¹t
>>> change it as we will break api compatibility.
>>>
>>> Thanks,
>>> Alena.
>>
>>


>>>
>>>
>>
>
>



RE: assignCertToLB/removeCertToLb commands

2014-01-29 Thread Animesh Chaturvedi
Yes that's fine

-Original Message-
From: Alena Prokharchyk 
Sent: Wednesday, January 29, 2014 11:14 AM
To: dev@cloudstack.apache.org
Cc: Murali Reddy; Animesh Chaturvedi
Subject: Re: assignCertToLB/removeCertToLb commands

Animesh, should it go directly to 4.3 branch?

Thanks,
Alena.

On 1/29/14, 9:58 AM, "Syed Ahmed"  wrote:

>Thanks Alena,
>
>I have the review request at https://reviews.apache.org/r/17504/
>
>-Syed
>
>
>On Wed 29 Jan 2014 12:47:54 PM EST, Alena Prokharchyk wrote:
>> The commands that should be fixed are:
>>
>> assignCertToLoadBalancer
>> removeCertFromLoadBalancer
>>
>>
>>
>> Thanks,
>> Alena.
>>
>>
>> On 1/29/14, 8:33 AM, "Syed Ahmed"  wrote:
>>
>>> Hi Alena,
>>>
>>> I was checking the code and I see that the response for 
>>> uploadSslCert is uploadsslcertresponse and deleteSslCert is 
>>> deletesslcertresponse are you expecting something different?
>>>
>>> Thanks,
>>> -Syed
>>>
>>>
>>> On Wed 29 Jan 2014 11:06:23 AM EST, Syed Ahmed wrote:
 Yes Animesh.

 -Syed

 On Wed 29 Jan 2014 10:54:02 AM EST, Animesh Chaturvedi wrote:
> Can you provide the fix today?
>
> Thanks
> Animesh
>
> On Jan 29, 2014, at 7:36 AM, "Syed Ahmed" 
> 
> wrote:
>
>> Hi,
>>
>> I'll check this and fix it. This was in the 4.3 release.
>>
>> Thanks,
>> -Syed
>>
>> On Tue 28 Jan 2014 07:31:51 PM EST, Alena Prokharchyk wrote:
>>> Hi Murali,
>>>
>>> Doing some integration work with ssl cert stuff, and found that 
>>> Apis you¹ve submitted on behalf of Syed, have incorrect response 
>>> name format (should be all lower cased, and end up with 
>>> ³response²). Can you please check? Also what release it went to? 
>>> If it was released like that, and people started using it, we 
>>> can¹t change it as we will break api compatibility.
>>>
>>> Thanks,
>>> Alena.
>>
>>


>>>
>>>
>>
>
>



Re: Findbugs report on 4.3-forward

2014-01-29 Thread Mike Tutkowski
I agree that quality should be our primary focus. My one point of caution
here would be, "How risky are these fixes?"

Just because we believe we have fixes for issues does not necessarily mean
they should be put in a release late in the game. We have to weigh the
benefits of having the fixes versus the risks of introducing them so late
in the game.

Now, I don't know what fixes we're referring to here (I haven't read
through this entire e-mail chain), but I just wanted to throw that out
there.

Thanks!


On Wed, Jan 29, 2014 at 12:04 PM, Chip Childers wrote:

> On Tue, Jan 28, 2014 at 11:36:52PM +0100, Hugo Trippaers wrote:
> > Hey Animesh,
> >
> > Not in agreement here. These are squashed bugs and we want as less bugs
> in the release as possible.
> >
> > This is why we test any RC before we release it. I say include all the
> big fixes we have in the release. If that means more testing before we cut
> the RC then that is what it is. I can't rightfully vote for a release with
> known issues with existing fixes. Quality over release schedule would be my
> vote then.
> >
> > Cheers,
> > Hugo
>
> +1 - to me, the schedule is really about constraining scope. Quality
> should be primary.
>



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


cloudstack-agent on ubuntu

2014-01-29 Thread Anirban Chakraborty
Hi All,

I am trying to install cloudstack-agent on ubuntu 12.04 and it is failing with 
openjdk-6-jre dependency. Following is the error message:

The following packages have unmet dependencies:
 cloudstack-agent : Depends: openjdk-6-jre but it is not installable or
 openjdk-7-jre but it is not going to be installed
Depends: cloudstack-common (= 4.2.1) but it is not going to 
be installed
Depends: ethtool but it is not installable
E: Unable to correct problems, you have held broken packages.
——
Has any one seen this, and if so, how do I get around it? Thanks much.

Anirban Chakraborty


Re: Review Request 17504: Fix the response names in assign and remove cert from LB

2014-01-29 Thread Alena Prokharchyk

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


The patch is created incorrectly; when try to submit, getting error message: 

alena@alenas-air: [4.3]~/cloudstack-oss$ git am --signoff < 
~/Desktop/respname.patch
Patch does not have a valid e-mail address.

Will just fix it myself

- Alena Prokharchyk


On Jan. 29, 2014, 5:58 p.m., Syed Ahmed wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/17504/
> ---
> 
> (Updated Jan. 29, 2014, 5:58 p.m.)
> 
> 
> Review request for cloudstack, Alena Prokharchyk, Animesh Chaturvedi, and 
> Murali Reddy.
> 
> 
> Bugs: CLOUDSTACK-5982
> https://issues.apache.org/jira/browse/CLOUDSTACK-5982
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> This patch fixes the response names for the API commands
> 
> assignCertToLoadBalancer
> removeCertFromLoadBalancer
> 
> 
> Diffs
> -
> 
>   
> api/src/org/apache/cloudstack/api/command/user/loadbalancer/AssignCertToLoadBalancerCmd.java
>  4ea4a58 
>   
> api/src/org/apache/cloudstack/api/command/user/loadbalancer/RemoveCertFromLoadBalancerCmd.java
>  e92d208 
> 
> Diff: https://reviews.apache.org/r/17504/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Syed Ahmed
> 
>



Re: Callback pattern

2014-01-29 Thread Kelven Yang
Glad you already figured it out.

Removing generic is for purpose, since AsyncCallbackDispatcher sits at the
bottom of the chain that needs to deal with different kinds of callback
completion routines. Type-safe check for callback completion routine is
done through AsyncCompletionCall itself

public class AsyncCallbackDispatcher implements
  AsyncCompletionCallback

Kelven


On 1/28/14, 11:16 PM, "Mike Tutkowski" 
wrote:

>Cancel that query. :)
>
>It looks like public class AsyncCallbackDispatcher implements
>AsyncCompletionCallback
>breaks a couple places in the codebase.
>
>
>On Tue, Jan 28, 2014 at 11:56 PM, Mike Tutkowski <
>mike.tutkow...@solidfire.com> wrote:
>
>> Hi Kelven,
>>
>> Thanks for the info.
>>
>> Yeah, I figured it "appeared" to be over engineered in this regard
>>because
>> there probably was (and possibly still is) a grander vision of where
>>we'd
>> like to take CloudStack.
>>
>> You know, on a related note, I noticed the following:
>>
>> public class AsyncCallbackDispatcher
>>implementsAsyncCompletionCallback
>>
>> I changed it to this in my local repo:
>>
>> public class AsyncCallbackDispatcher
>>implementsAsyncCompletionCallback
>>
>> That makes sense to me. Do you see any issue with that change?
>>
>> Thanks again!
>>
>>
>> On Tue, Jan 28, 2014 at 11:32 PM, Kelven Yang
>>wrote:
>>
>>> Originally we did think to introduce async model to CloudStack
>>> orchestration engine, using queues, event notifications etc to make the
>>> system more loosely-coupled and use much less thread resources with
>>>async
>>> programming. However, due the large code base we already have and
>>> synchronous programming is everywhere, it end up to where we are now.
>>>
>>> Async programing is also not async-method based programming, you may
>>>view
>>> it as over-engineering, it is truly un-completed engineering in my
>>> opinion. The same goes to the VMSync refactoring as well, job
>>>framework is
>>> refactored to support putting a job on hold and waking it up upon
>>>events
>>> but in reality, you will still see that we just hold a thread waiting
>>>for
>>> completion. So we definitely still have a lot of work to do for
>>>CloudStack
>>> to continuously evolve itself
>>>
>>> Kelven
>>>
>>> On 1/28/14, 4:52 PM, "Mike Tutkowski" 
>>> wrote:
>>>
>>> >It seems in the cases that I've observed this pattern that we don't
>>> >actually do anything asynchronously. We call a method that has the
>>>word
>>> >"Async" in it typically, but this method does everything in sequence
>>>and
>>> >then returns a "future" object. The calling code then calls get() on
>>>the
>>> >future object, which returns immediately because everything was
>>>executed
>>> >in
>>> >sequence in the "Async" method.
>>> >
>>> >I was curious, were we planning on making many of these operations
>>>truly
>>> >asynchronous in the future?
>>> >
>>> >If not, I wonder if there's a bit of over-engineering going on here?
>>>If
>>> >they are always going to be done synchronously, we could just call the
>>> >"callback" method after calling the "async" method.
>>> >
>>> >Thoughts on this?
>>> >
>>> >Thanks :)
>>> >
>>> >
>>> >On Tue, Jan 28, 2014 at 3:42 PM, Kelven Yang 
>>> >wrote:
>>> >
>>> >> I originally thought to just ask developer to use plain string
>>> literals,
>>> >> it has better readability but it can't take advantage of IDE
>>>provided
>>> >> refactoring (callback method renames), it ended up to this crazy
>>> >>approach.
>>> >> Hopefully one day Java may provide C# delegate like feature, then
>>>all
>>> >> these hacking tricks can go away
>>> >>
>>> >> Kelven
>>> >>
>>> >> On 1/28/14, 2:29 PM, "Mike Tutkowski" 
>>> >> wrote:
>>> >>
>>> >> >I see...just for chaining purposes. In some places I notice we
>>>chain
>>> >>this
>>> >> >and in others we don't.
>>> >> >
>>> >> >Thanks for the clarification!
>>> >> >
>>> >> >
>>> >> >On Tue, Jan 28, 2014 at 3:13 PM, Kelven Yang
>>>
>>> >> >wrote:
>>> >> >
>>> >> >> This is to support fluent coding style to chain all the callback
>>> >>setup
>>> >> >> calls in one line. Using caller.getTarget().callbackMethod()
>>>alone
>>> >>may
>>> >> >> cause people to think the statement as a logic requirement and
>>> >>actually
>>> >> >>it
>>> >> >> is not but hackings.
>>> >> >>
>>> >> >> It is like to setup a function pointer in C or delegate in C#,
>>>but
>>> >>it is
>>> >> >> kind of alien in Java world since Java does not have language
>>>level
>>> >> >> support for this yet.
>>> >> >>
>>> >> >> Kelven
>>> >> >>
>>> >> >> On 1/28/14, 11:06 AM, "Mike Tutkowski" <
>>> mike.tutkow...@solidfire.com>
>>> >> >> wrote:
>>> >> >>
>>> >> >> >Thanks Kelven
>>> >> >> >
>>> >> >> >Yeah, that code is pretty crazy. :)
>>> >> >> >
>>> >> >> >I followed that the getTarget() method actually dynamically
>>>extends
>>> >>a
>>> >> >> >class
>>> >> >> >and allows us to inject logic in the new class that enables us
>>>to
>>> >>save
>>> >> >> >createVolumeFromBaseImageCallBack as the method we want to
>>>invoke
>>> >>when
>>> >> >>

RE: Findbugs report on 4.3-forward

2014-01-29 Thread Animesh Chaturvedi


-Original Message-
From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com] 
Sent: Wednesday, January 29, 2014 11:15 AM
To: dev@cloudstack.apache.org
Subject: Re: Findbugs report on 4.3-forward

I agree that quality should be our primary focus. 
[Animesh] No one would disagree that quality should be the focus

My one point of caution here would be, "How risky are these fixes?"
[Animesh] Exactly release management is about mitigating risks. 

Just because we believe we have fixes for issues does not necessarily mean they 
should be put in a release late in the game. We have to weigh the benefits of 
having the fixes versus the risks of introducing them so late in the game.
[Animesh] That's my opinion too. Instant gratification on fixing something is 
trumping managing risk. The patches are littered with formatting changes that 
make review timeconsuming.

Now, I don't know what fixes we're referring to here (I haven't read through 
this entire e-mail chain), but I just wanted to throw that out there.

Thanks!


On Wed, Jan 29, 2014 at 12:04 PM, Chip Childers wrote:

> On Tue, Jan 28, 2014 at 11:36:52PM +0100, Hugo Trippaers wrote:
> > Hey Animesh,
> >
> > Not in agreement here. These are squashed bugs and we want as less 
> > bugs
> in the release as possible.
> >
> > This is why we test any RC before we release it. I say include all 
> > the
> big fixes we have in the release. If that means more testing before we 
> cut the RC then that is what it is. I can't rightfully vote for a 
> release with known issues with existing fixes. Quality over release 
> schedule would be my vote then.
> >
> > Cheers,
> > Hugo
>
> +1 - to me, the schedule is really about constraining scope. Quality
> should be primary.
>



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


RE: Findbugs report on 4.3-forward

2014-01-29 Thread Animesh Chaturvedi
Daan

Please commit your + Ian's  patches that you see fit directly into 4.3 branch. 
But next time around I would like to see the patches that do not have lots of 
unnecessary formatting changes that mask the real fix at this time of the 
release.

Let me know when you are done so I can rebuild another RC today.

Animesh

-Original Message-
From: Daan Hoogland [mailto:daan.hoogl...@gmail.com] 
Sent: Wednesday, January 29, 2014 8:47 AM
To: dev
Subject: Re: Findbugs report on 4.3-forward

The first five I allready posted. The ones between brackets seem minor to me. 
Then again they also pose the least risk so in my opinion you should pull them 
all. The last one is a bug we found during testing (which was already fixed in 
master a while back).

these three in combination:
43ba36f97950aa8d09399a28bb50c6a22209f15e
f3529a19a9aad36dbd92e311018643629f19c748
437ff438af23f7ff499200e212966f275a309a75


9a1b882d0eb871c64fe0f0f3fbafbabae89188fa
(9aced41d708acd22b43ef0e512fa2cc657a6c0a2)
(b40156313adce56ae80a622e885ecd9ee403c2f6)
f3b9a7f1232e8f39e619bf99155a4e36ff2d88f9
c58e509924e97dfced80981da5c27b9f3aae9b33
(23a3d99fc0836839a88584d7aa6a978d99c5d126)
866a539b067663b346bd8d087c578987a86fe834
0b13f8e59db1e681e1dff0baa828bb0711842e9f
20127e09dc0e341a2f790a8a52cded4c5f1f0cc1
791b7f8f7fe8f7d342e46fbb61a3f421e87fca59
9772693dca9a91a438078de11b1be1e6044aa6f3
9495c68c1378e379880433d45ec43bfda75ec3f9

and

caf17c2f46bf317ec8966b08aaff728a73fda14a

On Wed, Jan 29, 2014 at 4:47 PM, Animesh Chaturvedi 
 wrote:
> I have asked for specific commits already a few times. Can you provide list 
> today?
>
> Thanks
> Animesh
>
> On Jan 29, 2014, at 4:03 AM, "Daan Hoogland"  wrote:
>
>> come to think of it, I probably shouldn't burden you with the 
>> decision on each of those commits. So if you don't want to go through 
>> all of them I will review them and compile a list. If you don't want 
>> to wait my call would be include all.
>>
>> On Wed, Jan 29, 2014 at 12:48 PM, Daan Hoogland  
>> wrote:
>>> Animesh,
>>>
>>> As for my fixes, I agree with you that not all of them are vital. 
>>> You pulled only one and this seems too few. There where more null 
>>> pointers and uses off  == and more scary things. I have rerouted my 
>>> efforts to master now. Again (Hugo end I don't always agree on 
>>> practical matters, on principals we usually do) I think it is up to 
>>> you which ones to pull. I rember I removed unused local vars. This 
>>> doesn't seem vital (or dangerous) but pulling only one seems very few.
>>>
>>>
>>> On Wed, Jan 29, 2014 at 7:11 AM, Animesh Chaturvedi 
>>>  wrote:


 -Original Message-
 From: Ian Duffy [mailto:i...@ianduffy.ie]
 Sent: Tuesday, January 28, 2014 6:34 PM
 To: CloudStack Dev
 Subject: RE: Findbugs report on 4.3-forward

 Hi Animesh,

 Tested all those changes to detail. Those lines were removed due to 
 unexpected behavior that I had not spotted until now.
 [Animesh] That's what my worry is there may be unintended changes. 
 I suspect this one was not from find bugs. Looking at others from 
 Daan there are many formatting changes which are not necessary and 
 hinder review

 They were suppose to allow for better fall over between multiple domain 
 controllers, how ever they were causing caching to occur. This meant if a 
 users password was reset in LDAP the old password was still allowing login 
 for a limited time.

 Please pull the changes forward,
 Thanks

 Ian.
 On 29 Jan 2014 00:07, "Animesh Chaturvedi" 
 
 wrote:

> If I look at this commit for example
>
>
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commitd
> iff;
> h=92b4f66d73562e4211d2d787554ff229dbeb5705
>
> It removes the two lines from LdapContextFactory.java
>
> environment.put("com.sun.jndi.ldap.read.timeout", "500");- 
> environment.put("com.sun.jndi.ldap.connect.pool", "true");
>
> Is that reported by find bug? I don't know this code  so not sure 
> if it is intentional or not ?
>
> The point is there may be unintended risks in allowing late changes.
>
>
>


Re: Findbugs report on 4.3-forward

2014-01-29 Thread Daan Hoogland
good point Mike,

I would like to add that in our case 'quality' means 'usability'. We
are not writing military or madical grade code. However I don't want
to tell a big far eastern telco that their it is out because i left an
== in the code that was meant to be an equals() call, or a leak
because a set of lists of storage pools is removed from a list of
longs, resulting in no action and their ids therefor stay in the list
of poolsToAvoid.

Note that other types of examples exist.

In short if we don't like the risk we do need to consider those fixes
one by one. And even then we are closing our eyes for what we now know
because of findbugs. I only resolved the scariest and only in the
server package (and Ian did one in ldap)

anyways, I am testing and have found other issues. I am not ready to
say -1 yet but who knows. life is a mystery


On Wed, Jan 29, 2014 at 8:14 PM, Mike Tutkowski
 wrote:
> I agree that quality should be our primary focus. My one point of caution
> here would be, "How risky are these fixes?"
>
> Just because we believe we have fixes for issues does not necessarily mean
> they should be put in a release late in the game. We have to weigh the
> benefits of having the fixes versus the risks of introducing them so late
> in the game.
>
> Now, I don't know what fixes we're referring to here (I haven't read
> through this entire e-mail chain), but I just wanted to throw that out
> there.
>
> Thanks!
>
>
> On Wed, Jan 29, 2014 at 12:04 PM, Chip Childers 
> wrote:
>
>> On Tue, Jan 28, 2014 at 11:36:52PM +0100, Hugo Trippaers wrote:
>> > Hey Animesh,
>> >
>> > Not in agreement here. These are squashed bugs and we want as less bugs
>> in the release as possible.
>> >
>> > This is why we test any RC before we release it. I say include all the
>> big fixes we have in the release. If that means more testing before we cut
>> the RC then that is what it is. I can't rightfully vote for a release with
>> known issues with existing fixes. Quality over release schedule would be my
>> vote then.
>> >
>> > Cheers,
>> > Hugo
>>
>> +1 - to me, the schedule is really about constraining scope. Quality
>> should be primary.
>>
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud
> *(tm)*


Re: Findbugs report on 4.3-forward

2014-01-29 Thread Daan Hoogland
On Wed, Jan 29, 2014 at 8:48 PM, Animesh Chaturvedi
 wrote:
> Instant gratification on fixing something is trumping managing risk.
I don't think I like the implication of that remark. I am sure you
mean well and are tired.

> The patches are littered with formatting changes that make review 
> timeconsuming.
Those are caused by a well accepted automatic feature for eclipse that
we agreed to use.


Re: Findbugs report on 4.3-forward

2014-01-29 Thread Daan Hoogland
sure, not sure if I'll be done today however.

On Wed, Jan 29, 2014 at 8:53 PM, Animesh Chaturvedi
 wrote:
> Daan
>
> Please commit your + Ian's  patches that you see fit directly into 4.3 
> branch. But next time around I would like to see the patches that do not have 
> lots of unnecessary formatting changes that mask the real fix at this time of 
> the release.
>
> Let me know when you are done so I can rebuild another RC today.
>
> Animesh
>
> -Original Message-
> From: Daan Hoogland [mailto:daan.hoogl...@gmail.com]
> Sent: Wednesday, January 29, 2014 8:47 AM
> To: dev
> Subject: Re: Findbugs report on 4.3-forward
>
> The first five I allready posted. The ones between brackets seem minor to me. 
> Then again they also pose the least risk so in my opinion you should pull 
> them all. The last one is a bug we found during testing (which was already 
> fixed in master a while back).
>
> these three in combination:
> 43ba36f97950aa8d09399a28bb50c6a22209f15e
> f3529a19a9aad36dbd92e311018643629f19c748
> 437ff438af23f7ff499200e212966f275a309a75
>
>
> 9a1b882d0eb871c64fe0f0f3fbafbabae89188fa
> (9aced41d708acd22b43ef0e512fa2cc657a6c0a2)
> (b40156313adce56ae80a622e885ecd9ee403c2f6)
> f3b9a7f1232e8f39e619bf99155a4e36ff2d88f9
> c58e509924e97dfced80981da5c27b9f3aae9b33
> (23a3d99fc0836839a88584d7aa6a978d99c5d126)
> 866a539b067663b346bd8d087c578987a86fe834
> 0b13f8e59db1e681e1dff0baa828bb0711842e9f
> 20127e09dc0e341a2f790a8a52cded4c5f1f0cc1
> 791b7f8f7fe8f7d342e46fbb61a3f421e87fca59
> 9772693dca9a91a438078de11b1be1e6044aa6f3
> 9495c68c1378e379880433d45ec43bfda75ec3f9
>
> and
>
> caf17c2f46bf317ec8966b08aaff728a73fda14a
>
> On Wed, Jan 29, 2014 at 4:47 PM, Animesh Chaturvedi 
>  wrote:
>> I have asked for specific commits already a few times. Can you provide list 
>> today?
>>
>> Thanks
>> Animesh
>>
>> On Jan 29, 2014, at 4:03 AM, "Daan Hoogland"  wrote:
>>
>>> come to think of it, I probably shouldn't burden you with the
>>> decision on each of those commits. So if you don't want to go through
>>> all of them I will review them and compile a list. If you don't want
>>> to wait my call would be include all.
>>>
>>> On Wed, Jan 29, 2014 at 12:48 PM, Daan Hoogland  
>>> wrote:
 Animesh,

 As for my fixes, I agree with you that not all of them are vital.
 You pulled only one and this seems too few. There where more null
 pointers and uses off  == and more scary things. I have rerouted my
 efforts to master now. Again (Hugo end I don't always agree on
 practical matters, on principals we usually do) I think it is up to
 you which ones to pull. I rember I removed unused local vars. This
 doesn't seem vital (or dangerous) but pulling only one seems very few.


 On Wed, Jan 29, 2014 at 7:11 AM, Animesh Chaturvedi
  wrote:
>
>
> -Original Message-
> From: Ian Duffy [mailto:i...@ianduffy.ie]
> Sent: Tuesday, January 28, 2014 6:34 PM
> To: CloudStack Dev
> Subject: RE: Findbugs report on 4.3-forward
>
> Hi Animesh,
>
> Tested all those changes to detail. Those lines were removed due to 
> unexpected behavior that I had not spotted until now.
> [Animesh] That's what my worry is there may be unintended changes.
> I suspect this one was not from find bugs. Looking at others from
> Daan there are many formatting changes which are not necessary and
> hinder review
>
> They were suppose to allow for better fall over between multiple domain 
> controllers, how ever they were causing caching to occur. This meant if a 
> users password was reset in LDAP the old password was still allowing 
> login for a limited time.
>
> Please pull the changes forward,
> Thanks
>
> Ian.
> On 29 Jan 2014 00:07, "Animesh Chaturvedi"
> 
> wrote:
>
>> If I look at this commit for example
>>
>>
>> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commitd
>> iff;
>> h=92b4f66d73562e4211d2d787554ff229dbeb5705
>>
>> It removes the two lines from LdapContextFactory.java
>>
>> environment.put("com.sun.jndi.ldap.read.timeout", "500");-
>> environment.put("com.sun.jndi.ldap.connect.pool", "true");
>>
>> Is that reported by find bug? I don't know this code  so not sure
>> if it is intentional or not ?
>>
>> The point is there may be unintended risks in allowing late changes.
>>
>>
>>


RE: Findbugs report on 4.3-forward

2014-01-29 Thread Animesh Chaturvedi


-Original Message-
From: Daan Hoogland [mailto:daan.hoogl...@gmail.com] 
Sent: Wednesday, January 29, 2014 12:14 PM
To: dev
Subject: Re: Findbugs report on 4.3-forward

On Wed, Jan 29, 2014 at 8:48 PM, Animesh Chaturvedi 
 wrote:
> Instant gratification on fixing something is trumping managing risk.
I don't think I like the implication of that remark. I am sure you mean well 
and are tired.
[Animesh] Of course Daan, I guess I need more caffeine 

> The patches are littered with formatting changes that make review 
> timeconsuming.
Those are caused by a well accepted automatic feature for eclipse that we 
agreed to use.
[Animesh] I know but at this time we need closer scrutiny and just the specific 
change helps in that. There was a similar comment in private when some of us 
were reviewing security patches. 


Re: Findbugs report on 4.3-forward

2014-01-29 Thread Daan Hoogland
On Wed, Jan 29, 2014 at 9:36 PM, Animesh Chaturvedi
 wrote:
> [Animesh] I know but at this time we need closer scrutiny and just the 
> specific change helps in that. There was a similar comment in private when 
> some of us were reviewing security patches.

point taken

I am not cherry picking the serializable issues and the hiding
overidden fields issues.

also
-result.replaceAll("", "/n");
+result = result.replaceAll("", "/n");
where  result is returned without the replacement , because i think /n
should be \n anyway

I have removed excess formatting changes in only one case. I am going
to run a test compile and will the push


Re: Findbugs report on 4.3-forward

2014-01-29 Thread Daan Hoogland
On Wed, Jan 29, 2014 at 9:50 PM, Daan Hoogland  wrote:
> and will the push

and will then push


Re: Findbugs report on 4.3-forward

2014-01-29 Thread Daan Hoogland
H Animesh,

I am done cherry-picking, compiling and pushing.

I wonder if now is opportune to build a new rc. shouldn't we wait till
more people have tested? I for instance (doing a quarter of the test
plans that we have at Schuberg Philis) ran into some issues and am not
sure yet if they are in the rc or in my env. Also my colleagues are
busy testing I know and will continue at it. I am not sure what
procedures are at other plants but I would hope something similar.

regards,

On Wed, Jan 29, 2014 at 9:52 PM, Daan Hoogland  wrote:
> On Wed, Jan 29, 2014 at 9:50 PM, Daan Hoogland  
> wrote:
>> and will the push
>
> and will then push


RE: Findbugs report on 4.3-forward

2014-01-29 Thread Animesh Chaturvedi


-Original Message-
From: Daan Hoogland [mailto:daan.hoogl...@gmail.com] 
Sent: Wednesday, January 29, 2014 1:06 PM
To: dev; Animesh Chaturvedi
Subject: Re: Findbugs report on 4.3-forward

H Animesh,

I am done cherry-picking, compiling and pushing.
[Animesh] Cool, I will also need to pull in fix from Syed 

I wonder if now is opportune to build a new rc. shouldn't we wait till more 
people have tested?
[Animesh] I guess we should still push an RC because without an RC the feedback 
trickles slowly.

 I for instance (doing a quarter of the test plans that we have at Schuberg 
Philis) ran into some issues and am not sure yet if they are in the rc or in my 
env. Also my colleagues are busy testing I know and will continue at it. I am 
not sure what procedures are at other plants but I would hope something similar.

regards,

On Wed, Jan 29, 2014 at 9:52 PM, Daan Hoogland  wrote:
> On Wed, Jan 29, 2014 at 9:50 PM, Daan Hoogland  
> wrote:
>> and will the push
>
> and will then push


Re: devcloud veewee install broken?

2014-01-29 Thread chris snow
I managed to fix the prompting, but ran into some other issues.

Will report back here when I have something a bit more concrete.


On Wed, Jan 29, 2014 at 1:47 PM, Rohit Yadav  wrote:
> Oh this looks like something new, using debconf you can set one of the
> two network drivers and fix in vagrant scripts. Patch welcome.
>
> Regards.
>
> On Wed, Jan 29, 2014 at 6:15 AM, chris snow  wrote:
>> Hi Devs,
>>
>> I've managed to figure out how to perform the veewee build for devcloud at 
>> [1]
>>
>> However, during the performing the 'build' command, ubuntu is looking
>> for some user input (screenshot uploaded to pastepic [2])
>>
>> Shall I raise this as an issue in JIRA?  With a bit of time, I may be
>> able to fix this as well...
>>
>> Many thanks,
>>
>> Chris
>>
>> --
>> [1] 
>> https://github.com/snowch/cloudstack/tree/master/tools/appliance/definitions/devcloud
>> [2] http://www.picpaste.com/veewee_install.png



-- 
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69


bof for denver

2014-01-29 Thread Daan Hoogland
H,

I submitted a bof proposal: continuous delivery the apache way

the apache release process is based on high quality and delivering
good quality software. for a big project as cloudstack this means
unsure delivery schedules and long release cycles. The goal of this
BoF is to find ways to hasten delivery whilst at least maintaining and
preferably improving code quality.

the apache release process is based on high quality and delivering
good quality software. for a big project as cloudstack this means
unsure delivery schedules and long release cycles. The goal of this
BoF is to find ways to hasten delivery whilst at least maintaining and
preferably improving code quality.

committers to any middle size to large project will be interested to
participate. Also (board)members or managers interested in speed and
quality as possibly contradicting aspects of code delivery.


any takers?


userVmResponse no longer returns some parameters

2014-01-29 Thread Alena Prokharchyk
Hi Daan,

In the latest master build I observed that listVirtualMachines command no 
longer returns parameters like:

State
displayName
Account

Its due to the commit that you’ve cherry-picked 
(fae05560218ef3bcb962bd424ae5dbf5cb8ede68)

Setting corresponding fields in UserVmJoinVO to become final, causing them to 
always return NULL in the response.

Can you please fix it? Current behavior will break all integration code.

Thanks,
Alena.




Re: userVmResponse no longer returns some parameters

2014-01-29 Thread Sheng Yang
That's the reason of:
http://www.mail-archive.com/dev@cloudstack.apache.org/msg21948.html

--Sheng


On Wed, Jan 29, 2014 at 1:53 PM, Alena Prokharchyk <
alena.prokharc...@citrix.com> wrote:

> Hi Daan,
>
> In the latest master build I observed that listVirtualMachines command no
> longer returns parameters like:
>
> State
> displayName
> Account
>
> Its due to the commit that you've cherry-picked
> (fae05560218ef3bcb962bd424ae5dbf5cb8ede68)
>
> Setting corresponding fields in UserVmJoinVO to become final, causing them
> to always return NULL in the response.
>
> Can you please fix it? Current behavior will break all integration code.
>
> Thanks,
> Alena.
>
>
>


Re: userVmResponse no longer returns some parameters

2014-01-29 Thread Alena Prokharchyk
So the problem exists in 4.3 branch as well?

=alena.

On 1/29/14, 1:59 PM, "Sheng Yang"  wrote:

>That's the reason of:
>http://www.mail-archive.com/dev@cloudstack.apache.org/msg21948.html
>
>--Sheng
>
>
>On Wed, Jan 29, 2014 at 1:53 PM, Alena Prokharchyk <
>alena.prokharc...@citrix.com> wrote:
>
>> Hi Daan,
>>
>> In the latest master build I observed that listVirtualMachines command
>>no
>> longer returns parameters like:
>>
>> State
>> displayName
>> Account
>>
>> Its due to the commit that you've cherry-picked
>> (fae05560218ef3bcb962bd424ae5dbf5cb8ede68)
>>
>> Setting corresponding fields in UserVmJoinVO to become final, causing
>>them
>> to always return NULL in the response.
>>
>> Can you please fix it? Current behavior will break all integration code.
>>
>> Thanks,
>> Alena.
>>
>>
>>



Re: userVmResponse no longer returns some parameters

2014-01-29 Thread Alena Prokharchyk
Yes, the bug exists in 4.3 as well. We should fix it before the release.

-Alena.

On 1/29/14, 2:02 PM, "Alena Prokharchyk" 
wrote:

>So the problem exists in 4.3 branch as well?
>
>=alena.
>
>On 1/29/14, 1:59 PM, "Sheng Yang"  wrote:
>
>>That's the reason of:
>>http://www.mail-archive.com/dev@cloudstack.apache.org/msg21948.html
>>
>>--Sheng
>>
>>
>>On Wed, Jan 29, 2014 at 1:53 PM, Alena Prokharchyk <
>>alena.prokharc...@citrix.com> wrote:
>>
>>> Hi Daan,
>>>
>>> In the latest master build I observed that listVirtualMachines command
>>>no
>>> longer returns parameters like:
>>>
>>> State
>>> displayName
>>> Account
>>>
>>> Its due to the commit that you've cherry-picked
>>> (fae05560218ef3bcb962bd424ae5dbf5cb8ede68)
>>>
>>> Setting corresponding fields in UserVmJoinVO to become final, causing
>>>them
>>> to always return NULL in the response.
>>>
>>> Can you please fix it? Current behavior will break all integration
>>>code.
>>>
>>> Thanks,
>>> Alena.
>>>
>>>
>>>
>



RE: userVmResponse no longer returns some parameters

2014-01-29 Thread Animesh Chaturvedi
Alena do you know the commit ID

-Original Message-
From: Alena Prokharchyk [mailto:alena.prokharc...@citrix.com] 
Sent: Wednesday, January 29, 2014 2:03 PM
To: dev@cloudstack.apache.org
Cc: Daan Hoogland
Subject: Re: userVmResponse no longer returns some parameters

So the problem exists in 4.3 branch as well?

=alena.

On 1/29/14, 1:59 PM, "Sheng Yang"  wrote:

>That's the reason of:
>http://www.mail-archive.com/dev@cloudstack.apache.org/msg21948.html
>
>--Sheng
>
>
>On Wed, Jan 29, 2014 at 1:53 PM, Alena Prokharchyk < 
>alena.prokharc...@citrix.com> wrote:
>
>> Hi Daan,
>>
>> In the latest master build I observed that listVirtualMachines 
>>command no  longer returns parameters like:
>>
>> State
>> displayName
>> Account
>>
>> Its due to the commit that you've cherry-picked
>> (fae05560218ef3bcb962bd424ae5dbf5cb8ede68)
>>
>> Setting corresponding fields in UserVmJoinVO to become final, causing 
>>them  to always return NULL in the response.
>>
>> Can you please fix it? Current behavior will break all integration code.
>>
>> Thanks,
>> Alena.
>>
>>
>>



Re: userVmResponse no longer returns some parameters

2014-01-29 Thread Alena Prokharchyk
dcda79e2c02fda4e0fe52f61bf61712742e1f0db

On 1/29/14, 2:22 PM, "Animesh Chaturvedi" 
wrote:

>Alena do you know the commit ID
>
>-Original Message-
>From: Alena Prokharchyk [mailto:alena.prokharc...@citrix.com]
>Sent: Wednesday, January 29, 2014 2:03 PM
>To: dev@cloudstack.apache.org
>Cc: Daan Hoogland
>Subject: Re: userVmResponse no longer returns some parameters
>
>So the problem exists in 4.3 branch as well?
>
>=alena.
>
>On 1/29/14, 1:59 PM, "Sheng Yang"  wrote:
>
>>That's the reason of:
>>http://www.mail-archive.com/dev@cloudstack.apache.org/msg21948.html
>>
>>--Sheng
>>
>>
>>On Wed, Jan 29, 2014 at 1:53 PM, Alena Prokharchyk <
>>alena.prokharc...@citrix.com> wrote:
>>
>>> Hi Daan,
>>>
>>> In the latest master build I observed that listVirtualMachines
>>>command no  longer returns parameters like:
>>>
>>> State
>>> displayName
>>> Account
>>>
>>> Its due to the commit that you've cherry-picked
>>> (fae05560218ef3bcb962bd424ae5dbf5cb8ede68)
>>>
>>> Setting corresponding fields in UserVmJoinVO to become final, causing
>>>them  to always return NULL in the response.
>>>
>>> Can you please fix it? Current behavior will break all integration
>>>code.
>>>
>>> Thanks,
>>> Alena.
>>>
>>>
>>>
>



Re: Devcloud 2 - veewee/Vagrant projects

2014-01-29 Thread Sebastien Goasguen

On Jan 29, 2014, at 1:57 PM, chris snow  wrote:

> I have started thinking about some options:
> 
> 1)  use packer to convert the devcloud2 veewee definition as a starting point
> 2) create devcloud3 from scratch
> 3) start with an existing packer definition (e.g. [1])
> 
> Do you have a view on which option may be most suitable?
> 

My view would be to start from scratch but of course looking at what has been 
done.

In an ideal world, I would love to see a packer/vagrant file that would do:

-Ubuntu and CentOS
-Xen and KVM 

That way we can decide on what to build. Of course there might be issues due to 
the PV/HVM support in vbox and the OS chosen.
I don't recall what the issue was that made Rohit use Debian (but see 
http://bhaisaab.org/logs/devcloud/), but ideally it would be good to use stock 
ubuntu 12.04 or 13.04
I list 13.04 because there seems to be an issue with libvirt in 12.04 in the 
case that you want ceph (http://ceph.com/docs/master/rbd/rbd-cloudstack/). Of 
course ceph on a single node does not make sense, but for a devcloud3 setup we 
could imagine setting up ceph in it and use it as primary storage.

I mention KVM because if one uses VMware workstation than KVM would be an 
option.

What I am doing these days is taking a veewee bare definition and using 
veewee-to-packer to get started with packer. I install chef/salt/puppet agents 
in the image so that I can use the 3 of them if I want to.

> If we go with option 2 or 3, do you think debian 7.0 should be used as
> a starting point, or another version such as 7.2 or 7.3?  Or even
> another distro?
> 
> Are these goals still valid for devcloud3?
> 
> - Two network interfaces, host-only adapter so that the VM is
> reachable from host os and a NAT so VMs can access Internet.

Yes

> - Can be used both as an all in one box solution like the original
> DevCloud but the mgmt server and other services can run elsewhere (on
> host os).

Yes

> - Reduce resource requirements, so one could run it in 1G limit.

Would be great, but remember that systemvm and ttylinux will run within it, so 
those 4 alone may use 1G

> - Allow multiple DevCloud VMs hosts.

That would be great. Having some skeleton for multiple devcloud hosts in a 
vagrant file so we can deploy "full" clouds.

> - x86 dom0 and xen-i386 so it runs on all host os.
> - Reduce exported appliance (ova) file size.
> - It should be seamless, it should work out of the box.

yes

> 
> Are there any new requirements in addition to the ones discussed in
> this email chain, e.g.
> 
> - vagrant support (in addition to the ova/ovf image)
> - packer and vagrant build environment
> 

In simstack https://github.com/runseb/simstack I am trying to provide 
chef/salt/puppet recipes for the install. So in devcloud3, I would lay things 
out so that we can also do those 3 cfg mgt system in the future. Note that 
simstack is not devcloud as I am trying to run the simulator and have to 
compile from source because there is no simulator package.

> 
> Many thanks,
> 
> Chris
> 
> 
> [1] https://github.com/opscode/bento/tree/master/packer
> 
> On Wed, Jan 29, 2014 at 2:25 PM, Sebastien Goasguen  wrote:
>> 
>> On Jan 29, 2014, at 8:49 AM, Rohit Yadav  wrote:
>> 
>>> Thanks for stepping in. That is much needed, in fact I think we should
>>> use something like packer alongwith vagrant/veewee for both devcloud
>>> and systemvmtemplate. Veewee can build vms, packer can export them to
>>> various platforms/formats and a developer could use vagrant for local
>>> devcloud/host automation.
>>> 
>> 
>> I looked into it the other day and I agree we need to revamp this.
>> 
>> veewee development and maintenance is going to stop. So we need to prep a 
>> packer version
>> 
>> So yes we should create a packer definition for devcloud3 :) and be able to 
>> post-process it to vagrant.
>> 
>> 
>> 
>>> Regards.
>>> 
>>> On Wed, Jan 29, 2014 at 1:30 AM, chris snow  wrote:
 I would like to build the devcloud2 image [1] from scratch using
 veewee (or packer) and turn it into a vagrant box.
 
 There seems to be several versions of Vagrant files and veewee
 definitions in the code base, making it difficult to know which one to
 start from, or whether they are still valid.
 
 Many thanks,
 
 Chris
 
 [1] http://bhaisaab.org/logs/devcloud/
>> 
> 
> 
> 
> -- 
> Check out my professional profile and connect with me on LinkedIn.
> http://lnkd.in/cw5k69



RE: [VOTE] Apache CloudStack 4.3.0 (second round)

2014-01-29 Thread Geoff Higginbottom
-1

I am unable to manage Firewall, Port Forwarding or Load Balancing rules via the 
UI, the interfaces no longer exist.  I did create a Port Forwarding Rule via 
the API successfully to prove it's just a UI issue.

VMs assigned to VPC's fail to deploy and are then deleted.

I was unable to complete my remaining tests as these required a working VPC and 
the ability to create Firewall, Port Forwarding and Load Balancing Rules for 
Isolated Networks.

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Animesh Chaturvedi [mailto:animesh.chaturv...@citrix.com]
Sent: 29 January 2014 04:54
To: dev@cloudstack.apache.org
Subject: [VOTE] Apache CloudStack 4.3.0 (second round)

Hi All,

I've created a 4.3.0 release, with the following artifacts up for a
vote:

Git Branch and Commit SH:
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.3
Commit: 66d0b3d45bda73205b59693baeeefdf27e6c9c66


List of changes:
 New Features in 4.3: 
https://issues.apache.org/jira/issues/?filter=12325248
Improvement in 4.3: https://issues.apache.org/jira/issues/?filter=12325249
Issues fixed in 4.3 https://issues.apache.org/jira/issues/?filter=12326161
Known Issues in 4.3: https://issues.apache.org/jira/issues/?filter=12326162


Source release (checksums and signatures are available at the same
location):
https://dist.apache.org/repos/dist/dev/cloudstack/4.3.0/

PGP release keys (signed using 94BE0D7C):
https://dist.apache.org/repos/dist/release/cloudstack/KEYS

Testing instructions are here:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Release+test+procedure

Vote will be open for 72 hours (excluding weekend). I will count the VOTE 
Sunday night PST.

For sanity in tallying the vote, can PMC members please be sure to indicate 
"(binding)" with their vote?


[ ] +1  approve
[ ] +0  no opinion
[ ] -1  disapprove (and reason why)

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training
18th-19th February 2014, Brazil. 
Classroom
17th-23rd March 2014, Region A. Instructor led, 
On-line
24th-28th March 2014, Region B. Instructor led, 
On-line
16th-20th June 2014, Region A. Instructor led, 
On-line
23rd-27th June 2014, Region B. Instructor led, 
On-line

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


RE: [VOTE] Apache CloudStack 4.3.0 (second round) - unable to manage Firewall, Port Forwarding or Load Balancing rules via the UI, the interfaces no longer exist.

2014-01-29 Thread Jessica Wang
Geoff,

> I am unable to manage Firewall, Port Forwarding or Load Balancing rules via 
> the UI, the interfaces no longer exist.  

Are you referring to the Configuration tab in IP Address detail page?
It's under Guest Network section or VPC section?

e.g. Network > Guest Network > IP Addresses > click a SourceNAT IP, or a 
Non-SourceNAT IP > Configuration tab is missing here?

e.g. Network > VPC > Router > IP Addresses > click a SourceNAT IP, or a 
Non-SourceNAT IP > Configuration tab is missing here?

Jessica


-Original Message-
From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com] 
Sent: Wednesday, January 29, 2014 2:52 PM
To: dev@cloudstack.apache.org
Subject: RE: [VOTE] Apache CloudStack 4.3.0 (second round)

-1

I am unable to manage Firewall, Port Forwarding or Load Balancing rules via the 
UI, the interfaces no longer exist.  I did create a Port Forwarding Rule via 
the API successfully to prove it's just a UI issue.

VMs assigned to VPC's fail to deploy and are then deleted.

I was unable to complete my remaining tests as these required a working VPC and 
the ability to create Firewall, Port Forwarding and Load Balancing Rules for 
Isolated Networks.

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Animesh Chaturvedi [mailto:animesh.chaturv...@citrix.com]
Sent: 29 January 2014 04:54
To: dev@cloudstack.apache.org
Subject: [VOTE] Apache CloudStack 4.3.0 (second round)

Hi All,

I've created a 4.3.0 release, with the following artifacts up for a
vote:

Git Branch and Commit SH:
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.3
Commit: 66d0b3d45bda73205b59693baeeefdf27e6c9c66


List of changes:
 New Features in 4.3: 
https://issues.apache.org/jira/issues/?filter=12325248
Improvement in 4.3: https://issues.apache.org/jira/issues/?filter=12325249
Issues fixed in 4.3 https://issues.apache.org/jira/issues/?filter=12326161
Known Issues in 4.3: https://issues.apache.org/jira/issues/?filter=12326162


Source release (checksums and signatures are available at the same
location):
https://dist.apache.org/repos/dist/dev/cloudstack/4.3.0/

PGP release keys (signed using 94BE0D7C):
https://dist.apache.org/repos/dist/release/cloudstack/KEYS

Testing instructions are here:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Release+test+procedure

Vote will be open for 72 hours (excluding weekend). I will count the VOTE 
Sunday night PST.

For sanity in tallying the vote, can PMC members please be sure to indicate 
"(binding)" with their vote?


[ ] +1  approve
[ ] +0  no opinion
[ ] -1  disapprove (and reason why)

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training
18th-19th February 2014, Brazil. 
Classroom
17th-23rd March 2014, Region A. Instructor led, 
On-line
24th-28th March 2014, Region B. Instructor led, 
On-line
16th-20th June 2014, Region A. Instructor led, 
On-line
23rd-27th June 2014, Region B. Instructor led, 
On-line

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


Re: [VOTE] Apache CloudStack 4.3.0 (second round) - unable to manage Firewall, Port Forwarding or Load Balancing rules via the UI, the interfaces no longer exist.

2014-01-29 Thread Geoff Higginbottom
Hi Jessica.

Yes, I can get as far as the Source NAT IP Address but then all I have is the 
Details Tab but no Configuration Tab.

Regards

Geoff Higginbottom
CTO / Cloud Architect

D: +44 20 3603 0542 | S: +44 20 3603 0540 
| M: +447968161581

geoff.higginbot...@shapeblue.com | 
www.shapeblue.com | 
Twitter:@cloudstackguru

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 
4HS


On 29 Jan 2014, at 23:18, "Jessica Wang" 
mailto:jessica.w...@citrix.com>> wrote:

Geoff,

I am unable to manage Firewall, Port Forwarding or Load Balancing rules via the 
UI, the interfaces no longer exist.

Are you referring to the Configuration tab in IP Address detail page?
It's under Guest Network section or VPC section?

e.g. Network > Guest Network > IP Addresses > click a SourceNAT IP, or a 
Non-SourceNAT IP > Configuration tab is missing here?

e.g. Network > VPC > Router > IP Addresses > click a SourceNAT IP, or a 
Non-SourceNAT IP > Configuration tab is missing here?

Jessica


-Original Message-
From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
Sent: Wednesday, January 29, 2014 2:52 PM
To: dev@cloudstack.apache.org
Subject: RE: [VOTE] Apache CloudStack 4.3.0 (second round)

-1

I am unable to manage Firewall, Port Forwarding or Load Balancing rules via the 
UI, the interfaces no longer exist.  I did create a Port Forwarding Rule via 
the API successfully to prove it's just a UI issue.

VMs assigned to VPC's fail to deploy and are then deleted.

I was unable to complete my remaining tests as these required a working VPC and 
the ability to create Firewall, Port Forwarding and Load Balancing Rules for 
Isolated Networks.

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Animesh Chaturvedi [mailto:animesh.chaturv...@citrix.com]
Sent: 29 January 2014 04:54
To: dev@cloudstack.apache.org
Subject: [VOTE] Apache CloudStack 4.3.0 (second round)

Hi All,

I've created a 4.3.0 release, with the following artifacts up for a
vote:

Git Branch and Commit SH:
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.3
Commit: 66d0b3d45bda73205b59693baeeefdf27e6c9c66


List of changes:
 New Features in 4.3: 
https://issues.apache.org/jira/issues/?filter=12325248
Improvement in 4.3: https://issues.apache.org/jira/issues/?filter=12325249
Issues fixed in 4.3 https://issues.apache.org/jira/issues/?filter=12326161
Known Issues in 4.3: https://issues.apache.org/jira/issues/?filter=12326162


Source release (checksums and signatures are available at the same
location):
https://dist.apache.org/repos/dist/dev/cloudstack/4.3.0/

PGP release keys (signed using 94BE0D7C):
https://dist.apache.org/repos/dist/release/cloudstack/KEYS

Testing instructions are here:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Release+test+procedure

Vote will be open for 72 hours (excluding weekend). I will count the VOTE 
Sunday night PST.

For sanity in tallying the vote, can PMC members please be sure to indicate 
"(binding)" with their vote?


[ ] +1  approve
[ ] +0  no opinion
[ ] -1  disapprove (and reason why)

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training
18th-19th February 2014, Brazil. 
Classroom
17th-23rd March 2014, Region A. Instructor led, 
On-line
24th-28th March 2014, Region B. Instructor led, 
On-line
16th-20th June 2014, Region A. Instructor led, 
On-line
23rd-27th June 2014, Region B. Instructor led, 
On-line

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

RE: userVmResponse no longer returns some parameters

2014-01-29 Thread Animesh Chaturvedi
Daan

This is from the recent commit that you cherry-picked into 4.3. These 
unintended consequences was my reason not to change so late. Anyhow please 
review

Animesh

-Original Message-
From: Alena Prokharchyk [mailto:alena.prokharc...@citrix.com] 
Sent: Wednesday, January 29, 2014 2:32 PM
To: dev@cloudstack.apache.org
Cc: Daan Hoogland
Subject: Re: userVmResponse no longer returns some parameters

dcda79e2c02fda4e0fe52f61bf61712742e1f0db

On 1/29/14, 2:22 PM, "Animesh Chaturvedi" 
wrote:

>Alena do you know the commit ID
>
>-Original Message-
>From: Alena Prokharchyk [mailto:alena.prokharc...@citrix.com]
>Sent: Wednesday, January 29, 2014 2:03 PM
>To: dev@cloudstack.apache.org
>Cc: Daan Hoogland
>Subject: Re: userVmResponse no longer returns some parameters
>
>So the problem exists in 4.3 branch as well?
>
>=alena.
>
>On 1/29/14, 1:59 PM, "Sheng Yang"  wrote:
>
>>That's the reason of:
>>http://www.mail-archive.com/dev@cloudstack.apache.org/msg21948.html
>>
>>--Sheng
>>
>>
>>On Wed, Jan 29, 2014 at 1:53 PM, Alena Prokharchyk < 
>>alena.prokharc...@citrix.com> wrote:
>>
>>> Hi Daan,
>>>
>>> In the latest master build I observed that listVirtualMachines 
>>>command no  longer returns parameters like:
>>>
>>> State
>>> displayName
>>> Account
>>>
>>> Its due to the commit that you've cherry-picked
>>> (fae05560218ef3bcb962bd424ae5dbf5cb8ede68)
>>>
>>> Setting corresponding fields in UserVmJoinVO to become final, 
>>>causing them  to always return NULL in the response.
>>>
>>> Can you please fix it? Current behavior will break all integration 
>>>code.
>>>
>>> Thanks,
>>> Alena.
>>>
>>>
>>>
>



RE: [VOTE] Apache CloudStack 4.3.0 (second round) - unable to manage Firewall, Port Forwarding or Load Balancing rules via the UI, the interfaces no longer exist.

2014-01-29 Thread Jessica Wang
Geoff,

I fixed the bug yesterday in master branch.

I just merged the fix to 4.3-forward branch:


Branch: refs/heads/4.3-forward

Commit: 1ad7bce69b764d3d833a8682ec5016bfbeea394c

Parents: d38a503

Author: Jessica Wang mailto:jessicaw...@apache.org>>

Authored: Wed Jan 29 15:40:14 2014 -0800

Committer: Jessica Wang mailto:jessicaw...@apache.org>>

Committed: Wed Jan 29 15:40:14 2014 -0800


Jessica


From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
Sent: Wednesday, January 29, 2014 3:41 PM
To: Jessica Wang
Cc: dev@cloudstack.apache.org; Animesh Chaturvedi; Brian Federle; Sudha 
Ponnaganti; Sangeetha Hariharan
Subject: Re: [VOTE] Apache CloudStack 4.3.0 (second round) - unable to manage 
Firewall, Port Forwarding or Load Balancing rules via the UI, the interfaces no 
longer exist.

Hi Jessica.

Yes, I can get as far as the Source NAT IP Address but then all I have is the 
Details Tab but no Configuration Tab.
Regards

Geoff Higginbottom
CTO / Cloud Architect

D: +44 20 3603 0542 | S: +44 20 3603 0540 
| M: +447968161581

geoff.higginbot...@shapeblue.com | 
www.shapeblue.com | 
Twitter:@cloudstackguru

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 
4HS


On 29 Jan 2014, at 23:18, "Jessica Wang" 
mailto:jessica.w...@citrix.com>> wrote:
Geoff,


I am unable to manage Firewall, Port Forwarding or Load Balancing rules via the 
UI, the interfaces no longer exist.

Are you referring to the Configuration tab in IP Address detail page?
It's under Guest Network section or VPC section?

e.g. Network > Guest Network > IP Addresses > click a SourceNAT IP, or a 
Non-SourceNAT IP > Configuration tab is missing here?

e.g. Network > VPC > Router > IP Addresses > click a SourceNAT IP, or a 
Non-SourceNAT IP > Configuration tab is missing here?

Jessica


-Original Message-
From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
Sent: Wednesday, January 29, 2014 2:52 PM
To: dev@cloudstack.apache.org
Subject: RE: [VOTE] Apache CloudStack 4.3.0 (second round)

-1

I am unable to manage Firewall, Port Forwarding or Load Balancing rules via the 
UI, the interfaces no longer exist.  I did create a Port Forwarding Rule via 
the API successfully to prove it's just a UI issue.

VMs assigned to VPC's fail to deploy and are then deleted.

I was unable to complete my remaining tests as these required a working VPC and 
the ability to create Firewall, Port Forwarding and Load Balancing Rules for 
Isolated Networks.

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Animesh Chaturvedi [mailto:animesh.chaturv...@citrix.com]
Sent: 29 January 2014 04:54
To: dev@cloudstack.apache.org
Subject: [VOTE] Apache CloudStack 4.3.0 (second round)

Hi All,

I've created a 4.3.0 release, with the following artifacts up for a
vote:

Git Branch and Commit SH:
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.3
Commit: 66d0b3d45bda73205b59693baeeefdf27e6c9c66


List of changes:
 New Features in 4.3: 
https://issues.apache.org/jira/issues/?filter=12325248
Improvement in 4.3: https://issues.apache.org/jira/issues/?filter=12325249
Issues fixed in 4.3 https://issues.apache.org/jira/issues/?filter=12326161
Known Issues in 4.3: https://issues.apache.org/jira/issues/?filter=12326162


Source release (checksums and signatures are available at the same
location):
https://dist.apache.org/repos/dist/dev/cloudstack/4.3.0/

PGP release keys (signed using 94BE0D7C):
https://dist.apache.org/repos/dist/release/cloudstack/KEYS

Testing instructions are here:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Release+test+procedure

Vote will be open for 72 hours (excluding weekend). I will count the VOTE 
Sunday night PST.

For sanity in tallying the vote, can PMC members please be sure to indicate 
"(binding)" with their vote?


[ ] +1  approve
[ ] +0  no opinion
[ ] -1  disapprove (and reason why)

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training
18th-19th February 2014, Brazil. 
Classroom
17th-23rd March 2014, Region A. Instructor led, 
On-line
24th-28th March 2014, Region B. Instructor led, 
On-line
16th-20th June 2014, Region A. Instructor led, 
On-line
23rd-27th June 2014, Region B. Instructor led, 
On-line

Re: Devcloud 2 - veewee/Vagrant projects

2014-01-29 Thread chris snow
Thanks for the info Sebastien.

I have made a bit more progress with:

- fixing up the existing debian 7 veewee build [1]
- converting the fixed debian 7 veewee build to packer [2]

I'll focus on adding proper vagrant support over the next couple of days.

---
[1] 
https://github.com/snowch/cloudstack/commit/3c3b72dcc1a018635060753937963189690cf94e
[2] https://github.com/snowch/cloudstack/tree/master/tools/appliance/packer

On Wed, Jan 29, 2014 at 10:44 PM, Sebastien Goasguen  wrote:
>
> On Jan 29, 2014, at 1:57 PM, chris snow  wrote:
>
>> I have started thinking about some options:
>>
>> 1)  use packer to convert the devcloud2 veewee definition as a starting point
>> 2) create devcloud3 from scratch
>> 3) start with an existing packer definition (e.g. [1])
>>
>> Do you have a view on which option may be most suitable?
>>
>
> My view would be to start from scratch but of course looking at what has been 
> done.
>
> In an ideal world, I would love to see a packer/vagrant file that would do:
>
> -Ubuntu and CentOS
> -Xen and KVM
>
> That way we can decide on what to build. Of course there might be issues due 
> to the PV/HVM support in vbox and the OS chosen.
> I don't recall what the issue was that made Rohit use Debian (but see 
> http://bhaisaab.org/logs/devcloud/), but ideally it would be good to use 
> stock ubuntu 12.04 or 13.04
> I list 13.04 because there seems to be an issue with libvirt in 12.04 in the 
> case that you want ceph (http://ceph.com/docs/master/rbd/rbd-cloudstack/). Of 
> course ceph on a single node does not make sense, but for a devcloud3 setup 
> we could imagine setting up ceph in it and use it as primary storage.
>
> I mention KVM because if one uses VMware workstation than KVM would be an 
> option.
>
> What I am doing these days is taking a veewee bare definition and using 
> veewee-to-packer to get started with packer. I install chef/salt/puppet 
> agents in the image so that I can use the 3 of them if I want to.
>
>> If we go with option 2 or 3, do you think debian 7.0 should be used as
>> a starting point, or another version such as 7.2 or 7.3?  Or even
>> another distro?
>>
>> Are these goals still valid for devcloud3?
>>
>> - Two network interfaces, host-only adapter so that the VM is
>> reachable from host os and a NAT so VMs can access Internet.
>
> Yes
>
>> - Can be used both as an all in one box solution like the original
>> DevCloud but the mgmt server and other services can run elsewhere (on
>> host os).
>
> Yes
>
>> - Reduce resource requirements, so one could run it in 1G limit.
>
> Would be great, but remember that systemvm and ttylinux will run within it, 
> so those 4 alone may use 1G
>
>> - Allow multiple DevCloud VMs hosts.
>
> That would be great. Having some skeleton for multiple devcloud hosts in a 
> vagrant file so we can deploy "full" clouds.
>
>> - x86 dom0 and xen-i386 so it runs on all host os.
>> - Reduce exported appliance (ova) file size.
>> - It should be seamless, it should work out of the box.
>
> yes
>
>>
>> Are there any new requirements in addition to the ones discussed in
>> this email chain, e.g.
>>
>> - vagrant support (in addition to the ova/ovf image)
>> - packer and vagrant build environment
>>
>
> In simstack https://github.com/runseb/simstack I am trying to provide 
> chef/salt/puppet recipes for the install. So in devcloud3, I would lay things 
> out so that we can also do those 3 cfg mgt system in the future. Note that 
> simstack is not devcloud as I am trying to run the simulator and have to 
> compile from source because there is no simulator package.
>
>>
>> Many thanks,
>>
>> Chris
>>
>>
>> [1] https://github.com/opscode/bento/tree/master/packer
>>
>> On Wed, Jan 29, 2014 at 2:25 PM, Sebastien Goasguen  wrote:
>>>
>>> On Jan 29, 2014, at 8:49 AM, Rohit Yadav  wrote:
>>>
 Thanks for stepping in. That is much needed, in fact I think we should
 use something like packer alongwith vagrant/veewee for both devcloud
 and systemvmtemplate. Veewee can build vms, packer can export them to
 various platforms/formats and a developer could use vagrant for local
 devcloud/host automation.

>>>
>>> I looked into it the other day and I agree we need to revamp this.
>>>
>>> veewee development and maintenance is going to stop. So we need to prep a 
>>> packer version
>>>
>>> So yes we should create a packer definition for devcloud3 :) and be able to 
>>> post-process it to vagrant.
>>>
>>>
>>>
 Regards.

 On Wed, Jan 29, 2014 at 1:30 AM, chris snow  wrote:
> I would like to build the devcloud2 image [1] from scratch using
> veewee (or packer) and turn it into a vagrant box.
>
> There seems to be several versions of Vagrant files and veewee
> definitions in the code base, making it difficult to know which one to
> start from, or whether they are still valid.
>
> Many thanks,
>
> Chris
>
> [1] http://bhaisaab.org/logs/devcloud/
>>>
>>
>>
>>
>> --
>> Check out my pro

RE: [VOTE] Apache CloudStack 4.3.0 (second round) - unable to manage Firewall, Port Forwarding or Load Balancing rules via the UI, the interfaces no longer exist.

2014-01-29 Thread Animesh Chaturvedi
Ok pulling it into 4.3

From: Jessica Wang
Sent: Wednesday, January 29, 2014 3:50 PM
To: Geoff Higginbottom
Cc: dev@cloudstack.apache.org; Animesh Chaturvedi; Brian Federle; Sudha 
Ponnaganti; Sangeetha Hariharan
Subject: RE: [VOTE] Apache CloudStack 4.3.0 (second round) - unable to manage 
Firewall, Port Forwarding or Load Balancing rules via the UI, the interfaces no 
longer exist.

Geoff,

I fixed the bug yesterday in master branch.

I just merged the fix to 4.3-forward branch:


Branch: refs/heads/4.3-forward

Commit: 1ad7bce69b764d3d833a8682ec5016bfbeea394c

Parents: d38a503

Author: Jessica Wang mailto:jessicaw...@apache.org>>

Authored: Wed Jan 29 15:40:14 2014 -0800

Committer: Jessica Wang mailto:jessicaw...@apache.org>>

Committed: Wed Jan 29 15:40:14 2014 -0800


Jessica


From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
Sent: Wednesday, January 29, 2014 3:41 PM
To: Jessica Wang
Cc: dev@cloudstack.apache.org; Animesh 
Chaturvedi; Brian Federle; Sudha Ponnaganti; Sangeetha Hariharan
Subject: Re: [VOTE] Apache CloudStack 4.3.0 (second round) - unable to manage 
Firewall, Port Forwarding or Load Balancing rules via the UI, the interfaces no 
longer exist.

Hi Jessica.

Yes, I can get as far as the Source NAT IP Address but then all I have is the 
Details Tab but no Configuration Tab.
Regards

Geoff Higginbottom
CTO / Cloud Architect

D: +44 20 3603 0542 | S: +44 20 3603 0540 
| M: +447968161581

geoff.higginbot...@shapeblue.com | 
www.shapeblue.com | 
Twitter:@cloudstackguru

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 
4HS


On 29 Jan 2014, at 23:18, "Jessica Wang" 
mailto:jessica.w...@citrix.com>> wrote:
Geoff,

I am unable to manage Firewall, Port Forwarding or Load Balancing rules via the 
UI, the interfaces no longer exist.

Are you referring to the Configuration tab in IP Address detail page?
It's under Guest Network section or VPC section?

e.g. Network > Guest Network > IP Addresses > click a SourceNAT IP, or a 
Non-SourceNAT IP > Configuration tab is missing here?

e.g. Network > VPC > Router > IP Addresses > click a SourceNAT IP, or a 
Non-SourceNAT IP > Configuration tab is missing here?

Jessica


-Original Message-
From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
Sent: Wednesday, January 29, 2014 2:52 PM
To: dev@cloudstack.apache.org
Subject: RE: [VOTE] Apache CloudStack 4.3.0 (second round)

-1

I am unable to manage Firewall, Port Forwarding or Load Balancing rules via the 
UI, the interfaces no longer exist.  I did create a Port Forwarding Rule via 
the API successfully to prove it's just a UI issue.

VMs assigned to VPC's fail to deploy and are then deleted.

I was unable to complete my remaining tests as these required a working VPC and 
the ability to create Firewall, Port Forwarding and Load Balancing Rules for 
Isolated Networks.

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Animesh Chaturvedi [mailto:animesh.chaturv...@citrix.com]
Sent: 29 January 2014 04:54
To: dev@cloudstack.apache.org
Subject: [VOTE] Apache CloudStack 4.3.0 (second round)

Hi All,

I've created a 4.3.0 release, with the following artifacts up for a
vote:

Git Branch and Commit SH:
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.3
Commit: 66d0b3d45bda73205b59693baeeefdf27e6c9c66


List of changes:
 New Features in 4.3: 
https://issues.apache.org/jira/issues/?filter=12325248
Improvement in 4.3: https://issues.apache.org/jira/issues/?filter=12325249
Issues fixed in 4.3 https://issues.apache.org/jira/issues/?filter=12326161
Known Issues in 4.3: https://issues.apache.org/jira/issues/?filter=12326162


Source release (checksums and signatures are available at the same
location):
https://dist.apache.org/repos/dist/dev/cloudstack/4.3.0/

PGP release keys (signed using 94BE0D7C):
https://dist.apache.org/repos/dist/release/cloudstack/KEYS

Testing instructions are here:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Release+test+procedure

Vote will be open for 72 hours (excluding weekend). I will count the VOTE 
Sunday night PST.

For sanity in tallying the vote, can PMC members please be sure to indicate 
"(binding)" with their vote?


[ ] +1  approve
[ ] +0  no opinion
[ ] -1  disapprove (and reason why)

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training
18th-19th February 2014, Brazil. 
Classroom

Re: Devcloud 2 - veewee/Vagrant projects

2014-01-29 Thread chris snow
sorry didn't finish my last email - another late night...

it would be great to see devcloud support centos/ubuntu.   After
getting the debian 7 based devcloud working with packer and vagrant
I'll take a look in more detail at your repo to see what makes sense
for the next steps.

Many thanks,

Chris

On Wed, Jan 29, 2014 at 11:55 PM, chris snow  wrote:
> Thanks for the info Sebastien.
>
> I have made a bit more progress with:
>
> - fixing up the existing debian 7 veewee build [1]
> - converting the fixed debian 7 veewee build to packer [2]
>
> I'll focus on adding proper vagrant support over the next couple of days.
>
> ---
> [1] 
> https://github.com/snowch/cloudstack/commit/3c3b72dcc1a018635060753937963189690cf94e
> [2] https://github.com/snowch/cloudstack/tree/master/tools/appliance/packer
>
> On Wed, Jan 29, 2014 at 10:44 PM, Sebastien Goasguen  wrote:
>>
>> On Jan 29, 2014, at 1:57 PM, chris snow  wrote:
>>
>>> I have started thinking about some options:
>>>
>>> 1)  use packer to convert the devcloud2 veewee definition as a starting 
>>> point
>>> 2) create devcloud3 from scratch
>>> 3) start with an existing packer definition (e.g. [1])
>>>
>>> Do you have a view on which option may be most suitable?
>>>
>>
>> My view would be to start from scratch but of course looking at what has 
>> been done.
>>
>> In an ideal world, I would love to see a packer/vagrant file that would do:
>>
>> -Ubuntu and CentOS
>> -Xen and KVM
>>
>> That way we can decide on what to build. Of course there might be issues due 
>> to the PV/HVM support in vbox and the OS chosen.
>> I don't recall what the issue was that made Rohit use Debian (but see 
>> http://bhaisaab.org/logs/devcloud/), but ideally it would be good to use 
>> stock ubuntu 12.04 or 13.04
>> I list 13.04 because there seems to be an issue with libvirt in 12.04 in the 
>> case that you want ceph (http://ceph.com/docs/master/rbd/rbd-cloudstack/). 
>> Of course ceph on a single node does not make sense, but for a devcloud3 
>> setup we could imagine setting up ceph in it and use it as primary storage.
>>
>> I mention KVM because if one uses VMware workstation than KVM would be an 
>> option.
>>
>> What I am doing these days is taking a veewee bare definition and using 
>> veewee-to-packer to get started with packer. I install chef/salt/puppet 
>> agents in the image so that I can use the 3 of them if I want to.
>>
>>> If we go with option 2 or 3, do you think debian 7.0 should be used as
>>> a starting point, or another version such as 7.2 or 7.3?  Or even
>>> another distro?
>>>
>>> Are these goals still valid for devcloud3?
>>>
>>> - Two network interfaces, host-only adapter so that the VM is
>>> reachable from host os and a NAT so VMs can access Internet.
>>
>> Yes
>>
>>> - Can be used both as an all in one box solution like the original
>>> DevCloud but the mgmt server and other services can run elsewhere (on
>>> host os).
>>
>> Yes
>>
>>> - Reduce resource requirements, so one could run it in 1G limit.
>>
>> Would be great, but remember that systemvm and ttylinux will run within it, 
>> so those 4 alone may use 1G
>>
>>> - Allow multiple DevCloud VMs hosts.
>>
>> That would be great. Having some skeleton for multiple devcloud hosts in a 
>> vagrant file so we can deploy "full" clouds.
>>
>>> - x86 dom0 and xen-i386 so it runs on all host os.
>>> - Reduce exported appliance (ova) file size.
>>> - It should be seamless, it should work out of the box.
>>
>> yes
>>
>>>
>>> Are there any new requirements in addition to the ones discussed in
>>> this email chain, e.g.
>>>
>>> - vagrant support (in addition to the ova/ovf image)
>>> - packer and vagrant build environment
>>>
>>
>> In simstack https://github.com/runseb/simstack I am trying to provide 
>> chef/salt/puppet recipes for the install. So in devcloud3, I would lay 
>> things out so that we can also do those 3 cfg mgt system in the future. Note 
>> that simstack is not devcloud as I am trying to run the simulator and have 
>> to compile from source because there is no simulator package.
>>
>>>
>>> Many thanks,
>>>
>>> Chris
>>>
>>>
>>> [1] https://github.com/opscode/bento/tree/master/packer
>>>
>>> On Wed, Jan 29, 2014 at 2:25 PM, Sebastien Goasguen  
>>> wrote:

 On Jan 29, 2014, at 8:49 AM, Rohit Yadav  wrote:

> Thanks for stepping in. That is much needed, in fact I think we should
> use something like packer alongwith vagrant/veewee for both devcloud
> and systemvmtemplate. Veewee can build vms, packer can export them to
> various platforms/formats and a developer could use vagrant for local
> devcloud/host automation.
>

 I looked into it the other day and I agree we need to revamp this.

 veewee development and maintenance is going to stop. So we need to prep a 
 packer version

 So yes we should create a packer definition for devcloud3 :) and be able 
 to post-process it to vagrant.



> Regards.
>
> On Wed, 

Build failed in Jenkins: cloudstack-4.3-maven-build #458

2014-01-29 Thread jenkins
See 

Changes:

[animesh] CLOUDSTACK-5970: UI > network menu > guest network section > select 
non-VPC isolated network with SourceNAT enabled > IP Address section > select 
sourceNAT IP > show Configuration tab.

--
[...truncated 918 lines...]
---
 T E S T S
---

Results :

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

[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Server 4.3.0
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-server ---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 
 
(includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-server 
---
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (generate-resource) @ cloud-server ---
[INFO] Executing tasks

main:
 [copy] Copying 3 files to 

 [copy] Copying 1 file to 

[INFO] Executed tasks
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-server ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 30 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-server 
---
[INFO] Compiling 358 source files to 

[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-server ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 29 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-server ---
[INFO] Compiling 75 source files to 

[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-server ---
[INFO] Surefire report directory: 


---
 T E S T S
---
Running 
org.apache.cloudstack.region.gslb.GlobalLoadBalancingRulesServiceImplTest
log4j:WARN No appenders could be found for logger 
(org.apache.cloudstack.region.gslb.GlobalLoadBalancingRulesServiceImplTest).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.27 sec
Running org.apache.cloudstack.region.RegionManagerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 sec
Running org.apache.cloudstack.service.ServiceOfferingVOTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 sec
Running org.apache.cloudstack.affinity.AffinityApiUnitTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.788 sec
Running org.apache.cloudstack.privategw.AclOnPrivateGwTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.242 sec
Running org.apache.cloudstack.network.lb.CertServiceTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.383 sec
Running org.apache.cloudstack.network.lb.ApplicationLoadBalancerTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.442 sec
Running org.apache.cloudstack.networkoffering.CreateNetworkOfferingTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.081 sec
Running com.cloud.keystore.KeystoreTest
org.apache.cloudstack.api.response.UserVmResponse/null/{"id":"3","securitygroup":[],"nic":[],"tags":[],"affinitygroup":[]}
org.apache.cloudstack.api.response.AlertResponse/null/{"id":"100","description":"Hello"}
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.191 sec
Running com.cloud.server.ConfigurationServerImplTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 sec
Running com.cloud.event.EventControlsUnitTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.101 sec
Running com.cloud.resourcelimit.ResourceLimitManagerImplTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elaps

RE: Build failed in Jenkins: cloudstack-4.3-maven-build #458

2014-01-29 Thread Animesh Chaturvedi
Kishan  can you check the test failure on NetworkACLServiceTest. 

Animesh

-Original Message-
From: jenk...@cloudstack.org [mailto:jenk...@cloudstack.org] 
Sent: Wednesday, January 29, 2014 4:49 PM
To: dev@cloudstack.apache.org
Subject: Build failed in Jenkins: cloudstack-4.3-maven-build #458

See 

Changes:

[animesh] CLOUDSTACK-5970: UI > network menu > guest network section > select 
non-VPC isolated network with SourceNAT enabled > IP Address section > select 
sourceNAT IP > show Configuration tab.

--
[...truncated 918 lines...]
---
 T E S T S
---

Results :

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

[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Server 4.3.0 [INFO] 

[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-server --- 
[INFO] Deleting 

 (includes = [**/*], excludes = []) [INFO] Deleting 
 
(includes = [target, dist], excludes = []) [INFO] [INFO] --- 
maven-remote-resources-plugin:1.3:process (default) @ cloud-server --- [INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (generate-resource) @ cloud-server --- 
[INFO] Executing tasks

main:
 [copy] Copying 3 files to 

 [copy] Copying 1 file to 

[INFO] Executed tasks
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-server --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to 
copy filtered resources.
[INFO] Copying 30 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-server 
--- [INFO] Compiling 358 source files to 

[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-server --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to 
copy filtered resources.
[INFO] Copying 29 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-server --- [INFO] Compiling 75 source files to 

[INFO]
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-server --- 
[INFO] Surefire report directory: 


---
 T E S T S
---
Running 
org.apache.cloudstack.region.gslb.GlobalLoadBalancingRulesServiceImplTest
log4j:WARN No appenders could be found for logger 
(org.apache.cloudstack.region.gslb.GlobalLoadBalancingRulesServiceImplTest).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.27 sec 
Running org.apache.cloudstack.region.RegionManagerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 sec 
Running org.apache.cloudstack.service.ServiceOfferingVOTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 sec 
Running org.apache.cloudstack.affinity.AffinityApiUnitTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.788 sec 
Running org.apache.cloudstack.privategw.AclOnPrivateGwTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.242 sec 
Running org.apache.cloudstack.network.lb.CertServiceTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.383 sec 
Running org.apache.cloudstack.network.lb.ApplicationLoadBalancerTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.442 sec 
Running org.apache.cloudstack.networkoffering.CreateNetworkOfferingTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.081 sec 
Running com.cloud.keystore.KeystoreTest 
org.apache.cloudstack.api.response.UserVmResponse/null/{"id":"3","securitygroup":[],"nic":[],"tags":[],"affinitygroup":[]}
org.apache.cloudstack.api.response.AlertResponse/null/{"id":"100","description":"Hello"}
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.191 sec 
Running com.cloud.server.ConfigurationServerImplTest
Te

Re: Review Request 17120: added an extra column to mark the imported ldap users as from ldap

2014-01-29 Thread Prachi Damle


> On Jan. 24, 2014, 6:52 a.m., Prachi Damle wrote:
> > I see many files unrelated to this fix have been updated and present in the 
> > patch.
> > Please can you update the patch with changes needed for the fix only?
> > 
> > Following are some such files.
> > api/src/com/cloud/user/AccountService.java
> > engine/schema/src/com/cloud/user/UserVO.java
> > plugins/dedicated-resources/test/org/apache/cloudstack/dedicated/manager/DedicatedApiUnitTest.java:
> >  8 changes [ 1 2 3 4 5 6 7 8 ]
> > plugins/deployment-planners/implicit-dedication/test/org/apache/cloudstack/implicitplanner/ImplicitPlannerTest.java:
> >  16 changes [ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ]
> > plugins/network-elements/juniper-contrail/test/org/apache/cloudstack/network/contrail/management/MockAccountManager.java
> > plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapCreateAccountCmd.java
> > 
> > Also the below file has all Mockito references replaced by Matchers - what 
> > is the reason for this change?
> > plugins/hypervisors/vmware/test/com/cloud/hypervisor/vmware/VmwareDatacenterApiUnitTest.java
> 
> Rajani Karuturi wrote:
> The major changes for this patch are in the following files:
> api/src/com/cloud/user/AccountService.java: 1 change [ 1 ] - > added a 
> new overloaded method to take the source of the account for the create call
> api/src/com/cloud/user/User.java: 2 changes [ 1 2 ] -> added the new 
> field's getter and its enum
> engine/schema/src/com/cloud/user/UserVO.java: 4 changes [ 1 2 3 4 ] -> 
> mapped the new database cloumn and added getter/setter, also changed the 
> constructor to take the new field
> 
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapCreateAccountCmd.java:
>  2 changes [ 1 2 ] -> this is the one which is called when creating an ldap 
> user and this calls create account with source as LDAP
> 
> plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapImportUsersCmd.java:
>  2 changes [ 1 2 ] -> this is ldap's import multiple users command. change is 
> same as above
> server/src/com/cloud/user/AccountManagerImpl.java: 6 changes [ 1 2 3 4 5 
> 6 ] -> implementation of the new method
> setup/db/db/schema-421to430.sql: 2 changes [ 1 2 ] -> SQL to add the new 
> column
> 
> The rest changes in tests/mock classes are due to change in constructor 
> of UserVo which cant be avoided
> VmwareDatacenterApiUnitTest also has the same change as above. I dont see 
> the Mockito/Matchers change you mentioned. 
> https://reviews.apache.org/r/17120/diff/#5
> 
> Also note that patch1/diff1 is for 4.3 and and patch2/diff2 is for 
> master. As we are getting conflicts due to spaces changes I created two 
> patches. The changes are same in both the patches.
> 
>
> 
> Prachi Damle wrote:
> You can avoid changing all the tests/mock classes. Don't change the 
> existing UserVo  constuctor - in the existing constructor default to source 
> NATIVE so that no other callers are changed.
> Add a new constructor to take in source.
>  
> What about existing ldap users on some existing setup - is there a way to 
> identify those? We should add upgrade steps to update the 'source' for those 
> user records
> 
>
> 
> Rajani Karuturi wrote:
> I followed this approach for AccountService. The changes to the UserVo 
> constructor mainly changed only the test files. the tests passed before and 
> after the changes. I dont see a reason why we should avoid changing 
> tests/mocks. 
> 
> There is no way to identify the existing ldap users in the current 
> scenario. This change helps us do that from this release.

Yes same approach as AccountService. I thought you said you cant avoid changing 
other classes due to UserVO change. 
In general the reason is to avoid breaking any integration elsewhere and since 
you already have a known default value to set, this is a way to avoid changes 
in places other than your usecase. Ofcourse, not necessary to do it here 
considering its test code.


Provided this does not need to be supported backwards, then no upgrade is fine 
too.


- Prachi


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


On Jan. 22, 2014, 7:24 a.m., Rajani Karuturi wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/17120/
> ---
> 
> (Updated Jan. 22, 2014, 7:24 a.m.)
> 
> 
> Review request for cloudstack, Abhinandan Prateek, Ian Duffy, Min Chen, and 
> Prachi Damle.
> 
> 
> Bugs: CLOUDSTACK-5910
> https://issues.apache.org/jira/browse/CLOUDSTACK-5910
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> a

[4.3]Please cherry-pick the fix for CLOUDSTACK-5986

2014-01-29 Thread Sheng Yang
Hi Animesh,

Seems we need another RC, so I'd like to include this fix in the new build.
It's already in 4.3-forward branch.

Thanks!

commit 441d02dd402e632c3eba1062a55fc0d752e76003
Author: Sheng Yang 
Date:   Wed Jan 29 16:15:24 2014 -0800

CLOUDSTACK-5986: Make dnsmasq handle dnsmasq.leases when dhcp_release
is available

The original issue has been exposed due to CloudStack VR would modify
the
dnsmasq.leases, thus make it unsync with dnsmasq's memory lease.

Make the modification to let dnsmasq handle the lease file if
dhcp_release is
available.

--Sheng


Re: [4.3]Please cherry-pick the fix for CLOUDSTACK-5986

2014-01-29 Thread Animesh Chaturvedi
Sure will do

Thanks
Animesh

On Jan 29, 2014, at 6:02 PM, "Sheng Yang"  wrote:

> Hi Animesh,
> 
> Seems we need another RC, so I'd like to include this fix in the new build.
> It's already in 4.3-forward branch.
> 
> Thanks!
> 
> commit 441d02dd402e632c3eba1062a55fc0d752e76003
> Author: Sheng Yang 
> Date:   Wed Jan 29 16:15:24 2014 -0800
> 
>CLOUDSTACK-5986: Make dnsmasq handle dnsmasq.leases when dhcp_release
> is available
> 
>The original issue has been exposed due to CloudStack VR would modify
> the
>dnsmasq.leases, thus make it unsync with dnsmasq's memory lease.
> 
>Make the modification to let dnsmasq handle the lease file if
> dhcp_release is
>available.
> 
> --Sheng


Re: Findbugs report on 4.3-forward

2014-01-29 Thread Rajani Karuturi
I see that the commit 9776e1af1c92486f5081b1ee8fa95cf0edb86b97 is already 
pushed to 4.3. I don’t see any response on my concern as well. 
Is it just me or anyone else sees a security issue with the generate password 
change?
Ian/Animesh/Daan, can you please respond? 

Thanks,
~Rajani



On 29-Jan-2014, at 10:59 am, Rajani Karuturi  wrote:

> Hi Ian,
> Before it is pushed to 4.3, can you fix the generate password change like i 
> suggested in the other mail? This current change would make it less secure.
> 
> Thanks,
> ~Rajani
> 
> 
> 
> On 29-Jan-2014, at 8:03 am, Ian Duffy  wrote:
> 
>> Hi Animesh,
>> 
>> Tested all those changes to detail. Those lines were removed due to
>> unexpected behavior that I had not spotted until now.
>> 
>> They were suppose to allow for better fall over between multiple domain
>> controllers, how ever they were causing caching to occur. This meant if a
>> users password was reset in LDAP the old password was still allowing login
>> for a limited time.
>> 
>> Please pull the changes forward,
>> Thanks
>> 
>> Ian.
>> On 29 Jan 2014 00:07, "Animesh Chaturvedi" 
>> wrote:
>> 
>>> If I look at this commit for example
>>> 
>>> 
>>> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commitdiff;h=92b4f66d73562e4211d2d787554ff229dbeb5705
>>> 
>>> It removes the two lines from LdapContextFactory.java
>>> 
>>> environment.put("com.sun.jndi.ldap.read.timeout", "500");-
>>> environment.put("com.sun.jndi.ldap.connect.pool", "true");
>>> 
>>> Is that reported by find bug? I don’t know this code  so not sure if it is
>>> intentional or not ?
>>> 
>>> The point is there may be unintended risks in allowing late changes.
>>> 
>>> 
>>> 
>>> -Original Message-
>>> From: Animesh Chaturvedi [mailto:animesh.chaturv...@citrix.com]
>>> Sent: Tuesday, January 28, 2014 3:35 PM
>>> To: dev@cloudstack.apache.org
>>> Subject: RE: Findbugs report on 4.3-forward
>>> 
>>> Are you sure all of the ones are needed. A quick look at 20+ commits from
>>> Daan  show many formatting changes that may not be necessary and hinder
>>> quick review.
>>> 
>>> -Original Message-
>>> From: Hugo Trippaers [mailto:trip...@gmail.com]
>>> Sent: Tuesday, January 28, 2014 3:16 PM
>>> To: dev@cloudstack.apache.org
>>> Subject: Re: Findbugs report on 4.3-forward
>>> 
>>> 
>>> 
>>> Sent from my iPhone
>>> 
 On 28 jan. 2014, at 23:50, Animesh Chaturvedi <
>>> animesh.chaturv...@citrix.com> wrote:
 
 
 -Original Message-
 From: Hugo Trippaers [mailto:trip...@gmail.com]
 Sent: Tuesday, January 28, 2014 2:37 PM
 To: dev@cloudstack.apache.org
 Cc: dev@cloudstack.apache.org
 Subject: Re: Findbugs report on 4.3-forward
 
 Hey Animesh,
 
 Not in agreement here. These are squashed bugs and we want as less bugs
>>> in the release as possible.
 [Animesh] I understand but once we enter RC phase we only limit
>>> important fixes. I have pulled in  2 commits from yours and 1 from Daan.
>>> 
>>> We limited our fixes to only the important issues that we found. The other
>>> 6000 issues between coverity and findbugs are still being triaged and will
>>> probably not make it into this release.
>>> 
 
 This is why we test any RC before we release it.
 [Animesh] Of course but timing is a bit off, if this was done a month
>>> back it would have been fine.
 I say include all the big fixes we have in the release. If that means
>>> more testing before we cut the RC then that is what it is. I can't
>>> rightfully vote for a release with known issues with existing fixes.
 [Animesh] Any release will have known issues, if we have fixes but can't
>>> be sure on regression impact then we have to make a choice.
>>> 
>>> Agreed, but we just don't agree on what that choice should be yet ;-)
>>> 
 Quality over release schedule would be my vote then.
 [Animesh] But why so late? Why was this activity not planned early on? I
>>> have been reminding community to call out issues early on since like
>>> mid-December.
>>> 
>>> On November 4 I sent the mail to the dev list that static code analysis
>>> (coverity) found 6000+ issues that needed to be triaged. I worked on quite
>>> a few with my colleagues, but it's a big task for just the four of us.
>>> Findbugs just helped us to quickly identify the real scary issues among
>>> them.
>>> So I agree that the timing is less than ideal, but we should do our utmost
>>> best to ship the highest quality piece of software we can.
>>> 
 
 Cheers,
 Hugo
 
 Sent from my iPhone
 
> On 28 jan. 2014, at 18:48, Animesh Chaturvedi <
>>> animesh.chaturv...@citrix.com> wrote:
> 
> Folks these issues reported by find-bugs have existed for some time. I
>>> am not confident in picking them up now for 4.3 as it may break code that
>>> assumed old way of working. We can take them up for 4.3 maintenance
>>> release. I wish we had done this exercise and not waited until now.
> 
> I will pick 

Re: Grunt Development

2014-01-29 Thread Prasanna Santhanam
On Wed, Jan 29, 2014 at 04:43:58PM -, Alex Hitchins wrote:
> 
> I'm currently working on a POC implementing Grunt for the build process. If
> anyone has any comments/suggestions please let me know and I'll try to work
> them into the version I'm working on. Initial goals are minify the
> javascript files and get better sprite generation.

+1 - will you also be including it into the maven build?
 

-- 
Prasanna.,


Powered by BigRock.com



Re: BVT report on 4.3 branch

2014-01-29 Thread Prasanna Santhanam
This basically means a +1 on 4.3? I think there were couple of issues
that emerged in the RC particularly the missing response params in the
list* API that Alena reported. We should probably include a test for
that in the integration suite.

I would've done it had I had some bandwidth, but thought I'd bring
this up as a way to backfill missing tests.

On Wed, Jan 29, 2014 at 12:14:18PM +, Srikanteswararao Talluri wrote:
> >Here is the report of automated smoke tests results on Xen and KVM.
> >
> >On Xenserver 6.2/Test Run: #1174 and 1175
> >
> >This report is consolidation of runs #1174 and #1175
> >3 failures are not product failures but ssh time outs in the scripts.
> >
> >Link to reports: 
> >http://jenkins.buildacloud.org/view/cloudstack-qa-4.3/job/test-smoke-matri
> >x-4.3/1174/testReport/
> > 
> >http://jenkins.buildacloud.org/view/cloudstack-qa-4.3/job/test-smoke-matri
> >x-4.3/1175/testReport/
> >
> >Total:97
> >Fail :5
> >Skip :2
> >
> >
> >name   passfailskip
> >test_public_ip_range/ 1   0   0
> >test_nic/ 1   0   0
> >test_global_settings/ 1   0   0
> >test_deploy_vms_with_varied_deploymentplanners/   3   0   0
> >test_regions/ 1   0   0
> >test_ssvm/   10   0   0
> >test_vpc_vpn/ 2   0   0
> >test_affinity_groups/ 1   0   0
> >test_deploy_vm/   1   0   0
> >test_deploy_vm_with_userdata/ 2   0   0
> >test_routers/ 9   0   0
> >test_loadbalance/ 0   3   0
> >test_portable_publicip/   2   0   0
> >test_iso/ 5   0   1
> >test_internal_lb/ 1   0   0
> >test_vm_snapshots/3   0   0
> >test_network/ 7   0   0
> >test_disk_offerings/  3   0   0
> >test_non_contigiousvlan/  1   0   0
> >test_templates/   7   0   1
> >test_network_acl/ 1   0   0
> >test_multipleips_per_nic/ 1   0   0
> >test_reset_vm_on_reboot/  1   0   0
> >test_scale_vm/1   0   0
> >test_pvlan/   1   0   0
> >test_vm_life_cycle/  10   0   0
> >test_privategw_acl/   1   0   0
> >test_resource_detail/ 1   0   0
> >test_guest_vlan_range/1   0   0
> >test_volumes/ 9   0   0
> >test_service_offerings/   4   0   0
> >
> >
> >
> >On KVM /RHEL 6.3 hosts/ Test Run: #1173
> >---
> >4 of the test failures are not valid because snapshots and scaling VM are
> >not supported on KVM Hypervisor
> >
> >Link to report: 
> >http://jenkins.buildacloud.org/job/test-smoke-matrix-4.3/1173/testReport/
> >
> >
> >Total:97
> >Fail :8
> >Skip :2
> >
> >
> >name   passfailskip
> >test_public_ip_range/ 1   0   0
> >test_nic/ 1   0   0
> >test_global_settings/ 1   0   0
> >test_deploy_vms_with_varied_deploymentplanners/   3   0   0
> >test_regions/ 1   0   0
> >test_ssvm/   10   0   0
> >test_vpc_vpn/ 2   0   0
> >test_affinity_groups/ 1   0   0
> >test_deploy_vm/   1   0   0
> >test_deploy_vm_with_userdata/ 2   0   0
> >test_routers/ 9   0   0
> >test_loadbalance/ 0   3   0
> >test_portable_publicip/   2   0   0
> >test_iso/ 5   0   1
> >test_internal_lb/ 1   0   0
> >test_vm_snapshots/

Re: [ANNOUNCE] Switched to Java 7

2014-01-29 Thread Prasanna Santhanam
On Mon, Jan 27, 2014 at 03:03:09PM +0100, Hugo Trippaers wrote:
> I have some trouble getting into the rpmbuilders, so i can?t
> configure those. I need root permissions for those boxes and i don?t
> have that.
> 

Hey Hugo - just saw this. I see the build failed in the last run but
can't tell if it used Java7 JDK or not on rpmbuilder-2. Did you get a
chance to fix this?

> The cloudstack-slaves will be fixed to support jdk 7. 


-- 
Prasanna.,


Powered by BigRock.com



RE: [VOTE] Apache CloudStack 4.3.0 (second round) - unable to manage Firewall, Port Forwarding or Load Balancing rules via the UI, the interfaces no longer exist.

2014-01-29 Thread Wilder Rodrigues
Hi guys,

We started the procedures yesterday in order to cover UI, Nicira, Firewalling + 
Port forwarding and Database tests.

The question is: if bugs are being fixed within the 72 hours window that we 
have, does it mean that we are going to extend the 72 hours?

My point is: we now have to start from scratch.

Kind regards, 
Wilder Rodrigues

Mission Critical Engineer
Schuberg Philis
Boeingavenue 271
1119 PD Schiphol-Rijk
_

-Original Message-
From: Animesh Chaturvedi [mailto:animesh.chaturv...@citrix.com] 
Sent: Thursday, January 30, 2014 12:57 AM
To: Jessica Wang; Geoff Higginbottom
Cc: dev@cloudstack.apache.org; Brian Federle; Sudha Ponnaganti; Sangeetha 
Hariharan
Subject: RE: [VOTE] Apache CloudStack 4.3.0 (second round) - unable to manage 
Firewall, Port Forwarding or Load Balancing rules via the UI, the interfaces no 
longer exist. 

Ok pulling it into 4.3

From: Jessica Wang
Sent: Wednesday, January 29, 2014 3:50 PM
To: Geoff Higginbottom
Cc: dev@cloudstack.apache.org; Animesh Chaturvedi; Brian Federle; Sudha 
Ponnaganti; Sangeetha Hariharan
Subject: RE: [VOTE] Apache CloudStack 4.3.0 (second round) - unable to manage 
Firewall, Port Forwarding or Load Balancing rules via the UI, the interfaces no 
longer exist.

Geoff,

I fixed the bug yesterday in master branch.

I just merged the fix to 4.3-forward branch:


Branch: refs/heads/4.3-forward

Commit: 1ad7bce69b764d3d833a8682ec5016bfbeea394c

Parents: d38a503

Author: Jessica Wang mailto:jessicaw...@apache.org>>

Authored: Wed Jan 29 15:40:14 2014 -0800

Committer: Jessica Wang mailto:jessicaw...@apache.org>>

Committed: Wed Jan 29 15:40:14 2014 -0800


Jessica


From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
Sent: Wednesday, January 29, 2014 3:41 PM
To: Jessica Wang
Cc: dev@cloudstack.apache.org; Animesh 
Chaturvedi; Brian Federle; Sudha Ponnaganti; Sangeetha Hariharan
Subject: Re: [VOTE] Apache CloudStack 4.3.0 (second round) - unable to manage 
Firewall, Port Forwarding or Load Balancing rules via the UI, the interfaces no 
longer exist.

Hi Jessica.

Yes, I can get as far as the Source NAT IP Address but then all I have is the 
Details Tab but no Configuration Tab.
Regards

Geoff Higginbottom
CTO / Cloud Architect

D: +44 20 3603 0542 | S: +44 20 3603 0540 
| M: +447968161581

geoff.higginbot...@shapeblue.com | 
www.shapeblue.com | 
Twitter:@cloudstackguru

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 
4HS


On 29 Jan 2014, at 23:18, "Jessica Wang" 
mailto:jessica.w...@citrix.com>> wrote:
Geoff,

I am unable to manage Firewall, Port Forwarding or Load Balancing rules via the 
UI, the interfaces no longer exist.

Are you referring to the Configuration tab in IP Address detail page?
It's under Guest Network section or VPC section?

e.g. Network > Guest Network > IP Addresses > click a SourceNAT IP, or a 
Non-SourceNAT IP > Configuration tab is missing here?

e.g. Network > VPC > Router > IP Addresses > click a SourceNAT IP, or a 
Non-SourceNAT IP > Configuration tab is missing here?

Jessica


-Original Message-
From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
Sent: Wednesday, January 29, 2014 2:52 PM
To: dev@cloudstack.apache.org
Subject: RE: [VOTE] Apache CloudStack 4.3.0 (second round)

-1

I am unable to manage Firewall, Port Forwarding or Load Balancing rules via the 
UI, the interfaces no longer exist.  I did create a Port Forwarding Rule via 
the API successfully to prove it's just a UI issue.

VMs assigned to VPC's fail to deploy and are then deleted.

I was unable to complete my remaining tests as these required a working VPC and 
the ability to create Firewall, Port Forwarding and Load Balancing Rules for 
Isolated Networks.

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Animesh Chaturvedi [mailto:animesh.chaturv...@citrix.com]
Sent: 29 January 2014 04:54
To: dev@cloudstack.apache.org
Subject: [VOTE] Apache CloudStack 4.3.0 (second round)

Hi All,

I've created a 4.3.0 release, with the following artifacts up for a
vote:

Git Branch and Commit SH:
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.3
Commit: 66d0b3d45bda73205b59693baeeefdf27e6c9c66


List of changes:
 New Features in 4.3: 
https://issues.apache.org/jira/issues/?filter=12325248
Improvement in 4.3: https://issues.apache.org/jira/issues/?filter=12325249
Issues fixed in 4.3 https://issues.apache.org/jira/issues/?filter=12326161
Known Issues in 4.3: https://issues.apache.org/jira/issues/?filter=12326162


Source release (checksums and signatures are available at the same
location):
https://dist.apache.org/repos/dist/dev/clou

RE: Grunt Development

2014-01-29 Thread Alex Hitchins
Yes - in time. I was going to let it be a separate optional step initially and 
if there is enough support include it in the maven build process.



Alex Hitchins
+44 7788 423 969

-Original Message-
From: Prasanna Santhanam [mailto:t...@apache.org]
Sent: 30 January 2014 05:36
To: dev@cloudstack.apache.org
Subject: Re: Grunt Development

On Wed, Jan 29, 2014 at 04:43:58PM -, Alex Hitchins wrote:
>
> I'm currently working on a POC implementing Grunt for the build
> process. If anyone has any comments/suggestions please let me know and
> I'll try to work them into the version I'm working on. Initial goals
> are minify the javascript files and get better sprite generation.

+1 - will you also be including it into the maven build?


--
Prasanna.,


Powered by BigRock.com

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training
18th-19th February 2014, Brazil. 
Classroom
17th-23rd March 2014, Region A. Instructor led, 
On-line
24th-28th March 2014, Region B. Instructor led, 
On-line
16th-20th June 2014, Region A. Instructor led, 
On-line
23rd-27th June 2014, Region B. Instructor led, 
On-line

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


API documentation

2014-01-29 Thread Paul Angus
DEVs,

New features are generally cool, but given that the 'engine' of CloudStack is 
the API it seems ridiculous that as a minimum the API documentation isn't kept 
up to date.

The specific example that I'm thinking of is

addvmwaredc

Only by using the UI and following the API calls sent could I find that it 
existed, and then tracked it down in the design documents in the wiki.

I've filed a bug for this one 
(https://issues.apache.org/jira/browse/CLOUDSTACK-5984)

But please can everyone make sure we can all use the features you create by 
documenting them.

Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784 | 
T: @CloudyAngus
paul.an...@shapeblue.com | 
www.shapeblue.com | 
Twitter:@shapeblue
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training
18th-19th February 2014, Brazil. 
Classroom
17th-23rd March 2014, Region A. Instructor led, 
On-line
24th-28th March 2014, Region B. Instructor led, 
On-line
16th-20th June 2014, Region A. Instructor led, 
On-line
23rd-27th June 2014, Region B. Instructor led, 
On-line

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


Re: Devcloud 2 - veewee/Vagrant projects

2014-01-29 Thread Rohit Yadav
On Thu, Jan 30, 2014 at 4:14 AM, Sebastien Goasguen  wrote:
>
> On Jan 29, 2014, at 1:57 PM, chris snow  wrote:
>
>> I have started thinking about some options:
>>
>> 1)  use packer to convert the devcloud2 veewee definition as a starting point
>> 2) create devcloud3 from scratch
>> 3) start with an existing packer definition (e.g. [1])
>>
>> Do you have a view on which option may be most suitable?
>>
>
> My view would be to start from scratch but of course looking at what has been 
> done.
>
> In an ideal world, I would love to see a packer/vagrant file that would do:
>
> -Ubuntu and CentOS
> -Xen and KVM
>
> That way we can decide on what to build. Of course there might be issues due 
> to the PV/HVM support in vbox and the OS chosen.
> I don't recall what the issue was that made Rohit use Debian (but see 
> http://bhaisaab.org/logs/devcloud/), but ideally it would be good to use 
> stock ubuntu 12.04 or 13.04

DevCloud is just an appliance that facilitates a virtual host
(hypervisor) for development with CloudStack. So, I chose Debian
because well it's the best in terms of packages, stability, security
and is usually rock solid. Ubuntu at the time had a networking issue
that did not let me use xenbr0 for use over host-only network, I did
not invest much time on it but rather switched to Debian.

I suggest we stick to Debian as it would be least painful for anyone
IMO and the problem we're trying to solve is to enable developers have
a robust (possibly multi-vm) hypervisor host in box (vm) over a
desktop virtualization platform (virtualbox, kvm etc.)

(IMHO -- I wonder if you've tried latest rock-solid Fedora 20, Ubuntu
should have been least recommended distro by now don't use it please).

> I list 13.04 because there seems to be an issue with libvirt in 12.04 in the 
> case that you want ceph (http://ceph.com/docs/master/rbd/rbd-cloudstack/). Of 
> course ceph on a single node does not make sense, but for a devcloud3 setup 
> we could imagine setting up ceph in it and use it as primary storage.

Why not build libvirt version we want? In case we want to stay updated
I can help you with Fedora 20 based base or Arch based base for
devcloud. I've been using Fedora for some months now and I guess if
someone want latest and greatest but want to avoid a lot of sysadmin
work as with Arch Linux just go with Fedora. Linux users (new and old)
have more or less been inclined to Debian because yum-based distros
were in really bad shape few years ago and that's when like others I
shifted to using Ubuntu. But it's not the case anymore and Ubuntu has
tons of problems now and rpm-based distros deserver one shot.

>
> I mention KVM because if one uses VMware workstation than KVM would be an 
> option.
>
> What I am doing these days is taking a veewee bare definition and using 
> veewee-to-packer to get started with packer. I install chef/salt/puppet 
> agents in the image so that I can use the 3 of them if I want to.
>
>> If we go with option 2 or 3, do you think debian 7.0 should be used as
>> a starting point, or another version such as 7.2 or 7.3?  Or even
>> another distro?

Feel free to choose whatever distro gives us all the tools and whatnot
to solve our problem. Distros and tools are not the problem having a
host in a box for CloudStack development is the problem.

>>
>> Are these goals still valid for devcloud3?
>>
>> - Two network interfaces, host-only adapter so that the VM is
>> reachable from host os and a NAT so VMs can access Internet.

This I guess will be most appreciated and useful for developers,
probably first time users and for demo. Last time for some reason, I
was unable to have Internet reach VMs inside DevCloud.

>
> Yes
>
>> - Can be used both as an all in one box solution like the original
>> DevCloud but the mgmt server and other services can run elsewhere (on
>> host os).

This already works with last DevCloud.

>
> Yes
>
>> - Reduce resource requirements, so one could run it in 1G limit.

+1 though I think size is not a major issue and reduce image size is a
good to have thing.

>
> Would be great, but remember that systemvm and ttylinux will run within it, 
> so those 4 alone may use 1G
>
>> - Allow multiple DevCloud VMs hosts.

+1

>
> That would be great. Having some skeleton for multiple devcloud hosts in a 
> vagrant file so we can deploy "full" clouds.
>
>> - x86 dom0 and xen-i386 so it runs on all host os.
>> - Reduce exported appliance (ova) file size.
>> - It should be seamless, it should work out of the box.

+1

Chris, appreciate you taking time working on this.

Regards.

>
> yes
>
>>
>> Are there any new requirements in addition to the ones discussed in
>> this email chain, e.g.
>>
>> - vagrant support (in addition to the ova/ovf image)
>> - packer and vagrant build environment
>>
>
> In simstack https://github.com/runseb/simstack I am trying to provide 
> chef/salt/puppet recipes for the install. So in devcloud3, I would lay things 
> out so that we can also do those 3 cfg mgt

RE: Xen StorageMotion Fails

2014-01-29 Thread Srikanteswararao Talluri
Yes, I am able to migrate a VM on local storage(host) to another local 
storage(host). 

Can you paste the API call you tried?

Thanks,
~Talluri

-Original Message-
From: Francois Gaudreault [mailto:fgaudrea...@cloudops.com] 
Sent: Wednesday, 29 January 2014 6:31 PM
To: dev@cloudstack.apache.org
Subject: Xen StorageMotion Fails

Hi,

I posted this on the users@ mailing-list yesterday, but giving it more thoughts 
I think this should have been posted here. We are running 4.2.1 with XenServer 
6.2SP1. I tried to run a storage motion from a local storage to another, and I 
am getting this error. Xen returns a VM_REQUIRES_NETWORK when attempting the 
migration. This error, according to the javadoc means:

You attempted to run a VM on a host which doesn't have a PIF on a Network 
needed by the VM. The VM has at least one VIF attached to the Network.

http://pastebin.com/cHcAyPtP

I believe this is supposed to be supported since CloudStack let me do it from 
the UI. Right?

Thanks!

--
Francois Gaudreault
Architecte de Solution Cloud | Cloud Solutions Architect 
fgaudrea...@cloudops.com
514-629-6775
- - -
CloudOps
420 rue Guy
Montréal QC  H3J 1S6
www.cloudops.com
@CloudOps_



Fwd: cloudstack presenting wrong used memory values

2014-01-29 Thread Marty Sweet
What hypervisor are you using?

My CS System Capacity on the dashboard shows *Memory 157.05 GB / 1.37
TB *(which
works + overprovisioning).

I think this issue is slightly different to CLOUDSTACK-3048 as it should
not effect VM allocation.
I have never noticed about the memory used section:

  Memory Allocated 68.50 GB  Memory Used 70.65 MB
$ free -g
 total   used   free sharedbuffers cached
Mem:   251250  1  0  0179
-/+ buffers/cache: 70181
Swap:5  2  2



 Memory Allocated 22.05 GB  Memory Used 24.06 MB
$ free -g
 total   used   free sharedbuffers cached
Mem:   251 27223  0  0  3
-/+ buffers/cache: 24227
Swap:2  0  2


 Memory Allocated 39.53 GB  Memory Used 41.51 MB
$ free -g
 total   used   free sharedbuffers cached
Mem:   251 42209  0  0  0
-/+ buffers/cache: 41210
Swap:5  0  5


 Memory Allocated 26.97 GB  Memory Used 28.46 MB
$ free -g
 total   used   free sharedbuffers cached
Mem:   141 29111  0  0  1
-/+ buffers/cache: 28113
Swap:2  0  2


It appears that the units used for 'Memory used' are simply a few factors
of 10 out.

Can you have a look to see if there is a bug specifically for this? If not
feel free to create one using the information I have provided above.

Thanks,
Marty



On Wed, Jan 29, 2014 at 6:31 PM, Rafael Weingartner <
rafaelweingart...@gmail.com> wrote:

> Doesn't anyone think that those memory values presented on
> infrastructure>hosts are a little odd?
>
>
> On Tue, Jan 28, 2014 at 2:54 PM, Rafael Weingartner <
> rafaelweingart...@gmail.com> wrote:
>
> > Hi all,
> >
> > I am mailing this to the dev and users list, since I am not sure which
> one
> > would be the best to make such question.
> >
> >
> > So, I deployed Zenoss to monitor my Cloud, and I noticed something weird
> > on a graph that it was generating about the Cloud's memory. The graph was
> > showing total memory as 26GB, allocated as 16GB and used as 19MB.
> >
> > It was not making sense, so I was looking around and I noticed that this
> > 19MB is the value that the Cloudstack presents as the memory used on
> > infrastructure>Hosts.
> >
> >
> > I think that this problem is related to this ticket opened last year.
> >
> > https://issues.apache.org/jira/browse/CLOUDSTACK-3048
> > Sadly, it seems that no one has taken a look at it.
> >
> >
> > Does anyone know anything about this problem/bug?
> >
> >
> > --
> > Rafael Weingärtner
> >
>
>
>
> --
> Rafael Weingärtner
>


Re: cloudstack presenting wrong used memory values

2014-01-29 Thread Marty Sweet
I should also point out that this is on CS 4.2.0.

This issue may have been fixed since then.

Marty


On Thu, Jan 30, 2014 at 7:41 AM, Marty Sweet  wrote:

> What hypervisor are you using?
>
> My CS System Capacity on the dashboard shows *Memory 157.05 GB / 1.37 TB 
> *(which
> works + overprovisioning).
>
> I think this issue is slightly different to CLOUDSTACK-3048 as it should
> not effect VM allocation.
> I have never noticed about the memory used section:
>
>   Memory Allocated 68.50 GB  Memory Used 70.65 MB
> $ free -g
>  total   used   free sharedbuffers cached
> Mem:   251250  1  0  0179
> -/+ buffers/cache: 70181
> Swap:5  2  2
>
>
>
>  Memory Allocated 22.05 GB  Memory Used 24.06 MB
> $ free -g
>  total   used   free sharedbuffers cached
> Mem:   251 27223  0  0  3
> -/+ buffers/cache: 24227
> Swap:2  0  2
>
>
>  Memory Allocated 39.53 GB  Memory Used 41.51 MB
> $ free -g
>  total   used   free sharedbuffers cached
> Mem:   251 42209  0  0  0
> -/+ buffers/cache: 41210
> Swap:5  0  5
>
>
>  Memory Allocated 26.97 GB  Memory Used 28.46 MB
> $ free -g
>  total   used   free sharedbuffers cached
> Mem:   141 29111  0  0  1
> -/+ buffers/cache: 28113
> Swap:2  0  2
>
>
> It appears that the units used for 'Memory used' are simply a few factors
> of 10 out.
>
> Can you have a look to see if there is a bug specifically for this? If not
> feel free to create one using the information I have provided above.
>
> Thanks,
> Marty
>
>
>
> On Wed, Jan 29, 2014 at 6:31 PM, Rafael Weingartner <
> rafaelweingart...@gmail.com> wrote:
>
>> Doesn't anyone think that those memory values presented on
>> infrastructure>hosts are a little odd?
>>
>>
>> On Tue, Jan 28, 2014 at 2:54 PM, Rafael Weingartner <
>> rafaelweingart...@gmail.com> wrote:
>>
>> > Hi all,
>> >
>> > I am mailing this to the dev and users list, since I am not sure which
>> one
>> > would be the best to make such question.
>> >
>> >
>> > So, I deployed Zenoss to monitor my Cloud, and I noticed something weird
>> > on a graph that it was generating about the Cloud's memory. The graph
>> was
>> > showing total memory as 26GB, allocated as 16GB and used as 19MB.
>> >
>> > It was not making sense, so I was looking around and I noticed that this
>> > 19MB is the value that the Cloudstack presents as the memory used on
>> > infrastructure>Hosts.
>> >
>> >
>> > I think that this problem is related to this ticket opened last year.
>> >
>> > https://issues.apache.org/jira/browse/CLOUDSTACK-3048
>> > Sadly, it seems that no one has taken a look at it.
>> >
>> >
>> > Does anyone know anything about this problem/bug?
>> >
>> >
>> > --
>> > Rafael Weingärtner
>> >
>>
>>
>>
>> --
>> Rafael Weingärtner
>>
>
>
>


RE: API documentation

2014-01-29 Thread Radhika Puthiyetath
Hi Paul,

Yes, API documentation requires a serious revisit. I had initiated a discussion 
months back, and invited volunteers.

A wiki page is created at 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Documentation+Sprint+for+Enhancing+API+Documentation
, but nothing beyond that.

If you are interested to volunteer, let's begin.

-Radhika

From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: Thursday, January 30, 2014 12:43 PM
To: dev@cloudstack.apache.org
Subject: API documentation

DEVs,

New features are generally cool, but given that the 'engine' of CloudStack is 
the API it seems ridiculous that as a minimum the API documentation isn't kept 
up to date.

The specific example that I'm thinking of is

addvmwaredc

Only by using the UI and following the API calls sent could I find that it 
existed, and then tracked it down in the design documents in the wiki.

I've filed a bug for this one 
(https://issues.apache.org/jira/browse/CLOUDSTACK-5984)

But please can everyone make sure we can all use the features you create by 
documenting them.

Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784 | 
T: @CloudyAngus
paul.an...@shapeblue.com | 
www.shapeblue.com | 
Twitter:@shapeblue
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training
18th-19th February 2014, Brazil. 
Classroom
17th-23rd March 2014, Region A. Instructor led, 
On-line
24th-28th March 2014, Region B. Instructor led, 
On-line
16th-20th June 2014, Region A. Instructor led, 
On-line
23rd-27th June 2014, Region B. Instructor led, 
On-line

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