yeganehmehr opened a new issue, #10146:
URL: https://github.com/apache/cloudstack/issues/10146
<!--
2024-12-28 14:52:17,332 WARN [o.a.c.f.s.k.KeystoreManagerImpl]
(AgentConnectTaskPool-266:ctx-c44a227a) (logid:409ef22e) Unable to build
keystore for CPVMCertificate due to CertificateException
2024-12-28 14:52:17,332 DEBUG [o.a.c.f.s.k.KeystoreManagerImpl]
(AgentConnectTaskPool-266:ctx-c44a227a) (logid:409ef22e) Unable to build
keystore for CPVMCertificate due to CertificateException
java.security.cert.CertificateException: Could not parse certificate:
java.io.IOException: Empty input
at
java.base/sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:115)
at
java.base/java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:355)
at
com.cloud.utils.security.CertificateHelper.buildCertificate(CertificateHelper.java:130)
at
com.cloud.utils.security.CertificateHelper.buildAndSaveKeystore(CertificateHelper.java:78)
at
org.apache.cloudstack.framework.security.keystore.KeystoreManagerImpl.getKeystoreBits(KeystoreManagerImpl.java:109)
at
com.cloud.consoleproxy.AgentHookBase.startAgentHttpHandlerInVM(AgentHookBase.java:205)
at
com.cloud.consoleproxy.ConsoleProxyListener.processConnect(ConsoleProxyListener.java:75)
at
com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:569)
at
com.cloud.agent.manager.AgentManagerImpl.handleConnectedAgent(AgentManagerImpl.java:1133)
at
com.cloud.agent.manager.AgentManagerImpl$HandleAgentConnectTask.runInContext(AgentManagerImpl.java:1217)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:48)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:45)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.io.IOException: Empty input
at
java.base/sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:111)
at
java.base/java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:355)
at
com.cloud.utils.security.CertificateHelper.buildCertificate(CertificateHelper.java:130)
... 15 more
2024-12-28 14:52:17,336 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-4:null) (logid:) Ping from 119(v-28542-VM)
2024-12-28 14:52:17,337 INFO [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-4:null) (logid:) PingMap for agent: 119 will not be
updated because agent is no longer in the PingMap
-->
##### ISSUE TYPE
* Other
##### COMPONENT NAME
<!--
Categorize the issue, e.g. API, VR, VPN, UI, etc.
-->
~~~
~~~
##### CLOUDSTACK VERSION
<!--
4.17.2
-->
~~~
~~~
##### CONFIGURATION
<!--
Information about the configuration if relevant, e.g. basic network,
advanced networking, etc. N/A otherwise
-->
##### OS / ENVIRONMENT
<!--
CentOS Linux release 7.8.2003
-->
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]