
This is a multi-part message in MIME format. --------------A2443D7FA00E52A95E17EBB9 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 08/08/2016 10:22 AM, Simone Tiraboschi wrote:
On Sun, Aug 7, 2016 at 3:42 PM, Arsène Gschwind <arsene.gschwind@unibas.ch> wrote:
Hi,
I have an oVirt setup with 2 server using hosted-engine, both server resgistered properly the hosted-engine using : # hosted-engine --deploy
but for some reason the second isn't recognized as a host for hosted-engine and I'm not able to migrate the hosted-engine. The error I get when trying to migrate:
Cannot migrate VM. There is no host that satisfies current scheduling constraints. See below for details: The host xxxxxx did not satisfy internal filter HA because it is not a Hosted Engine host..
I've tried to redeploy the hosted-engine but this will fail since the host already exists in the management DB. I've tried to redeploy the host using the GUI when editing the Host and set DEPLOY at Hosted Engine but in that case the Event just says the configuration was updated but nothing happens.
Is there a way to check if the host is registered as hosted-engine host? Can you please execute hosted-engine --vm-status on the problematic host? Here's the result from the host where hosted engine is running:
Status up-to-date : True Hostname : xxxxxx Host ID : 1 Engine status : {"health": "good", "vm": "up", "detail": "up"} Score : 3400 stopped : False Local maintenance : False crc32 : 3c9dd013 Host timestamp : 82115 Extra metadata (valid at timestamp): metadata_parse_version=1 metadata_feature_version=1 timestamp=82115 (Mon Aug 8 10:44:12 2016) host-id=1 score=3400 maintenance=False state=EngineUp stopped=False And this is from the problematic host: Status up-to-date : False Hostname : xxxxxxxx Host ID : 1 Engine status : unknown stale-data Score : 3400 stopped : False Local maintenance : False crc32 : 6c959fce Host timestamp : 82149 Extra metadata (valid at timestamp): metadata_parse_version=1 metadata_feature_version=1 timestamp=82149 (Mon Aug 8 10:44:45 2016) host-id=1 score=3400 maintenance=False state=EngineUp stopped=False
Do you see any hosted-engine score for it in the engine?
It seems the score is the same on both host Thanks, Arsène
How could I register it correctly?
Let me know if you need any logs. Thanks for any hint.
Regards, Arsène
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--------------A2443D7FA00E52A95E17EBB9 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <p><br> </p> <br> <div class="moz-cite-prefix">On 08/08/2016 10:22 AM, Simone Tiraboschi wrote:<br> </div> <blockquote cite="mid:CAN8-ONrUBenDJ4GRd1HVjxqXkOPuRG8YdoW9yWm7J0TiJ26-KA@mail.gmail.com" type="cite"> <pre wrap="">On Sun, Aug 7, 2016 at 3:42 PM, Arsène Gschwind <a class="moz-txt-link-rfc2396E" href="mailto:arsene.gschwind@unibas.ch"><arsene.gschwind@unibas.ch></a> wrote: </pre> <blockquote type="cite"> <pre wrap="">Hi, I have an oVirt setup with 2 server using hosted-engine, both server resgistered properly the hosted-engine using : # hosted-engine --deploy but for some reason the second isn't recognized as a host for hosted-engine and I'm not able to migrate the hosted-engine. The error I get when trying to migrate: Cannot migrate VM. There is no host that satisfies current scheduling constraints. See below for details: The host xxxxxx did not satisfy internal filter HA because it is not a Hosted Engine host.. I've tried to redeploy the hosted-engine but this will fail since the host already exists in the management DB. I've tried to redeploy the host using the GUI when editing the Host and set DEPLOY at Hosted Engine but in that case the Event just says the configuration was updated but nothing happens. Is there a way to check if the host is registered as hosted-engine host? </pre> </blockquote> <pre wrap=""> Can you please execute hosted-engine --vm-status on the problematic host?</pre> </blockquote> Here's the result from the host where hosted engine is running:<br> <br> <font face="Courier New, Courier, monospace">Status up-to-date : True<br> Hostname : xxxxxx<br> Host ID : 1<br> Engine status : {"health": "good", "vm": "up", "detail": "up"}<br> Score : 3400<br> stopped : False<br> Local maintenance : False<br> crc32 : 3c9dd013<br> Host timestamp : 82115<br> Extra metadata (valid at timestamp):<br> metadata_parse_version=1<br> metadata_feature_version=1<br> timestamp=82115 (Mon Aug 8 10:44:12 2016)<br> host-id=1<br> score=3400<br> maintenance=False<br> state=EngineUp<br> stopped=False</font><br> <br> And this is from the problematic host:<br> <br> <font face="Courier New, Courier, monospace">Status up-to-date : False<br> Hostname : xxxxxxxx<br> Host ID : 1<br> Engine status : unknown stale-data<br> Score : 3400<br> stopped : False<br> Local maintenance : False<br> crc32 : 6c959fce<br> Host timestamp : 82149<br> Extra metadata (valid at timestamp):<br> metadata_parse_version=1<br> metadata_feature_version=1<br> timestamp=82149 (Mon Aug 8 10:44:45 2016)<br> host-id=1<br> score=3400<br> maintenance=False<br> state=EngineUp<br> stopped=False</font><br> <br> <blockquote cite="mid:CAN8-ONrUBenDJ4GRd1HVjxqXkOPuRG8YdoW9yWm7J0TiJ26-KA@mail.gmail.com" type="cite"> <pre wrap=""> Do you see any hosted-engine score for it in the engine?</pre> </blockquote> It seems the score is the same on both host<br> <br> Thanks,<br> Arsène<br> <blockquote cite="mid:CAN8-ONrUBenDJ4GRd1HVjxqXkOPuRG8YdoW9yWm7J0TiJ26-KA@mail.gmail.com" type="cite"> <pre wrap=""> </pre> <blockquote type="cite"> <pre wrap="">How could I register it correctly? Let me know if you need any logs. Thanks for any hint. Regards, Arsène _______________________________________________ Users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> </blockquote> <br> </body> </html> --------------A2443D7FA00E52A95E17EBB9--