Skip to content
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] Provide a --retire option in lieu of --rm-host #364

Closed
sadsfae opened this issue Feb 8, 2021 · 2 comments
Closed

[RFE] Provide a --retire option in lieu of --rm-host #364

sadsfae opened this issue Feb 8, 2021 · 2 comments

Comments

@sadsfae
Copy link
Member

sadsfae commented Feb 8, 2021

(This was originally @kambiz-aghaiepour suggestion, filing for him here)

Occasionally we might decommission systems instead of outright removing them from QUADS control and it might be useful to preserve the scheduling history and/or the interfaces or other data so it can be referenced later.

Some option like quads-cli --retire --host host01.example.com would help here, where it might:

  • tag a retired: yes flag onto the hosts mongodb collection
  • any host with retired: yes would not be schedulable or show up in the following returns:
    • not show up in --ls-hosts unless something like --retired-hosts is passed
    • not show up on wiki / visuals
    • not show up in any totals relying on --ls-hosts
    • not show up in --ls-available

If another approach involving CloudHistory is possible here perhaps that's ok too.

@grafuls
Copy link
Contributor

grafuls commented May 6, 2021

Functionality is the same as for --mark-broken: https://review.gerrithub.io/c/redhat-performance/quads/+/505587

@grafuls
Copy link
Contributor

grafuls commented May 7, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants