GitHub user weizhouapache 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
> > this is not the full command , if you copied from management server log. > > Yes, the command above was lifted from the log. I executed it in the command > line and pasted the output > > ```sh > 2024-09-10T11:52:05,946 DEBUG [c.c.u.s.SSHCmdHelper] > (qtp481511146-33:[ctx-b9629dea, ctx-60272547]) (logid:c352422a) 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 > ``` Can you enable NOPASSWD in sudoers for the user ? GitHub link: https://github.com/apache/cloudstack/discussions/10716#discussioncomment-12838769 ---- This is an automatically sent email for users@cloudstack.apache.org. To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org