<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }body { font-size: 10.5pt; font-family: 微软雅黑; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div>Thank you for your reply.</div><div><br></div><div><span></span>The result of both hosts is zh_CN.utf8</div><div>But i think may be it's not the problem of locale, </div><div>because when i run 'vdsClient -s 0 getAllTasksStatuses' manually on the SPM host, there is no problem(no errors in vdsm.log)</div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>like.ma@cs2c.com.cn</div></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:emesika@redhat.com">Eli Mesika</a></div><div><b>Date:</b> 2015-06-23 16:44</div><div><b>To:</b> <a href="mailto:like.ma@cs2c.com.cn">like ma</a></div><div><b>CC:</b> <a href="mailto:devel@ovirt.org">devel</a>; <a href="mailto:users@ovirt.org">users</a></div><div><b>Subject:</b> Re: [ovirt-users] spm changes hourly due to unexpected error of getAllTasksStatuses</div></div></div><div><div> </div>
<div> </div>
<div>----- Original Message -----</div>
<div>> From: "like ma" <like.ma@cs2c.com.cn></div>
<div>> To: devel@ovirt.org, users@ovirt.org</div>
<div>> Sent: Tuesday, June 23, 2015 11:26:17 AM</div>
<div>> Subject: [ovirt-users] spm changes hourly due to unexpected error of        getAllTasksStatuses</div>
<div>> </div>
<div>> Hello all,</div>
<div>> </div>
<div>> In our ovirt environment(oVirt 3.4.4), we have 2 hosts, and the spm changes</div>
<div>> hourly between the 2 hosts. In the events of DataCenters there is following</div>
<div>> message each hour:</div>
<div>> 'Data Center is being initialized, please wait for initialization to</div>
<div>> complete'</div>
<div>> </div>
<div>> In the vdsm.log i found following error message:</div>
<div>> Thread-13::ERROR::2015-06-23</div>
<div>> 13:38:36,667::task::866::TaskManager.Task::(_setError)</div>
<div>> Task=`e450d7d6-771d-4c51-90b7-c6b10da37897`::Unexpected error</div>
<div>> Traceback (most recent call last):</div>
<div>> File "/usr/share/vdsm/storage/task.py", line 873, in _run</div>
<div>> return fn(*args, **kargs)</div>
<div>> File "/usr/share/vdsm/logUtils.py", line 45, in wrapper</div>
<div>> res = f(*args, **kwargs)</div>
<div>> File "/usr/share/vdsm/storage/hsm.py", line 2125, in getAllTasksStatuses</div>
<div>> allTasksStatus = sp.getAllTasksStatuses()</div>
<div>> File "/usr/share/vdsm/storage/securable.py", line 73, in wrapper</div>
<div>> raise SecureError("Secured object is not in safe state")</div>
<div>> SecureError: Secured object is not in safe state</div>
<div>> </div>
<div>> The attachment is vdsm.log and engine.log. The error occured at 2015-06-23</div>
<div>> 13:38 and 2015-06-23 15:38 in vdsm.log.</div>
<div>> (by the way, in the other host the error occured at 2015-06-23 12:38 and</div>
<div>> 2015-06-23 14:38 )</div>
<div>> </div>
<div>> And in the engine.log i found following error message:</div>
<div>> 2015-06-23 13:38:37,933 ERROR</div>
<div>> [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]</div>
<div>> (DefaultQuartzScheduler_Worker-34) [781beaea] IrsBroker::Failed::UpdateVMVDS</div>
<div>> due to: XmlRpcException: <type 'exceptions.UnicodeDecodeError'>:'utf8' codec</div>
<div>> can't decode byte 0xeb in position 749: invalid continuation byte</div>
<div>> </div>
<div>> 2015-06-23 13:38:37,971 ERROR [org.ovirt.engine.core.bll.OvfDataUpdater]</div>
<div>> (DefaultQuartzScheduler_Worker-34) [781beaea] Exception while trying to</div>
<div>> update or remove VMs/Templates ovf in Data Center Default.:</div>
<div>> org.ovirt.engine.core.common.errors.VdcBLLException: VdcBLLException:</div>
<div>> java.lang.reflect.UndeclaredThrowableException (Failed with error</div>
<div>> VDS_NETWORK_ERROR and code 5022)</div>
<div>> at org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:116)</div>
<div>> [bll.jar:]</div>
<div>> at</div>
<div>> org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunVdsCommand(VDSBrokerFrontendImpl.java:33)</div>
<div>> [bll.jar:]</div>
<div>> at</div>
<div>> org.ovirt.engine.core.bll.OvfDataUpdater.executeUpdateVmInSpmCommand(OvfDataUpdater.java:383)</div>
<div>> [bll.jar:]</div>
<div>> at</div>
<div>> org.ovirt.engine.core.bll.OvfDataUpdater.performOvfUpdate(OvfDataUpdater.java:163)</div>
<div>> [bll.jar:]</div>
<div>> at</div>
<div>> org.ovirt.engine.core.bll.OvfDataUpdater.updateOvfForVmsOfStoragePool(OvfDataUpdater.java:135)</div>
<div>> [bll.jar:]</div>
<div>> at</div>
<div>> org.ovirt.engine.core.bll.OvfDataUpdater.ovfUpdate_timer(OvfDataUpdater.java:93)</div>
<div>> [bll.jar:]</div>
<div>> at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source) [:1.7.0_65]</div>
<div>> at</div>
<div>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</div>
<div>> [rt.jar:1.7.0_65]</div>
<div>> at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_65]</div>
<div>> at org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:60)</div>
<div>> [scheduler.jar:]</div>
<div>> at org.quartz.core.JobRunShell.run(JobRunShell.java:213) [quartz.jar:]</div>
<div>> at</div>
<div>> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)</div>
<div>> [quartz.jar:]</div>
<div>> </div>
<div>> Can anyone help?</div>
<div> </div>
<div>Can you please share the result of the following on both hosts ?</div>
<div> </div>
<div>> echo $LANG</div>
<div> </div>
<div>thanks </div>
<div> </div>
<div> </div>
<div>> Thanks</div>
<div>> </div>
<div>> like.ma@cs2c.com.cn</div>
<div>> </div>
<div>> _______________________________________________</div>
<div>> Users mailing list</div>
<div>> Users@ovirt.org</div>
<div>> http://lists.ovirt.org/mailman/listinfo/users</div>
<div>> </div>
</div></blockquote>
</body></html>