Can you pull in latest, I had already cherry picked Min's fix CLOUDSTACK-4516
> -----Original Message----- > From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com] > Sent: Tuesday, August 27, 2013 4:02 PM > To: dev@cloudstack.apache.org > Subject: Re: Can't bring up a new 4.2 environment > > By the way, I just have a single XenServer 6.1 host in this env. > > > On Tue, Aug 27, 2013 at 5:01 PM, Mike Tutkowski < > mike.tutkow...@solidfire.com> wrote: > > > Hi, > > > > I've tried twice to create a new 4.2 environment (clean DB, starting > > over from scratch), but both times I received the following exception > (below). > > > > System VMs won't start. > > > > Any thoughts on this? > > > > Thanks! > > Mike > > > > INFO [cloud.secstorage.PremiumSecondaryStorageManagerImpl] > > (secstorage-1:) No running secondary storage vms found in datacenter > > id=1, starting one INFO > > [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:) No > > stopped secondary storage vm is available, need to allocate a new > > secondary storage vm INFO > > [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:) No > > stopped console proxy is available, need to allocate a new console > > proxy INFO [storage.volume.VolumeServiceImpl] (consoleproxy-1:) lock > > is acquired for VMTemplateStoragePool 1 WARN > > [storage.endpoint.DefaultEndPointSelector] (consoleproxy-1:) can't > > find endpoint > > > com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationExcepti > on: > > Column 'id' in where clause is ambiguous at > > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > > at > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructo > > rAccessorImpl.java:39) > > at > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo > > nstructorAccessorImpl.java:27) at > > java.lang.reflect.Constructor.newInstance(Constructor.java:513) > > at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) > > at com.mysql.jdbc.Util.getInstance(Util.java:386) > > at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1040) > > at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4074) > > at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4006) > > at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2468) > > at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2629) > > at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2719) > > at > > com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.jav > > a:2155) > > at > > com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2 > > 318) > > at > > org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Deleg > > atingPreparedStatement.java:96) > > at > > org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Deleg > > atingPreparedStatement.java:96) > > at > > org.apache.cloudstack.storage.endpoint.DefaultEndPointSelector.findEnd > > PointInScope(DefaultEndPointSelector.java:119) > > at > > org.apache.cloudstack.storage.endpoint.DefaultEndPointSelector.findEnd > > PointForImageMove(DefaultEndPointSelector.java:170) > > at > > org.apache.cloudstack.storage.endpoint.DefaultEndPointSelector.select( > > DefaultEndPointSelector.java:178) > > at > > org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.copyObj > > ect(AncientDataMotionStrategy.java:209) > > at > > org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.copyAsy > > nc(AncientDataMotionStrategy.java:411) > > at > > org.apache.cloudstack.storage.motion.DataMotionServiceImpl.copyAsync(D > > ataMotionServiceImpl.java:55) > > at > > org.apache.cloudstack.storage.volume.VolumeServiceImpl.createBaseImage > > Async(VolumeServiceImpl.java:439) > > at > > org.apache.cloudstack.storage.volume.VolumeServiceImpl.createVolumeFro > > mTemplateAsync(VolumeServiceImpl.java:543) > > at > > com.cloud.storage.VolumeManagerImpl.recreateVolume(VolumeManagerImpl.j > > ava:2526) at > > com.cloud.storage.VolumeManagerImpl.prepare(VolumeManagerImpl.java:258 > > 2) > > at > > com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineMana > > gerImpl.java:888) > > at > > com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl > > .java:578) > > at > > com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl > > .java:571) > > at > > com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxy > > ManagerImpl.java:556) > > at > > com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsolePr > > oxyManagerImpl.java:928) > > at > > com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxy > > ManagerImpl.java:1672) > > at > > com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxy > > ManagerImpl.java:157) at > > com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:111 > > ) > > at > > com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:3 > > 3) > > at > > com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java: > > 81) at > > com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72) > > at > > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439 > > ) > > at > > java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java: > > 317) at > > java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) > > at > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.a > > ccess$101(ScheduledThreadPoolExecutor.java:98) > > at > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.r > > unPeriodic(ScheduledThreadPoolExecutor.java:180) > > at > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.r > > un(ScheduledThreadPoolExecutor.java:204) > > at > > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecu > > tor.java:895) > > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor. > > java:918) at java.lang.Thread.run(Thread.java:680) > > > > > > > > -- > > *Mike Tutkowski* > > *Senior CloudStack Developer, SolidFire Inc.* > > e: mike.tutkow...@solidfire.com > > o: 303.746.7302 > > Advancing the way the world uses the > > cloud<http://solidfire.com/solution/overview/?video=play> > > *(tm)* > > > > > > -- > *Mike Tutkowski* > *Senior CloudStack Developer, SolidFire Inc.* > e: mike.tutkow...@solidfire.com > o: 303.746.7302 > Advancing the way the world uses the > cloud<http://solidfire.com/solution/overview/?video=play> > *(tm)*