<html><body><div style="font-family: trebuchet ms,sans-serif; font-size: 12pt; color: #000000"><div>Hi, I've run the upgrade just to see if a number of issues I was having were fixed, and I seem to have</div><div>ended up with a fairly terminal issue I can't spot.</div><div><br></div><div>Host monitoring is now failing for hosts that previously seemed to be working. The reason seems to be</div><div>that the host is somehow looking at the datastores, and this in turn is failing.</div><div><br></div><div>The datastore monitoring is correct.</div><div>The error in oned.log is as follows;</div><div><p><strong><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif; color: rgb(255, 0, 0);" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif; color: #ff0000;">Thu Dec 5 15:24:47 2013 [ONE][E]: Error parsing host information: syntax error, unexpected EQUAL, expecting COMMA or CBRACKET at line 30, columns 494:497. Monitoring information:</span></strong><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">ARCH=x86_64</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">MODELNAME="AMD Phenom(tm) II X6 1100T Processor"</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">HYPERVISOR=kvm</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">TOTALCPU=600</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">CPUSPEED=3300</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">TOTALMEMORY=16175216</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">USEDMEMORY=399320</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">FREEMEMORY=15775896</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">FREECPU=600.0</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">USEDCPU=0.0</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">NETRX=33791417902</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">NETTX=25290741468</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">DS_LOCATION_USED_MB=2637</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">DS_LOCATION_TOTAL_MB=40190</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">DS_LOCATION_FREE_MB=28202</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">DS = [</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> ID = 0,</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> USED_MB = 29,</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> TOTAL_MB = 40190,</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> FREE_MB = 28202</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">]</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">DS = [</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> ID = 1,</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> USED_MB = 2609,</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> TOTAL_MB = 40190,</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> FREE_MB = 28202</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">]</span><br><strong><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif; color: rgb(255, 0, 0);" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif; color: #ff0000;">DS = [</span></strong><br><strong><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif; color: rgb(255, 0, 0);" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif; color: #ff0000;"> ID = 107,</span></strong><br><strong><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif; color: rgb(255, 0, 0);" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif; color: #ff0000;"> USED_MB = ,</span></strong><br><strong><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif; color: rgb(255, 0, 0);" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif; color: #ff0000;"> TOTAL_MB = ,</span></strong><br><strong><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif; color: rgb(255, 0, 0);" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif; color: #ff0000;"> FREE_MB =</span></strong><br><strong><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif; color: rgb(255, 0, 0);" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif; color: #ff0000;">]</span></strong><br><strong><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif; color: rgb(255, 0, 0);" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif; color: #ff0000;">DS = [</span></strong><br><strong><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif; color: rgb(255, 0, 0);" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif; color: #ff0000;"> ID = 109,</span></strong><br><strong><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif; color: rgb(255, 0, 0);" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif; color: #ff0000;"> USED_MB = ,</span></strong><br><strong><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif; color: rgb(255, 0, 0);" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif; color: #ff0000;"> TOTAL_MB = ,</span></strong><br><strong><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif; color: rgb(255, 0, 0);" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif; color: #ff0000;"> FREE_MB =</span></strong><br><strong><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif; color: rgb(255, 0, 0);" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif; color: #ff0000;">]</span></strong><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">DS = [</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> ID = 114,</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> USED_MB = 1,</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> TOTAL_MB = 40190,</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> FREE_MB = 28202</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">]</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">DS = [</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> ID = 2,</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> USED_MB = 1,</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> TOTAL_MB = 40190,</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> FREE_MB = 28202</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">]</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">HOSTNAME=node1</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">VM_POLL=YES</span><br><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">VERSION="4.4.0"</span></p></div><div>So it would appear that it's calling datastore/monitor, and it's failing .. however the script does work and is reporting</div><div>the correct size in the datastore monitor. I've added syslog to the monitor script, it is being called and it is returning</div><div>the correct result ...</div><div><br></div><div>If I call the script on the command line with a pasted in base64 and host it, this too gives the correct results;</div><div><br></div><div><span style="font-family: 'courier new', courier, monaco, monospace, sans-serif; font-size: small;">oneadmin@nebula:~/remotes$ ssh node1 /var/lib/one/remotes/datastore/vdc/monitor "PERTX0RSSVZFUl9BQ1RJT05fREFUQT48REFUQVNUT1JFPjxJRD4xMDk8L0lEPjxVSUQ+MDwvVUlEPjxHSUQ+MTwvR0lEPjxVTkFNRT5vbmVhZG1pbjwvVU5BTUU+PEdOQU1FPnVzZXJzPC9HTkFNRT48TkFNRT5kYXRhMjwvTkFNRT48UEVSTUlTU0lPTlM+PE9XTkVSX1U+MTwvT1dORVJfVT48T1dORVJfTT4xPC9PV05FUl9NPjxPV05FUl9BPjA8L09XTkVSX0E+PEdST1VQ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0+PC9WR19OQU1FPjwvVEVNUExBVEU+PC9EQVRBU1RPUkU+PC9EU19EUklWRVJfQUNUSU9OX0RBVEE+" 109</span></div><div><p><span style="font-size: small; font-family: 'courier new', courier, monaco, monospace, sans-serif;">TOTAL_MB=1500101.21</span><br><span style="font-size: small; font-family: 'courier new', courier, monaco, monospace, sans-serif;">FREE_MB=963230.30</span><br><span style="font-size: small; font-family: 'courier new', courier, monaco, monospace, sans-serif;">USED_MB=536871</span></p></div><div>Short of trying to dig through oned's source code I'm stuck - can anyone help?</div><div><br></div><div>My datastore driver type is "vdc", even if I insert a static script (I've also tried the monitor driver from "fs")</div><div>that just prints out "TOTAL_MB=0" etc .. I still get the same issue ...</div><div><br></div><div>???</div><div>(and it was working fine .. before the upgrade??)</div><div><br></div><div><br></div><div><span name="x"></span><div><div><span size="2" style="font-size: small;" data-mce-style="font-size: small;">--</span></div><div><table class="mceItemTable"><tbody><tr><td><img src="http://linuxforums.org.uk/index.php?action=dlattach;attach=262;type=avatar" data-mce-src="http://linuxforums.org.uk/index.php?action=dlattach;attach=262;type=avatar"></td><td><b style="font-family: verdana, Helvetica, sans-serif; font-size: 11px; line-height: 14px;" data-mce-style="font-family: verdana, Helvetica, sans-serif; font-size: 11px; line-height: 14px;">Gareth Bult</b><br><span color="#666666" style="color: #666666;" data-mce-style="color: #666666;"><span face="verdana, Helvetica, sans-serif" style="font-family: verdana, Helvetica, sans-serif;" data-mce-style="font-family: verdana, Helvetica, sans-serif;"><span style="font-size: 11px; line-height: 14px;" data-mce-style="font-size: 11px; line-height: 14px;">“The odds of hitting your target go up dramatically when you aim at it.”</span></span></span><span color="#666666" style="color: #666666;" data-mce-style="color: #666666;"><br></span><span color="#666666" style="color: #666666;" data-mce-style="color: #666666;"><br></span><span color="#666666" style="color: #666666;" data-mce-style="color: #666666;"><br></span></td></tr></tbody></table></div></div><span name="x"></span><br></div></div></body></html>