mlsorensen commented on issue #6716: URL: https://github.com/apache/cloudstack/issues/6716#issuecomment-1246913817
> @Hudratronium After trying a lot and everything I gave up, and decided to go with an officially supported distro - Centos 7x minimal Host adding worked out of box without any issue, I am stuck with systemVMs are in starting state from last 12 hours, not sure how much time I should wait. > > ## About what you said: (in case of Ubuntu 20.04) > I am using the root user for all operations. I don't have cloudstack user. `root ALL=(ALL) ALL` Second, when I try keystore-setup from ssh, this is what I get: > > ``` > sudo /usr/share/cloudstack-common/scripts/util/keystore-setup > cat: : No such file or directory > chmod: missing operand after ‘600’ > Try 'chmod --help' for more information. > chmod: missing operand after ‘600’ > Try 'chmod --help' for more information. > chmod: missing operand after ‘600’ > Try 'chmod --help' for more information. > ``` These errors when manually running `keystore-setup` are likely due to not providing all of the extra flags necessary to run `keystore-setup` script. They point to empty variables. You can possibly try something like this to see if it works on the Ubuntu system, or perhaps exposes a missing utility or path: ``` /usr/share/cloudstack-common/scripts/util/keystore-setup /etc/cloudstack/agent/agent.properties /etc/cloudstack/agent/cloud.jks mykeystorepassword 365 /etc/cloudstack/agent/cloud.csr ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
