Skip to content

Unable to load module context from URL after restart of cloudstack-management service #10079

@alfadhir

Description

@alfadhir
ISSUE TYPE
  • Bug Report
COMPONENT NAME
cloudstack-management service
CLOUDSTACK VERSION
4.19.1.3
CONFIGURATION

Two management nodes, and database replication.

OS / ENVIRONMENT

Oracle Linux 9.5

SUMMARY

When restarting the management service it will not go up again. There are errors saying that "Application context not found for module definition [system, core, allocator, host-allocator-random, planner, api-planner]... "

The list goes on with a lot of modules that are unable to find application context.

It seems like there is a reference to a bean called 'DefaultConfigResources' that are missing.

STEPS TO REPRODUCE
Restart of management server did trigger this error.
EXPECTED RESULTS
Expected that the management server service would start properly
ACTUAL RESULTS
"Error creating bean with name 'org.springframework.beans.facory.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.3.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml] Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations' No bean named 'DefaultConfigResources' available"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions