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] SSM: Allow optional OS selection for self-scheduling #563

Open
sadsfae opened this issue Jan 10, 2025 · 1 comment
Open

[RFE] SSM: Allow optional OS selection for self-scheduling #563

sadsfae opened this issue Jan 10, 2025 · 1 comment

Comments

@sadsfae
Copy link
Member

sadsfae commented Jan 10, 2025

Building on #474 and 189cd16 ensure the following:

  • Self-service API request workflows document using http://localhost/api/v3/hosts/os_list and cited as optional
  • Self-service API request workflows can optionally request the OS to be provisioned for their cloud and in docs/process as an optional step.

We can include in this RFE general documentation for defining a cloud using --os too as we need to include that still.

Related-to: #487

@grafuls
Copy link
Contributor

grafuls commented Jan 16, 2025

This has now been implemented here:
https://review.gerrithub.io/c/redhat-performance/quads/+/1207302

When creating the assignment you can pass ostype like so:

$ curl -k -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" -d '{"description": "Short description here", "owner": "tester", "qinq": 1, "vlan": "602", "wipe": "true", "ostype": "RHEL 7.5"}' http://quads2-stage.example.com/api/v3/assignments/self

sadsfae pushed a commit that referenced this issue Jan 16, 2025
feat: added ostype to self-schedule

closes: #563
closes: #564
closes: #565
Change-Id: I9b7d31a505fd325cc5fa138ed472179d0aa41e4d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To do
Development

No branches or pull requests

2 participants