tarmof commented on issue #3614: Upgrade failing from 4.12 to 4.13
URL: https://github.com/apache/cloudstack/issues/3614#issuecomment-539471795
 
 
   Hello, is it any possibility do this via console or direct database 
modification?
   I cannot start version 4.12 cloudstack-management any more.
   It gives error;
   2019-10-08 01:00:15,775 DEBUG [o.a.c.f.c.i.ConfigDepotImpl] (main:null) 
(logid:) Retrieving keys from RootCAProvider
   2019-10-08 01:00:15,803 DEBUG [o.a.c.s.l.r.ExtensionRegistry] (main:null) 
(logid:) Registering extension [RootCAProvider] in [Ca Providers Registry]
   2019-10-08 01:00:15,803 DEBUG [o.a.c.s.l.r.RegistryLifecycle] (main:null) 
(logid:) Registered org.apache.cloudstack.ca.provider.RootCAProvider@20e4e27f
   2019-10-08 01:00:15,803 INFO  [o.a.c.s.l.CloudStackExtendedLifeCycle] 
(main:null) (logid:) Configuring CloudStack Components
   2019-10-08 01:00:15,828 WARN  [o.a.c.s.m.c.ResourceApplicationContext] 
(main:null) (logid:) Exception encountered during context initialization - 
cancelling refresh attempt: 
org.springframework.context.ApplicationContextException: Failed to start bean '
   cloudStackLifeCycle'; nested exception is java.lang.NullPointerException
   2019-10-08 01:00:15,829 WARN  [o.e.j.w.WebAppContext] (main:null) (logid:) 
Failed startup of context 
o.e.j.w.WebAppContext@58fdd99{/client,file:///usr/share/cloudstack-management/webapp/,UNAVAILABLE}{/usr/share/cloudstack-management/webapp}
   org.springframework.context.ApplicationContextException: Failed to start 
bean 'cloudStackLifeCycle'; nested exception is java.lang.NullPointerException
           at 
org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:186)
           at 
org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:52)
           at 
org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:358)
           at 
org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:159)
           at 
org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:123)
           at 
org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:884)
           at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:552)
           at 
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.loadContext(DefaultModuleDefinitionSet.java:145)
           at 
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet$2.with(DefaultModuleDefinitionSet.java:122)
           at 
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:245)
           at 
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:250)
           at 
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:250)
           at 
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:250)
           at 
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:250)
           at 
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:250)
           at 
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:233)
           at 
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.loadContexts(DefaultModuleDefinitionSet.java:117)
           at 
org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.load(DefaultModuleDefinitionSet.java:79)
           at 
org.apache.cloudstack.spring.module.factory.ModuleBasedContextFactory.loadModules(ModuleBasedContextFactory.java:37)
           at 
org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.init(CloudStackSpringContext.java:71)
           at 
org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.<init>(CloudStackSpringContext.java:58)
           at 
org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.<init>(CloudStackSpringContext.java:62)
           at 
org.apache.cloudstack.spring.module.web.CloudStackContextLoaderListener.contextInitialized(CloudStackContextLoaderListener.java:52)
           at 
org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:890)
           at 
org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:532)
           at 
org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:853)
           at 
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:344)
           at 
org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1515)
           at 
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1477)
           at 
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:785)
           at 
org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:261)
           at 
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
           at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
           at 
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:133)
           at 
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:107)
           at 
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
           at 
org.eclipse.jetty.server.handler.gzip.GzipHandler.doStart(GzipHandler.java:273)
           at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
           at 
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:133)
           at 
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:115)
           at 
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
           at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
           at 
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:133)
           at org.eclipse.jetty.server.Server.start(Server.java:418)
           at 
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:107)
           at 
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
           at org.eclipse.jetty.server.Server.doStart(Server.java:385)
           at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
           at org.apache.cloudstack.ServerDaemon.start(ServerDaemon.java:186)
           at org.apache.cloudstack.ServerDaemon.main(ServerDaemon.java:103)
   Caused by: java.lang.NullPointerException
           at 
org.apache.cloudstack.utils.security.CertUtils.pemToPublicKey(CertUtils.java:145)
           at 
org.apache.cloudstack.ca.provider.RootCAProvider.loadRootCAKeyPair(RootCAProvider.java:335)
           at 
org.apache.cloudstack.ca.provider.RootCAProvider.setupCA(RootCAProvider.java:381)
           ... 55 more
   2019-10-08 01:00:15,831 INFO  [o.e.j.s.h.ContextHandler] (main:null) 
(logid:) Started o.e.j.s.h.MovedContextHandler@679b62af{/,null,AVAILABLE}
   2019-10-08 01:00:15,850 INFO  [o.e.j.s.AbstractConnector] (main:null) 
(logid:) Started ServerConnector@1a1d6a08{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
   2019-10-08 01:00:15,850 INFO  [o.e.j.s.Server] (main:null) (logid:) Started 
@22604ms
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to