Puppet Agent Master sync issue
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cisco Openstack |
Confirmed
|
Low
|
Unassigned | ||
Folsom |
Confirmed
|
Low
|
Unassigned |
Bug Description
Puppet agents on the controller or the compute nodes have the following issue while communicating to the pupet master on the build node.
SYSLOG output
(/File[
Dec 10 15:20:30 p4-control01 puppet-agent[1170]: (/File[
Dec 10 15:20:31 p4-control01 puppet-agent[1170]: Could not retrieve catalog from remote server: SSL_CTX_
Dec 10 15:20:31 p4-control01 puppet-agent[1170]: Using cached catalog
Dec 10 15:20:31 p4-control01 puppet-agent[1170]: Could not retrieve catalog; skipping run
Dec 10 15:20:31 p4-control01 puppet-agent[1170]: Could not send report: SSL_CTX_
Dec 10 15:25:21 p4-control01 puppet-agent[1734]: Creating a new SSL certificate request for p4-control01.
Dec 10 15:25:21 p4-control01 puppet-agent[1734]: Certificate Request fingerprint (md5): 6C:D0:C0:
Dec 10 15:25:21 p4-control01 puppet-agent[1734]: Caching certificate for p4-control01.
Dec 10 15:25:21 p4-control01 puppet-agent[1734]: Retrieving plugin
Dec 10 15:25:21 p4-control01 puppet-agent[1734]: (/File[
Dec 10 15:25:21 p4-control01 puppet-agent[1734]: (/File[
Dec 10 15:25:23 p4-control01 puppet-agent[1734]: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or client
Dec 10 15:25:23 p4-control01 puppet-agent[1734]: Not using cache on failed catalo
Workaround
On the controller and the compute nodes
stop the puppet agent
rm -f /var/lib/
Its not sufficient to just delete the specific certificate(*.pem file ), the entire ssl directory needs to be deleted.
start the puppet agent.
Related bug
http://
Changed in openstack-cisco: | |
importance: | Undecided → Low |
Changed in openstack-cisco: | |
status: | New → Confirmed |
I have encountered one of the issues you had.
(/File[ /var/lib/ puppet/ lib]) Failed to generate additional resources using 'eval_generate: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or client
After removing the ssl directory and regenerate the cert, we have passed the key matching issue. But above error occurred due to the master and agent's ntp setting that is not being synchronized. just do the following on your agent:
ntpd -q [IP address of your master]
ntpdate [IP address of your master]
it is provided that your master has the right ntp settings. then, do
puppetd --waitforce 60 --test --server [IP address or hostname of your master]