On Thu, Jul 28, 2016 at 10:41 AM, Wee Sritippho <we...@forest.go.th> wrote:
> On 21/7/2559 16:53, Simone Tiraboschi wrote: > > On Thu, Jul 21, 2016 at 11:43 AM, Wee Sritippho <we...@forest.go.th> > wrote: > > >> Can I just follow >> http://www.ovirt.org/documentation/how-to/hosted-engine/#upgrade-hosted-engine >> until step 3 and do everything else via GUI? >> > Yes, absolutely. > > > 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? > > Can you please attach ovirt-ha-agent logs? > [root@host02 ~]# service vdsmd restart > Redirecting to /bin/systemctl restart vdsmd.service > [root@host02 ~]# systemctl restart ovirt-ha-broker && systemctl restart > ovirt-ha-agent > [root@host02 ~]# systemctl status ovirt-ha-broker > ● ovirt-ha-broker.service - oVirt Hosted Engine High Availability > Communications Broker > Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-broker.service; > enabled; vendor preset: disabled) > Active: active (running) since Thu 2016-07-28 15:09:38 ICT; 20min ago > Main PID: 4614 (ovirt-ha-broker) > CGroup: /system.slice/ovirt-ha-broker.service > └─4614 /usr/bin/python > /usr/share/ovirt-hosted-engine-ha/ovirt-ha-broker --no-daemon > > Jul 28 15:29:35 host02.ovirt.forest.go.th ovirt-ha-broker[4614]: > INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection > established > Jul 28 15:29:35 host02.ovirt.forest.go.th ovirt-ha-broker[4614]: > INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection > closed > Jul 28 15:29:35 host02.ovirt.forest.go.th ovirt-ha-broker[4614]: > INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection > established > Jul 28 15:29:35 host02.ovirt.forest.go.th ovirt-ha-broker[4614]: > INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection > closed > Jul 28 15:29:48 host02.ovirt.forest.go.th ovirt-ha-broker[4614]: > INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection > established > Jul 28 15:29:48 host02.ovirt.forest.go.th ovirt-ha-broker[4614]: > INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection > closed > Jul 28 15:29:48 host02.ovirt.forest.go.th ovirt-ha-broker[4614]: > INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection > established > Jul 28 15:29:48 host02.ovirt.forest.go.th ovirt-ha-broker[4614]: > INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection > closed > Jul 28 15:29:48 host02.ovirt.forest.go.th ovirt-ha-broker[4614]: > INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection > established > Jul 28 15:29:48 host02.ovirt.forest.go.th ovirt-ha-broker[4614]: > INFO:ovirt_hosted_engine_ha.broker.listener.ConnectionHandler:Connection > closed > [root@host02 ~]# systemctl status ovirt-ha-agent > ● ovirt-ha-agent.service - oVirt Hosted Engine High Availability > Monitoring Agent > Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-agent.service; > enabled; vendor preset: disabled) > Active: active (running) since Thu 2016-07-28 15:28:34 ICT; 1min 19s ago > Main PID: 11488 (ovirt-ha-agent) > CGroup: /system.slice/ovirt-ha-agent.service > └─11488 /usr/bin/python > /usr/share/ovirt-hosted-engine-ha/ovirt-ha-agent --no-daemon > > 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. > Jul 28 15:29:52 host02.ovirt.forest.go.th ovirt-ha-agent[11488]: pending > = getattr(dispatcher, 'pending', lambda: 0) > 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. > Jul 28 15:29:53 host02.ovirt.forest.go.th ovirt-ha-agent[11488]: pending > = getattr(dispatcher, 'pending', lambda: 0) > 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. > Jul 28 15:29:53 host02.ovirt.forest.go.th ovirt-ha-agent[11488]: pending > = getattr(dispatcher, 'pending', lambda: 0) > 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. > Jul 28 15:29:53 host02.ovirt.forest.go.th ovirt-ha-agent[11488]: pending > = getattr(dispatcher, 'pending', lambda: 0) > 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 > 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 > Hint: Some lines were ellipsized, use -l to show in full. > [root@host01 ~]# hosted-engine --vm-status > > > --== Host 1 status ==-- > > Status up-to-date : True > Hostname : host01.ovirt.forest.go.th > Host ID : 1 > Engine status : {"health": "good", "vm": "up", > "detail": "up"} > Score : 3400 > stopped : False > Local maintenance : False > crc32 : d9521f2f > Host timestamp : 1467916 > Extra metadata (valid at timestamp): > metadata_parse_version=1 > metadata_feature_version=1 > timestamp=1467916 (Thu Jul 28 15:29:52 2016) > host-id=1 > score=3400 > maintenance=False > state=EngineUp > stopped=False > > > --== Host 2 status ==-- > > Status up-to-date : False > Hostname : host02.ovirt.forest.go.th > Host ID : 2 > Engine status : unknown stale-data > Score : 0 > stopped : True > Local maintenance : False > crc32 : 0e1c66ec > Host timestamp : 341176 > Extra metadata (valid at timestamp): > metadata_parse_version=1 > metadata_feature_version=1 > timestamp=341176 (Fri Jul 15 14:30:36 2016) > host-id=2 > score=0 > maintenance=False > state=AgentStopped > stopped=True > > > > 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. > > -- > Wee > >
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users