Build failed in Jenkins: build-master » Apache CloudStack AWS API Bridge #83

2013-11-29 Thread jenkins
See 
http://jenkins.buildacloud.org/job/build-master/org.apache.cloudstack$cloud-awsapi/83/

--
[...truncated 249 lines...]
[INFO] Downloading: 
http://repo.maven.apache.org/maven2/org/bouncycastle/bcprov-jdk15/1.45/bcprov-jdk15-1.45.pom
[INFO] Downloaded: 
http://repo.maven.apache.org/maven2/org/bouncycastle/bcprov-jdk15/1.45/bcprov-jdk15-1.45.pom
 (819 B at 27.6 KB/sec)
[INFO] Downloading: 
http://repo.maven.apache.org/maven2/ca/juliusdavies/not-yet-commons-ssl/0.3.9/not-yet-commons-ssl-0.3.9.pom
[INFO] Downloaded: 
http://repo.maven.apache.org/maven2/ca/juliusdavies/not-yet-commons-ssl/0.3.9/not-yet-commons-ssl-0.3.9.pom
 (3 KB at 83.7 KB/sec)
[INFO] Downloading: 
http://repo.maven.apache.org/maven2/commons-httpclient/commons-httpclient/3.0/commons-httpclient-3.0.pom
[INFO] Downloaded: 
http://repo.maven.apache.org/maven2/commons-httpclient/commons-httpclient/3.0/commons-httpclient-3.0.pom
 (8 KB at 270.3 KB/sec)
[INFO] Downloading: 
http://repo.maven.apache.org/maven2/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.pom
[INFO] Downloaded: 
http://repo.maven.apache.org/maven2/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.pom
 (491 B at 16.5 KB/sec)
[INFO] Downloading: 
http://repo.maven.apache.org/maven2/xml-resolver/xml-resolver/1.2/xml-resolver-1.2.pom
[INFO] Downloaded: 
http://repo.maven.apache.org/maven2/xml-resolver/xml-resolver/1.2/xml-resolver-1.2.pom
 (2 KB at 53.1 KB/sec)
[INFO] Downloading: 
http://repo.maven.apache.org/maven2/xalan/xalan/2.7.1/xalan-2.7.1.pom
[INFO] Downloaded: 
http://repo.maven.apache.org/maven2/xalan/xalan/2.7.1/xalan-2.7.1.pom (2 KB at 
43.0 KB/sec)
[INFO] Downloading: 
http://repo.maven.apache.org/maven2/xalan/serializer/2.7.1/serializer-2.7.1.pom
[INFO] Downloaded: 
http://repo.maven.apache.org/maven2/xalan/serializer/2.7.1/serializer-2.7.1.pom 
(2 KB at 36.8 KB/sec)
[INFO] Downloading: 
http://repo.maven.apache.org/maven2/velocity/velocity/1.5/velocity-1.5.pom
[INFO] Downloaded: 
http://repo.maven.apache.org/maven2/velocity/velocity/1.5/velocity-1.5.pom (8 
KB at 244.3 KB/sec)
[INFO] Downloading: 
http://repo.maven.apache.org/maven2/org/opensaml/opensaml/2.5.1-1/opensaml-2.5.1-1.pom
[INFO] Downloaded: 
http://repo.maven.apache.org/maven2/org/opensaml/opensaml/2.5.1-1/opensaml-2.5.1-1.pom
 (21 KB at 547.8 KB/sec)
[INFO] Downloading: 
http://repo.maven.apache.org/maven2/org/opensaml/openws/1.4.2-1/openws-1.4.2-1.pom
[INFO] Downloaded: 
http://repo.maven.apache.org/maven2/org/opensaml/openws/1.4.2-1/openws-1.4.2-1.pom
 (20 KB at 518.1 KB/sec)
[INFO] Downloading: 
http://repo.maven.apache.org/maven2/org/opensaml/xmltooling/1.3.2-1/xmltooling-1.3.2-1.pom
[INFO] Downloaded: 
http://repo.maven.apache.org/maven2/org/opensaml/xmltooling/1.3.2-1/xmltooling-1.3.2-1.pom
 (19 KB at 463.2 KB/sec)
[INFO] Downloading: 
http://repo.maven.apache.org/maven2/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.pom
[INFO] Downloaded: 
http://repo.maven.apache.org/maven2/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.pom
 (3 KB at 65.0 KB/sec)
[INFO] Downloading: 
http://repo.maven.apache.org/maven2/xerces/xercesImpl/2.10.0/xercesImpl-2.10.0.pom
[INFO] Downloaded: 
http://repo.maven.apache.org/maven2/xerces/xercesImpl/2.10.0/xercesImpl-2.10.0.pom
 (4 KB at 80.1 KB/sec)
[INFO] Downloading: 
http://repo.maven.apache.org/maven2/org/bouncycastle/bcprov-jdk16/1.45/bcprov-jdk16-1.45.pom
[INFO] Downloaded: 
http://repo.maven.apache.org/maven2/org/bouncycastle/bcprov-jdk16/1.45/bcprov-jdk16-1.45.pom
 (819 B at 21.0 KB/sec)
[INFO] Downloading: 
http://repo.maven.apache.org/maven2/org/antlr/antlr-runtime/3.4/antlr-runtime-3.4.pom
[INFO] Downloaded: 
http://repo.maven.apache.org/maven2/org/antlr/antlr-runtime/3.4/antlr-runtime-3.4.pom
 (4 KB at 78.2 KB/sec)
[INFO] Downloading: 
http://repo.maven.apache.org/maven2/org/antlr/antlr-master/3.4/antlr-master-3.4.pom
[INFO] Downloaded: 
http://repo.maven.apache.org/maven2/org/antlr/antlr-master/3.4/antlr-master-3.4.pom
 (10 KB at 241.4 KB/sec)
[INFO] Downloading: 
http://repo.maven.apache.org/maven2/org/antlr/stringtemplate/3.2.1/stringtemplate-3.2.1.pom
[INFO] Downloaded: 
http://repo.maven.apache.org/maven2/org/antlr/stringtemplate/3.2.1/stringtemplate-3.2.1.pom
 (8 KB at 191.7 KB/sec)
[INFO] Downloading: 
http://repo.maven.apache.org/maven2/javassist/javassist/3.9.0.GA/javassist-3.9.0.GA.pom
[INFO] Downloaded: 
http://repo.maven.apache.org/maven2/javassist/javassist/3.9.0.GA/javassist-3.9.0.GA.pom
 (3 KB at 74.1 KB/sec)
[INFO] Downloading: 
http://repo.maven.apache.org/maven2/org/apache/axis2/axis2/1.5.6/axis2-1.5.6.jar
[INFO] Downloading: 
http://repo.maven.apache.org/maven2/org/apache/axis2/axis2-adb/1.5.6/axis2-adb-1.5.6.jar
[INFO] Downloading: 
http://repo.maven.apache.org/maven2/org/apache/axis2/axis2-kernel/1.5.6/axis2-kernel-1.5.6.jar
[INFO] Downloading: 
http://repo.maven.apache.org/maven2/org/apache/geronimo/specs/geronimo-ws-metadata_2.0_spec/1.1.2/geronimo-ws-metadata_2.0_spec-1.1.2.jar
[INFO] Downloading: 

Build failed in Jenkins: build-master #83

2013-11-29 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master/83/changes

Changes:

[aprateek] Fix issue with sourceCidr not being passed to the VRouter on start.

--
[...truncated 5727 lines...]
[WARNING] Invalid POM for org.opensaml:opensaml1:jar:1.1, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.slf4j:slf4j-jdk14:jar:1.5.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for commons-lang:commons-lang:jar:2.3, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for bouncycastle:bcprov-jdk14:jar:140, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.rampart:rampart-policy:jar:1.5.1, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.rampart:rampart-trust:jar:1.5.1, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.santuario:xmlsec:jar:1.4.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[INFO] Downloading: 
http://repo.maven.apache.org/maven2/xerces/xercesImpl/2.10.0/xercesImpl-2.10.0.jar
[INFO] Downloaded: 
http://repo.maven.apache.org/maven2/xerces/xercesImpl/2.10.0/xercesImpl-2.10.0.jar
 (1332 KB at 13723.8 KB/sec)
[WARNING] Invalid project model for artifact 
[addressing:org.apache.axis2:1.5.4]. It will be ignored by the remote resources 
Mojo.
[WARNING] Invalid project model for artifact [bcprov-jdk14:bouncycastle:140]. 
It will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact [opensaml1:org.opensaml:1.1]. It 
will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact [commons-lang:commons-lang:2.3]. 
It will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact 
[rampart-trust:org.apache.rampart:1.5.1]. It will be ignored by the remote 
resources Mojo.
[WARNING] Invalid project model for artifact 
[rampart-policy:org.apache.rampart:1.5.1]. It will be ignored by the remote 
resources Mojo.
[WARNING] Invalid project model for artifact 
[xmlsec:org.apache.santuario:1.4.2]. It will be ignored by the remote resources 
Mojo.
[WARNING] Invalid project model for artifact [mex:org.apache.axis2:1.5.4]. It 
will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact 
[axiom-dom:org.apache.ws.commons.axiom:1.2.10]. It will be ignored by the 
remote resources Mojo.
[WARNING] Invalid project model for artifact 
[axis2-mtompolicy:org.apache.axis2:1.5.4]. It will be ignored by the remote 
resources Mojo.
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (generate-resource) @ cloud-awsapi ---
[INFO] Executing tasks

main:
 [copy] Copying 3 files to 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/target/generated-webapp/WEB-INF/classes
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-awsapi ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-awsapi 
---
[INFO] Compiling 1295 source files to 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/target/classes
[INFO] -
[ERROR] COMPILATION ERROR : 
[INFO] -
[ERROR] error: error reading 
/jenkins/.m2/repository/org/apache/axis2/mex/1.5.4/mex-1.5.4-impl.jar; error in 
opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/org/apache/axis2/axis2-mtompolicy/1.5.4/axis2-mtompolicy-1.5.4.jar;
 error in opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/org/apache/ws/commons/axiom/axiom-dom/1.2.10/axiom-dom-1.2.10.jar;
 error in opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/org/opensaml/opensaml1/1.1/opensaml1-1.1.jar; error in 
opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/commons-lang/commons-lang/2.3/commons-lang-2.3.jar; 
error in opening zip file
[INFO] 5 errors 
[INFO] -
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack . SUCCESS [50.208s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [1.465s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [24.421s]
[INFO] Apache CloudStack Utils 

Deleting Primary Storage, where host was removed.

2013-11-29 Thread Girish Shilamkar
Hello,

In my test ACS setup I am stuck due to this problem 
https://issues.apache.org/jira/browse/CLOUDSTACK-4402
where I cannot delete primary storage, as the last host with which it was 
associated was removed. 
Is there a workaround for this issue ? Like deleting the entries from database.

Please advise.

Regards,
Girish



Re: Deleting Primary Storage, where host was removed.

2013-11-29 Thread Wido den Hollander



On 11/29/2013 09:53 AM, Girish Shilamkar wrote:

Hello,

In my test ACS setup I am stuck due to this problem 
https://issues.apache.org/jira/browse/CLOUDSTACK-4402
where I cannot delete primary storage, as the last host with which it was 
associated was removed.
Is there a workaround for this issue ? Like deleting the entries from database.



Yes, deleting from the database should be sufficient.

Every storage pool has a unique numeric ID in the database and volumes 
which go with that.


I currently am not able to access a database with the information, but 
when you browse around you should be able to find it.


Note: Make a backup before trying!

Wido


Please advise.

Regards,
Girish




Jenkins build is back to normal : build-master » Apache CloudStack AWS API Bridge #84

2013-11-29 Thread jenkins
See 
http://jenkins.buildacloud.org/job/build-master/org.apache.cloudstack$cloud-awsapi/84/



Jenkins build is back to normal : build-master #84

2013-11-29 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master/84/changes



Build failed in Jenkins: cloudstack-4.3-maven-build-noredist #42

2013-11-29 Thread jenkins
See 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build-noredist/42/changes

Changes:

[w.zhou] CLOUDSTACK-5299: set hypervisor_type of volumes from image format if 
not set.

[w.zhou] [UI] kvm vm snapshot not shown if kvm.snapshot.enabled is set to false

[w.zhou] CLOUDSTACK-5293: get vm disk statistics only from DISK (not for 
ISO/FLOPPY)

[w.zhou] allow delete snapshot with ERROR state

[w.zhou] CLOUDSTACK-5310: fix issue: offering display twice in dropdown when 
create network

--
[...truncated 579 lines...]
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-plugin-storage-image-s3 ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build-noredist/ws/plugins/storage/image/s3
 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Plugin - Storage Image Swift provider 
4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-plugin-storage-image-swift ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build-noredist/ws/plugins/storage/image/swift
 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Plugin - Storage Image default provider 
4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-plugin-storage-image-default ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build-noredist/ws/plugins/storage/image/default
 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Plugin - Storage Image sample provider 
4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-plugin-storage-image-sample ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build-noredist/ws/plugins/storage/image/sample
 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Plugin - Storage Volume SolidFire Provider 
4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-plugin-storage-volume-solidfire ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build-noredist/ws/plugins/storage/volume/solidfire
 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Plugin - Storage Volume default provider 
4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-plugin-storage-volume-default ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build-noredist/ws/plugins/storage/volume/default
 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Plugin - Storage Volume sample provider 
4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-plugin-storage-volume-sample ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build-noredist/ws/plugins/storage/volume/sample
 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Plugin - SNMP Alerts 4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-plugin-snmp-alerts ---
[INFO] Deleting 

Re: [PROPOSAL] JIRA 4406: Remove cleanString() call for every API to improve performance - especially of the list APIs

2013-11-29 Thread Mandar Barve
Hi Daan,
   I see your point in not bothering API implementers when it comes to
checking or setting the flag. (In my implementation I am proposing flag
check using base class ref and set in API child class. Flags and get/set
methods are members of the base class.)

If the base class has to do the check and set at load time as you suggest
here are some things to consider:

1. API command class is loaded by its name at run time.
2. At this time code doesn't know if the API command is carrying sensitive
data or not.
3. I did not find any annotation in the API command classes for return
types that indicate password/secret key that could be used as a simple
match string to help decide sensitivity of the class at load time, which
means class needs to be modified to set such flag perhaps in its
constructor or when it executes the command as suggested earlier. In a
nutshell API command class modification is needed.

I also agree with your second point that with introduction of another
member variable and expectation of it being set by the child class, if
there is a developer oversight purpose can get lost. I think by making a
base class wrapper method e.g. InformCommandSensitivity abstract we should
be able to enforce this at compile time. All API command classes will have
to implement this method leading to setting/resetting of the flag as needed.

Like you said I don't know the future security implications if any for such
code.

Considering all these I would like to go ahead with the approach I
suggested.

Thanks,
Mandar


On Thu, Nov 28, 2013 at 8:07 PM, Daan Hoogland daan.hoogl...@gmail.comwrote:

 Almost, I would like to see some construct that would allow for child
 classes not to bother and let the baseclass do the checking and set
 the flag at load time so api implemeters don't have to worry about
 this. It is kind of a challenge but using reflection it should be
 possible.

 As I understand your proposal every implementer of an api has to make
 the consideration considering every field of the class. It will work
 but automated processing of the api class could prevent oversights by
 developers.

 On the other hand we will run into privacy and security related
 situations not foreseeable right now. I am not sure if what I am
 saying will pay off.



 On Thu, Nov 28, 2013 at 3:24 PM, Mandar Barve mandar.ba...@sungard.com
 wrote:
  Daan,
  The child classes will know (since the API request/response
  parameters are known) at load time if they are to carry sensitive data
 and
  they can set the flags at class load time/construction like you
 mentioned.
  Flag check will be at the time of logging.
 
  Did you mean to suggest the same or am I missing something?
 
  Thanks,
  Mandar
 
 
  On Thu, Nov 28, 2013 at 5:22 PM, Daan Hoogland daan.hoogl...@gmail.com
 wrote:
 
  On Thu, Nov 28, 2013 at 10:38 AM, Mandar Barve 
 mandar.ba...@sungard.com
  wrote:
  
   In my opinion we should implement approach #2. I have tested this
  approach
   for couple of sensitive commands list Users and list Accounts. It
 looks
  to
   work fine.
 
 
  H Mandar, I agree but can some automation be done i.e. recognize
  sensitive names of fields [pP]assword or varieties thereof? This can
  be done at construction or even classloadtime and shouldn't impact
  performance very much.
 
  otherwise #2 is more elegant and i mean this as an extension of #2
 
 




Re: [PROPOSAL] JIRA 4406: Remove cleanString() call for every API to improve performance - especially of the list APIs

2013-11-29 Thread Daan Hoogland
Mandar,

I agree, go ahead. Let me know if you need any help.

On Fri, Nov 29, 2013 at 12:40 PM, Mandar Barve mandar.ba...@sungard.com wrote:
 Hi Daan,
I see your point in not bothering API implementers when it comes to
 checking or setting the flag. (In my implementation I am proposing flag
 check using base class ref and set in API child class. Flags and get/set
 methods are members of the base class.)

 If the base class has to do the check and set at load time as you suggest
 here are some things to consider:

 1. API command class is loaded by its name at run time.
 2. At this time code doesn't know if the API command is carrying sensitive
 data or not.
 3. I did not find any annotation in the API command classes for return
 types that indicate password/secret key that could be used as a simple
 match string to help decide sensitivity of the class at load time, which
 means class needs to be modified to set such flag perhaps in its
 constructor or when it executes the command as suggested earlier. In a
 nutshell API command class modification is needed.

 I also agree with your second point that with introduction of another
 member variable and expectation of it being set by the child class, if
 there is a developer oversight purpose can get lost. I think by making a
 base class wrapper method e.g. InformCommandSensitivity abstract we should
 be able to enforce this at compile time. All API command classes will have
 to implement this method leading to setting/resetting of the flag as needed.

 Like you said I don't know the future security implications if any for such
 code.

 Considering all these I would like to go ahead with the approach I
 suggested.

 Thanks,
 Mandar


 On Thu, Nov 28, 2013 at 8:07 PM, Daan Hoogland daan.hoogl...@gmail.comwrote:

 Almost, I would like to see some construct that would allow for child
 classes not to bother and let the baseclass do the checking and set
 the flag at load time so api implemeters don't have to worry about
 this. It is kind of a challenge but using reflection it should be
 possible.

 As I understand your proposal every implementer of an api has to make
 the consideration considering every field of the class. It will work
 but automated processing of the api class could prevent oversights by
 developers.

 On the other hand we will run into privacy and security related
 situations not foreseeable right now. I am not sure if what I am
 saying will pay off.



 On Thu, Nov 28, 2013 at 3:24 PM, Mandar Barve mandar.ba...@sungard.com
 wrote:
  Daan,
  The child classes will know (since the API request/response
  parameters are known) at load time if they are to carry sensitive data
 and
  they can set the flags at class load time/construction like you
 mentioned.
  Flag check will be at the time of logging.
 
  Did you mean to suggest the same or am I missing something?
 
  Thanks,
  Mandar
 
 
  On Thu, Nov 28, 2013 at 5:22 PM, Daan Hoogland daan.hoogl...@gmail.com
 wrote:
 
  On Thu, Nov 28, 2013 at 10:38 AM, Mandar Barve 
 mandar.ba...@sungard.com
  wrote:
  
   In my opinion we should implement approach #2. I have tested this
  approach
   for couple of sensitive commands list Users and list Accounts. It
 looks
  to
   work fine.
 
 
  H Mandar, I agree but can some automation be done i.e. recognize
  sensitive names of fields [pP]assword or varieties thereof? This can
  be done at construction or even classloadtime and shouldn't impact
  performance very much.
 
  otherwise #2 is more elegant and i mean this as an extension of #2
 
 




Issue building Deb packages from source

2013-11-29 Thread Vosbury, David


 Original Message 
Subject: Issue building Deb packages from source
From: Vosbury, David david.vosb...@systemsmadesimple.com
To: d...@cloudsrack.apache.org
CC:

I'm not sure if this is a question for the users or the Dev list so I'm posting 
to both.

I’m new to building CloudStack from source. I’m having some difficulty creating 
my Deb packages. I’m trying to compile with the nonoss options. I’ve been going 
through the documentation for building from source and I’m using the nonoss 
option to get the vmware support. When following the build docs I get 
successful compiles when running mvn clean install –Dnonoss and when doing mvn 
–P deps –Dnonoss (although I do get a message at the end of the compile that it 
couldn’t find the deps profile, but the compile shows successful). When I try 
to compile to my deb packages I get an error message at the end and It also 
doesn’t look like the nonoss modules build. It looks like a default oss build. 
Here is the error messages I get back when trying to compile the debs. Please 
help as I have an upcoming deadline to get this CloudStack install up and 
running and this is really holding me up. It seems like maybe I need to change 
something in the configuration for the deb build, but I’m not sure where to do 
that. It also seems like the deb build is failing with the aws api module 
build. Is there a way to remove that from the build if that is the issue? I 
don’t need aws support at this time. Is there an option I need to add when 
doing the deb build to get the nonoss modules to build? Anyway, here’s the 
error message.



[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-awsapi 

---

[INFO] Compiling 1296 source files to 
/home/dvosbury/apache-cloudstack-4.2.0-src  
  /awsapi/target/classes

[INFO] -

[ERROR] COMPILATION ERROR :

[INFO] -

[ERROR] error: error reading 
/home/dvosbury/.m2/repository/org/apache/axis2/mex/ 
   
1.5.4/mex-1.5.4-impl.jar; error in opening zip file

[ERROR] error: error reading 
/home/dvosbury/.m2/repository/org/apache/axis2/axis 
   
2-mtompolicy/1.5.4/axis2-mtompolicy-1.5.4.jar; error in opening zip file

[ERROR] error: error reading 
/home/dvosbury/.m2/repository/org/apache/ws/commons 
   
/axiom/axiom-dom/1.2.10/axiom-dom-1.2.10.jar; error in opening zip file

[ERROR] error: error reading 
/home/dvosbury/.m2/repository/org/opensaml/opensaml 
   
1/1.1/opensaml1-1.1.jar; error in opening zip file

[ERROR] error: error reading 
/home/dvosbury/.m2/repository/commons-lang/commons- 
   
lang/2.3/commons-lang-2.3.jar; error in opening zip file

[INFO] 5 errors

[INFO] -

[INFO] 

[INFO] Reactor Summary:

[INFO]

[INFO] Apache CloudStack . SUCCESS [1.890s]

[INFO] Apache CloudStack Utils ... SUCCESS [10.227s]

[INFO] Apache CloudStack API . SUCCESS [10.884s]

[INFO] Apache CloudStack Framework ... SUCCESS [0.072s]

[INFO] Apache CloudStack Framework - REST  SUCCESS [2.908s]

[INFO] Apache CloudStack Framework - IPC . SUCCESS [4.501s]

[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.062s]

[INFO] Apache CloudStack Cloud Engine API  SUCCESS [5.064s]

[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [1.810s]

[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [9.314s]

[INFO] Apache CloudStack Core  SUCCESS [7.708s]

[INFO] Apache CloudStack Agents .. SUCCESS [5.966s]

[INFO] Apache CloudStack Framework - Jobs  SUCCESS [1.623s]

[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [1.682s]

[INFO] Apache CloudStack Server .. SUCCESS [18.616s]

[INFO] Apache CloudStack Usage Server  SUCCESS [5.502s]

[INFO] Apache XenSource XAPI . SUCCESS [5.961s]

[INFO] Apache CloudStack Cloud Engine Compute Component .. SUCCESS [1.753s]

[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS [5.525s]

[INFO] 

RE: Issue building Deb packages from source

2013-11-29 Thread Saksham Srivastava
Can you try replacing -Dnonoss with -Dnoredist

Thanks,
Saksham

-Original Message-
From: Vosbury, David [mailto:david.vosb...@systemsmadesimple.com] 
Sent: Friday, November 29, 2013 5:31 PM
To: dev@cloudstack.apache.org
Subject: Issue building Deb packages from source



 Original Message 
Subject: Issue building Deb packages from source
From: Vosbury, David david.vosb...@systemsmadesimple.com
To: d...@cloudsrack.apache.org
CC:

I'm not sure if this is a question for the users or the Dev list so I'm posting 
to both.

I'm new to building CloudStack from source. I'm having some difficulty creating 
my Deb packages. I'm trying to compile with the nonoss options. I've been going 
through the documentation for building from source and I'm using the nonoss 
option to get the vmware support. When following the build docs I get 
successful compiles when running mvn clean install -Dnonoss and when doing mvn 
-P deps -Dnonoss (although I do get a message at the end of the compile that it 
couldn't find the deps profile, but the compile shows successful). When I try 
to compile to my deb packages I get an error message at the end and It also 
doesn't look like the nonoss modules build. It looks like a default oss build. 
Here is the error messages I get back when trying to compile the debs. Please 
help as I have an upcoming deadline to get this CloudStack install up and 
running and this is really holding me up. It seems like maybe I need to change 
something in the configuration for the deb build, but I'm not sure where to do 
that. It also seems like the deb build is failing with the aws api module 
build. Is there a way to remove that from the build if that is the issue? I 
don't need aws support at this time. Is there an option I need to add when 
doing the deb build to get the nonoss modules to build? Anyway, here's the 
error message.



[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-awsapi 

---

[INFO] Compiling 1296 source files to 
/home/dvosbury/apache-cloudstack-4.2.0-src  
  /awsapi/target/classes

[INFO] -

[ERROR] COMPILATION ERROR :

[INFO] -

[ERROR] error: error reading 
/home/dvosbury/.m2/repository/org/apache/axis2/mex/ 
   
1.5.4/mex-1.5.4-impl.jar; error in opening zip file

[ERROR] error: error reading 
/home/dvosbury/.m2/repository/org/apache/axis2/axis 
   
2-mtompolicy/1.5.4/axis2-mtompolicy-1.5.4.jar; error in opening zip file

[ERROR] error: error reading 
/home/dvosbury/.m2/repository/org/apache/ws/commons 
   
/axiom/axiom-dom/1.2.10/axiom-dom-1.2.10.jar; error in opening zip file

[ERROR] error: error reading 
/home/dvosbury/.m2/repository/org/opensaml/opensaml 
   
1/1.1/opensaml1-1.1.jar; error in opening zip file

[ERROR] error: error reading 
/home/dvosbury/.m2/repository/commons-lang/commons- 
   
lang/2.3/commons-lang-2.3.jar; error in opening zip file

[INFO] 5 errors

[INFO] -

[INFO] 

[INFO] Reactor Summary:

[INFO]

[INFO] Apache CloudStack . SUCCESS [1.890s]

[INFO] Apache CloudStack Utils ... SUCCESS [10.227s]

[INFO] Apache CloudStack API . SUCCESS [10.884s]

[INFO] Apache CloudStack Framework ... SUCCESS [0.072s]

[INFO] Apache CloudStack Framework - REST  SUCCESS [2.908s]

[INFO] Apache CloudStack Framework - IPC . SUCCESS [4.501s]

[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.062s]

[INFO] Apache CloudStack Cloud Engine API  SUCCESS [5.064s]

[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [1.810s]

[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [9.314s]

[INFO] Apache CloudStack Core  SUCCESS [7.708s]

[INFO] Apache CloudStack Agents .. SUCCESS [5.966s]

[INFO] Apache CloudStack Framework - Jobs  SUCCESS [1.623s]

[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [1.682s]

[INFO] Apache CloudStack Server .. SUCCESS [18.616s]

[INFO] Apache CloudStack Usage Server 

Re: Issue building Deb packages from source

2013-11-29 Thread Wei ZHOU
This is because the incorrect .jar file or .pom file is missing in the
maven repository, I think.


2013/11/29 Saksham Srivastava saksham.srivast...@citrix.com

 Can you try replacing -Dnonoss with -Dnoredist

 Thanks,
 Saksham

 -Original Message-
 From: Vosbury, David [mailto:david.vosb...@systemsmadesimple.com]
 Sent: Friday, November 29, 2013 5:31 PM
 To: dev@cloudstack.apache.org
 Subject: Issue building Deb packages from source



  Original Message 
 Subject: Issue building Deb packages from source
 From: Vosbury, David david.vosb...@systemsmadesimple.com
 To: d...@cloudsrack.apache.org
 CC:

 I'm not sure if this is a question for the users or the Dev list so I'm
 posting to both.

 I'm new to building CloudStack from source. I'm having some difficulty
 creating my Deb packages. I'm trying to compile with the nonoss options.
 I've been going through the documentation for building from source and I'm
 using the nonoss option to get the vmware support. When following the build
 docs I get successful compiles when running mvn clean install -Dnonoss and
 when doing mvn -P deps -Dnonoss (although I do get a message at the end of
 the compile that it couldn't find the deps profile, but the compile shows
 successful). When I try to compile to my deb packages I get an error
 message at the end and It also doesn't look like the nonoss modules build.
 It looks like a default oss build. Here is the error messages I get back
 when trying to compile the debs. Please help as I have an upcoming deadline
 to get this CloudStack install up and running and this is really holding me
 up. It seems like maybe I need to change something in the configuration for
 the deb build, but I'm not sure where to do that. It also seems like the
 deb build is failing with the aws api module build. Is there a way to
 remove that from the build if that is the issue? I don't need aws support
 at this time. Is there an option I need to add when doing the deb build to
 get the nonoss modules to build? Anyway, here's the error message.



 [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @
 cloud-awsapi
   ---

 [INFO] Compiling 1296 source files to
 /home/dvosbury/apache-cloudstack-4.2.0-src

  /awsapi/target/classes

 [INFO] -

 [ERROR] COMPILATION ERROR :

 [INFO] -

 [ERROR] error: error reading
 /home/dvosbury/.m2/repository/org/apache/axis2/mex/

  1.5.4/mex-1.5.4-impl.jar; error in opening zip file

 [ERROR] error: error reading
 /home/dvosbury/.m2/repository/org/apache/axis2/axis

  2-mtompolicy/1.5.4/axis2-mtompolicy-1.5.4.jar; error in opening zip file

 [ERROR] error: error reading
 /home/dvosbury/.m2/repository/org/apache/ws/commons

  /axiom/axiom-dom/1.2.10/axiom-dom-1.2.10.jar; error in opening zip file

 [ERROR] error: error reading
 /home/dvosbury/.m2/repository/org/opensaml/opensaml

  1/1.1/opensaml1-1.1.jar; error in opening zip file

 [ERROR] error: error reading
 /home/dvosbury/.m2/repository/commons-lang/commons-

  lang/2.3/commons-lang-2.3.jar; error in opening zip file

 [INFO] 5 errors

 [INFO] -

 [INFO]
 

 [INFO] Reactor Summary:

 [INFO]

 [INFO] Apache CloudStack . SUCCESS [1.890s]

 [INFO] Apache CloudStack Utils ... SUCCESS
 [10.227s]

 [INFO] Apache CloudStack API . SUCCESS
 [10.884s]

 [INFO] Apache CloudStack Framework ... SUCCESS [0.072s]

 [INFO] Apache CloudStack Framework - REST  SUCCESS [2.908s]

 [INFO] Apache CloudStack Framework - IPC . SUCCESS [4.501s]

 [INFO] Apache CloudStack Cloud Engine  SUCCESS [0.062s]

 [INFO] Apache CloudStack Cloud Engine API  SUCCESS [5.064s]

 [INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS
 [1.810s]

 [INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [9.314s]

 [INFO] Apache CloudStack Core  SUCCESS [7.708s]

 [INFO] Apache CloudStack Agents .. SUCCESS [5.966s]

 [INFO] Apache CloudStack Framework - Jobs  SUCCESS [1.623s]

 [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [1.682s]

 [INFO] Apache CloudStack Server .. SUCCESS
 [18.616s]

 [INFO] Apache CloudStack Usage Server  SUCCESS [5.502s]

 [INFO] Apache XenSource XAPI . SUCCESS [5.961s]

 [INFO] Apache CloudStack Cloud Engine Compute Component .. SUCCESS [1.753s]

 [INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS
 [5.525s]

 [INFO] Apache CloudStack SystemVM Patches  SUCCESS [0.323s]

 [INFO] 

Re: Review Request 15832: enable custom offering support for scalevm

2013-11-29 Thread Koushik Das

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

Ship it!


master - 68406ba29d7dc31dcfd9ef2cefc673ff32cfa514

- Koushik Das


On Nov. 29, 2013, 7:46 a.m., bharat kumar wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/15832/
 ---
 
 (Updated Nov. 29, 2013, 7:46 a.m.)
 
 
 Review request for cloudstack and Koushik Das.
 
 
 Bugs: CLOUDSTACK-5161
 https://issues.apache.org/jira/browse/CLOUDSTACK-5161
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 enable scaling of a vm using custom offering
 CLOUDSTACK-5161
 
 
 Diffs
 -
 
   api/src/org/apache/cloudstack/api/ApiConstants.java 7b87264 
   
 api/src/org/apache/cloudstack/api/command/admin/systemvm/ScaleSystemVMCmd.java
  a7c864d 
   
 api/src/org/apache/cloudstack/api/command/admin/systemvm/UpgradeSystemVMCmd.java
  1357a7d 
   api/src/org/apache/cloudstack/api/command/user/vm/ScaleVMCmd.java 6cb49c1 
   api/src/org/apache/cloudstack/api/command/user/vm/UpgradeVMCmd.java 3dfcdf9 
   api/src/org/apache/cloudstack/api/response/ServiceOfferingResponse.java 
 7ec739e 
   engine/api/src/com/cloud/vm/VirtualMachineManager.java c78942f 
   engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java 
 3a3de70 
   
 engine/orchestration/src/org/apache/cloudstack/engine/cloud/entity/api/VMEntityManagerImpl.java
  c02e0ad 
   engine/schema/src/com/cloud/event/UsageEventVO.java 719a79b 
   engine/schema/src/com/cloud/service/ServiceOfferingVO.java d968de5 
   engine/schema/src/com/cloud/service/dao/ServiceOfferingDao.java 10d6616 
   engine/schema/src/com/cloud/service/dao/ServiceOfferingDaoImpl.java f1f97fc 
   engine/schema/src/com/cloud/storage/DiskOfferingVO.java 8a9dd3d 
   engine/schema/src/com/cloud/usage/UsageVMInstanceVO.java cd746c2 
   server/src/com/cloud/api/query/dao/ServiceOfferingJoinDaoImpl.java 4f351eb 
   server/src/com/cloud/api/query/vo/ServiceOfferingJoinVO.java 2260e1e 
   server/src/com/cloud/capacity/CapacityManagerImpl.java c733c03 
   server/src/com/cloud/configuration/ConfigurationManagerImpl.java 3770eb8 
   server/src/com/cloud/server/ManagementServerImpl.java d34da4f 
   server/src/com/cloud/vm/UserVmManager.java 8463326 
   server/src/com/cloud/vm/UserVmManagerImpl.java c0b0031 
   server/test/com/cloud/vm/UserVmManagerTest.java 71bbebe 
   usage/src/com/cloud/usage/UsageManagerImpl.java 81e7892 
 
 Diff: https://reviews.apache.org/r/15832/diff/
 
 
 Testing
 ---
 
 Tested on master.
 
 
 Thanks,
 
 bharat kumar
 




Re: Review Request 15832: enable custom offering support for scalevm

2013-11-29 Thread bharat kumar

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

(Updated Nov. 29, 2013, 12:35 p.m.)


Review request for cloudstack and Koushik Das.


Changes
---

patch for 4.3 branch


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


Repository: cloudstack-git


Description
---

enable scaling of a vm using custom offering
CLOUDSTACK-5161


Diffs (updated)
-

  api/src/org/apache/cloudstack/api/ApiConstants.java 6f919c1 
  
api/src/org/apache/cloudstack/api/command/admin/systemvm/ScaleSystemVMCmd.java 
212f129 
  
api/src/org/apache/cloudstack/api/command/admin/systemvm/UpgradeSystemVMCmd.java
 738b15d 
  api/src/org/apache/cloudstack/api/command/user/vm/ScaleVMCmd.java 44f5575 
  api/src/org/apache/cloudstack/api/command/user/vm/UpgradeVMCmd.java 161131b 
  api/src/org/apache/cloudstack/api/response/ServiceOfferingResponse.java 
e305ee9 
  engine/api/src/com/cloud/vm/VirtualMachineManager.java 00393bf 
  engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java b92b41f 
  
engine/orchestration/src/org/apache/cloudstack/engine/cloud/entity/api/VMEntityManagerImpl.java
 e784295 
  engine/schema/src/com/cloud/event/UsageEventVO.java 6fad8c9 
  engine/schema/src/com/cloud/service/ServiceOfferingVO.java 66ab836 
  engine/schema/src/com/cloud/service/dao/ServiceOfferingDao.java c5c4cff 
  engine/schema/src/com/cloud/service/dao/ServiceOfferingDaoImpl.java 917eaef 
  engine/schema/src/com/cloud/storage/DiskOfferingVO.java b5b3451 
  engine/schema/src/com/cloud/usage/UsageVMInstanceVO.java 1178cc8 
  server/src/com/cloud/api/query/dao/ServiceOfferingJoinDaoImpl.java 3bc6c78 
  server/src/com/cloud/api/query/vo/ServiceOfferingJoinVO.java 3c843bb 
  server/src/com/cloud/capacity/CapacityManagerImpl.java 854e27a 
  server/src/com/cloud/configuration/ConfigurationManagerImpl.java 21651ad 
  server/src/com/cloud/server/ManagementServerImpl.java d083c11 
  server/src/com/cloud/vm/UserVmManager.java 485e633 
  server/src/com/cloud/vm/UserVmManagerImpl.java 485a345 
  server/test/com/cloud/vm/UserVmManagerTest.java 0a3ed3c 
  usage/src/com/cloud/usage/UsageManagerImpl.java ea04dd0 

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


Testing
---

Tested on master.


Thanks,

bharat kumar



Build failed in Jenkins: build-master #87

2013-11-29 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master/87/changes

Changes:

[koushik] CLOUDSTACK-5161 enable scaling of a vm using custom offering

--
[...truncated 3830 lines...]
[WARNING] Invalid POM for org.apache.ws.security:wss4j:jar:1.5.10, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.santuario:xmlsec:jar:1.4.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.opensaml:opensaml1:jar:1.1, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.slf4j:slf4j-jdk14:jar:1.5.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for commons-lang:commons-lang:jar:2.3, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for bouncycastle:bcprov-jdk14:jar:140, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.rampart:rampart-policy:jar:1.5.1, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.rampart:rampart-trust:jar:1.5.1, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.santuario:xmlsec:jar:1.4.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid project model for artifact 
[addressing:org.apache.axis2:1.5.4]. It will be ignored by the remote resources 
Mojo.
[WARNING] Invalid project model for artifact [bcprov-jdk14:bouncycastle:140]. 
It will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact [opensaml1:org.opensaml:1.1]. It 
will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact [commons-lang:commons-lang:2.3]. 
It will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact 
[rampart-trust:org.apache.rampart:1.5.1]. It will be ignored by the remote 
resources Mojo.
[WARNING] Invalid project model for artifact 
[rampart-policy:org.apache.rampart:1.5.1]. It will be ignored by the remote 
resources Mojo.
[WARNING] Invalid project model for artifact 
[xmlsec:org.apache.santuario:1.4.2]. It will be ignored by the remote resources 
Mojo.
[WARNING] Invalid project model for artifact [mex:org.apache.axis2:1.5.4]. It 
will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact 
[axiom-dom:org.apache.ws.commons.axiom:1.2.10]. It will be ignored by the 
remote resources Mojo.
[WARNING] Invalid project model for artifact 
[axis2-mtompolicy:org.apache.axis2:1.5.4]. It will be ignored by the remote 
resources Mojo.
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (generate-resource) @ cloud-awsapi ---
[INFO] Executing tasks

main:
 [copy] Copying 3 files to 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/target/generated-webapp/WEB-INF/classes
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-awsapi ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-awsapi 
---
[INFO] Compiling 1295 source files to 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/target/classes
[INFO] -
[ERROR] COMPILATION ERROR : 
[INFO] -
[ERROR] error: error reading 
/jenkins/.m2/repository/org/apache/axis2/mex/1.5.4/mex-1.5.4-impl.jar; error in 
opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/org/apache/axis2/axis2-mtompolicy/1.5.4/axis2-mtompolicy-1.5.4.jar;
 error in opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/org/apache/ws/commons/axiom/axiom-dom/1.2.10/axiom-dom-1.2.10.jar;
 error in opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/org/opensaml/opensaml1/1.1/opensaml1-1.1.jar; error in 
opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/commons-lang/commons-lang/2.3/commons-lang-2.3.jar; 
error in opening zip file
[INFO] 5 errors 
[INFO] -
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack . SUCCESS [44.016s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [1.181s]
[INFO] Apache CloudStack Framework - 

Build failed in Jenkins: build-master » Apache CloudStack AWS API Bridge #87

2013-11-29 Thread jenkins
See 
http://jenkins.buildacloud.org/job/build-master/org.apache.cloudstack$cloud-awsapi/87/

--
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack AWS API Bridge 4.4.0-SNAPSHOT
[INFO] 
[WARNING] The POM for org.apache.rampart:rampart-policy:jar:1.5.1 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.rampart:rampart-trust:jar:1.5.1 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:axis2-kernel:jar:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:mex:jar:impl:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:axis2-mtompolicy:jar:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:addressing:mar:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.ws.commons.axiom:axiom-dom:jar:1.2.10 is 
invalid, transitive dependencies (if any) will not be available, enable debug 
logging for more details
[WARNING] The POM for org.apache.ws.security:wss4j:jar:1.5.10 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.santuario:xmlsec:jar:1.4.2 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.opensaml:opensaml1:jar:1.1 is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] The POM for org.slf4j:slf4j-jdk14:jar:1.5.2 is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] The POM for commons-lang:commons-lang:jar:2.3 is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] The POM for bouncycastle:bcprov-jdk14:jar:140 is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-awsapi ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/build-master/org.apache.cloudstack$cloud-awsapi/ws/target
 (includes = [**/*], excludes = [])
[INFO] Deleting 
http://jenkins.buildacloud.org/job/build-master/org.apache.cloudstack$cloud-awsapi/ws/
 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-awsapi 
---
[WARNING] Invalid POM for org.apache.rampart:rampart-policy:jar:1.5.1, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.rampart:rampart-trust:jar:1.5.1, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.axis2:axis2-kernel:jar:1.5.4, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.axis2:mex:jar:impl:1.5.4, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.axis2:axis2-mtompolicy:jar:1.5.4, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.axis2:addressing:mar:1.5.4, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.ws.commons.axiom:axiom-dom:jar:1.2.10, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.ws.security:wss4j:jar:1.5.10, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.santuario:xmlsec:jar:1.4.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.opensaml:opensaml1:jar:1.1, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.slf4j:slf4j-jdk14:jar:1.5.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for commons-lang:commons-lang:jar:2.3, transitive 
dependencies (if any) will not be 

Re: Review Request 15832: enable custom offering support for scalevm

2013-11-29 Thread Koushik Das

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

Ship it!


4.3 - 72e03546619f50fa24abc372eb35438ef02713f8

- Koushik Das


On Nov. 29, 2013, 12:35 p.m., bharat kumar wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/15832/
 ---
 
 (Updated Nov. 29, 2013, 12:35 p.m.)
 
 
 Review request for cloudstack and Koushik Das.
 
 
 Bugs: CLOUDSTACK-5161
 https://issues.apache.org/jira/browse/CLOUDSTACK-5161
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 enable scaling of a vm using custom offering
 CLOUDSTACK-5161
 
 
 Diffs
 -
 
   api/src/org/apache/cloudstack/api/ApiConstants.java 6f919c1 
   
 api/src/org/apache/cloudstack/api/command/admin/systemvm/ScaleSystemVMCmd.java
  212f129 
   
 api/src/org/apache/cloudstack/api/command/admin/systemvm/UpgradeSystemVMCmd.java
  738b15d 
   api/src/org/apache/cloudstack/api/command/user/vm/ScaleVMCmd.java 44f5575 
   api/src/org/apache/cloudstack/api/command/user/vm/UpgradeVMCmd.java 161131b 
   api/src/org/apache/cloudstack/api/response/ServiceOfferingResponse.java 
 e305ee9 
   engine/api/src/com/cloud/vm/VirtualMachineManager.java 00393bf 
   engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java 
 b92b41f 
   
 engine/orchestration/src/org/apache/cloudstack/engine/cloud/entity/api/VMEntityManagerImpl.java
  e784295 
   engine/schema/src/com/cloud/event/UsageEventVO.java 6fad8c9 
   engine/schema/src/com/cloud/service/ServiceOfferingVO.java 66ab836 
   engine/schema/src/com/cloud/service/dao/ServiceOfferingDao.java c5c4cff 
   engine/schema/src/com/cloud/service/dao/ServiceOfferingDaoImpl.java 917eaef 
   engine/schema/src/com/cloud/storage/DiskOfferingVO.java b5b3451 
   engine/schema/src/com/cloud/usage/UsageVMInstanceVO.java 1178cc8 
   server/src/com/cloud/api/query/dao/ServiceOfferingJoinDaoImpl.java 3bc6c78 
   server/src/com/cloud/api/query/vo/ServiceOfferingJoinVO.java 3c843bb 
   server/src/com/cloud/capacity/CapacityManagerImpl.java 854e27a 
   server/src/com/cloud/configuration/ConfigurationManagerImpl.java 21651ad 
   server/src/com/cloud/server/ManagementServerImpl.java d083c11 
   server/src/com/cloud/vm/UserVmManager.java 485e633 
   server/src/com/cloud/vm/UserVmManagerImpl.java 485a345 
   server/test/com/cloud/vm/UserVmManagerTest.java 0a3ed3c 
   usage/src/com/cloud/usage/UsageManagerImpl.java ea04dd0 
 
 Diff: https://reviews.apache.org/r/15832/diff/
 
 
 Testing
 ---
 
 Tested on master.
 
 
 Thanks,
 
 bharat kumar
 




Build failed in Jenkins: cloudstack-4.3-maven-build-noredist #43

2013-11-29 Thread jenkins
See 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build-noredist/43/changes

Changes:

[koushik] CLOUDSTACK-5161 enable scaling and upgrading of a vm using custom 
offering

--
[...truncated 575 lines...]
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-plugin-storage-image-s3 ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build-noredist/ws/plugins/storage/image/s3
 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Plugin - Storage Image Swift provider 
4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-plugin-storage-image-swift ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build-noredist/ws/plugins/storage/image/swift
 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Plugin - Storage Image default provider 
4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-plugin-storage-image-default ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build-noredist/ws/plugins/storage/image/default
 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Plugin - Storage Image sample provider 
4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-plugin-storage-image-sample ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build-noredist/ws/plugins/storage/image/sample
 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Plugin - Storage Volume SolidFire Provider 
4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-plugin-storage-volume-solidfire ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build-noredist/ws/plugins/storage/volume/solidfire
 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Plugin - Storage Volume default provider 
4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-plugin-storage-volume-default ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build-noredist/ws/plugins/storage/volume/default
 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Plugin - Storage Volume sample provider 
4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-plugin-storage-volume-sample ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build-noredist/ws/plugins/storage/volume/sample
 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Plugin - SNMP Alerts 4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-plugin-snmp-alerts ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.3-maven-build-noredist/ws/plugins/alert-handlers/snmp-alerts
 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Plugin - Syslog Alerts 

Cloudstack local storage

2013-11-29 Thread Antonio Petrocelli

Hello,

we want use cloudstack 4.2 with local storage + VMware 5.1.

https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/about-primary-storage.html

On this webpage it said:

If you intend to use only local disk for your installation, you can 
skip to Add Secondary Storage.


If we skip secondary storage setup during adding a zone, our log file is 
full of following messages:


2013-11-29 12:52:49,509 DEBUG 
[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) 
System vm template is not ready at data center 2, wait until it is ready 
to launch secondary storage vm


2013-11-29 12:52:49,509 DEBUG 
[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 
2 is not ready to launch secondary storage VM yet


2013-11-29 12:52:49,654 DEBUG 
[cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) 
System vm template is not ready at data center 2, wait until it is ready 
to launch console proxy vm


2013-11-29 12:52:49,654 DEBUG 
[cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Zone 
2 is not ready to launch console proxy yet


Also there are no system vm or router vm on cloudstack after hours that 
we created zones.


Web Error during upload template file: Unable to find image store to 
download template null


No error in log.

Thanks.

Best Regards.


dev ms not starting ui

2013-11-29 Thread Daan Hoogland
H,

kind of an embarrassing question: I have a master build, on macosx
10.9, a clean db, and devcloud. I have build, installed and deployed
db without any problems. When I start jetty:run everything loads
without ERROR. There is an exception logged about keytool stating it
will use a fail-safe keystore. and later 2013-11-29 13:45:26,699 WARN
[c.c.u.s.Script] (main:null) Unable to find script vms/systemvm.iso

next everything loads untill 2013-11-29 13:45:43,286 WARN
[c.c.c.ConfigurationManagerImpl] (main:null) Management network CIDR
is not configured originally. Set it default to 192.168.my home
choice!?!.0/24

I would expect this to be 192,168,56,0/24 not my very secure/obscure
home network.

then
2013-11-29 13:45:46,108 WARN  [o.a.c.alerts]
(Cluster-Notification-1:ctx-0ee189af)  alertType:: 14 //
dataCenterId:: 0 // podId:: 0 // clusterId:: null // message::
Management server node 127.0.0.1 is up
2013-11-29 13:45:46,116 WARN  [c.c.c.ClusterManagerImpl]
(Cluster-Notification-1:ctx-0ee189af) Notifying management server join
event took 11 ms

but nothing is up as far as the ui is concerned. This would have given
me a MS console on http://localhost:8080/client two days ago. It
doesn't anymore and i have been looking since.

I am now busy creating a clean environment again to see if i am
strugling against some kind of leftover but this could be considered
insanity.

Is there anything I am missing as far as anyone can tell?

tia,
Daan


cloudstack hyperv

2013-11-29 Thread liy...@broada.com

Hello 

I am a cloudstack enthusiasts, see cloudstack4.3.0 snapshot version already 
provides support to hyperv would like to personally experience the next 
cloudstack4.3.0 right hyperv support case
I need your help:
cloudstack configuration documentation for hyperv
cloudstack agent install package



liy...@broada.com

Re: Issue building Deb packages from source

2013-11-29 Thread David Nalley
Yes this - maven has either a corrupted jar or wasn't able to get the
jar and is now complaining.

--David

On Fri, Nov 29, 2013 at 7:20 AM, Wei ZHOU ustcweiz...@gmail.com wrote:
 This is because the incorrect .jar file or .pom file is missing in the
 maven repository, I think.


 2013/11/29 Saksham Srivastava saksham.srivast...@citrix.com

 Can you try replacing -Dnonoss with -Dnoredist

 Thanks,
 Saksham

 -Original Message-
 From: Vosbury, David [mailto:david.vosb...@systemsmadesimple.com]
 Sent: Friday, November 29, 2013 5:31 PM
 To: dev@cloudstack.apache.org
 Subject: Issue building Deb packages from source



  Original Message 
 Subject: Issue building Deb packages from source
 From: Vosbury, David david.vosb...@systemsmadesimple.com
 To: d...@cloudsrack.apache.org
 CC:

 I'm not sure if this is a question for the users or the Dev list so I'm
 posting to both.

 I'm new to building CloudStack from source. I'm having some difficulty
 creating my Deb packages. I'm trying to compile with the nonoss options.
 I've been going through the documentation for building from source and I'm
 using the nonoss option to get the vmware support. When following the build
 docs I get successful compiles when running mvn clean install -Dnonoss and
 when doing mvn -P deps -Dnonoss (although I do get a message at the end of
 the compile that it couldn't find the deps profile, but the compile shows
 successful). When I try to compile to my deb packages I get an error
 message at the end and It also doesn't look like the nonoss modules build.
 It looks like a default oss build. Here is the error messages I get back
 when trying to compile the debs. Please help as I have an upcoming deadline
 to get this CloudStack install up and running and this is really holding me
 up. It seems like maybe I need to change something in the configuration for
 the deb build, but I'm not sure where to do that. It also seems like the
 deb build is failing with the aws api module build. Is there a way to
 remove that from the build if that is the issue? I don't need aws support
 at this time. Is there an option I need to add when doing the deb build to
 get the nonoss modules to build? Anyway, here's the error message.



 [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @
 cloud-awsapi
   ---

 [INFO] Compiling 1296 source files to
 /home/dvosbury/apache-cloudstack-4.2.0-src

  /awsapi/target/classes

 [INFO] -

 [ERROR] COMPILATION ERROR :

 [INFO] -

 [ERROR] error: error reading
 /home/dvosbury/.m2/repository/org/apache/axis2/mex/

  1.5.4/mex-1.5.4-impl.jar; error in opening zip file

 [ERROR] error: error reading
 /home/dvosbury/.m2/repository/org/apache/axis2/axis

  2-mtompolicy/1.5.4/axis2-mtompolicy-1.5.4.jar; error in opening zip file

 [ERROR] error: error reading
 /home/dvosbury/.m2/repository/org/apache/ws/commons

  /axiom/axiom-dom/1.2.10/axiom-dom-1.2.10.jar; error in opening zip file

 [ERROR] error: error reading
 /home/dvosbury/.m2/repository/org/opensaml/opensaml

  1/1.1/opensaml1-1.1.jar; error in opening zip file

 [ERROR] error: error reading
 /home/dvosbury/.m2/repository/commons-lang/commons-

  lang/2.3/commons-lang-2.3.jar; error in opening zip file

 [INFO] 5 errors

 [INFO] -

 [INFO]
 

 [INFO] Reactor Summary:

 [INFO]

 [INFO] Apache CloudStack . SUCCESS [1.890s]

 [INFO] Apache CloudStack Utils ... SUCCESS
 [10.227s]

 [INFO] Apache CloudStack API . SUCCESS
 [10.884s]

 [INFO] Apache CloudStack Framework ... SUCCESS [0.072s]

 [INFO] Apache CloudStack Framework - REST  SUCCESS [2.908s]

 [INFO] Apache CloudStack Framework - IPC . SUCCESS [4.501s]

 [INFO] Apache CloudStack Cloud Engine  SUCCESS [0.062s]

 [INFO] Apache CloudStack Cloud Engine API  SUCCESS [5.064s]

 [INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS
 [1.810s]

 [INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [9.314s]

 [INFO] Apache CloudStack Core  SUCCESS [7.708s]

 [INFO] Apache CloudStack Agents .. SUCCESS [5.966s]

 [INFO] Apache CloudStack Framework - Jobs  SUCCESS [1.623s]

 [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [1.682s]

 [INFO] Apache CloudStack Server .. SUCCESS
 [18.616s]

 [INFO] Apache CloudStack Usage Server  SUCCESS [5.502s]

 [INFO] Apache XenSource XAPI . SUCCESS [5.961s]

 [INFO] Apache CloudStack Cloud Engine Compute Component .. SUCCESS 

Re: Cloudstack local storage

2013-11-29 Thread Koushik Das
For using system VMs on local storage there is a global setting 
system.vm.use.local.storage which needs to be set to true.

-Koushik

On 29-Nov-2013, at 7:47 PM, Antonio Petrocelli a.petroce...@netsons.com wrote:

 Hello,
 
 we want use cloudstack 4.2 with local storage + VMware 5.1.
 
 https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/about-primary-storage.html
 
 On this webpage it said:
 
 If you intend to use only local disk for your installation, you can skip to 
 Add Secondary Storage.
 
 If we skip secondary storage setup during adding a zone, our log file is full 
 of following messages:
 

[Koushik] You mean skip primary storage setup. Right? The local storage 
associated with each host is shown as a primary storage and so you don't need 
to explicitly setup one based on shared storage. You still need to setup 
secondary storage.

 2013-11-29 12:52:49,509 DEBUG [storage.secondary.SecondaryStorageManagerImpl] 
 (secstorage-1:null) System vm template is not ready at data center 2, wait 
 until it is ready to launch secondary storage vm
 
 2013-11-29 12:52:49,509 DEBUG [storage.secondary.SecondaryStorageManagerImpl] 
 (secstorage-1:null) Zone 2 is not ready to launch secondary storage VM yet
 
 2013-11-29 12:52:49,654 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] 
 (consoleproxy-1:null) System vm template is not ready at data center 2, wait 
 until it is ready to launch console proxy vm
 
 2013-11-29 12:52:49,654 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] 
 (consoleproxy-1:null) Zone 2 is not ready to launch console proxy yet
 
 Also there are no system vm or router vm on cloudstack after hours that we 
 created zones.
 
 Web Error during upload template file: Unable to find image store to download 
 template null
 
 No error in log.
 
 Thanks.
 
 Best Regards.



RE: Issue building Deb packages from source

2013-11-29 Thread Vosbury, David


The jar files are in the maven repository. If they are corrupted where would I 
get replacements? Or is there some environment variable for maven that I have 
set so that it can find these jars? 

-Original Message-
From: David Nalley [mailto:da...@gnsa.us] 
Sent: Friday, November 29, 2013 9:41 AM
To: dev@cloudstack.apache.org
Subject: Re: Issue building Deb packages from source

Yes this - maven has either a corrupted jar or wasn't able to get the jar and 
is now complaining.

--David

On Fri, Nov 29, 2013 at 7:20 AM, Wei ZHOU ustcweiz...@gmail.com wrote:
 This is because the incorrect .jar file or .pom file is missing in the 
 maven repository, I think.


 2013/11/29 Saksham Srivastava saksham.srivast...@citrix.com

 Can you try replacing -Dnonoss with -Dnoredist

 Thanks,
 Saksham

 -Original Message-
 From: Vosbury, David [mailto:david.vosb...@systemsmadesimple.com]
 Sent: Friday, November 29, 2013 5:31 PM
 To: dev@cloudstack.apache.org
 Subject: Issue building Deb packages from source



  Original Message 
 Subject: Issue building Deb packages from source
 From: Vosbury, David david.vosb...@systemsmadesimple.com
 To: d...@cloudsrack.apache.org
 CC:

 I'm not sure if this is a question for the users or the Dev list so 
 I'm posting to both.

 I'm new to building CloudStack from source. I'm having some 
 difficulty creating my Deb packages. I'm trying to compile with the nonoss 
 options.
 I've been going through the documentation for building from source 
 and I'm using the nonoss option to get the vmware support. When 
 following the build docs I get successful compiles when running mvn 
 clean install -Dnonoss and when doing mvn -P deps -Dnonoss (although 
 I do get a message at the end of the compile that it couldn't find 
 the deps profile, but the compile shows successful). When I try to 
 compile to my deb packages I get an error message at the end and It also 
 doesn't look like the nonoss modules build.
 It looks like a default oss build. Here is the error messages I get 
 back when trying to compile the debs. Please help as I have an 
 upcoming deadline to get this CloudStack install up and running and 
 this is really holding me up. It seems like maybe I need to change 
 something in the configuration for the deb build, but I'm not sure 
 where to do that. It also seems like the deb build is failing with 
 the aws api module build. Is there a way to remove that from the 
 build if that is the issue? I don't need aws support at this time. Is 
 there an option I need to add when doing the deb build to get the nonoss 
 modules to build? Anyway, here's the error message.



 [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
 cloud-awsapi
   ---

 [INFO] Compiling 1296 source files to 
 /home/dvosbury/apache-cloudstack-4.2.0-src

  /awsapi/target/classes

 [INFO] -

 [ERROR] COMPILATION ERROR :

 [INFO] -

 [ERROR] error: error reading
 /home/dvosbury/.m2/repository/org/apache/axis2/mex/

  1.5.4/mex-1.5.4-impl.jar; error in opening zip file

 [ERROR] error: error reading
 /home/dvosbury/.m2/repository/org/apache/axis2/axis

  2-mtompolicy/1.5.4/axis2-mtompolicy-1.5.4.jar; error in opening zip 
 file

 [ERROR] error: error reading
 /home/dvosbury/.m2/repository/org/apache/ws/commons

  /axiom/axiom-dom/1.2.10/axiom-dom-1.2.10.jar; error in opening zip 
 file

 [ERROR] error: error reading
 /home/dvosbury/.m2/repository/org/opensaml/opensaml

  1/1.1/opensaml1-1.1.jar; error in opening zip file

 [ERROR] error: error reading
 /home/dvosbury/.m2/repository/commons-lang/commons-

  lang/2.3/commons-lang-2.3.jar; error in opening zip file

 [INFO] 5 errors

 [INFO] -

 [INFO]
 -
 ---

 [INFO] Reactor Summary:

 [INFO]

 [INFO] Apache CloudStack . SUCCESS 
 [1.890s]

 [INFO] Apache CloudStack Utils ... SUCCESS 
 [10.227s]

 [INFO] Apache CloudStack API . SUCCESS 
 [10.884s]

 [INFO] Apache CloudStack Framework ... SUCCESS 
 [0.072s]

 [INFO] Apache CloudStack Framework - REST  SUCCESS 
 [2.908s]

 [INFO] Apache CloudStack Framework - IPC . SUCCESS 
 [4.501s]

 [INFO] Apache CloudStack Cloud Engine  SUCCESS 
 [0.062s]

 [INFO] Apache CloudStack Cloud Engine API  SUCCESS 
 [5.064s]

 [INFO] Apache CloudStack Cloud Engine Internal Components API  
 SUCCESS [1.810s]

 [INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS 
 [9.314s]

 [INFO] Apache CloudStack Core  SUCCESS 
 [7.708s]

 [INFO] Apache CloudStack Agents .. SUCCESS 
 [5.966s]

 [INFO] Apache 

Fwd: New Defects reported by Coverity Scan for cloudstack

2013-11-29 Thread Hugo Trippaers
FYI

Sent from my iPhone

Begin forwarded message:

 From: scan-ad...@coverity.com
 Date: 29 november 2013 14:39:56 CET
 Subject: New Defects reported by Coverity Scan for cloudstack
 
 
 Hi,
 
 
 Please find the latest report on new defect(s) introduced to cloudstack found 
 with Coverity Scan.
 
 Defect(s) Reported-by: Coverity Scan
 Showing 6 of 6 defect(s)
 
 
 ** CID 1116269:  Nesting level does not match indentation  
 (NESTING_INDENT_MISMATCH)
 /awsapi/src/com/cloud/bridge/service/controller/s3/ServiceProvider.java: 124 
 in 
 com.cloud.bridge.service.controller.s3.ServiceProvider.getManagementHostId()()
 
 ** CID 1133706:  Dereference after null check  (FORWARD_NULL)
 /server/src/com/cloud/vm/UserVmManagerImpl.java: 2803 in 
 com.cloud.vm.UserVmManagerImpl$3.doInTransaction(com.cloud.utils.db.TransactionStatus)()
 
 ** CID 1133705:  Resource leak on an exceptional path  (RESOURCE_LEAK)
 /server/src/com/cloud/server/ConfigurationServerImpl.java: 638 in 
 com.cloud.server.ConfigurationServerImpl.updateSSLKeystore()()
 
 ** CID 1133704:  SS: Unread field should be static  (FB.SS_SHOULD_BE_STATIC)
 /server/src/com/cloud/uuididentity/UUIDManagerImpl.java: 43 in ()
 
 ** CID 1133703:  Dm: Dubious method used  (FB.DM_DEFAULT_ENCODING)
 /plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LdapImportUsersCmd.java:
  197 in 
 org.apache.cloudstack.api.command.LdapImportUsersCmd.generatePassword()()
 
 ** CID 1133702:  DLS: Dead local store  (FB.DLS_DEAD_LOCAL_STORE)
 /plugins/network-elements/juniper-contrail/src/org/apache/cloudstack/network/contrail/model/VirtualMachineModel.java:
  119 in 
 org.apache.cloudstack.network.contrail.model.VirtualMachineModel.buildServiceInstance(org.apache.cloudstack.network.contrail.model.ModelController,
  java.lang.String)()
 
 
 
 
 
 To view the defects in Coverity Scan visit, http://scan.coverity.com
 
 To unsubscribe from the email notification for new defects, 
 http://scan5.coverity.com/cgi-bin/unsubscribe.py
 
 
 


Re: Cloudstack local storage

2013-11-29 Thread Antonio Petrocelli

Yes, we dit it...

Thanks

Il 29/11/2013 16:13, Koushik Das ha scritto:

For using system VMs on local storage there is a global setting 
system.vm.use.local.storage which needs to be set to true.

-Koushik

On 29-Nov-2013, at 7:47 PM, Antonio Petrocelli a.petroce...@netsons.com wrote:


Hello,

we want use cloudstack 4.2 with local storage + VMware 5.1.

https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/about-primary-storage.html

On this webpage it said:

If you intend to use only local disk for your installation, you can skip to Add 
Secondary Storage.

If we skip secondary storage setup during adding a zone, our log file is full 
of following messages:


[Koushik] You mean skip primary storage setup. Right? The local storage 
associated with each host is shown as a primary storage and so you don't need 
to explicitly setup one based on shared storage. You still need to setup 
secondary storage.


2013-11-29 12:52:49,509 DEBUG [storage.secondary.SecondaryStorageManagerImpl] 
(secstorage-1:null) System vm template is not ready at data center 2, wait 
until it is ready to launch secondary storage vm

2013-11-29 12:52:49,509 DEBUG [storage.secondary.SecondaryStorageManagerImpl] 
(secstorage-1:null) Zone 2 is not ready to launch secondary storage VM yet

2013-11-29 12:52:49,654 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] 
(consoleproxy-1:null) System vm template is not ready at data center 2, wait 
until it is ready to launch console proxy vm

2013-11-29 12:52:49,654 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] 
(consoleproxy-1:null) Zone 2 is not ready to launch console proxy yet

Also there are no system vm or router vm on cloudstack after hours that we 
created zones.

Web Error during upload template file: Unable to find image store to download 
template null

No error in log.

Thanks.

Best Regards.




Adding vmware support to my cloudstack install

2013-11-29 Thread Vosbury, David
I have an oss CloudStack install that I installed using a repo (installed using 
apt-get). I want to add the vmware support so I can use CloudStack with my 
vsphere cluster. Is there a way to do this without doing a complete reinstall? 
I've read that you have compile with the SDK for VMWare which I've tried with 
some limited success. I can get the compile to work, but when I try to compile 
to a deb package it fails on the AWS SDK compile. I haven't found a way around 
this yet. I'd like to just add the vmware support to my existing install if 
possible. Does anyone know how to do this?

David Vosbury