<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 21/7/2559 16:53, Simone Tiraboschi wrote:<br>
<blockquote
cite="mid:CAN8-ONp_V58QUt3uB-_-pXtUWpxhc7iZRTNyTSA6ZpDtsSF_=g@mail.gmail.com"
type="cite">
<div dir="ltr">On Thu, Jul 21, 2016 at 11:43 AM, Wee Sritippho <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:wee.s@forest.go.th" target="_blank">wee.s@forest.go.th</a>></span>
wrote:<br>
<div class="gmail_extra">
<div class="gmail_quote">
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">Can I just follow
<a moz-do-not-send="true"
href="http://www.ovirt.org/documentation/how-to/hosted-engine/#upgrade-hosted-engine"
target="_blank">http://www.ovirt.org/documentation/how-to/hosted-engine/#upgrade-hosted-engine</a>
until step 3 and do everything else via GUI?</div>
</blockquote>
<div>Yes, absolutely.</div>
<div bgcolor="#FFFFFF" text="#000000"> <span class="HOEnZb"><font
color="#888888"><br>
</font></span></div>
</div>
</div>
</div>
</blockquote>
Hi, I upgrade a host (host02) via GUI and now its score is 0.
Restarted the services but the result is still the same. Kinda lost
now. What should I do next?<br>
<br>
[root@host02 ~]# service vdsmd restart<br>
Redirecting to /bin/systemctl restart vdsmd.service<br>
[root@host02 ~]# systemctl restart ovirt-ha-broker &&
systemctl restart ovirt-ha-agent<br>
[root@host02 ~]# systemctl status ovirt-ha-broker<br>
● ovirt-ha-broker.service - oVirt Hosted Engine High Availability
Communications Broker<br>
Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-broker.service;
enabled; vendor preset: disabled)<br>
Active: active (running) since Thu 2016-07-28 15:09:38 ICT; 20min
ago<br>
Main PID: 4614 (ovirt-ha-broker)<br>
CGroup: /system.slice/ovirt-ha-broker.service<br>
└─4614 /usr/bin/python
/usr/share/ovirt-hosted-engine-ha/ovirt-ha-broker --no-daemon<br>
<br>
Jul 28 15:29:35 host02.ovirt.forest.go.th ovirt-ha-broker[4614]:
INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection
established<br>
Jul 28 15:29:35 host02.ovirt.forest.go.th ovirt-ha-broker[4614]:
INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection
closed<br>
Jul 28 15:29:35 host02.ovirt.forest.go.th ovirt-ha-broker[4614]:
INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection
established<br>
Jul 28 15:29:35 host02.ovirt.forest.go.th ovirt-ha-broker[4614]:
INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection
closed<br>
Jul 28 15:29:48 host02.ovirt.forest.go.th ovirt-ha-broker[4614]:
INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection
established<br>
Jul 28 15:29:48 host02.ovirt.forest.go.th ovirt-ha-broker[4614]:
INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection
closed<br>
Jul 28 15:29:48 host02.ovirt.forest.go.th ovirt-ha-broker[4614]:
INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection
established<br>
Jul 28 15:29:48 host02.ovirt.forest.go.th ovirt-ha-broker[4614]:
INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection
closed<br>
Jul 28 15:29:48 host02.ovirt.forest.go.th ovirt-ha-broker[4614]:
INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection
established<br>
Jul 28 15:29:48 host02.ovirt.forest.go.th ovirt-ha-broker[4614]:
INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection
closed<br>
[root@host02 ~]# systemctl status ovirt-ha-agent<br>
● ovirt-ha-agent.service - oVirt Hosted Engine High Availability
Monitoring Agent<br>
Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-agent.service;
enabled; vendor preset: disabled)<br>
Active: active (running) since Thu 2016-07-28 15:28:34 ICT; 1min
19s ago<br>
Main PID: 11488 (ovirt-ha-agent)<br>
CGroup: /system.slice/ovirt-ha-agent.service<br>
└─11488 /usr/bin/python
/usr/share/ovirt-hosted-engine-ha/ovirt-ha-agent --no-daemon<br>
<br>
Jul 28 15:29:52 host02.ovirt.forest.go.th ovirt-ha-agent[11488]:
/usr/lib/python2.7/site-packages/yajsonrpc/stomp.py:352:
DeprecationWarning: Dispatcher.pend...instead.<br>
Jul 28 15:29:52 host02.ovirt.forest.go.th ovirt-ha-agent[11488]:
pending = getattr(dispatcher, 'pending', lambda: 0)<br>
Jul 28 15:29:53 host02.ovirt.forest.go.th ovirt-ha-agent[11488]:
/usr/lib/python2.7/site-packages/yajsonrpc/stomp.py:352:
DeprecationWarning: Dispatcher.pend...instead.<br>
Jul 28 15:29:53 host02.ovirt.forest.go.th ovirt-ha-agent[11488]:
pending = getattr(dispatcher, 'pending', lambda: 0)<br>
Jul 28 15:29:53 host02.ovirt.forest.go.th ovirt-ha-agent[11488]:
/usr/lib/python2.7/site-packages/yajsonrpc/stomp.py:352:
DeprecationWarning: Dispatcher.pend...instead.<br>
Jul 28 15:29:53 host02.ovirt.forest.go.th ovirt-ha-agent[11488]:
pending = getattr(dispatcher, 'pending', lambda: 0)<br>
Jul 28 15:29:53 host02.ovirt.forest.go.th ovirt-ha-agent[11488]:
/usr/lib/python2.7/site-packages/yajsonrpc/stomp.py:352:
DeprecationWarning: Dispatcher.pend...instead.<br>
Jul 28 15:29:53 host02.ovirt.forest.go.th ovirt-ha-agent[11488]:
pending = getattr(dispatcher, 'pending', lambda: 0)<br>
Jul 28 15:29:53 host02.ovirt.forest.go.th ovirt-ha-agent[11488]:
ovirt-ha-agent ovirt_hosted_engine_ha.agent.agent.Agent ERROR Error:
'Attempt to call functi...rt agent<br>
Jul 28 15:29:53 host02.ovirt.forest.go.th ovirt-ha-agent[11488]:
ERROR:ovirt_hosted_engine_ha.agent.agent.Agent:Error: 'Attempt to
call function: teardownIma...rt agent<br>
Hint: Some lines were ellipsized, use -l to show in full.<br>
[root@host01 ~]# hosted-engine --vm-status<br>
<br>
<br>
--== Host 1 status ==--<br>
<br>
Status up-to-date : True<br>
Hostname : host01.ovirt.forest.go.th<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 : d9521f2f<br>
Host timestamp : 1467916<br>
Extra metadata (valid at timestamp):<br>
metadata_parse_version=1<br>
metadata_feature_version=1<br>
timestamp=1467916 (Thu Jul 28 15:29:52 2016)<br>
host-id=1<br>
score=3400<br>
maintenance=False<br>
state=EngineUp<br>
stopped=False<br>
<br>
<br>
--== Host 2 status ==--<br>
<br>
Status up-to-date : False<br>
Hostname : host02.ovirt.forest.go.th<br>
Host ID : 2<br>
Engine status : unknown stale-data<br>
Score : 0<br>
stopped : True<br>
Local maintenance : False<br>
crc32 : 0e1c66ec<br>
Host timestamp : 341176<br>
Extra metadata (valid at timestamp):<br>
metadata_parse_version=1<br>
metadata_feature_version=1<br>
timestamp=341176 (Fri Jul 15 14:30:36 2016)<br>
host-id=2<br>
score=0<br>
maintenance=False<br>
state=AgentStopped<br>
stopped=True<br>
<br>
<img src="cid:part3.FD9D1747.A6CF6D68@forest.go.th" alt=""><br>
<br>
P.S. In case if anyone is wondering, hosted03 doesn't appear when I
run hosted-engine --vm-status because I installed it before
upgrading hosted01 and hosted02 to the latest version, so it might
be broken.<br>
<br>
<pre class="moz-signature" cols="72">--
Wee</pre>
</body>
</html>