<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
HI All, <br><br>I am using opennebula 2.2 with vmware hypervisor ESXI 4.1 version. I had installed account part successfully. But it doesn't show any output when i used with days, weeks & months options.<br><br><b>Use option with VMID</b><br>bash-3.2$ oneacct vm -v 20<br> HOST XFR RUNN<br> host9 00:00:37 241:09:46<br><br><b>Use option with XML format and VMID<br></b>bash-3.2$ oneacct vm -x -v 20<br><HOST_POOL><br> <HOST><br> <HOST_NAME><br> host9<br> </HOST_NAME><br> <HID><br> 9<br> </HID><br> <RUNN><br> 868205<br> </RUNN><br> <XFR><br> 37<br> </XFR><br> </HOST><br></HOST_POOL><br><br><b>Use option with weeks and VMID, it shows following error</b>, <b>The same error shows when i used option for day ( -d) & for months ( -m)</b><br>bash-3.2$ oneacct vm -w 2 -v 20<br>/srv/cloud/one/lib/ruby/oneacct.rb:53:in `<=': comparison of Symbol with 1315805027 failed (ArgumentError)<br> from /srv/cloud/one/lib/ruby/oneacct.rb:53:in `query'<br> from /srv/cloud/one/bin/oneacct:256:in `set_data'<br> from /srv/cloud/one/bin/oneacct:413:in `<main>'<br><br><br>Above errors shows when i used weeks, day & month option with host.<br><br>Thanks in advance<br><br>(Bharat)<br><br> </div></body>
</html>