Prakash,

If you don't have the very latest 4.3, there is a known issue with NPEs
being thrown with usage records.  If a resource was created, generated
usage records, then was destroyed, a NPE would throw if usage records were
requested.

This didn't occur in 4.2, however, so if you're seeing it there it may be a
more involved issue - we have seen issues in the past where we would get
exceptions if service offerings or templates had been removed from the
"cloud" database, if there were any usage entries for those.

Sam



On Tue, May 13, 2014 at 2:51 PM, Prakash Rao Banuka <
prakas...@simplifydc.com> wrote:

> Hi Sam
>
> We are using 4.3 and 4.2
>
> Thank you
> Prakash
>
>
>
> -----Original Message-----
> From: Sam Schmit [mailto:sam.sch...@appcore.com]
> Sent: Tuesday, May 13, 2014 6:43 PM
> To: dev@cloudstack.apache.org
> Cc: Venkata Suneel Babu Mallela
> Subject: Re: List Usage Records using Cloud Monkey
>
> Prakash,
>
> What version of CS are you using?  We have seen issues with NPEs being
> thrown in 4.3 onward (prior to a fix I have submitted) when there were
> removed VMs.
>
> Sam
>
>
>
> On Mon, May 12, 2014 at 12:47 PM, Prakash Rao Banuka <
> prakas...@simplifydc.com> wrote:
>
> > Hi:
> >
> > I installed and configured cloud usage, The records are getting
> > created and are stored in tables (Cloud_usage Database)
> >
> > I'm issuing the following command in cloud monkey environment.
> >
> >                 >list usagerecords startdate=yyyy-mm-dd
> > enddate=yyyy-mm-dd <enter>
> >
> > The result is showing as None, but If I check in the Mysql database
> > (cloud_usage) and the table (cloud_usage) , records does exists.
> >
> > Any Idea Please
> >
> > Thank you
> > Prakash
> >
> >
>

Reply via email to