
This is a multi-part message in MIME format. --------------7EEE0783432E5837A1C9C9DB Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit 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? How could I register it correctly? Let me know if you need any logs. Thanks for any hint. Regards, Arsène --------------7EEE0783432E5837A1C9C9DB Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=windows-1252"> </head> <body bgcolor="#FFFFFF" text="#000000"> <p>Hi,</p> <p>I have an oVirt setup with 2 server using hosted-engine, both server resgistered properly the hosted-engine using :<br> # hosted-engine --deploy</p> <p>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.<br> The error I get when trying to migrate:</p> <p> <meta http-equiv="content-type" content="text/html; charset=windows-1252"> </p> <ul style="box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; color: rgb(0, 0, 0); font-family: "Arial Unicode MS", Arial, sans-serif; font-size: small; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; line-height: 21.6667px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"> <li style="box-sizing: border-box;">Cannot migrate VM. There is no host that satisfies current scheduling constraints. See below for details:</li> <li style="box-sizing: border-box;">The host xxxxxx did not satisfy internal filter HA because it is not a Hosted Engine host..</li> </ul> <p>I've tried to redeploy the hosted-engine but this will fail since the host already exists in the management DB.<br> 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.</p> <p>Is there a way to check if the host is registered as hosted-engine host?<br> How could I register it correctly?</p> <p>Let me know if you need any logs.<br> Thanks for any hint.<br> </p> <p>Regards,<br> Arsène<br> </p> </body> </html> --------------7EEE0783432E5837A1C9C9DB--

Hi, Under Clusters-> your cluster -> Scheduling policy : 1. What is your selected policy and what properties does it contains ? 2. Under Additional Properties , is "Enable HA Reservation" selected ? Also check if your host has the necessary hooks (e.g. macspoof) as in the first host you deployed the hosted engine on and that it has power management enabled. Regards, Yanir Quinn On Sun, Aug 7, 2016 at 4: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? 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

This is a multi-part message in MIME format. --------------F358D184DAED841FBB59D0E8 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi, Thanks for your help... The scheduling policy is set to none I've set the "Enable HA Reservation" property and also install the macspoof hook and power management is configured correctly and seems to work but all that didn't help . Regargs, Arsène On 08/07/2016 04:50 PM, Yanir Quinn wrote:
Hi,
Under Clusters-> your cluster -> Scheduling policy : 1. What is your selected policy and what properties does it contains ? 2. Under Additional Properties , is "Enable HA Reservation" selected ?
Also check if your host has the necessary hooks (e.g. macspoof) as in the first host you deployed the hosted engine on and that it has power management enabled.
Regards, Yanir Quinn
On Sun, Aug 7, 2016 at 4:42 PM, Arsène Gschwind <arsene.gschwind@unibas.ch <mailto: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? 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 <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
--------------F358D184DAED841FBB59D0E8 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>Hi,</p> <p>Thanks for your help...</p> <p>The scheduling policy is set to none<br> I've set the "Enable HA Reservation" property and also install the macspoof hook and power management is configured correctly and seems to work but all that didn't help .</p> <p>Regargs,</p> <p>Arsène<br> </p> <br> <div class="moz-cite-prefix">On 08/07/2016 04:50 PM, Yanir Quinn wrote:<br> </div> <blockquote cite="mid:CANtz9y6QYP9U9Sy9sPasBqWx95JME2_PJ5=PbL39=kgYFZfGBQ@mail.gmail.com" type="cite"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <div dir="ltr"> <div> <div> <div>Hi,<br> </div> <br> </div> Under Clusters-> your cluster -> Scheduling policy :<br> 1. What is your selected policy and what properties does it contains ?<br> </div> <div>2. Under Additional Properties , is "Enable HA Reservation" selected ? <br> <br> </div> <div>Also check if your host has the necessary hooks (e.g. macspoof) as in the first host you deployed the hosted engine on<br> </div> <div>and that it has power management enabled.<br> <br> </div> <div>Regards,<br> </div> <div>Yanir Quinn <br> </div> <div><br> </div> <div><br> <br> </div> </div> <div class="gmail_extra"><br> <div class="gmail_quote">On Sun, Aug 7, 2016 at 4:42 PM, Arsène Gschwind <span dir="ltr"><<a moz-do-not-send="true" href="mailto:arsene.gschwind@unibas.ch" target="_blank">arsene.gschwind@unibas.ch</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div bgcolor="#FFFFFF" text="#000000"> <p>Hi,</p> <p>I have an oVirt setup with 2 server using hosted-engine, both server resgistered properly the hosted-engine using :<br> # hosted-engine --deploy</p> <p>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.<br> The error I get when trying to migrate:</p> <p> </p> <ul> <li>Cannot migrate VM. There is no host that satisfies current scheduling constraints. See below for details:</li> <li>The host xxxxxx did not satisfy internal filter HA because it is not a Hosted Engine host..</li> </ul> <p>I've tried to redeploy the hosted-engine but this will fail since the host already exists in the management DB.<br> 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.</p> <p>Is there a way to check if the host is registered as hosted-engine host?<br> How could I register it correctly?</p> <p>Let me know if you need any logs.<br> Thanks for any hint.<br> </p> <p>Regards,<br> Arsène<br> </p> </div> <br> ______________________________<wbr>_________________<br> Users mailing list<br> <a moz-do-not-send="true" href="mailto:Users@ovirt.org">Users@ovirt.org</a><br> <a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br> <br> </blockquote> </div> <br> </div> </blockquote> <br> </body> </html> --------------F358D184DAED841FBB59D0E8--

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? Do you see any hosted-engine score for it in the engine?
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

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

On Mon, Aug 8, 2016 at 10:54 AM, Arsène Gschwind <arsene.gschwind@unibas.ch> wrote:
Status up-to-date : False Hostname : xxxxxxxx Host ID : 1
The issue is that on both the host you just see the status of host 1, which is also not up-to-date at host 2 eyes, and you miss host 2. Can you please check the status of ovirt-ha-agent and ovirt-ha-broker services and share your /var/log/ovirt-hosted-engine-ha/agent.log from the problematic host?

I think I've found the problem, a typo in hostname and the certificate are also created with the wrong FQDN. Sometime you just don't see the problem on first approach. Many thanks for your help Regards, Arsène On 08/08/2016 10:58 AM, Simone Tiraboschi wrote:
On Mon, Aug 8, 2016 at 10:54 AM, Arsène Gschwind <arsene.gschwind@unibas.ch> wrote:
Status up-to-date : False Hostname : xxxxxxxx Host ID : 1 The issue is that on both the host you just see the status of host 1, which is also not up-to-date at host 2 eyes, and you miss host 2.
Can you please check the status of ovirt-ha-agent and ovirt-ha-broker services and share your /var/log/ovirt-hosted-engine-ha/agent.log from the problematic host?
participants (3)
-
Arsène Gschwind
-
Simone Tiraboschi
-
Yanir Quinn