Puppet cannot deactivate nodes

I am using Puppet with PuppetDb. The two are related and I can see PuppetDb update whenever I add or update node.

But when I try to deactivate a node with puppet node deactivate nodeName

I get back:

Warning: Error connecting to puppetdb on 8081 at route /pdb/cmd/v1?checksum=36a4313be5bac718badc45495f0266bf87c7a806&version=3&certname=v-hub-1.5659710c-33d5-45f2-a477-6
ccf1357e1ac.local.dockerapp.io&command=deactivate_node, error message received was 'SSL_connect SYSCALL returned=5 errno=0 state=unknown state'. Failing over to the next
 PuppetDB server_url in the 'server_urls' list

Error: Failed to execute '/pdb/cmd/v1?checksum=36a4313be5bac718badc45495f0266bf87c7a806&version=3&certname=v-hub-1.5659710c-33d5-45f2-a477-6ccf1357e1ac.local.dockerapp.i
o&command=deactivate_node' on at least 1 of the following 'server_urls': https://puppetdb:8081                                                                           
Error: undefined method `[]' for #<Puppet::Util::Log:0x00000003a15178>                                                                                                   
Error: Try 'puppet help node deactivate' for usage 

      

Any suggestions for debugging? I tried to delete and restore the certificate with puppet cert generate puppetdb

. As already mentioned, there are no problems when creating or updating nodes on PuppetDb.

Puppetserver version: 2.7.2

+3


source to share





All Articles