New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: Ticket based QUADS query #148

Open
abondvt89 opened this Issue Oct 4, 2017 · 3 comments

Comments

Projects
None yet
3 participants
@abondvt89

abondvt89 commented Oct 4, 2017

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
@sadsfae

This comment has been minimized.

Member

sadsfae commented Mar 21, 2018

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.

@QuantumPosix

This comment has been minimized.

QuantumPosix commented Jul 25, 2018

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

@sadsfae

This comment has been minimized.

Member

sadsfae commented Jul 26, 2018

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment