无法内部获取 zookeeper 句柄

无法内部获取 zookeeper 句柄

实际上,在 maas/juju 环境中成功部署引导节点后,添加新节点似乎有点难以理解。node02 正在安装,我们可以在 juju 状态中看到:

,534 INFO Connecting to environment...
,319 INFO Connected to environment.
machines:
  0:
    agent-state: running
    dns-name: node01
    instance-id: /MAAS/api/1.0/nodes/node-cf3eb63c-8a27-11e2-a9f6-0050561dd02a/
    instance-state: unknown
  4:
    agent-state: not-started
    dns-name: node02
    instance-id: /MAAS/api/1.0/nodes/node-3550ded6-8be1-11e2-bfa6-0050561dd02a/
    instance-state: unknown

正如您所看到的,node02 没有启动,因为 /var/log/juju/machine-agent.log 中的输出如下:

--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1039, in _inlineCallbacks
    result = g.send(result)
  File "/usr/lib/python2.7/dist-packages/juju/agents/base.py", line 210, in connect
    self.config["zookeeper_servers"])
  File "/usr/lib/python2.7/dist-packages/txzookeeper/retry.py", line 302, in connect
    return self.client.connect(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/txzookeeper/client.py", line 468, in connect
    self._servers, callback, self._session_timeout)
zookeeper.ZooKeeperException: Could not internally obtain zookeeper handle

基本上,Zookeeper 没有在这个节点上运行,当然也没有在其他节点上运行。有没有解释谁遇到了这个问题?

运行时的另一个命中是 maas 节点:juju debug-log 我们可以看到类似这样的内容:

,077 provision:maas: juju.state.expose DEBUG: Assigned units for machine 6: old=None, 
,173 provision:maas: juju.maas WARNING: Firewalling is not yet implemented

运行 juju env 是否需要防火墙设置???

我仍在填写我的 juju/maas 安装故障排除经验列表!!!

相关内容