Hi Rene,

Thanks for sharing.

I wonder if the mgmt server is started completely between the two steps

* restart cloudstack-management
* install rc packages


Kind regards,
Wei




On Wed, May 28, 2025 at 11:29 AM Rene Peinthor <rene.peint...@linbit.com>
wrote:

> Kinda, from an empty database.
> These are my install steps:
>
> * create VM's
> * install latest stable release of that branch 4.19.2
> * run cloudstack-setup-databases script
> * install systemvm template
> * restart cloudstack-management
> * install rc packages
> * restart cloudstack-management
> * BOOM
>
> On Wed, May 28, 2025 at 11:22 AM Daan Hoogland <daan.hoogl...@gmail.com>
> wrote:
>
> > Rene,
> >
> > You are saying this is an upgrade from 4.19.2?
> >
> > On Wed, May 28, 2025 at 11:13 AM Rene Peinthor <rene.peint...@linbit.com
> >
> > wrote:
> > >
> > > VM's already thrown away, but they were completely fresh setups or lets
> > say
> > > started from the 4.19.2.0 install (empty).
> > >
> > > I can recreate them if you want?
> > >
> > > On Wed, May 28, 2025 at 10:52 AM Wei ZHOU <ustcweiz...@gmail.com>
> wrote:
> > >
> > > > Hi Rene,
> > > >
> > > > The issue might be caused by some SQLException. Do you use a fresh
> > > > installation or upgrade an existing environment?
> > > > Can you check if there are exceptions in the management-server.log ?
> > > >
> > > >
> > > > -Wei
> > > >
> > > > On Wed, May 28, 2025 at 9:17 AM Rene Peinthor <
> > rene.peint...@linbit.com>
> > > > wrote:
> > > >
> > > > > -1
> > > > > As I couldn't test, I tried building the mentioned branch and I
> > wasn't
> > > > able
> > > > > to start the management server.
> > > > > I then tried the latest nightly build as I saw it is the same
> except
> > for
> > > > > the version number bump.
> > > > > But also that build failed with the same error:
> > > > >
> > > > > 2025-05-28 06:36:34,778 WARN
> > [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
> > > > > (main:null) (logid:) Failed to start module [redfish] due to:
> [Error
> > > > > creating bean with name
> > > > >
> > > >
> >
> 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0'
> > > > > defined in URL
> > > > >
> > > > >
> > > >
> >
> [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.2.0-snapshot.20250528.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]:
> > > > > Cannot resolve reference to bean 'DefaultConfigResources' while
> > setting
> > > > > bean property 'locations'; nested exception is
> > > > > org.springframework.beans.factory.NoSuchBeanDefinitionException: No
> > bean
> > > > > named 'DefaultConfigResources' available].
> > > > > 2025-05-28 06:36:34,779 DEBUG
> > [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
> > > > > (main:null) (logid:) module start failure of module [redfish] was
> > due to:
> > > > > org.springframework.beans.factory.BeanCreationException: Error
> > creating
> > > > > bean with name
> > > > >
> > > >
> >
> 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0'
> > > > > defined in URL
> > > > >
> > > > >
> > > >
> >
> [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.2.0-snapshot.20250528.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]:
> > > > > Cannot resolve reference to bean 'DefaultConfigResources' while
> > setting
> > > > > bean property 'locations'; nested exception is
> > > > > org.springframework.beans.factory.NoSuchBeanDefinitionException: No
> > bean
> > > > > named 'DefaultConfigResources' available
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1707)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1452)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:213)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:171)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:748)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.loadContext(DefaultModuleDefinitionSet.java:173)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet$2.with(DefaultModuleDefinitionSet.java:142)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:273)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:278)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:278)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:278)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:278)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:261)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.loadContexts(DefaultModuleDefinitionSet.java:130)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.load(DefaultModuleDefinitionSet.java:78)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.apache.cloudstack.spring.module.factory.ModuleBasedContextFactory.loadModules(ModuleBasedContextFactory.java:37)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.init(CloudStackSpringContext.java:70)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.<init>(CloudStackSpringContext.java:57)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.<init>(CloudStackSpringContext.java:61)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.apache.cloudstack.spring.module.web.CloudStackContextLoaderListener.contextInitialized(CloudStackContextLoaderListener.java:52)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:1073)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:572)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.eclipse.jetty.server.handler.ContextHandler.contextInitialized(ContextHandler.java:1002)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:765)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:379)
> > > > > at
> > > > >
> > > >
> >
> org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1449)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1414)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:916)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:288)
> > > > > at
> > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.eclipse.jetty.server.handler.gzip.GzipHandler.doStart(GzipHandler.java:426)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
> > > > > at org.eclipse.jetty.server.Server.start(Server.java:423)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97)
> > > > > at org.eclipse.jetty.server.Server.doStart(Server.java:387)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
> > > > > at org.apache.cloudstack.ServerDaemon.start(ServerDaemon.java:203)
> > > > > at org.apache.cloudstack.ServerDaemon.main(ServerDaemon.java:114)
> > > > > Caused by:
> > > > org.springframework.beans.factory.NoSuchBeanDefinitionException:
> > > > > No bean named 'DefaultConfigResources' available
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:874)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1358)
> > > > > at
> > > > >
> > > > >
> > > >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:309)
> > > > > ... 57 more
> > > > >
> > > > > On Tue, May 27, 2025 at 5:16 PM Daan Hoogland <
> > daan.hoogl...@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > Hi All,
> > > > > >
> > > > > > I've created a 4.19.3.0 release, with the following artifacts up
> > for a
> > > > > > vote:
> > > > > >
> > > > > > Git Branch and Commit SH:
> > > > > >
> https://github.com/apache/cloudstack/tree/4.19.3.0-RC20250527T1642
> > > > > > Commit: b00400d5fa8ad2b08a85139ae32f443adfb793a1
> > > > > >
> > > > > > Source release (checksums and signatures are available at the
> same
> > > > > > location):
> > > > > > https://dist.apache.org/repos/dist/dev/cloudstack/4.19.3.0/
> > > > > >
> > > > > > PGP release keys (signed using
> > > > 256ABDFB8D89EDE07540BE6ACEF9E802B86FEED4):
> > > > > > https://dist.apache.org/repos/dist/release/cloudstack/KEYS
> > > > > >
> > > > > > Vote will be open for 72 hours.
> > > > > >
> > > > > > For sanity in tallying the vote, can PMC members please be sure
> to
> > > > > > indicate "(binding)" with their vote?
> > > > > >
> > > > > > [ ] +1  approve
> > > > > > [ ] +0  no opinion
> > > > > > [ ] -1  disapprove (and reason why)
> > > > > >
> > > > > > --
> > > > > > Daan
> > > > > >
> > > > >
> > > >
> >
> >
> >
> > --
> > Daan
> >
>

Reply via email to