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" <tpod...@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!

Reply via email to