Hi all,

We are facing an issue with the list usageRecords command in a CloudStack
environment.

Running:

cloudmonkey list usageRecords startdate="2025-08-24T00:00:00+0200"
enddate="2025-08-25T23:59:59+0200"

→ returns data.

But running:

cloudmonkey list usageRecords startdate="2025-08-25T00:00:00+0200"
enddate="2025-08-25T23:59:59+0200"

→ returns nothing.

On other CloudStack environments with the same version and configuration,
both queries work as expected.

We already checked:

   -

   Locale configuration on the management server:

   locale -k LC_NUMERIC | egrep 'decimal_point|thousands_sep'
   decimal_point="."
   thousands_sep=","

   (previously thousands_sep was empty, we fixed it but the problem
   remains).
   -

   Compared cloudstack-usage configuration with another environment where
   usage records are returned correctly.

Has anyone experienced this behavior before, or know if it could be related
to how CloudStack interprets dates in the list usageRecords API call?

Thanks in advance,
--
*Francisco Arencibia Quesada.*
*DevOps Engineer*

Reply via email to