Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
alfadhir opened this issue Dec 10, 2024 · 3 comments

Comments

@alfadhir
Copy link

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"
Copy link

boring-cyborg bot commented Dec 10, 2024

Thanks for opening your first issue here! Be sure to follow the issue template!

@weizhouapache
Copy link
Member

Any error log before it ?
For example SQLException ?

@rajujith
Copy link
Collaborator

@alfadhir please run grep ERROR management-server.log to see if there is an issue starting the application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

4 participants