Closed msdisme closed 2 weeks ago
@msdisme just for clarity, does "current" mean active leases at the time of the report?
Yes. Is there a way to generate upcoming lease requests ?
Yep - well, for clarity there's no such thing as a lease 'request' per se; however, there are leases that are targeted for the future and which are in the database. But for this specific report, it sounds like you just want a list of all currently active leases, which is easy enough!
Here's the output of openstack esi lease list -f csv
:
All you need is access to the admin user, which I believe naved and hakan also have.
@msdisme does this output look good or do we want it formated in a specific way?
Note that this command will only list currently active leases; if you want expired/deleted leases, you have to add --status any
. Let me know if this fulfills this request, or there's a more specific query desired!
This meets original request, will open a new issue if there are further details needed.
This came up because Red Hat was being charged for systems when the users were not yet ready for them.
As a person who is paying for systems shared via ESI, I would like a way to generate the current state of the ESI systems being used and associated with my billing so that I may ensure that machines are allocated correctly.
As a person making decisions about ESI loans, I would like a report of all current loans so that I may make better decisions about usage.
Longer term, as part of billing for bare metal we will want to revisit how the reports are generated and reported to users.