GitHub user yann1ck-oder-so closed a discussion: can't add host in cloudstack cluster
Hello everyone, I’m currently stuck with the following issue: I have a management server and a KVM host, both running on Ubuntu. I can access the CloudStack GUI and have completed the initial setup. Now I’m trying to add the KVM host — I’ve attempted both the SSH key and password methods. Unfortunately, both fail with the following error: Error 530 Could not add host at [http://cs-wn2-iwa] with zone [Zone {"id": "1", "name": "Berne-IWA"}] ... due to: [Authentication error with ssh private key]. According to the official documentation: Copy the SSH public key from /var/cloudstack/management/.ssh/id_rsa.pub on the management server Add the copied key to /root/.ssh/authorized_keys on the host While adding the host from CloudStack UI, select “System SSH Key” However, the directory /var/cloudstack/management/.ssh/ does not exist on my management server. So I don’t have any id_rsa.pub file and I’m wondering whether the documentation is outdated or if I missed a step during setup. Has the location or procedure changed in recent CloudStack versions? Or how can I correctly generate and configure the system SSH key for host authentication? Thanks in advance! GitHub link: https://github.com/apache/cloudstack/discussions/11844 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
