[Users] Hosted-engine runtime issues (3.4 BETA)

Yedidyah Bar David didi at redhat.com
Sun Jan 26 20:54:34 UTC 2014


Hi,

----- Original Message -----
> From: "Frank Wall" <fw at moov.de>
> To: "Itamar Heim" <iheim at redhat.com>
> Cc: users at ovirt.org, "Doron Fediuck" <dfediuck at redhat.com>, "Oved Ourfalli" <oourfali at redhat.com>, "Sandro Bonazzola"
> <sbonazzo at redhat.com>, "Yedidyah Bar David" <didi at redhat.com>
> Sent: Sunday, January 26, 2014 10:38:11 PM
> Subject: Re: [Users] Hosted-engine runtime issues (3.4 BETA)
> 
> 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].

Indeed. Might it be possible to not just move to maintenance but remove
it from the engine? Then you can try again deploy as a second host.

> 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].

This is obviously a bug, as Itamar suggested, but I do not think it will
be solved for 3.4, except for perhaps a cleaner error message.

> 
> 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 :)

Well, this is also an unplanned, unsupported configuration. Might work
for you - I don't know about anyone that tried that - but if possible,
it's really better if you can add another host by hosted-engine --deploy.

> 
> 
> 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'
> 
> 

Thanks for the report and best regards,
-- 
Didi



More information about the Users mailing list