Hi ACS Team
Any idea how to set up the tags in the output of the usage records shown below?
greetings
From: Ricardo Pertuz
Date: Saturday, 13 August 2022, 9:35 AM
To: "users@cloudstack.apache.org"
Subject: Re: Usage Type Volumes - Use Case
I have follow the procedure and it’s working very well, thanks, however in the
usage records the tag field is null. I will need to set that tag for proper
billing, any idea?
"description": "Volume usage for DATA-7665
(49825f4f--42d1-x-e18fd5dcaef7) with disk offering NVMe Disk
(026c74b1---a202-0ed113211f00) and size (10.00 GB) 10737418240",
"domain": "",
"domainid": "9c96ec87--4a24--6f9d074ec871",
"enddate": "2022-08-12'T'23:59:59-05:00",
"offeringid": "026c74b1--4786--0ed113211f00",
"project": "624cc0abe8d6bf5a65c0518d",
"projectid": "64992e22-0c30--bf6e-c038e5d7121e",
"rawusage": "12.441389",
"size": 10737418240,
"startdate": "2022-08-12'T'00:00:00-05:00",
"tags": [],
"usage": "12.441389 Hrs",
"usageid": "49825f4f--42d1--e18fd5dcaef7",
"usagetype": 6,
"zoneid": "33fcacd8--48e2--bfa52a2fd68b"
},
Regards
From: Ricardo Pertuz
Date: Thursday, 11 August 2022, 9:46 PM
To: "users@cloudstack.apache.org"
Subject: Re: Usage Type Volumes - Use Case
Thanks Alex for your quick reply. That tag will appear in the cloud usage
record tag field? I need that for proper billing.
Regards,
Ricardo
From: Alex Mattioli
Sent: Thursday, August 11, 2022 9:41:09 PM
To: users@cloudstack.apache.org
Subject: RE: Usage Type Volumes - Use Case
Hi Ricardo,
You set the tag, say "HDD", on the storage offering and on the primary storage
which you want to use for HDD, then do the same for all other storage types.
When creating a volume the end user will select the offering "HDD, SATA or
NVMe" and ACS will place the volume in a storage pool with the matching tag.
That's all for disk volumes.
If you want the root disk to go to a certain storage pool then you need to set
the storage tag in the compute offering.
Hope that helps, feel free to ask further, I've done a lot of work with storage
tags.
Cheers,
Alex
-Original Message-
From: Ricardo Pertuz
Sent: 11 August 2022 22:57
To: users@cloudstack.apache.org
Subject: Usage Type Volumes - Use Case
Hi all,
In my cluster I would like to have many primary storages with different types:
HDD, SATA and NVMe, how can I differentiate between them in the usage records?
I see a tag field, but not so sure where to set it.
BR,
Ricardo