GitHub user tampler added a comment to the discussion: can't setup agent, due to com.cloud.utils.exception.CloudRuntimeException: Failed to setup keystore on the KVM host
I see this error on ACS 4.20.0: ```sh can't setup agent, due to com.cloud.utils.exception.CloudRuntimeException: Failed to setup keystore on the KVM host: 192.168.1.1 - Failed to setup keystore on the K VM host: 192.168.1.1 ``` This happens due to the following: ```sh 2024-09-10T11:22:15,279 DEBUG [c.c.u.s.SSHCmdHelper] (qtp481511146-370:[ctx-23c36759, ctx-2d609a42]) (logid:136b20d9) SSH command: sudo /usr/share/cloudstack-common/scripts/util/keystore-setup /etc/cloudstack/agent/agent.properties /etc/cloudstack/agent/ SSH command output: sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper sudo: a password is required ``` So there's an invalid `ssh auth` on the `ACS mgmt` side when adding a host with the user/pass. Should be done with the "-S" option as per error above GitHub link: https://github.com/apache/cloudstack/discussions/10716#discussioncomment-12838765 ---- This is an automatically sent email for users@cloudstack.apache.org. To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org