<div dir="ltr"><div><div>Hello guys</div><div>I installed ovirt using hosted-engine procedure with six fisical hosts, with more than 60 vms, and until now, everythings ok and my environment works fine.</div><div>I decided to use some of my hosts for other tasks, so have been removed four of my six hosts and put it way from my environment.</div><div>After few days, my second host (hosted_engine_2) start to fail. It's hardware issue. My 10GbE interface stoped. I decide to put my host "4" as a second hosted_engine_2.</div><div>It's works fine. but when I use command "hosted-engine --vm-status", its still returns all of the old members of hosted-engines (1 to 6)</div><div>how can i fix it leave only just active active nodes?</div><div>See below the output for my hosted-engine --vm-status</div></div><div><br></div><div><br></div><div><div><br></div><div>[root@bmh0001 ~]# hosted-engine --vm-status</div><div><br></div><div>--== Host 1 status ==--</div><div><br></div><div>Status up-to-date : True</div><div>Hostname : bmh0001.place.brazil</div><div>Host ID : 1</div><div>Engine status : {"reason": "vm not running on this host", "health": "bad", "vm": "down", "detail": "unknown"}</div><div>Score : 2400</div><div>Local maintenance : False</div><div>Host timestamp : 68830</div><div>Extra metadata (valid at timestamp):</div><div><span class="" style="white-space:pre">        </span>metadata_parse_version=1</div><div><span class="" style="white-space:pre">        </span>metadata_feature_version=1</div><div><span class="" style="white-space:pre">        </span>timestamp=68830 (Sun Mar 8 17:38:05 2015)</div><div><span class="" style="white-space:pre">        </span>host-id=1</div><div><span class="" style="white-space:pre">        </span>score=2400</div><div><span class="" style="white-space:pre">        </span>maintenance=False</div><div><span class="" style="white-space:pre">        </span>state=EngineDown</div><div><br></div><div><br></div><div>--== Host 2 status ==--</div><div><br></div><div>Status up-to-date : True</div><div>Hostname : bmh0004.place.brazil</div><div>Host ID : 2</div><div>Engine status : {"health": "good", "vm": "up", "detail": "up"}</div><div>Score : 2400</div><div>Local maintenance : False</div><div>Host timestamp : 2427</div><div>Extra metadata (valid at timestamp):</div><div><span class="" style="white-space:pre">        </span>metadata_parse_version=1</div><div><span class="" style="white-space:pre">        </span>metadata_feature_version=1</div><div><span class="" style="white-space:pre">        </span>timestamp=2427 (Sun Mar 8 17:38:09 2015)</div><div><span class="" style="white-space:pre">        </span>host-id=2</div><div><span class="" style="white-space:pre">        </span>score=2400</div><div><span class="" style="white-space:pre">        </span>maintenance=False</div><div><span class="" style="white-space:pre">        </span>state=EngineUp</div><div><br></div><div><br></div><div>--== Host 3 status ==--</div><div><br></div><div>Status up-to-date : False</div><div>Hostname : bmh0003.place.brazil</div><div>Host ID : 3</div><div>Engine status : unknown stale-data</div><div>Score : 0</div><div>Local maintenance : True</div><div>Host timestamp : 331389</div><div>Extra metadata (valid at timestamp):</div><div><span class="" style="white-space:pre">        </span>metadata_parse_version=1</div><div><span class="" style="white-space:pre">        </span>metadata_feature_version=1</div><div><span class="" style="white-space:pre">        </span>timestamp=331389 (Tue Mar 3 14:48:25 2015)</div><div><span class="" style="white-space:pre">        </span>host-id=3</div><div><span class="" style="white-space:pre">        </span>score=0</div><div><span class="" style="white-space:pre">        </span>maintenance=True</div><div><span class="" style="white-space:pre">        </span>state=LocalMaintenance</div><div><br></div><div><br></div><div>--== Host 4 status ==--</div><div><br></div><div>Status up-to-date : False</div><div>Hostname : bmh0004.place.brazil</div><div>Host ID : 4</div><div>Engine status : unknown stale-data</div><div>Score : 0</div><div>Local maintenance : True</div><div>Host timestamp : 364358</div><div>Extra metadata (valid at timestamp):</div><div><span class="" style="white-space:pre">        </span>metadata_parse_version=1</div><div><span class="" style="white-space:pre">        </span>metadata_feature_version=1</div><div><span class="" style="white-space:pre">        </span>timestamp=364358 (Tue Mar 3 16:10:36 2015)</div><div><span class="" style="white-space:pre">        </span>host-id=4</div><div><span class="" style="white-space:pre">        </span>score=0</div><div><span class="" style="white-space:pre">        </span>maintenance=True</div><div><span class="" style="white-space:pre">        </span>state=LocalMaintenance</div><div><br></div><div><br></div><div>--== Host 5 status ==--</div><div><br></div><div>Status up-to-date : False</div><div>Hostname : bmh0005.place.brazil</div><div>Host ID : 5</div><div>Engine status : unknown stale-data</div><div>Score : 0</div><div>Local maintenance : True</div><div>Host timestamp : 241930</div><div>Extra metadata (valid at timestamp):</div><div><span class="" style="white-space:pre">        </span>metadata_parse_version=1</div><div><span class="" style="white-space:pre">        </span>metadata_feature_version=1</div><div><span class="" style="white-space:pre">        </span>timestamp=241930 (Fri Mar 6 09:40:31 2015)</div><div><span class="" style="white-space:pre">        </span>host-id=5</div><div><span class="" style="white-space:pre">        </span>score=0</div><div><span class="" style="white-space:pre">        </span>maintenance=True</div><div><span class="" style="white-space:pre">        </span>state=LocalMaintenance</div><div><br></div><div><br></div><div>--== Host 6 status ==--</div><div><br></div><div>Status up-to-date : False</div><div>Hostname : bmh0006.place.brazil</div><div>Host ID : 6</div><div>Engine status : unknown stale-data</div><div>Score : 0</div><div>Local maintenance : True</div><div>Host timestamp : 77376</div><div>Extra metadata (valid at timestamp):</div><div><span class="" style="white-space:pre">        </span>metadata_parse_version=1</div><div><span class="" style="white-space:pre">        </span>metadata_feature_version=1</div><div><span class="" style="white-space:pre">        </span>timestamp=77376 (Wed Mar 4 09:11:17 2015)</div><div><span class="" style="white-space:pre">        </span>host-id=6</div><div><span class="" style="white-space:pre">        </span>score=0</div><div><span class="" style="white-space:pre">        </span>maintenance=True</div><div><span class="" style="white-space:pre">        </span>state=LocalMaintenance</div><div>[root@bmh0001 ~]# hosted-engine --vm-status</div><div><br></div><div><br></div><div>--== Host 1 status ==--</div><div><br></div><div>Status up-to-date : True</div><div>Hostname : bmh0001.place.brazil</div><div>Host ID : 1</div><div>Engine status : {"reason": "bad vm status", "health": "bad", "vm": "down", "detail": "down"}</div><div>Score : 2400</div><div>Local maintenance : False</div><div>Host timestamp : 68122</div><div>Extra metadata (valid at timestamp):</div><div><span class="" style="white-space:pre">        </span>metadata_parse_version=1</div><div><span class="" style="white-space:pre">        </span>metadata_feature_version=1</div><div><span class="" style="white-space:pre">        </span>timestamp=68122 (Sun Mar 8 17:26:16 2015)</div><div><span class="" style="white-space:pre">        </span>host-id=1</div><div><span class="" style="white-space:pre">        </span>score=2400</div><div><span class="" style="white-space:pre">        </span>maintenance=False</div><div><span class="" style="white-space:pre">        </span>state=EngineStarting</div><div><br></div><div><br></div><div>--== Host 2 status ==--</div><div><br></div><div>Status up-to-date : True</div><div>Hostname : bmh0004.place.brazil</div><div>Host ID : 2</div><div>Engine status : {"reason": "bad vm status", "health": "bad", "vm": "up", "detail": "powering up"}</div><div>Score : 2400</div><div>Local maintenance : False</div><div>Host timestamp : 1719</div><div>Extra metadata (valid at timestamp):</div><div><span class="" style="white-space:pre">        </span>metadata_parse_version=1</div><div><span class="" style="white-space:pre">        </span>metadata_feature_version=1</div><div><span class="" style="white-space:pre">        </span>timestamp=1719 (Sun Mar 8 17:26:21 2015)</div><div><span class="" style="white-space:pre">        </span>host-id=2</div><div><span class="" style="white-space:pre">        </span>score=2400</div><div><span class="" style="white-space:pre">        </span>maintenance=False</div><div><span class="" style="white-space:pre">        </span>state=EngineStarting</div><div><br></div><div><br></div><div>--== Host 3 status ==--</div><div><br></div><div>Status up-to-date : False</div><div>Hostname : bmh0003.place.brazil</div><div>Host ID : 3</div><div>Engine status : unknown stale-data</div><div>Score : 0</div><div>Local maintenance : True</div><div>Host timestamp : 331389</div><div>Extra metadata (valid at timestamp):</div><div><span class="" style="white-space:pre">        </span>metadata_parse_version=1</div><div><span class="" style="white-space:pre">        </span>metadata_feature_version=1</div><div><span class="" style="white-space:pre">        </span>timestamp=331389 (Tue Mar 3 14:48:25 2015)</div><div><span class="" style="white-space:pre">        </span>host-id=3</div><div><span class="" style="white-space:pre">        </span>score=0</div><div><span class="" style="white-space:pre">        </span>maintenance=True</div><div><span class="" style="white-space:pre">        </span>state=LocalMaintenance</div><div><br></div><div><br></div><div>--== Host 4 status ==--</div><div><br></div><div>Status up-to-date : False</div><div>Hostname : bmh0004.place.brazil</div><div>Host ID : 4</div><div>Engine status : unknown stale-data</div><div>Score : 0</div><div>Local maintenance : True</div><div>Host timestamp : 364358</div><div>Extra metadata (valid at timestamp):</div><div><span class="" style="white-space:pre">        </span>metadata_parse_version=1</div><div><span class="" style="white-space:pre">        </span>metadata_feature_version=1</div><div><span class="" style="white-space:pre">        </span>timestamp=364358 (Tue Mar 3 16:10:36 2015)</div><div><span class="" style="white-space:pre">        </span>host-id=4</div><div><span class="" style="white-space:pre">        </span>score=0</div><div><span class="" style="white-space:pre">        </span>maintenance=True</div><div><span class="" style="white-space:pre">        </span>state=LocalMaintenance</div><div><br></div><div><br></div><div>--== Host 5 status ==--</div><div><br></div><div>Status up-to-date : False</div><div>Hostname : bmh0005.place.brazil</div><div>Host ID : 5</div><div>Engine status : unknown stale-data</div><div>Score : 0</div><div>Local maintenance : True</div><div>Host timestamp : 241930</div><div>Extra metadata (valid at timestamp):</div><div><span class="" style="white-space:pre">        </span>metadata_parse_version=1</div><div><span class="" style="white-space:pre">        </span>metadata_feature_version=1</div><div><span class="" style="white-space:pre">        </span>timestamp=241930 (Fri Mar 6 09:40:31 2015)</div><div><span class="" style="white-space:pre">        </span>host-id=5</div><div><span class="" style="white-space:pre">        </span>score=0</div><div><span class="" style="white-space:pre">        </span>maintenance=True</div><div><span class="" style="white-space:pre">        </span>state=LocalMaintenance</div><div><br></div><div><br></div><div>--== Host 6 status ==--</div><div><br></div><div>Status up-to-date : False</div><div>Hostname : bmh0006.place.brazil</div><div>Host ID : 6</div><div>Engine status : unknown stale-data</div><div>Score : 0</div><div>Local maintenance : True</div><div>Host timestamp : 77376</div><div>Extra metadata (valid at timestamp):</div><div><span class="" style="white-space:pre">        </span>metadata_parse_version=1</div><div><span class="" style="white-space:pre">        </span>metadata_feature_version=1</div><div><span class="" style="white-space:pre">        </span>timestamp=77376 (Wed Mar 4 09:11:17 2015)</div><div><span class="" style="white-space:pre">        </span>host-id=6</div><div><span class="" style="white-space:pre">        </span>score=0</div><div><span class="" style="white-space:pre">        </span>maintenance=True</div><div><span class="" style="white-space:pre">        </span>state=LocalMaintenance</div><div>[root@bmh0001 ~]#</div></div><div><br></div><div><br></div><div>thank you very much.</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Regards</div><b>Filipe Guarino</b></div></div>
</div>