急!!! hosted-engine 启动不了

一帆风顺 1人参与 0 次点击

hosted-engine –vm-start

报错:

The hosted engine configuration has not been retrieved from shared storage. Please ensure that ovirt-ha-agent is running and the storage server is reachable.

启动 ovirt-ha-agent

MainThread::INFO::2020-05-13 09:00:19,095::agent::67::ovirt_hosted_engine_ha.agent.agent.Agent::(run) ovirt-hosted-engine-ha agent 2.3.6 started
MainThread::INFO::2020-05-13 09:00:19,131::hosted_engine::234::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_get_hostname) Found certificate common name: node1.stfybjy.com
MainThread::INFO::2020-05-13 09:00:19,238::hosted_engine::543::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_broker) Initializing ha-broker connection
MainThread::INFO::2020-05-13 09:00:19,240::brokerlink::80::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor) Starting monitor network, options {‘tcp_t_address’: ”, ‘network_test’: ‘dns’, ‘tcp_t_port’: ”, ‘addr’: ‘172.17.30.1’}
MainThread::ERROR::2020-05-13 09:00:19,241::hosted_engine::559::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_broker) Failed to start necessary monitors
MainThread::ERROR::2020-05-13 09:00:19,241::agent::144::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent) Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py”, line 131, in _run_agent
return action(he)
File “/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py”, line 55, in action_proper
return he.start_monitoring()
File “/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py”, line 432, in start_monitoring
self._initialize_broker()
File “/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py”, line 556, in _initialize_broker
m.get(‘options’, {}))
File “/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py”, line 89, in start_monitor
).format(t=type, o=options, e=e)
RequestError: brokerlink – failed to start monitor via ovirt-ha-broker: [Errno 2] No such file or directory, [monitor: ‘network’, options: {‘tcp_t_address’: ”, ‘network_test’: ‘dns’, ‘tcp_t_port’: ”, ‘addr’: ‘172.17.30.1’}]

MainThread::ERROR::2020-05-13 09:00:19,241::agent::145::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent) Trying to restart agent

    2 讨论 | 直到 2020-05-13 10:39:40
  • 一帆风顺
    1

    晕了 没找到原因,服务器 只开1台进去后一切正常,在把其它几台服务器打开 也一切正常

  • 一帆风顺
    2

    哎,只有单台启动,多台服务器启动后,ovirt-ha-agent 自动停止。。哎。。。郁闷