开启辅助访问

超融合+云计算论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 3990|回复: 4
收起左侧

[CE社区版] Cluster Creation Error – Could not discover all nodes

[复制链接]
发表于 2016-3-27 20:07:02 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?立即注册

x

When I tried to create a cluster, as per my previous guide, I saw the error:

“Could not discover all nodes specified. Please make sure that the SVMs from which you wish to create the cluster are not already part of another cluster”

CLUSTERERROR1.png

I found this a little odd, as these were brand new nodes on a fresh install. All I’d done is follow my previous guide! So I checked each node and tried to see if I could create a single node cluster on each manually using the command:

This failed on two of my three CVM nodes with the following error:

“WARNING: genesis_utils.py:512 Failed to reach a node where Genesis is up. Retrying….”
CLUSTERERROR4.png

After some googling, I found that someone had suggested to restart genesis service and check the logs to find out what was happening.

CLUSTERERROR5.png

So it seems that the CVM is trying to contact the host KVM and being unsuccessful. Sure enough, if I tried to ssh to my KVM host from the CVM box, it was also failing with the error:

FIPS mode initialized
Read from socket failed: Connection reset by peer

CLUSTERERROR6.png

After some futher searching I found that someone on the forum that had fixed the issue by regenerating the SSH keys on the KVM host – they didn’t explain how to do this and I’m a bit of a novice with Linux/KVM but the process is easy on an ESXi host. After a quick dig I found “sshd-keygen” in the /bin folder which I ran.

I then tried to SSH from my CVM to KVM again, and this time it prompted me for a password! Success!


I repeated this process (sshd-keygen and then SSH from CVM) on my other broken node. I then retried my cluster creation and it also worked!

I thought it would be interesting to document as I came across the issue and a combination of forum posts and a little digging from myself paid off. I hope this helps anyone with this issue!

本帖被以下淘专辑推荐:

欢迎来到 【nutanix.club】最大的中文超融合&云计算社区 请记住我们的网址 www.nutanix.club [这是默认签名,更换签名点这里!]
回复

使用道具 举报

发表于 2016-4-7 12:52:29 | 显示全部楼层
Thanks
欢迎来到 【nutanix.club】最大的中文超融合&云计算社区 请记住我们的网址 www.nutanix.club [这是默认签名,更换签名点这里!]
回复

使用道具 举报

发表于 2016-12-31 09:47:14 | 显示全部楼层
thanks for share
欢迎来到 【nutanix.club】最大的中文超融合&云计算社区 请记住我们的网址 www.nutanix.club [这是默认签名,更换签名点这里!]
回复 支持 反对

使用道具 举报

发表于 2016-12-31 09:47:36 | 显示全部楼层
thanks for share
欢迎来到 【nutanix.club】最大的中文超融合&云计算社区 请记住我们的网址 www.nutanix.club [这是默认签名,更换签名点这里!]
回复 支持 反对

使用道具 举报

发表于 2018-6-11 18:16:16 | 显示全部楼层
HOST IP & CVM IP要如何设置呀???
欢迎来到 【nutanix.club】最大的中文超融合&云计算社区 请记住我们的网址 www.nutanix.club [这是默认签名,更换签名点这里!]
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

返回顶部快速回复上一主题下一主题返回列表微信扫一