首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >将主机从Foreman中删除

将主机从Foreman中删除
EN

Server Fault用户
提问于 2017-08-13 12:02:35
回答 1查看 1.3K关注 0票数 2

在Foreman1.12中,我从VMware web客户端删除了一个VM,但不能从foreman中删除它的记录。

我得到了以下错误:

代码语言:javascript
复制
Error: Failed to destroy a compute VMware (VMware) instance
*************: ERF56-4248 [Foreman::FingerprintException]: The remote system presented a public key with hash *********** but we're expecting a different hash. If you are sure the remote system is authentic, go to the compute resource edit page, press the 'Test Connection' or 'Load Datacenters' button and submit

那么,我如何从工头中删除主机呢?

EN

回答 1

Server Fault用户

发布于 2017-12-26 09:31:26

如错误所述,请通过以下步骤验证与计算资源的连接

计算资源>>编辑CR >>按“测试连接”或“加载数据中心”按钮并提交

并检查是否将Foreman公钥(/usr/share/foreman/..ssh/id_rsa.PUB)复制到Compute资源中。

2尝试以下命令。

代码语言:javascript
复制
foreman-rake console
Host.find_by_name("host.example.test").destroy
票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/868419

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档