verendrakalsi commented on issue #10808:
URL: https://github.com/apache/cloudstack/issues/10808#issuecomment-2852023032

   here it is
   
   :/var/log/cloudstack/management# cat 
/var/log/cloudstack/management/management-server.log | grep -E "ctx-c880b148"
   2025-05-05 18:46:42,786 DEBUG [c.c.a.ApiServlet] 
(qtp1438988851-649:[ctx-c880b148]) (logid:e146c2cb) ===START===  10.63.8.8 -- 
POST  command=addHost&response=json&sessionkey=ce0AbMB0nkiOuCSScA8xQKv_Q0I
   2025-05-05 18:46:42,786 DEBUG [c.c.a.ApiServlet] 
(qtp1438988851-649:[ctx-c880b148]) (logid:e146c2cb) Two factor authentication 
is already verified for the user 2, so skipping
   2025-05-05 18:46:42,792 DEBUG [c.c.a.ApiServer] 
(qtp1438988851-649:[ctx-c880b148, ctx-f0cc0db0]) (logid:e146c2cb) CIDRs from 
which account 'Account 
[{"accountName":"admin","id":2,"uuid":"affbb83e-1a1c-11f0-85c0-460f7764ea25"}]' 
is allowed to perform API calls: 0.0.0.0/0,::/0
   2025-05-05 18:46:42,793 DEBUG [o.a.c.a.StaticRoleBasedAPIAccessChecker] 
(qtp1438988851-649:[ctx-c880b148, ctx-f0cc0db0]) (logid:e146c2cb) RoleService 
is enabled. We will use it instead of StaticRoleBasedAPIAccessChecker.
   2025-05-05 18:46:42,793 DEBUG [o.a.c.r.ApiRateLimitServiceImpl] 
(qtp1438988851-649:[ctx-c880b148, ctx-f0cc0db0]) (logid:e146c2cb) API rate 
limiting is disabled. We will not use ApiRateLimitService.
   2025-05-05 18:46:42,797 WARN  [c.c.a.d.ParamGenericValidationWorker] 
(qtp1438988851-649:[ctx-c880b148, ctx-f0cc0db0]) (logid:e146c2cb) Received 
unknown parameters for command addHost. Unknown parameters : clustertype
   2025-05-05 18:46:42,800 INFO  [c.c.r.ResourceManagerImpl] 
(qtp1438988851-649:[ctx-c880b148, ctx-f0cc0db0]) (logid:e146c2cb) Trying to add 
a new host at http://10.43.197.118 in data center 4
   2025-05-05 18:46:42,940 DEBUG [c.c.u.s.SSHCmdHelper] 
(qtp1438988851-649:[ctx-c880b148, ctx-f0cc0db0]) (logid:e146c2cb) Executing 
cmd: ls /dev/kvm
   2025-05-05 18:46:44,034 DEBUG [c.c.u.s.SSHCmdHelper] 
(qtp1438988851-649:[ctx-c880b148, ctx-f0cc0db0]) (logid:e146c2cb) SSH command: 
ls /dev/kvm
   2025-05-05 18:46:44,040 DEBUG [c.c.u.s.SSHCmdHelper] 
(qtp1438988851-649:[ctx-c880b148, ctx-f0cc0db0]) (logid:e146c2cb) Executing 
cmd: sudo /usr/share/cloudstack-common/scripts/util/keystore-setup 
/etc/cloudstack/agent/agent.properties /etc/cloudstack/agent/
   2025-05-05 18:46:45,118 DEBUG [c.c.u.s.SSHCmdHelper] 
(qtp1438988851-649:[ctx-c880b148, ctx-f0cc0db0]) (logid:e146c2cb) SSH command: 
sudo /usr/share/cloudstack-common/scripts/util/keystore-setup 
/etc/cloudstack/agent/agent.properties /etc/cloudstack/agent/
   2025-05-05 18:46:45,119 DEBUG [c.c.u.s.SSHCmdHelper] 
(qtp1438988851-649:[ctx-c880b148, ctx-f0cc0db0]) (logid:e146c2cb) Executing 
cmd: sudo /usr/share/cloudstack-common/scripts/util/keystore-setup 
/etc/cloudstack/agent/agent.properties /etc/cloudstack/agent/
   2025-05-05 18:46:46,202 DEBUG [c.c.u.s.SSHCmdHelper] 
(qtp1438988851-649:[ctx-c880b148, ctx-f0cc0db0]) (logid:e146c2cb) SSH command: 
sudo /usr/share/cloudstack-common/scripts/util/keystore-setup 
/etc/cloudstack/agent/agent.properties /etc/cloudstack/agent/
   2025-05-05 18:46:46,202 DEBUG [c.c.u.s.SSHCmdHelper] 
(qtp1438988851-649:[ctx-c880b148, ctx-f0cc0db0]) (logid:e146c2cb) Executing 
cmd: sudo /usr/share/cloudstack-common/scripts/util/keystore-setup 
/etc/cloudstack/agent/agent.properties /etc/cloudstack/agent/
   2025-05-05 18:46:47,286 DEBUG [c.c.u.s.SSHCmdHelper] 
(qtp1438988851-649:[ctx-c880b148, ctx-f0cc0db0]) (logid:e146c2cb) SSH command: 
sudo /usr/share/cloudstack-common/scripts/util/keystore-setup 
/etc/cloudstack/agent/agent.properties /etc/cloudstack/agent/
   2025-05-05 18:46:47,286 WARN  [c.c.h.k.d.KvmServerDiscoverer] 
(qtp1438988851-649:[ctx-c880b148, ctx-f0cc0db0]) (logid:e146c2cb)  can't setup 
agent, due to com.cloud.utils.exception.CloudRuntimeException: Failed to setup 
keystore on the KVM host: 10.43.197.118 - Failed to setup keystore on the KVM 
host: 10.43.197.118
   2025-05-05 18:46:47,286 DEBUG [c.c.h.k.d.KvmServerDiscoverer] 
(qtp1438988851-649:[ctx-c880b148, ctx-f0cc0db0]) (logid:e146c2cb)  can't setup 
agent, due to com.cloud.utils.exception.CloudRuntimeException: Failed to setup 
keystore on the KVM host: 10.43.197.118 - Failed to setup keystore on the KVM 
host: 10.43.197.118 com.cloud.utils.exception.CloudRuntimeException: Failed to 
setup keystore on the KVM host: 10.43.197.118
   2025-05-05 18:46:47,287 DEBUG [c.c.r.ResourceManagerImpl] 
(qtp1438988851-649:[ctx-c880b148, ctx-f0cc0db0]) (logid:e146c2cb) Could not add 
host at [http://10.43.197.118] with zone [4], pod [4] and cluster [6] due to: [ 
can't setup agent, due to com.cloud.utils.exception.CloudRuntimeException: 
Failed to setup keystore on the KVM host: 10.43.197.118 - Failed to setup 
keystore on the KVM host: 10.43.197.118]. 
com.cloud.exception.DiscoveredWithErrorException:  can't setup agent, due to 
com.cloud.utils.exception.CloudRuntimeException: Failed to setup keystore on 
the KVM host: 10.43.197.118 - Failed to setup keystore on the KVM host: 
10.43.197.118
   2025-05-05 18:46:47,287 INFO  [c.c.u.e.CSExceptionErrorCode] 
(qtp1438988851-649:[ctx-c880b148, ctx-f0cc0db0]) (logid:e146c2cb) Could not 
find exception: com.cloud.exception.DiscoveryException in error code list for 
exceptions
   2025-05-05 18:46:47,288 WARN  [o.a.c.a.c.a.h.AddHostCmd] 
(qtp1438988851-649:[ctx-c880b148, ctx-f0cc0db0]) (logid:e146c2cb) Exception: 
com.cloud.exception.DiscoveryException: Could not add host at 
[http://10.43.197.118] with zone [4], pod [4] and cluster [6] due to: [ can't 
setup agent, due to com.cloud.utils.exception.CloudRuntimeException: Failed to 
setup keystore on the KVM host: 10.43.197.118 - Failed to setup keystore on the 
KVM host: 10.43.197.118].
   2025-05-05 18:46:47,288 INFO  [c.c.a.ApiServer] 
(qtp1438988851-649:[ctx-c880b148, ctx-f0cc0db0]) (logid:e146c2cb) Could not add 
host at [http://10.43.197.118] with zone [4], pod [4] and cluster [6] due to: [ 
can't setup agent, due to com.cloud.utils.exception.CloudRuntimeException: 
Failed to setup keystore on the KVM host: 10.43.197.118 - Failed to setup 
keystore on the KVM host: 10.43.197.118].
   2025-05-05 18:46:47,289 INFO  [c.c.a.ApiServlet] 
(qtp1438988851-649:[ctx-c880b148, ctx-f0cc0db0]) (logid:e146c2cb) (userId=2 
accountId=2 sessionId=node014h0h8m7ueauo7iw14qir6700) 10.63.8.8 -- POST 
command=addHost&response=json&sessionkey=ce0AbMB0nkiOuCSScA8xQKv_Q0I 530 Could 
not add host at [http://10.43.197.118] with zone [4], pod [4] and cluster [6] 
due to: [ can't setup agent, due to 
com.cloud.utils.exception.CloudRuntimeException: Failed to setup keystore on 
the KVM host: 10.43.197.118 - Failed to setup keystore on the KVM host: 
10.43.197.118].
   2025-05-05 18:46:47,289 DEBUG [c.c.a.ApiServlet] 
(qtp1438988851-649:[ctx-c880b148, ctx-f0cc0db0]) (logid:e146c2cb) ===END===  
10.63.8.8 -- POST  
command=addHost&response=json&sessionkey=ce0AbMB0nkiOuCSScA8xQKv_Q0I
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to