Replies: 8 comments
-
I have exact same problem. I have multiple environments. It happened on new install, but also on upgrade of production one. Only way back was restore database and ACS management server. |
Beta Was this translation helpful? Give feedback.
-
I don't think deployment onto Ubuntu was tested at all, because as a test I set up a Rocky 9 instance and was able to install Cloudstack without issue on that. |
Beta Was this translation helpful? Give feedback.
-
I have it running on RHEL 9.6. |
Beta Was this translation helpful? Give feedback.
-
@rastopato
can you update sudoers file to allow for example
or update the file |
Beta Was this translation helpful? Give feedback.
-
ok, very first error is: |
Beta Was this translation helpful? Give feedback.
-
The missing sudoers entry appears to have been the blocker for me. The management server now installs and runs. I guess it got missed in the ubuntu install packaging. |
Beta Was this translation helpful? Give feedback.
-
@rastopato |
Beta Was this translation helpful? Give feedback.
-
It was from restored to original working state. I don't have time to try it again now, but later I will try and collect all logs. But I didn't have success 3 times on 2 different environments :( |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
problem
Followed the instructions to create a new management server with a separate mysql server. Like many others, the server fails to start. When I try to go to http::8080, I get:
HTTP ERROR 503 Service Unavailable
When I look at the logs, I see multiple errors, although the two that stick out for me are:
management-server.out: lots of
2025-09-05 22:24:28,011 main ERROR TcpSocketManager (TCP:localhost:4560) caught exception and will continue: java.io.IOException: Unable to create socket for localhost at port 4560 using ip address 127.0.0.1 and port 4560
management-server.log:
Unhandled configuration exception: The script injectkeys.sh failed to run successfully : Files /var/lib/cloudstack/management/.ssh/id_rsa and /usr/share/cloudstack-common/scripts/vm/systemvm/id_rsa.cloud differsudo: a password is required
2025-09-05 22:26:17,543 DEBUG [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:[]) (logid:) module start failure of module [core] was due to: org.springframework.context.ApplicationContextException: Failed to start bean 'cloudStackLifeCycle'; nested exception is com.cloud.utils.exception.CloudRuntimeException: Unhandled configuration exception
tons of module load errors for various modules such as:
2025-09-05 22:26:17,604 WARN [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:[]) (logid:) Failed to start module [allocator] 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.21.0.0.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].
This appears to be the same problem someone else had, but it doesn't look like it went anywhere. #11534 (reply in thread)
versions
ACS: v4.21
mysql: 8.0.43-0ubuntu0.22.04.1
Running on a Ubuntu 22.04 under VMWare Cloud.
1 nic
The steps to reproduce the bug
What to do about it?
Cloudstack is currently unusable out of the box.
I have attached:
-all the logs generated by the server
-a screen capture of the terminal
-the script I use to do the installation of cloudstack
screenshot.txt
install-cloudstack1.sh
logs.tgz
Beta Was this translation helpful? Give feedback.
All reactions