You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/03/17 14:23:54 UTC

[GitHub] [cloudstack] DaanHoogland opened a new issue #4837: strat- and enddate parameters don't honour time in listUsageRecords

DaanHoogland opened a new issue #4837:
URL: https://github.com/apache/cloudstack/issues/4837


   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and master branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   -->
   The API ListUsageRecords does not honour time in its input parameters for startdate and enddat
   
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   API
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on master branch.
   -->
   
   ~~~
   4.15
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   the below examples produce the same result
   ~~~
   list usagerecords startdate=2021-03-17 enddate=2021-03-17 isrecursive=true domainid=0cd8fca5-f5fb-4101-ad44-a0b32ae13eaf
   list usagerecords startdate=2021-03-17T14:00:00 enddate=2021-03-17T11:00:00 isrecursive=true domainid=82fd388d-26ea-4e44-a166-905b1ffb96ae 
   ~~~
   and
   ~~~
   list usagerecords startdate="2021-03-17 14:00:00" enddate="2021-03-17 17:00:00" isrecursive=true domainid=82fd388d-26ea-4e44-a166-905b1ffb96ae
   list usagerecords startdate=2021-03-17\ 14:00:00 enddate=2021-03-17\ 17:00:00 isrecursive=true domainid=82fd388d-26ea-4e44-a166-905b1ffb96ae 
   ~~~
   produce no result
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   
   ~~~
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] DaanHoogland commented on issue #4837: start- and enddate parameters don't honour time in listUsageRecords

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #4837:
URL: https://github.com/apache/cloudstack/issues/4837#issuecomment-812460279


   Let's remove this from the milestone. I don't think it is important enough to now spend a lot of time on.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Spaceman1984 edited a comment on issue #4837: start- and enddate parameters don't honour time in listUsageRecords

Posted by GitBox <gi...@apache.org>.
Spaceman1984 edited a comment on issue #4837:
URL: https://github.com/apache/cloudstack/issues/4837#issuecomment-808053485


   I tested the behaviour of this API regarding passing time as part of the date parameter, 
   
   I set the global variable usage.stats.job.aggregation.range to 60 and was able to query records with 1-hour increments.
   
   There doesn't seem to be an issue here.
   
   If you didn't change the global variable, you wouldn't have that kind of granularity. The default is 24 hours.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Spaceman1984 commented on issue #4837: start- and enddate parameters don't honour time in listUsageRecords

Posted by GitBox <gi...@apache.org>.
Spaceman1984 commented on issue #4837:
URL: https://github.com/apache/cloudstack/issues/4837#issuecomment-844209864


   I tested with latest master and the API is only returning records for the specified time.
   ```
   (localcloud) 🐱 > list usagerecords startdate="2021-05-19 08:00:00" enddate="2021-05-19 09:00:00"
   {
     "count": 13,
     "usagerecord": [
       {
         "account": "system",
         "accountid": "73db506e-b86a-11eb-86ab-000c29a45a19",
         "description": "Template usage for CentOS 5.3(64-bit) no GUI (vSphere) (73bb640e-b86a-11eb-86ab-000c29a45a19) with size (438,03 MB) 459312128 and virtual size (2,00 GB) 2147483648",
         "domain": "ROOT",
         "domainid": "73db0a4d-b86a-11eb-86ab-000c29a45a19",
         "enddate": "2021-05-19'T'08:59:59+00:00",
         "rawusage": "1",
         "size": 459312128,
         "startdate": "2021-05-19'T'08:00:00+00:00",
         "tags": [],
         "usage": "1 Hrs",
         "usageid": "73bb640e-b86a-11eb-86ab-000c29a45a19",
         "usagetype": 7,
         "virtualsize": 2147483648,
         "zoneid": "06a44bfb-9cad-4339-9b95-32575e91f097"
       },
       {
         "account": "system",
         "accountid": "73db506e-b86a-11eb-86ab-000c29a45a19",
         "description": "Template usage for CentOS 5.5(64-bit) no GUI (KVM) (73bb0c45-b86a-11eb-86ab-000c29a45a19) with size (1,65 GB) 1769537536 and virtual size (8,00 GB) 8589934592",
         "domain": "ROOT",
         "domainid": "73db0a4d-b86a-11eb-86ab-000c29a45a19",
         "enddate": "2021-05-19'T'08:59:59+00:00",
         "rawusage": "1",
         "size": 1769537536,
         "startdate": "2021-05-19'T'08:00:00+00:00",
         "tags": [],
         "usage": "1 Hrs",
         "usageid": "73bb0c45-b86a-11eb-86ab-000c29a45a19",
         "usagetype": 7,
         "virtualsize": 8589934592,
         "zoneid": "06a44bfb-9cad-4339-9b95-32575e91f097"
       },
       {
         "account": "admin",
         "accountid": "73db6873-b86a-11eb-86ab-000c29a45a19",
         "cpunumber": 1,
         "cpuspeed": 500,
         "description": "Running VM usage for VM-88b9325f-6796-4fca-a9a7-8fc5a4c8e186 (i-2-3-VM) (88b9325f-6796-4fca-a9a7-8fc5a4c8e186) using service offering Small Instance (a60125bd-2ad2-45a3-9a64-68a42c4090a7) and template CentOS 5.5(64-bit) no GUI (KVM) (73bb0c45-b86a-11eb-86ab-000c29a45a19)",
         "domain": "ROOT",
         "domainid": "73db0a4d-b86a-11eb-86ab-000c29a45a19",
         "enddate": "2021-05-19'T'08:59:59+00:00",
         "memory": 512,
         "name": "VM-88b9325f-6796-4fca-a9a7-8fc5a4c8e186",
         "offeringid": "a60125bd-2ad2-45a3-9a64-68a42c4090a7",
         "oscategoryid": "73bba714-b86a-11eb-86ab-000c29a45a19",
         "oscategoryname": "CentOS",
         "osdisplayname": "CentOS 5.5 (64-bit)",
         "ostypeid": "73c46e41-b86a-11eb-86ab-000c29a45a19",
         "rawusage": "1",
         "startdate": "2021-05-19'T'08:00:00+00:00",
         "tags": [],
         "templateid": "73bb0c45-b86a-11eb-86ab-000c29a45a19",
         "type": "KVM",
         "usage": "1 Hrs",
         "usageid": "88b9325f-6796-4fca-a9a7-8fc5a4c8e186",
         "usagetype": 1,
         "virtualmachineid": "88b9325f-6796-4fca-a9a7-8fc5a4c8e186",
         "zoneid": "06a44bfb-9cad-4339-9b95-32575e91f097"
       },
       {
         "account": "admin",
         "accountid": "73db6873-b86a-11eb-86ab-000c29a45a19",
         "cpunumber": 1,
         "cpuspeed": 500,
         "description": "Allocated VM usage for VM-88b9325f-6796-4fca-a9a7-8fc5a4c8e186 (i-2-3-VM) (88b9325f-6796-4fca-a9a7-8fc5a4c8e186) using service offering Small Instance (a60125bd-2ad2-45a3-9a64-68a42c4090a7) and template CentOS 5.5(64-bit) no GUI (KVM) (73bb0c45-b86a-11eb-86ab-000c29a45a19)",
         "domain": "ROOT",
         "domainid": "73db0a4d-b86a-11eb-86ab-000c29a45a19",
         "enddate": "2021-05-19'T'08:59:59+00:00",
         "memory": 512,
         "name": "VM-88b9325f-6796-4fca-a9a7-8fc5a4c8e186",
         "offeringid": "a60125bd-2ad2-45a3-9a64-68a42c4090a7",
         "oscategoryid": "73bba714-b86a-11eb-86ab-000c29a45a19",
         "oscategoryname": "CentOS",
         "osdisplayname": "CentOS 5.5 (64-bit)",
         "ostypeid": "73c46e41-b86a-11eb-86ab-000c29a45a19",
         "rawusage": "1",
         "startdate": "2021-05-19'T'08:00:00+00:00",
         "tags": [],
         "templateid": "73bb0c45-b86a-11eb-86ab-000c29a45a19",
         "type": "KVM",
         "usage": "1 Hrs",
         "usageid": "88b9325f-6796-4fca-a9a7-8fc5a4c8e186",
         "usagetype": 2,
         "virtualmachineid": "88b9325f-6796-4fca-a9a7-8fc5a4c8e186",
         "zoneid": "06a44bfb-9cad-4339-9b95-32575e91f097"
       },
       {
         "account": "admin",
         "accountid": "73db6873-b86a-11eb-86ab-000c29a45a19",
         "description": "Volume usage for VFTLS (41c23e1e-38c6-4b88-b806-85a824d8d085) with disk offering Small Instance (a60125bd-2ad2-45a3-9a64-68a42c4090a7) and size (8,00 GB) 8589934592",
         "domain": "ROOT",
         "domainid": "73db0a4d-b86a-11eb-86ab-000c29a45a19",
         "enddate": "2021-05-19'T'08:59:59+00:00",
         "offeringid": "a60125bd-2ad2-45a3-9a64-68a42c4090a7",
         "rawusage": "1",
         "size": 8589934592,
         "startdate": "2021-05-19'T'08:00:00+00:00",
         "tags": [],
         "usage": "1 Hrs",
         "usageid": "41c23e1e-38c6-4b88-b806-85a824d8d085",
         "usagetype": 6,
         "zoneid": "06a44bfb-9cad-4339-9b95-32575e91f097"
       },
       {
         "account": "admin",
         "accountid": "73db6873-b86a-11eb-86ab-000c29a45a19",
         "description": "Volume usage for CLVFCLS (e0f6f686-65c3-4588-9353-b087917d5bcf) with disk offering Small Instance (a60125bd-2ad2-45a3-9a64-68a42c4090a7) and size (8,00 GB) 8589934592",
         "domain": "ROOT",
         "domainid": "73db0a4d-b86a-11eb-86ab-000c29a45a19",
         "enddate": "2021-05-19'T'08:59:59+00:00",
         "offeringid": "a60125bd-2ad2-45a3-9a64-68a42c4090a7",
         "rawusage": "1",
         "size": 8589934592,
         "startdate": "2021-05-19'T'08:00:00+00:00",
         "tags": [],
         "usage": "1 Hrs",
         "usageid": "e0f6f686-65c3-4588-9353-b087917d5bcf",
         "usagetype": 6,
         "zoneid": "06a44bfb-9cad-4339-9b95-32575e91f097"
       },
       {
         "account": "admin",
         "accountid": "73db6873-b86a-11eb-86ab-000c29a45a19",
         "description": "Volume usage for ROOT-3 (55184c41-a836-4457-ae31-1c629c65a4b4) and template CentOS 5.5(64-bit) no GUI (KVM) (73bb0c45-b86a-11eb-86ab-000c29a45a19) and size (8,00 GB) 8589934592",
         "domain": "ROOT",
         "domainid": "73db0a4d-b86a-11eb-86ab-000c29a45a19",
         "enddate": "2021-05-19'T'08:59:59+00:00",
         "rawusage": "1",
         "size": 8589934592,
         "startdate": "2021-05-19'T'08:00:00+00:00",
         "tags": [],
         "templateid": "73bb0c45-b86a-11eb-86ab-000c29a45a19",
         "usage": "1 Hrs",
         "usageid": "55184c41-a836-4457-ae31-1c629c65a4b4",
         "usagetype": 6,
         "zoneid": "06a44bfb-9cad-4339-9b95-32575e91f097"
       },
       {
         "account": "admin",
         "accountid": "73db6873-b86a-11eb-86ab-000c29a45a19",
         "description": "Volume usage for CLV2FCLS2 (998603d6-cae3-44b7-8e51-603cde48190d) with disk offering Small Instance (a60125bd-2ad2-45a3-9a64-68a42c4090a7) and size (8,00 GB) 8589934592",
         "domain": "ROOT",
         "domainid": "73db0a4d-b86a-11eb-86ab-000c29a45a19",
         "enddate": "2021-05-19'T'08:59:59+00:00",
         "offeringid": "a60125bd-2ad2-45a3-9a64-68a42c4090a7",
         "rawusage": "1",
         "size": 8589934592,
         "startdate": "2021-05-19'T'08:00:00+00:00",
         "tags": [],
         "usage": "1 Hrs",
         "usageid": "998603d6-cae3-44b7-8e51-603cde48190d",
         "usagetype": 6,
         "zoneid": "06a44bfb-9cad-4339-9b95-32575e91f097"
       },
       {
         "account": "admin",
         "accountid": "73db6873-b86a-11eb-86ab-000c29a45a19",
         "description": "Snapshot usage for CLS2FCLV (26799a07-5ab7-4855-bace-f594489cec38) with size (8,00 GB) 8589934592",
         "domain": "ROOT",
         "domainid": "73db0a4d-b86a-11eb-86ab-000c29a45a19",
         "enddate": "2021-05-19'T'08:59:59+00:00",
         "rawusage": "1",
         "size": 8589934592,
         "startdate": "2021-05-19'T'08:00:00+00:00",
         "tags": [],
         "usage": "1 Hrs",
         "usageid": "26799a07-5ab7-4855-bace-f594489cec38",
         "usagetype": 9,
         "zoneid": "06a44bfb-9cad-4339-9b95-32575e91f097"
       },
       {
         "account": "admin",
         "accountid": "73db6873-b86a-11eb-86ab-000c29a45a19",
         "description": "Snapshot usage for CLS (02fbeaa1-31c2-4755-baa7-c271a28df06e) with size (8,00 GB) 8589934592",
         "domain": "ROOT",
         "domainid": "73db0a4d-b86a-11eb-86ab-000c29a45a19",
         "enddate": "2021-05-19'T'08:59:59+00:00",
         "rawusage": "1",
         "size": 8589934592,
         "startdate": "2021-05-19'T'08:00:00+00:00",
         "tags": [],
         "usage": "1 Hrs",
         "usageid": "02fbeaa1-31c2-4755-baa7-c271a28df06e",
         "usagetype": 9,
         "zoneid": "06a44bfb-9cad-4339-9b95-32575e91f097"
       },
       {
         "account": "admin",
         "accountid": "73db6873-b86a-11eb-86ab-000c29a45a19",
         "description": "Snapshot usage for TLVS (2d3be4be-090d-4529-8a89-985c1cddb462) with size (8,00 GB) 8589934592",
         "domain": "ROOT",
         "domainid": "73db0a4d-b86a-11eb-86ab-000c29a45a19",
         "enddate": "2021-05-19'T'08:59:59+00:00",
         "rawusage": "1",
         "size": 8589934592,
         "startdate": "2021-05-19'T'08:00:00+00:00",
         "tags": [],
         "usage": "1 Hrs",
         "usageid": "2d3be4be-090d-4529-8a89-985c1cddb462",
         "usagetype": 9,
         "zoneid": "06a44bfb-9cad-4339-9b95-32575e91f097"
       },
       {
         "account": "admin",
         "accountid": "73db6873-b86a-11eb-86ab-000c29a45a19",
         "description": "Network offering DefaultIsolatedNetworkOfferingWithSourceNatService (d7f61514-7cbd-4176-b43a-261db9334a00) usage for VM VM-88b9325f-6796-4fca-a9a7-8fc5a4c8e186 (88b9325f-6796-4fca-a9a7-8fc5a4c8e186) ",
         "domain": "ROOT",
         "domainid": "73db0a4d-b86a-11eb-86ab-000c29a45a19",
         "enddate": "2021-05-19'T'08:59:59+00:00",
         "isdefault": true,
         "offeringid": "d7f61514-7cbd-4176-b43a-261db9334a00",
         "rawusage": "1",
         "startdate": "2021-05-19'T'08:00:00+00:00",
         "tags": [],
         "usage": "1 Hrs",
         "usagetype": 13,
         "virtualmachineid": "88b9325f-6796-4fca-a9a7-8fc5a4c8e186",
         "zoneid": "06a44bfb-9cad-4339-9b95-32575e91f097"
       },
       {
         "account": "admin",
         "accountid": "73db6873-b86a-11eb-86ab-000c29a45a19",
         "description": "IPAddress: 192.168.43.33",
         "domain": "ROOT",
         "domainid": "73db0a4d-b86a-11eb-86ab-000c29a45a19",
         "enddate": "2021-05-19'T'08:59:59+00:00",
         "issourcenat": true,
         "issystem": false,
         "rawusage": "1",
         "startdate": "2021-05-19'T'08:00:00+00:00",
         "tags": [],
         "usage": "1 Hrs",
         "usageid": "036f26fc-79a0-4ec5-b6fc-ecdab627abfb",
         "usagetype": 3,
         "zoneid": "06a44bfb-9cad-4339-9b95-32575e91f097"
       }
     ]
   }
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Spaceman1984 commented on issue #4837: start- and enddate parameters don't honour time in listUsageRecords

Posted by GitBox <gi...@apache.org>.
Spaceman1984 commented on issue #4837:
URL: https://github.com/apache/cloudstack/issues/4837#issuecomment-847668385


   Alright @DaanHoogland.
   
   One thing I think is worth mentioning, in my testing I set the global variable usage.stats.job.aggregation.range to 60.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Spaceman1984 edited a comment on issue #4837: start- and enddate parameters don't honour time in listUsageRecords

Posted by GitBox <gi...@apache.org>.
Spaceman1984 edited a comment on issue #4837:
URL: https://github.com/apache/cloudstack/issues/4837#issuecomment-808053485






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Spaceman1984 edited a comment on issue #4837: start- and enddate parameters don't honour time in listUsageRecords

Posted by GitBox <gi...@apache.org>.
Spaceman1984 edited a comment on issue #4837:
URL: https://github.com/apache/cloudstack/issues/4837#issuecomment-808053485


   I tested the behaviour of this API regarding passing time as part of the date parameter, 
   
   I was able to test increments of 1 hour.
   
   There doesn't seem to be an issue here.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Spaceman1984 edited a comment on issue #4837: start- and enddate parameters don't honour time in listUsageRecords

Posted by GitBox <gi...@apache.org>.
Spaceman1984 edited a comment on issue #4837:
URL: https://github.com/apache/cloudstack/issues/4837#issuecomment-808053485


   I tested the behaviour of this API regarding passing time as part of the date parameter, 
   
   There doesn't seem to be an issue here.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd edited a comment on issue #4837: start- and enddate parameters don't honour time in listUsageRecords

Posted by GitBox <gi...@apache.org>.
rhtyd edited a comment on issue #4837:
URL: https://github.com/apache/cloudstack/issues/4837#issuecomment-802626470


   The passed parameter is `startdate=2021-03-17T14:00:00` which according to the docs should be:
   `startdate="2021-03-17 14:00:00"`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd commented on issue #4837: start- and enddate parameters don't honour time in listUsageRecords

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #4837:
URL: https://github.com/apache/cloudstack/issues/4837#issuecomment-802626470


   The passed parameter is `startdate=2021-03-17T14:00:00` which according to the docs should be `startdate="2021-03-17 14:00:00"`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] DaanHoogland commented on issue #4837: start- and enddate parameters don't honour time in listUsageRecords

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #4837:
URL: https://github.com/apache/cloudstack/issues/4837#issuecomment-802666919


   Yes @rhtyd I tried that, as you can see in my examples.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] DaanHoogland closed issue #4837: start- and enddate parameters don't honour time in listUsageRecords

Posted by GitBox <gi...@apache.org>.
DaanHoogland closed issue #4837:
URL: https://github.com/apache/cloudstack/issues/4837


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd commented on issue #4837: start- and enddate parameters don't honour time in listUsageRecords

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #4837:
URL: https://github.com/apache/cloudstack/issues/4837#issuecomment-802626127


   @DaanHoogland can you test if it works as per API docs, the parameter passed should be something like: `startdate=2015-01-01 11:00:00`. API doc says:
   ```
   startdate                date     Start date range for usage record query (
                                     use format "yyyy-MM-dd" or the new forma
                                     t "yyyy-MM-dd HH:mm:ss", e.g. startDate=
                                     2015-01-01 or startdate=2015-01-01 11:00
                                     :00).
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Spaceman1984 commented on issue #4837: start- and enddate parameters don't honour time in listUsageRecords

Posted by GitBox <gi...@apache.org>.
Spaceman1984 commented on issue #4837:
URL: https://github.com/apache/cloudstack/issues/4837#issuecomment-808053485


   I tested the behaviour of this API regarding passing time as a parameter, 
   
   I set the global variable usage.stats.job.aggregation.range to 60 and was able to query records with 1-hour increments.
   
   There doesn't seem to be an issue here.
   
   If you didn't change the global variable, you wouldn't have that kind of granularity. The default is 24 hours.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] DaanHoogland commented on issue #4837: start- and enddate parameters don't honour time in listUsageRecords

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #4837:
URL: https://github.com/apache/cloudstack/issues/4837#issuecomment-847665071


   ok, closing based on @Spaceman1984's results. When reproduced, we'll re-open.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd commented on issue #4837: start- and enddate parameters don't honour time in listUsageRecords

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #4837:
URL: https://github.com/apache/cloudstack/issues/4837#issuecomment-810049531


   @DaanHoogland can you check again and close, or provide reproduction steps (advise Darrin)? Thanks.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org