Hi Cristian,

The exception you are seeing is most likely to happen if the systemvm.iso 
hasn't been injected with the Management server's key. One way to validate it, 
would be to go to your secondary store - I presume you are working on a VMware 
setup - mount the systemvm-4.15.2.iso and verify the authorized_keys data with 
what's present on the MS at /var/cloudstack/management/.ssh/id_rsa.pub.

Thanks,
Pearl

________________________________
From: cristian.c@istream.today <cristian.c@istream.today>
Sent: Thursday, September 23, 2021 9:50 PM
To: users@cloudstack.apache.org <users@cloudstack.apache.org>
Subject: Failed to authentication SSH user root on host - repetitive error

Hello,





      I was not able to fix this error "Failed to authentication SSH" and
looks like a bug for me, I will explain here why.



  My setup before adding new ZONE:



1.      Cloudstack 4.15.2 + VMware 6.5 with 1 Basic Network Zone.  ( This is
an old setup, it was upgraded frequently, I think from 4.2 )
2.      I add new VMware zone, but this one with Advanced Networking, I end
with this repetitive error and nothing else.
3.      I decide to add a new zone, the same as I have at (2) with Advanced
Networking, everything works perfect, no issue at systemvm deploy, routers,
instances.
4.      I delete the zone from point (2)
5.      I add again the same zone, end with the same error.



   I have tried multiple things, delete the template, add again, inject,
nothing works, I end with the same error, over and over, and I do not see
the why.





021-09-23 11:53:54,666 ERROR [c.c.h.v.r.VmwareResource]
(DirectAgent-228:ctx-083b9265 lnd-uk-002.test.host, job-35231/job-35263,
cmd: SetupKeyStoreCommand) (logid:df4131be) Command failed due to Exception:
java.lang.Exception

Message: Failed to authentication SSH user root on host 10.15.0.204



2021-09-23 11:53:54,674 ERROR [c.c.v.VirtualMachineManagerImpl]
(Work-Job-Executor-19:ctx-808054ab job-35231/job-35263 ctx-eb7c37bb)
(logid:df4131be) Retrying after catching exception while trying to secure
agent for systemvm id=2025

com.cloud.utils.exception.CloudRuntimeException: Unable to read/process CSR:
Command failed due to Exception: java.lang.Exception

Message: Failed to authentication SSH user root on host 10.15.0.204





  Here is the full log : https://pastebin.com/raw/fFfmquVB





  Maybe someone have a hint for me .



Regards,

Cristian






 

Reply via email to