-
Hello all, I am trying to run cloudstack-management from a Docker container (ACS 4.18.1 using Ubuntu 22.04 image). Most of it is working as expected, however I cannot start the SystemVMs. I am getting this in the logs of the ACS node: I understand that there is a script that can stop the management service to copy the SSH keys if running from a container with no privileges (/usr/share/cloudstack-common/scripts/vm/systemvm/injectkeys.sh):
I would really appreciate if someone had the time to explain the process when deploying a SystemVM in 4.18.1? When and how does it mount the SystemVM on the management server (is it always using /dev/loop0)? Any help will be much appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@Fr3dL I think it can be simplifed (to |
Beta Was this translation helpful? Give feedback.
Hi Wei, thanks for your reply.
Yes you're right, I forgot it was deprecated so that is not related.
I found the root cause. I was running the cloudstack-management service as root and not with the cloud user, so it couldn't create the management id_rsa.cloud keys in /var/lib/cloudstack/management/.ssh (in Ubuntu). It's working fine now.