candlepin error

Hi,

I have installed Foreman3.3 and Katello4.5 on my redhat 7.9 system.

Installation works fine but when i login to the URL, i am getting the following error:

Oops, we’re sorry but something went wrong Katello::Errors::CandlepinNotRunning

Following is the error from hammer ping:

database:

Status: ok

Server Response: Duration: 0ms

candlepin:

Status: FAIL

Server Response: Message: SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate)

candlepin_auth:

Status: FAIL

Server Response: Message: Katello::Errors::CandlepinNotRunning

candlepin_events:

Status: FAIL

message: Not running

Server Response: Duration: 0ms

katello_events:

Status: ok

message: 0 Processed, 0 Failed

Server Response: Duration: 0ms

pulp3:

Status: ok

Server Response: Duration: 305ms

pulp3_content:

Status: ok

Server Response: Duration: 325ms

foreman_tasks:

Status: ok

Server Response: Duration: 6ms

I have tried to search for possible solutions but none of them worked.

Please need suggestions.

Hi @sbajracharya110

Did you install the katello/foreman with custom ssl certs?

Can you look at /var/log/candlepin/error.log and let me know if you see anything that stands out?

1 Like

Thank you for replying back to me.
Actually this server had foreman installed with custom SSL certificate but due to some reason i had to reinstall the katello foreman.

after reinstalling katello foreman, i am getting the candel pin error when login
i have used the following ((katello 4.5 and foreman 3.3))
https://docs.theforeman.org/3.3/Installing_Server/index-katello.html#

Here’s the candleping logerror log:

tail -f /var/log/candlepin/error.log
2022-07-22 00:07:54,540 [thread=Thread-0 (activemq-netty-threads)] [=, org=, csi d=] WARN org.apache.activemq.artemis.core.server - AMQ222208: SSL handshake fai led for client from /127.0.0.1:39848: javax.net.ssl.SSLHandshakeException: Recei ved fatal alert: unknown_ca.
2022-07-22 00:08:09,546 [thread=Thread-1 (activemq-netty-threads)] [=, org=, csi d=] WARN org.apache.activemq.artemis.core.server - AMQ222208: SSL handshake fai led for client from /127.0.0.1:39868: javax.net.ssl.SSLHandshakeException: Recei ved fatal alert: unknown_ca.
2022-07-22 00:08:24,552 [thread=Thread-2 (activemq-netty-threads)] [=, org=, csi d=] WARN org.apache.activemq.artemis.core.server - AMQ222208: SSL handshake fai led for client from /127.0.0.1:39900: javax.net.ssl.SSLHandshakeException: Recei ved fatal alert: unknown_ca.
2022-07-22 00:08:39,558 [thread=Thread-3 (activemq-netty-threads)] [=, org=, csi d=] WARN org.apache.activemq.artemis.core.server - AMQ222208: SSL handshake fai led for client from /127.0.0.1:39948: javax.net.ssl.SSLHandshakeException: Recei ved fatal alert: unknown_ca.

Thanks

I had tried with and without custom SSL but ended with the same candlepin error.
Thanks
Sailesh

Output of hammer ping command
hammer ping
database:
Status: ok
Server Response: Duration: 0ms
candlepin:
Status: FAIL
Server Response: Message: SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate)
candlepin_auth:
Status: FAIL
Server Response: Message: Katello::Errors::CandlepinNotRunning
candlepin_events:
Status: FAIL
message: Not running
Server Response: Duration: 0ms
katello_events:
Status: ok
message: 0 Processed, 0 Failed
Server Response: Duration: 0ms
pulp3:
Status: ok
Server Response: Duration: 324ms
pulp3_content:
Status: ok
Server Response: Duration: 64ms
foreman_tasks:
Status: ok
Server Response: Duration: 4ms

Suggest you install a new Foreman server on Red Hat 8 since 7 will not be supported soon.

1 Like