我正在使用Puppet和PuppetDb。这两个是连接的,每当我添加或更新节点时,我都可以看到PuppetDb更新。
但是当我尝试使用puppet node deactivate nodeName
停用某个节点时,我会回来:
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
有关如何调试此问题的任何建议?我尝试使用puppet cert generate puppetdb
删除并重新生成证书。如上所述,在PuppetDb上创建或更新节点时没有问题。
Puppetserver版本:2.7.2