Hi, a quick reminder on the steps of deploying new hosts: Your management-server triggers the agent-server via SSH to make a CSR for the internal SSL-Communication. If your management Server is not able to find a CSR, then there should be something wrong on your agent.
Kind Regards Sven -----Ursprüngliche Nachricht----- Von: technologyrss.m...@gmail.com <technologyrss.m...@gmail.com> Gesendet: Mittwoch, 16. November 2022 11:05 An: users@cloudstack.apache.org; d...@cloudstack.apache.org Betreff: Add Host error *Hello,* My environment is ACS version 15.0 and all server is centos 7.9, mysql 8 with nfs storage. I try to add kvm host to my cloud but unable to add host. Error like below. * * *ACS management server log. * 2022-11-15 20:37:20,081 WARN [c.c.a.d.ParamGenericValidationWorker] (qtp1010670443-365:ctx-839f860e ctx-9ed4feb8) (logid:09aed273) Received unknown parameters for command addHost. Unknown parameters : clustertype 2022-11-15 20:37:20,085 INFO [c.c.r.ResourceManagerImpl] (qtp1010670443-365:ctx-839f860e ctx-9ed4feb8) (logid:09aed273) Trying to add a new host at http://192.168.1.2 in data center 1 2022-11-15 20:37:20,286 DEBUG [c.c.u.s.SSHCmdHelper] (qtp1010670443-365:ctx-839f860e ctx-9ed4feb8) (logid:09aed273) Executing cmd: ls /dev/kvm 2022-11-15 20:37:21,377 DEBUG [c.c.u.s.SSHCmdHelper] (qtp1010670443-365:ctx-839f860e ctx-9ed4feb8) (logid:09aed273) SSH command: ls /dev/kvm SSH command output:/dev/kvm 2022-11-15 20:37:21,377 DEBUG [c.c.u.s.SSHCmdHelper] (qtp1010670443-365:ctx-839f860e ctx-9ed4feb8) (logid:09aed273) Executing cmd: rpm -qa | grep -i ovmf 2022-11-15 20:37:23,311 DEBUG [c.c.u.s.SSHCmdHelper] (qtp1010670443-365:ctx-839f860e ctx-9ed4feb8) (logid:09aed273) Executing cmd: rpm -qa | grep -i ovmf 2022-11-15 20:37:25,249 DEBUG [c.c.u.s.SSHCmdHelper] (qtp1010670443-365:ctx-839f860e ctx-9ed4feb8) (logid:09aed273) Executing cmd: rpm -qa | grep -i ovmf 2022-11-15 20:37:27,191 DEBUG [c.c.u.s.SSHCmdHelper] (qtp1010670443-365:ctx-839f860e ctx-9ed4feb8) (logid:09aed273) Executing cmd: sudo /usr/share/cloudstack-common/scripts/util/keystore-setup /etc/cloudstack/agent/agent.properties /etc/cloudstack/agent/ 2022-11-15 20:37:29,024 DEBUG [c.c.u.s.SSHCmdHelper] (qtp1010670443-365:ctx-839f860e ctx-9ed4feb8) (logid:09aed273) SSH command: sudo /usr/share/cloudstack-common/scripts/util/keystore-setup /etc/cloudstack/agent/agent.properties /etc/cloudstack/agent/ SSH command output: cat: /etc/cloudstack/agent/cloud.csr: No such file or directory chmod: cannot access ‘/etc/cloudstack/agent/cloud.csr’: No such file or directory 2022-11-15 20:37:29,025 DEBUG [c.c.u.s.SSHCmdHelper] (qtp1010670443-365:ctx-839f860e ctx-9ed4feb8) (logid:09aed273) Executing cmd: sudo /usr/share/cloudstack-common/scripts/util/keystore-setup /etc/cloudstack/agent/agent.properties /etc/cloudstack/agent/ 2022-11-15 20:37:30,444 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-c923ce1c) (logid:aa8a6338) Skip capacity scan as there is no Primary Storage in 'Up' state 2022-11-15 20:37:30,914 DEBUG [c.c.u.s.SSHCmdHelper] (qtp1010670443-365:ctx-839f860e ctx-9ed4feb8) (logid:09aed273) SSH command: sudo /usr/share/cloudstack-common/scripts/util/keystore-setup /etc/cloudstack/agent/agent.properties /etc/cloudstack/agent/ SSH command output: cat: /etc/cloudstack/agent/cloud.csr: No such file or directory chmod: cannot access ‘/etc/cloudstack/agent/cloud.csr’: No such file or directory 2022-11-15 20:37:30,914 DEBUG [c.c.u.s.SSHCmdHelper] (qtp1010670443-365:ctx-839f860e ctx-9ed4feb8) (logid:09aed273) Executing cmd: sudo /usr/share/cloudstack-common/scripts/util/keystore-setup /etc/cloudstack/agent/agent.properties /etc/cloudstack/agent/ 2022-11-15 20:37:32,749 DEBUG [c.c.u.s.SSHCmdHelper] (qtp1010670443-365:ctx-839f860e ctx-9ed4feb8) (logid:09aed273) SSH command: sudo /usr/share/cloudstack-common/scripts/util/keystore-setup /etc/cloudstack/agent/agent.properties /etc/cloudstack/agent/ SSH command output: cat: /etc/cloudstack/agent/cloud.csr: No such file or directory chmod: cannot access ‘/etc/cloudstack/agent/cloud.csr’: No such file or directory 2022-11-15 20:37:32,750 WARN [c.c.h.k.d.LibvirtServerDiscoverer] (qtp1010670443-365:ctx-839f860e ctx-9ed4feb8) (logid:09aed273) can't setup agent, due to com.cloud.utils.exception.CloudRuntimeException: Failed to setup keystore on the KVM host: 192.168.1.2 - Failed to setup keystore on the KVM host: 192.168.1.2 *KVM server log.* 2022-11-16 14:13:43,502 INFO [cloud.agent.Agent] (main:null) (logid:) Connecting to host:localhost 2022-11-16 14:13:43,502 INFO [utils.nio.NioClient] (main:null) (logid:) Connecting to localhost:8250 2022-11-16 14:13:43,503 WARN [utils.nio.NioConnection] (main:null) (logid:) Unable to connect to remote: is there a server running on port 8250 *Please help me..* -- *Thanks & Regards.* *Support Admin* ------------------------------------------------------------------------ *Facebook <https://www.facebook.com/TechnologyRSS> | Twitter <https://twitter.com/technologyrss1> | YouTube <https://www.youtube.com/channel/UCBq7qGqFEUe6ObVHMuxudTw> | LinkedIn <https://www.linkedin.com/company/technologyrss/>* *Address : *63-B, D.I.T Road, Malibagh chowdhury para (Ground floor of NCC bank) Dhaka-1219, Bangladesh *Mob :* +88 01716915504 *Email :* support.ad...@technologyrss.com *Web :* www.technologyrss.com
smime.p7s
Description: S/MIME cryptographic signature