大网数据广告活动
服务器运维问答

Removing old node from puppetdb

· 52CE 我爱测

Running Puppet Server open source with Puppet DB 4.8 I recently changed the name of one of my servers and now have two instances of the same machine on puppetdb. I am trying to remove the NODE by performing the following command:…

问题原文

原帖链接 · Ankh2054 · CC BY-SA 3.0

Running Puppet Server open source with Puppet DB 4.8

I recently changed the name of one of my servers and now have two instances of the same machine on puppetdb. I am trying to remove the NODE by performing the following command:

puppet node deactivate old.server..co.uk

but it fails with an error:

Error: SSL_connect returned=1 errno=0 state=error: certificate verify failed: [certificate revoked for /CN=puppetdbserver]
Error: Try 'puppet help node deactivate' for usage

I have verified that the puppetdb server can successfully connect back to the puppet server by running puppet agent -t on puppets server and all seems fine. Plus puppetdb is actively being updated by my puppetserver.

已采纳解答

原帖链接 · werdf02 · CC BY-SA 3.0

You can try to delete from direct database. I founded a link where say to how delete node from catalog.

https://ask.puppet.com/question/88/how-can-i-purge-exported-resources-from-puppetdb/

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-12-20)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。