On 01/26/2014 10:38 PM, Frank Wall wrote:
Hi Itamar,
On Sun, Jan 26, 2014 at 07:13:35PM +0200, Itamar Heim wrote:
> hosted engine supports running on *multiple* nodes, providing out of the
> box HA between them.
> the setup should ask you if this is the second host and take care of all
> the right things to copy.
thanks for the pointer. The documentation at [1] describes the
required steps to setup a second node. Unfortunately it failed
for me because my second node was added to the cluster before [2].
why would both your hosts have the same uuid?
Even manual setting the second node to "maintenance" and
back
to state "up" didn't help, hosted-engine-setup as unable to
detect the host's state [3].
you opened or made sure there is a bug for this i hope?
Though following the steps was enough to start the hosted-engine
VM manually on the second node. This makes a manual failover
possible, which is sufficient for now :)
Thanks
- Frank
[1]
http://www.ovirt.org/Hosted_Engine_Howto#Installing_additional_nodes
[2]
2014-01-26 18:24:59 DEBUG otopi.plugins.ovirt_hosted_engine_setup.engine.add_host
add_host._closeup:437 Cannot add the host to the Default cluster
Traceback (most recent call last):
File
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/engine/add_host.py",
line 431, in _closeup
override_iptables=True,
File "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/brokers.py",
line 8679, in add
headers={"Expect":expect, "Correlation-Id":correlation_id}
File "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py",
line 88, in add
return self.request('POST', url, body, headers)
File "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py",
line 118, in request
persistent_auth=self._persistent_auth)
File "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py",
line 140, in __doRequest
persistent_auth=persistent_auth
File "/usr/lib/python2.6/site-packages/ovirtsdk/web/connection.py", line
134, in doRequest
raise RequestError, response
RequestError:
status: 409
reason: Conflict
detail: Cannot add Host. Host with the same UUID already exists.
2014-01-26 18:24:59 ERROR otopi.plugins.ovirt_hosted_engine_setup.engine.add_host
add_host._closeup:444 Cannot automatically add the host to the Default cluster:
Cannot add Host. Host with the same UUID already exists.
[3]
2014-01-26 18:24:59 INFO otopi.plugins.ovirt_hosted_engine_setup.engine.add_host
add_host._wait_host_ready:200 Waiting for the host to become operational in the engine.
This may take several minutes...
2014-01-26 18:24:59 DEBUG otopi.plugins.ovirt_hosted_engine_setup.engine.add_host
add_host._wait_host_ready:213 Error fetching host state: 'NoneType' object has no
attribute 'status'
2014-01-26 18:24:59 DEBUG otopi.plugins.ovirt_hosted_engine_setup.engine.add_host
add_host._wait_host_ready:229 VDSM host in state
2014-01-26 18:25:00 DEBUG otopi.plugins.ovirt_hosted_engine_setup.engine.add_host
add_host._wait_host_ready:213 Error fetching host state: 'NoneType' object has no
attribute 'status'
2014-01-26 18:25:00 DEBUG otopi.plugins.ovirt_hosted_engine_setup.engine.add_host
add_host._wait_host_ready:229 VDSM host in state
2014-01-26 18:25:01 DEBUG otopi.plugins.ovirt_hosted_engine_setup.engine.add_host
add_host._wait_host_ready:213 Error fetching host state: 'NoneType' object has no
attribute 'status'