You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Thomas O'Dowd <tp...@cloudian.com> on 2013/07/26 05:07:28 UTC
Re: Build failure on 4.2 branch also...anyone know what this is?
I've just cloned a fresh cloudstack and am trying to build the 4.2
branch. I'm also hitting a build error.
Using this command:
mvn -P developer,systemvm clean install
[INFO] Apache CloudStack Developer Mode .................. SUCCESS
[0.911s]
[INFO] Apache CloudStack Developer Tools ................. SUCCESS
[0.154s]
[INFO] Apache CloudStack apidocs ......................... FAILURE
[7.031s]
[INFO] Apache CloudStack marvin .......................... SKIPPED
[INFO] Apache CloudStack cloudmonkey cli ................. SKIPPED
[INFO] Apache CloudStack DevCloud ........................ SKIPPED
[INFO] Apache CloudStack DevCloud-KVM .................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3:32.513s
[INFO] Finished at: Fri Jul 26 11:50:27 JST 2013
[INFO] Final Memory: 48M/205M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (compile) on project
cloud-apidoc: Command execution failed. Process exited with an error: 1
(Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :cloud-apidoc
[tpodowd@bertha cloudstack (4.2)]$ git pull
Already up-to-date.
On Fri, 2013-07-26 at 02:54 +0000, Alex Huang wrote:
> [INFO] --- exec-maven-plugin:1.2.1:exec (compile) @ cloud-apidoc ---
> Check, is this api part of another build profile? Null value for key: configureSimulator preProcessedCommand=1
> Traceback (most recent call last):
> File "/cyg/d/src/acs/master/tools/apidoc/gen_toc.py", line 189, in <module>
> category = choose_category(fn)
> File "/cyg/d/src/acs/master/tools/apidoc/gen_toc.py", line 169, in choose_category
> (fn, __file__))
> Exception: Need to add a category for deleteCacheStore.xml to /cyg/d/src/acs/master/tools/apidoc/gen_toc.py:known_categories
>
>
> Thanks.
> --Alex
--
Cloudian KK - http://www.cloudian.com/get-started.html
Fancy 100TB of full featured S3 Storage?
Checkout the Cloudian® Community Edition!
Re: Build failure on 4.2 branch also...anyone know what this is?
Posted by Thomas O'Dowd <tp...@cloudian.com>.
Ok. seems like msql had some trouble. It was running but was logging
this error:
InnoDB: Error: Cannot create temporary merge file
So, I restarted and tried again. The deploydb is working now. Whew.
Tom.
On Fri, 2013-07-26 at 14:13 +0900, Thomas O'Dowd wrote:
> Min,
>
> Opps. I had not. am trying the db now but I keep getting this error.
>
> mvn -P developer -pl developer,tools/devcloud -Ddeploydb
>
> [INFO] Apache CloudStack Developer Mode
> [INFO] Apache CloudStack DevCloud
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache CloudStack Developer Mode 4.2.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties (default) @ cloud-developer ---
> [WARNING] Ignoring missing properties file: /home/tpodowd/work/cloudstack/developer/../utils/conf/db.properties.override
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-developer ---
> [INFO]
> [INFO] --- maven-antrun-plugin:1.7:run (default) @ cloud-developer ---
> [INFO] Executing tasks
>
> main:
> [INFO] Executed tasks
> [INFO]
> [INFO] >>> exec-maven-plugin:1.2.1:java (create-schema) @ cloud-developer >>>
> [INFO]
> [INFO] <<< exec-maven-plugin:1.2.1:java (create-schema) @ cloud-developer <<<
> [INFO]
> [INFO] --- exec-maven-plugin:1.2.1:java (create-schema) @ cloud-developer ---
> log4j:WARN No appenders could be found for logger (org.springframework.core.env.StandardEnvironment).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
> ========> WARNING: Provided file does not exist: /home/tpodowd/work/cloudstack/developer/../utils/conf/db.properties.override
> ========> WARNING: Provided file does not exist: /home/tpodowd/work/cloudstack/developer/developer-prefill.sql.override
> ========> Initializing database=cloud with host=localhost port=3306 username=cloud password=cloud
> ============> Running query: drop database if exists `cloud`
> ============> Running query: create database `cloud`
> ============> Running query: GRANT ALL ON cloud.* to 'cloud'@`localhost` identified by 'cloud'
> ============> Running query: GRANT ALL ON cloud.* to 'cloud'@`%` identified by 'cloud'
> ========> Initializing database=cloud_usage with host=localhost port=3306 username=cloud password=cloud
> ============> Running query: drop database if exists `cloud_usage`
> ============> Running query: create database `cloud_usage`
> ============> Running query: GRANT ALL ON cloud_usage.* to 'cloud'@`localhost` identified by 'cloud'
> ============> Running query: GRANT ALL ON cloud_usage.* to 'cloud'@`%` identified by 'cloud'
> ========> Initializing database=cloudbridge with host=localhost port=3306 username=cloud password=cloud
> ============> Running query: drop database if exists `cloudbridge`
> ============> Running query: create database `cloudbridge`
> ============> Running query: GRANT ALL ON cloudbridge.* to 'cloud'@`localhost` identified by 'cloud'
> ============> Running query: GRANT ALL ON cloudbridge.* to 'cloud'@`%` identified by 'cloud'
> ========> Processing SQL file at /home/tpodowd/work/cloudstack/developer/target/db/create-schema.sql
> ========> Processing SQL file at /home/tpodowd/work/cloudstack/developer/target/db/create-schema-premium.sql
> Unable to execute /home/tpodowd/work/cloudstack/developer/target/db/create-schema-premium.sql: Can't create/write to file '/tmp/ibcQPZaj' (Errcode: 2)
>
>
> I'm not sure yet what the problem is. I have ample space on /tmp,
> permission looks good and I have just tested writing a file there and it
> works. Still poking around.
>
> Tom.
>
> On Fri, 2013-07-26 at 04:59 +0000, Min Chen wrote:
> > Did you updated your db? This error is due to missing a config value for ucs. I checked in a fix for this issue last Saturday to populate the default value during db set up?
> >
> > -min
> >
> > Sent from my iPhone
> >
> > On Jul 25, 2013, at 9:54 PM, "Thomas O'Dowd" <tp...@cloudian.com> wrote:
> >
> > > I've just got 4.2 branch to build again, but when I start the management server using:
> > >
> > > mvn -pl :cloud-client-ui jetty:run
> > >
> > > I get the following exception.
> > >
> > > INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.network.element.NiciraNvpElement_EnhancerByCloudStack_b60631c5
> > > INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.hypervisor.XenServerGuru_EnhancerByCloudStack_aec602ad
> > > INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.ha.XenServerInvestigator_EnhancerByCloudStack_649ff117
> > > INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.network.element.ElasticLoadBalancerElement_EnhancerByCloudStack_be3286e4
> > > INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.network.guru.NiciraNvpGuestNetworkGuru_EnhancerByCloudStack_c4d10f1
> > > INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.baremetal.networkservice.BaremetalPxeElement_EnhancerByCloudStack_59bf3495
> > > INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.server.ManagementServerImpl_EnhancerByCloudStack_c22fe0ec
> > > INFO [utils.component.ComponentContext] (Timer-2:) Starting org.apache.cloudstack.storage.cache.manager.StorageCacheManagerImpl
> > > INFO [utils.component.ComponentContext] (Timer-2:) Starting com.cloud.configuration.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c37c90f
> > > INFO [utils.component.ComponentContext] (Timer-2:) Starting com.cloud.ucs.manager.UcsManagerImpl
> > > ERROR [utils.component.ComponentContext] (Timer-2:) Unhandled exception
> > > java.lang.NumberFormatException: null
> > > at java.lang.Integer.parseInt(Integer.java:454)
> > > at java.lang.Integer.valueOf(Integer.java:582)
> > > at com.cloud.ucs.manager.UcsManagerImpl.start(UcsManagerImpl.java:178)
> > > at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:135)
> > > at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:50)
> > > at java.util.TimerThread.mainLoop(Timer.java:555)
> > > at java.util.TimerThread.run(Timer.java:505)
> > > Exception in thread "Timer-2" java.lang.RuntimeException: Unable to start com.cloud.ucs.manager.UcsManagerImpl
> > > at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:141)
> > > at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:50)
> > > at java.util.TimerThread.mainLoop(Timer.java:555)
> > > at java.util.TimerThread.run(Timer.java:505)
> > > Caused by: java.lang.NumberFormatException: null
> > > at java.lang.Integer.parseInt(Integer.java:454)
> > > at java.lang.Integer.valueOf(Integer.java:582)
> > > at com.cloud.ucs.manager.UcsManagerImpl.start(UcsManagerImpl.java:178)
> > > at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:135)
> > > ... 3 more
> > >
> > > On Fri, 2013-07-26 at 13:37 +0900, Thomas O'Dowd wrote:
> > >> Thanks Alex, Seems Prasanna has committed a fix that lets me build
> > >> again. Thank you!
> > >>
> > >> Tom.
> > >
> > > --
> > > Cloudian KK - http://www.cloudian.com/get-started.html
> > > Fancy 100TB of full featured S3 Storage?
> > > Checkout the Cloudian® Community Edition!
> > >
>
--
Cloudian KK - http://www.cloudian.com/get-started.html
Fancy 100TB of full featured S3 Storage?
Checkout the Cloudian® Community Edition!
Re: Build failure on 4.2 branch also...anyone know what this is?
Posted by Thomas O'Dowd <tp...@cloudian.com>.
Min,
Opps. I had not. am trying the db now but I keep getting this error.
mvn -P developer -pl developer,tools/devcloud -Ddeploydb
[INFO] Apache CloudStack Developer Mode
[INFO] Apache CloudStack DevCloud
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack Developer Mode 4.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties (default) @ cloud-developer ---
[WARNING] Ignoring missing properties file: /home/tpodowd/work/cloudstack/developer/../utils/conf/db.properties.override
[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-developer ---
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (default) @ cloud-developer ---
[INFO] Executing tasks
main:
[INFO] Executed tasks
[INFO]
[INFO] >>> exec-maven-plugin:1.2.1:java (create-schema) @ cloud-developer >>>
[INFO]
[INFO] <<< exec-maven-plugin:1.2.1:java (create-schema) @ cloud-developer <<<
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:java (create-schema) @ cloud-developer ---
log4j:WARN No appenders could be found for logger (org.springframework.core.env.StandardEnvironment).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
========> WARNING: Provided file does not exist: /home/tpodowd/work/cloudstack/developer/../utils/conf/db.properties.override
========> WARNING: Provided file does not exist: /home/tpodowd/work/cloudstack/developer/developer-prefill.sql.override
========> Initializing database=cloud with host=localhost port=3306 username=cloud password=cloud
============> Running query: drop database if exists `cloud`
============> Running query: create database `cloud`
============> Running query: GRANT ALL ON cloud.* to 'cloud'@`localhost` identified by 'cloud'
============> Running query: GRANT ALL ON cloud.* to 'cloud'@`%` identified by 'cloud'
========> Initializing database=cloud_usage with host=localhost port=3306 username=cloud password=cloud
============> Running query: drop database if exists `cloud_usage`
============> Running query: create database `cloud_usage`
============> Running query: GRANT ALL ON cloud_usage.* to 'cloud'@`localhost` identified by 'cloud'
============> Running query: GRANT ALL ON cloud_usage.* to 'cloud'@`%` identified by 'cloud'
========> Initializing database=cloudbridge with host=localhost port=3306 username=cloud password=cloud
============> Running query: drop database if exists `cloudbridge`
============> Running query: create database `cloudbridge`
============> Running query: GRANT ALL ON cloudbridge.* to 'cloud'@`localhost` identified by 'cloud'
============> Running query: GRANT ALL ON cloudbridge.* to 'cloud'@`%` identified by 'cloud'
========> Processing SQL file at /home/tpodowd/work/cloudstack/developer/target/db/create-schema.sql
========> Processing SQL file at /home/tpodowd/work/cloudstack/developer/target/db/create-schema-premium.sql
Unable to execute /home/tpodowd/work/cloudstack/developer/target/db/create-schema-premium.sql: Can't create/write to file '/tmp/ibcQPZaj' (Errcode: 2)
I'm not sure yet what the problem is. I have ample space on /tmp,
permission looks good and I have just tested writing a file there and it
works. Still poking around.
Tom.
On Fri, 2013-07-26 at 04:59 +0000, Min Chen wrote:
> Did you updated your db? This error is due to missing a config value for ucs. I checked in a fix for this issue last Saturday to populate the default value during db set up?
>
> -min
>
> Sent from my iPhone
>
> On Jul 25, 2013, at 9:54 PM, "Thomas O'Dowd" <tp...@cloudian.com> wrote:
>
> > I've just got 4.2 branch to build again, but when I start the management server using:
> >
> > mvn -pl :cloud-client-ui jetty:run
> >
> > I get the following exception.
> >
> > INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.network.element.NiciraNvpElement_EnhancerByCloudStack_b60631c5
> > INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.hypervisor.XenServerGuru_EnhancerByCloudStack_aec602ad
> > INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.ha.XenServerInvestigator_EnhancerByCloudStack_649ff117
> > INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.network.element.ElasticLoadBalancerElement_EnhancerByCloudStack_be3286e4
> > INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.network.guru.NiciraNvpGuestNetworkGuru_EnhancerByCloudStack_c4d10f1
> > INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.baremetal.networkservice.BaremetalPxeElement_EnhancerByCloudStack_59bf3495
> > INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.server.ManagementServerImpl_EnhancerByCloudStack_c22fe0ec
> > INFO [utils.component.ComponentContext] (Timer-2:) Starting org.apache.cloudstack.storage.cache.manager.StorageCacheManagerImpl
> > INFO [utils.component.ComponentContext] (Timer-2:) Starting com.cloud.configuration.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c37c90f
> > INFO [utils.component.ComponentContext] (Timer-2:) Starting com.cloud.ucs.manager.UcsManagerImpl
> > ERROR [utils.component.ComponentContext] (Timer-2:) Unhandled exception
> > java.lang.NumberFormatException: null
> > at java.lang.Integer.parseInt(Integer.java:454)
> > at java.lang.Integer.valueOf(Integer.java:582)
> > at com.cloud.ucs.manager.UcsManagerImpl.start(UcsManagerImpl.java:178)
> > at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:135)
> > at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:50)
> > at java.util.TimerThread.mainLoop(Timer.java:555)
> > at java.util.TimerThread.run(Timer.java:505)
> > Exception in thread "Timer-2" java.lang.RuntimeException: Unable to start com.cloud.ucs.manager.UcsManagerImpl
> > at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:141)
> > at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:50)
> > at java.util.TimerThread.mainLoop(Timer.java:555)
> > at java.util.TimerThread.run(Timer.java:505)
> > Caused by: java.lang.NumberFormatException: null
> > at java.lang.Integer.parseInt(Integer.java:454)
> > at java.lang.Integer.valueOf(Integer.java:582)
> > at com.cloud.ucs.manager.UcsManagerImpl.start(UcsManagerImpl.java:178)
> > at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:135)
> > ... 3 more
> >
> > On Fri, 2013-07-26 at 13:37 +0900, Thomas O'Dowd wrote:
> >> Thanks Alex, Seems Prasanna has committed a fix that lets me build
> >> again. Thank you!
> >>
> >> Tom.
> >
> > --
> > Cloudian KK - http://www.cloudian.com/get-started.html
> > Fancy 100TB of full featured S3 Storage?
> > Checkout the Cloudian® Community Edition!
> >
--
Cloudian KK - http://www.cloudian.com/get-started.html
Fancy 100TB of full featured S3 Storage?
Checkout the Cloudian® Community Edition!
Re: Build failure on 4.2 branch also...anyone know what this is?
Posted by Min Chen <mi...@citrix.com>.
Did you updated your db? This error is due to missing a config value for ucs. I checked in a fix for this issue last Saturday to populate the default value during db set up?
-min
Sent from my iPhone
On Jul 25, 2013, at 9:54 PM, "Thomas O'Dowd" <tp...@cloudian.com> wrote:
> I've just got 4.2 branch to build again, but when I start the management server using:
>
> mvn -pl :cloud-client-ui jetty:run
>
> I get the following exception.
>
> INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.network.element.NiciraNvpElement_EnhancerByCloudStack_b60631c5
> INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.hypervisor.XenServerGuru_EnhancerByCloudStack_aec602ad
> INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.ha.XenServerInvestigator_EnhancerByCloudStack_649ff117
> INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.network.element.ElasticLoadBalancerElement_EnhancerByCloudStack_be3286e4
> INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.network.guru.NiciraNvpGuestNetworkGuru_EnhancerByCloudStack_c4d10f1
> INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.baremetal.networkservice.BaremetalPxeElement_EnhancerByCloudStack_59bf3495
> INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.server.ManagementServerImpl_EnhancerByCloudStack_c22fe0ec
> INFO [utils.component.ComponentContext] (Timer-2:) Starting org.apache.cloudstack.storage.cache.manager.StorageCacheManagerImpl
> INFO [utils.component.ComponentContext] (Timer-2:) Starting com.cloud.configuration.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c37c90f
> INFO [utils.component.ComponentContext] (Timer-2:) Starting com.cloud.ucs.manager.UcsManagerImpl
> ERROR [utils.component.ComponentContext] (Timer-2:) Unhandled exception
> java.lang.NumberFormatException: null
> at java.lang.Integer.parseInt(Integer.java:454)
> at java.lang.Integer.valueOf(Integer.java:582)
> at com.cloud.ucs.manager.UcsManagerImpl.start(UcsManagerImpl.java:178)
> at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:135)
> at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:50)
> at java.util.TimerThread.mainLoop(Timer.java:555)
> at java.util.TimerThread.run(Timer.java:505)
> Exception in thread "Timer-2" java.lang.RuntimeException: Unable to start com.cloud.ucs.manager.UcsManagerImpl
> at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:141)
> at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:50)
> at java.util.TimerThread.mainLoop(Timer.java:555)
> at java.util.TimerThread.run(Timer.java:505)
> Caused by: java.lang.NumberFormatException: null
> at java.lang.Integer.parseInt(Integer.java:454)
> at java.lang.Integer.valueOf(Integer.java:582)
> at com.cloud.ucs.manager.UcsManagerImpl.start(UcsManagerImpl.java:178)
> at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:135)
> ... 3 more
>
> On Fri, 2013-07-26 at 13:37 +0900, Thomas O'Dowd wrote:
>> Thanks Alex, Seems Prasanna has committed a fix that lets me build
>> again. Thank you!
>>
>> Tom.
>
> --
> Cloudian KK - http://www.cloudian.com/get-started.html
> Fancy 100TB of full featured S3 Storage?
> Checkout the Cloudian® Community Edition!
>
Re: Build failure on 4.2 branch also...anyone know what this is?
Posted by Thomas O'Dowd <tp...@cloudian.com>.
I've just got 4.2 branch to build again, but when I start the management server using:
mvn -pl :cloud-client-ui jetty:run
I get the following exception.
INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.network.element.NiciraNvpElement_EnhancerByCloudStack_b60631c5
INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.hypervisor.XenServerGuru_EnhancerByCloudStack_aec602ad
INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.ha.XenServerInvestigator_EnhancerByCloudStack_649ff117
INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.network.element.ElasticLoadBalancerElement_EnhancerByCloudStack_be3286e4
INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.network.guru.NiciraNvpGuestNetworkGuru_EnhancerByCloudStack_c4d10f1
INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.baremetal.networkservice.BaremetalPxeElement_EnhancerByCloudStack_59bf3495
INFO [utils.component.ComponentContext] (Timer-2:) Configuring com.cloud.server.ManagementServerImpl_EnhancerByCloudStack_c22fe0ec
INFO [utils.component.ComponentContext] (Timer-2:) Starting org.apache.cloudstack.storage.cache.manager.StorageCacheManagerImpl
INFO [utils.component.ComponentContext] (Timer-2:) Starting com.cloud.configuration.dao.ConfigurationDaoImpl_EnhancerByCloudStack_6c37c90f
INFO [utils.component.ComponentContext] (Timer-2:) Starting com.cloud.ucs.manager.UcsManagerImpl
ERROR [utils.component.ComponentContext] (Timer-2:) Unhandled exception
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:454)
at java.lang.Integer.valueOf(Integer.java:582)
at com.cloud.ucs.manager.UcsManagerImpl.start(UcsManagerImpl.java:178)
at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:135)
at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:50)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Exception in thread "Timer-2" java.lang.RuntimeException: Unable to start com.cloud.ucs.manager.UcsManagerImpl
at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:141)
at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:50)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:454)
at java.lang.Integer.valueOf(Integer.java:582)
at com.cloud.ucs.manager.UcsManagerImpl.start(UcsManagerImpl.java:178)
at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:135)
... 3 more
On Fri, 2013-07-26 at 13:37 +0900, Thomas O'Dowd wrote:
> Thanks Alex, Seems Prasanna has committed a fix that lets me build
> again. Thank you!
>
> Tom.
--
Cloudian KK - http://www.cloudian.com/get-started.html
Fancy 100TB of full featured S3 Storage?
Checkout the Cloudian® Community Edition!
Re: Build failure on 4.2 branch also...anyone know what this is?
Posted by Thomas O'Dowd <tp...@cloudian.com>.
Thanks Alex, Seems Prasanna has committed a fix that lets me build
again. Thank you!
Tom.
On Fri, 2013-07-26 at 03:28 +0000, Alex Huang wrote:
> Looks like Min might have forgotten to checkin new files. Remove this line from client/tomcatconf/commands.properties.in to make it work.
>
> deleteCacheStore=1
>
> --Alex
--
Cloudian KK - http://www.cloudian.com/get-started.html
Fancy 100TB of full featured S3 Storage?
Checkout the Cloudian® Community Edition!
RE: Build failure on 4.2 branch also...anyone know what this is?
Posted by Alex Huang <Al...@citrix.com>.
Looks like Min might have forgotten to checkin new files. Remove this line from client/tomcatconf/commands.properties.in to make it work.
deleteCacheStore=1
--Alex
> -----Original Message-----
> From: Thomas O'Dowd [mailto:tpodowd@cloudian.com]
> Sent: Thursday, July 25, 2013 8:13 PM
> To: dev@cloudstack.apache.org
> Subject: Re: Build failure on 4.2 branch also...anyone know what this is?
>
> I guess I should include the exception also...
>
> Traceback (most recent call last):
> File "/home/tpodowd/work/cloudstack/tools/apidoc/gen_toc.py", line 189,
> in <module>
> category = choose_category(fn)
> File "/home/tpodowd/work/cloudstack/tools/apidoc/gen_toc.py", line 169,
> in choose_category
> (fn, __file__))
> Exception: Need to add a category for deleteCacheStore.xml to
> /home/tpodowd/work/cloudstack/tools/apidoc/gen_toc.py:known_categor
> ies
>
>
> On Fri, 2013-07-26 at 12:07 +0900, Thomas O'Dowd wrote:
> > I've just cloned a fresh cloudstack and am trying to build the 4.2
> > branch. I'm also hitting a build error.
> >
> > Using this command:
> > mvn -P developer,systemvm clean install
> >
> >
> > [INFO] Apache CloudStack Developer Mode .................. SUCCESS
> > [0.911s] [INFO] Apache CloudStack Developer Tools .................
> > SUCCESS [0.154s] [INFO] Apache CloudStack apidocs
> > ......................... FAILURE [7.031s] [INFO] Apache CloudStack
> > marvin .......................... SKIPPED [INFO] Apache CloudStack
> > cloudmonkey cli ................. SKIPPED [INFO] Apache CloudStack
> > DevCloud ........................ SKIPPED [INFO] Apache CloudStack
> > DevCloud-KVM .................... SKIPPED [INFO]
> > ----------------------------------------------------------------------
> > --
> > [INFO] BUILD FAILURE
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> > [INFO] Total time: 3:32.513s
> > [INFO] Finished at: Fri Jul 26 11:50:27 JST 2013 [INFO] Final Memory:
> > 48M/205M [INFO]
> > ----------------------------------------------------------------------
> > --
> > [ERROR] Failed to execute goal
> > org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (compile) on project
> > cloud-apidoc: Command execution failed. Process exited with an error:
> > 1 (Exit value: 1) -> [Help 1] [ERROR] [ERROR] To see the full stack
> > trace of the errors, re-run Maven with the -e switch.
> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> > [ERROR]
> > [ERROR] For more information about the errors and possible solutions,
> > please read the following articles:
> > [ERROR] [Help 1]
> >
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionExcepti
> o
> > n
> > [ERROR]
> > [ERROR] After correcting the problems, you can resume the build with
> > the command
> > [ERROR] mvn <goals> -rf :cloud-apidoc
> > [tpodowd@bertha cloudstack (4.2)]$ git pull Already up-to-date.
> >
> >
> > On Fri, 2013-07-26 at 02:54 +0000, Alex Huang wrote:
> > > [INFO] --- exec-maven-plugin:1.2.1:exec (compile) @ cloud-apidoc ---
> > > Check, is this api part of another build profile? Null value for
> > > key: configureSimulator preProcessedCommand=1 Traceback (most
> recent call last):
> > > File "/cyg/d/src/acs/master/tools/apidoc/gen_toc.py", line 189, in
> <module>
> > > category = choose_category(fn)
> > > File "/cyg/d/src/acs/master/tools/apidoc/gen_toc.py", line 169, in
> choose_category
> > > (fn, __file__))
> > > Exception: Need to add a category for deleteCacheStore.xml to
> > > /cyg/d/src/acs/master/tools/apidoc/gen_toc.py:known_categories
> > >
> > >
> > > Thanks.
> > > --Alex
> >
>
> --
> Cloudian KK - http://www.cloudian.com/get-started.html
> Fancy 100TB of full featured S3 Storage?
> Checkout the Cloudian® Community Edition!
Re: Build failure on 4.2 branch also...anyone know what this is?
Posted by Thomas O'Dowd <tp...@cloudian.com>.
I guess I should include the exception also...
Traceback (most recent call last):
File "/home/tpodowd/work/cloudstack/tools/apidoc/gen_toc.py", line
189, in <module>
category = choose_category(fn)
File "/home/tpodowd/work/cloudstack/tools/apidoc/gen_toc.py", line
169, in choose_category
(fn, __file__))
Exception: Need to add a category for deleteCacheStore.xml
to /home/tpodowd/work/cloudstack/tools/apidoc/gen_toc.py:known_categories
On Fri, 2013-07-26 at 12:07 +0900, Thomas O'Dowd wrote:
> I've just cloned a fresh cloudstack and am trying to build the 4.2
> branch. I'm also hitting a build error.
>
> Using this command:
> mvn -P developer,systemvm clean install
>
>
> [INFO] Apache CloudStack Developer Mode .................. SUCCESS
> [0.911s]
> [INFO] Apache CloudStack Developer Tools ................. SUCCESS
> [0.154s]
> [INFO] Apache CloudStack apidocs ......................... FAILURE
> [7.031s]
> [INFO] Apache CloudStack marvin .......................... SKIPPED
> [INFO] Apache CloudStack cloudmonkey cli ................. SKIPPED
> [INFO] Apache CloudStack DevCloud ........................ SKIPPED
> [INFO] Apache CloudStack DevCloud-KVM .................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3:32.513s
> [INFO] Finished at: Fri Jul 26 11:50:27 JST 2013
> [INFO] Final Memory: 48M/205M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (compile) on project
> cloud-apidoc: Command execution failed. Process exited with an error: 1
> (Exit value: 1) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR] mvn <goals> -rf :cloud-apidoc
> [tpodowd@bertha cloudstack (4.2)]$ git pull
> Already up-to-date.
>
>
> On Fri, 2013-07-26 at 02:54 +0000, Alex Huang wrote:
> > [INFO] --- exec-maven-plugin:1.2.1:exec (compile) @ cloud-apidoc ---
> > Check, is this api part of another build profile? Null value for key: configureSimulator preProcessedCommand=1
> > Traceback (most recent call last):
> > File "/cyg/d/src/acs/master/tools/apidoc/gen_toc.py", line 189, in <module>
> > category = choose_category(fn)
> > File "/cyg/d/src/acs/master/tools/apidoc/gen_toc.py", line 169, in choose_category
> > (fn, __file__))
> > Exception: Need to add a category for deleteCacheStore.xml to /cyg/d/src/acs/master/tools/apidoc/gen_toc.py:known_categories
> >
> >
> > Thanks.
> > --Alex
>
--
Cloudian KK - http://www.cloudian.com/get-started.html
Fancy 100TB of full featured S3 Storage?
Checkout the Cloudian® Community Edition!