quads icon indicating copy to clipboard operation
quads copied to clipboard

RFE: Ticket based QUADS query

Open abondvt89 opened this issue 8 years ago • 4 comments

Add the ability to query QUADS based on the ticket number for the following information for past, current, and future allocations.

  • Start date
  • End date
  • Number of machines in the allocation by machine type

abondvt89 avatar Oct 04 '17 13:10 abondvt89

We might look at something like plotly? @kambiz-aghaiepour https://plot.ly/python/heatmaps/

Ideally this would need to be able to be packaged in RPM however.

sadsfae avatar Mar 21 '18 20:03 sadsfae

#105 Follow up - our visualization is currently using plotly @sadsfae

QuantumPosix avatar Jul 25 '18 14:07 QuantumPosix

We can query what cloud description / cloud existed based on the date using the -d YYYY-MM-DD HH:MM format with the -d or --datetime argument but it does not correlate the current --cloud-ticket of that cloud at the time.

(current display)

# /opt/quads/bin/quads-cli --full-summary | head -n3
cloud01 : 3 (Available servers)
cloud02 : 0 (Storage DFG RHCS 1 of 2)
cloud03 : 49 (OpenShift Scale CI)

(Query against a date - 2018-04-04 22:00)

# /opt/quads/bin/quads-cli --full-summary --date "2018-04-04 22:00" | head -n3
cloud01 : 12 (Available servers)
cloud02 : 0 (RHCS Spectre/Meltdown)
cloud03 : 47 (OpenShift Scale CI)

However, --ls-ticket does not get queried when passing the -d or --datetime argument - this needs to be changed:

(date in future, still shows current --cloud-ticket mappings)

# /opt/quads/bin/quads-cli --ls-ticket --datetime "2018-04-04 22:00" | head -n 3
cloud02: 470086
cloud03: 470816

(current display)

# /opt/quads/bin/quads-cli --ls-ticket | head -n 3
cloud02: 470086
cloud03: 470816

sadsfae avatar Jul 26 '18 20:07 sadsfae

Adding this to the 2.0 roadmap, though it's going to be a less priority than some of the other RFEs.

I think this is possible by some additional methods using only the data already available in QUADS, but note that the current usage of --cloud-ticket is transient/temporal in that it gets reset when that environment gets re-purposed at some other point.

sadsfae avatar Jun 26 '24 12:06 sadsfae