[ovirt-users] Hosted-Engine --vm-status results

Artyom Lukianov alukiano at redhat.com
Wed Mar 18 08:52:52 UTC 2015


At the moment hosted-engine not support clean remove of hosts from HE environment, we have PRD bug for this issue https://bugzilla.redhat.com/show_bug.cgi?id=1136009, I you can edit metadata on HE storage and remove not active hosts, but it better to ask developers for correct way to this stuff.

----- Original Message -----
From: "Filipe Guarino" <guarinux at gmail.com>
To: users at ovirt.org
Sent: Monday, March 9, 2015 1:03:03 AM
Subject: [ovirt-users] Hosted-Engine --vm-status results

Hello guys 
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. 
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. 
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. 
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) 
how can i fix it leave only just active active nodes? 
See below the output for my hosted-engine --vm-status 



[root at bmh0001 ~]# hosted-engine --vm-status 

--== Host 1 status ==-- 

Status up-to-date : True 
Hostname : bmh0001.place.brazil 
Host ID : 1 
Engine status : {"reason": "vm not running on this host", "health": "bad", "vm": "down", "detail": "unknown"} 
Score : 2400 
Local maintenance : False 
Host timestamp : 68830 
Extra metadata (valid at timestamp): 
metadata_parse_version=1 
metadata_feature_version=1 
timestamp=68830 (Sun Mar 8 17:38:05 2015) 
host-id=1 
score=2400 
maintenance=False 
state=EngineDown 


--== Host 2 status ==-- 

Status up-to-date : True 
Hostname : bmh0004.place.brazil 
Host ID : 2 
Engine status : {"health": "good", "vm": "up", "detail": "up"} 
Score : 2400 
Local maintenance : False 
Host timestamp : 2427 
Extra metadata (valid at timestamp): 
metadata_parse_version=1 
metadata_feature_version=1 
timestamp=2427 (Sun Mar 8 17:38:09 2015) 
host-id=2 
score=2400 
maintenance=False 
state=EngineUp 


--== Host 3 status ==-- 

Status up-to-date : False 
Hostname : bmh0003.place.brazil 
Host ID : 3 
Engine status : unknown stale-data 
Score : 0 
Local maintenance : True 
Host timestamp : 331389 
Extra metadata (valid at timestamp): 
metadata_parse_version=1 
metadata_feature_version=1 
timestamp=331389 (Tue Mar 3 14:48:25 2015) 
host-id=3 
score=0 
maintenance=True 
state=LocalMaintenance 


--== Host 4 status ==-- 

Status up-to-date : False 
Hostname : bmh0004.place.brazil 
Host ID : 4 
Engine status : unknown stale-data 
Score : 0 
Local maintenance : True 
Host timestamp : 364358 
Extra metadata (valid at timestamp): 
metadata_parse_version=1 
metadata_feature_version=1 
timestamp=364358 (Tue Mar 3 16:10:36 2015) 
host-id=4 
score=0 
maintenance=True 
state=LocalMaintenance 


--== Host 5 status ==-- 

Status up-to-date : False 
Hostname : bmh0005.place.brazil 
Host ID : 5 
Engine status : unknown stale-data 
Score : 0 
Local maintenance : True 
Host timestamp : 241930 
Extra metadata (valid at timestamp): 
metadata_parse_version=1 
metadata_feature_version=1 
timestamp=241930 (Fri Mar 6 09:40:31 2015) 
host-id=5 
score=0 
maintenance=True 
state=LocalMaintenance 


--== Host 6 status ==-- 

Status up-to-date : False 
Hostname : bmh0006.place.brazil 
Host ID : 6 
Engine status : unknown stale-data 
Score : 0 
Local maintenance : True 
Host timestamp : 77376 
Extra metadata (valid at timestamp): 
metadata_parse_version=1 
metadata_feature_version=1 
timestamp=77376 (Wed Mar 4 09:11:17 2015) 
host-id=6 
score=0 
maintenance=True 
state=LocalMaintenance 
[root at bmh0001 ~]# hosted-engine --vm-status 


--== Host 1 status ==-- 

Status up-to-date : True 
Hostname : bmh0001.place.brazil 
Host ID : 1 
Engine status : {"reason": "bad vm status", "health": "bad", "vm": "down", "detail": "down"} 
Score : 2400 
Local maintenance : False 
Host timestamp : 68122 
Extra metadata (valid at timestamp): 
metadata_parse_version=1 
metadata_feature_version=1 
timestamp=68122 (Sun Mar 8 17:26:16 2015) 
host-id=1 
score=2400 
maintenance=False 
state=EngineStarting 


--== Host 2 status ==-- 

Status up-to-date : True 
Hostname : bmh0004.place.brazil 
Host ID : 2 
Engine status : {"reason": "bad vm status", "health": "bad", "vm": "up", "detail": "powering up"} 
Score : 2400 
Local maintenance : False 
Host timestamp : 1719 
Extra metadata (valid at timestamp): 
metadata_parse_version=1 
metadata_feature_version=1 
timestamp=1719 (Sun Mar 8 17:26:21 2015) 
host-id=2 
score=2400 
maintenance=False 
state=EngineStarting 


--== Host 3 status ==-- 

Status up-to-date : False 
Hostname : bmh0003.place.brazil 
Host ID : 3 
Engine status : unknown stale-data 
Score : 0 
Local maintenance : True 
Host timestamp : 331389 
Extra metadata (valid at timestamp): 
metadata_parse_version=1 
metadata_feature_version=1 
timestamp=331389 (Tue Mar 3 14:48:25 2015) 
host-id=3 
score=0 
maintenance=True 
state=LocalMaintenance 


--== Host 4 status ==-- 

Status up-to-date : False 
Hostname : bmh0004.place.brazil 
Host ID : 4 
Engine status : unknown stale-data 
Score : 0 
Local maintenance : True 
Host timestamp : 364358 
Extra metadata (valid at timestamp): 
metadata_parse_version=1 
metadata_feature_version=1 
timestamp=364358 (Tue Mar 3 16:10:36 2015) 
host-id=4 
score=0 
maintenance=True 
state=LocalMaintenance 


--== Host 5 status ==-- 

Status up-to-date : False 
Hostname : bmh0005.place.brazil 
Host ID : 5 
Engine status : unknown stale-data 
Score : 0 
Local maintenance : True 
Host timestamp : 241930 
Extra metadata (valid at timestamp): 
metadata_parse_version=1 
metadata_feature_version=1 
timestamp=241930 (Fri Mar 6 09:40:31 2015) 
host-id=5 
score=0 
maintenance=True 
state=LocalMaintenance 


--== Host 6 status ==-- 

Status up-to-date : False 
Hostname : bmh0006.place.brazil 
Host ID : 6 
Engine status : unknown stale-data 
Score : 0 
Local maintenance : True 
Host timestamp : 77376 
Extra metadata (valid at timestamp): 
metadata_parse_version=1 
metadata_feature_version=1 
timestamp=77376 (Wed Mar 4 09:11:17 2015) 
host-id=6 
score=0 
maintenance=True 
state=LocalMaintenance 
[root at bmh0001 ~]# 


thank you very much. 

-- 
Regards 
Filipe Guarino 

_______________________________________________
Users mailing list
Users at ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



More information about the Users mailing list