<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'>
Surprised, I didn't get any update on this. Will any one describe where is the issue ?<br><br><div><hr id="stopSpelling">From: bagai_bharat@hotmail.com<br>To: users@lists.opennebula.org<br>Date: Mon, 26 Sep 2011 05:32:01 +0000<br>Subject: [one-users] Accounting Option didn't work with days/week/month<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
<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>
<br>_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</div> </div></body>
</html>