You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The feature request is related to CI usage. Most of our tooling (jetlag, jetski) assumes a clean deployment as a pre-requisite.
Describe the solution you'd like
A reset allocation API that will:
Reset the nodes (foreman deploy them)
Allow to optionally skip the bastion (first host of the allocation)
Maintains the same cloud allocation number
Describe alternatives you've considered
Manually hammer host update all of the nodes of the allocation
The text was updated successfully, but these errors were encountered:
Hi @josecastillolema I think all of this is already covered by additional processes or not in scope.
Reset the nodes (foreman deploy them)
You should just use Foreman to do this, a self-scheduled environment is the exact same functionally as a deliberately scheduled one and this isn't really in scope of the API. Foreman is a third-party complete platform where those actions are better handled there.
Allow to optionally skip the bastion (first host of the allocation)
Just re-provision via Foreman and skip this node. We would have no way of knowing what you chose to use as your bastion node anyway.
Maintains the same cloud allocation number
You will keep your environment name, cloud # and everything.
I think this RFE isn't in scope for being managed by QUADS. We do have a Forman library but we do not want to try to operate Foreman from QUADS.
@josecastillolema add here, we will be providing an RFE shortly to allow you to choose your OS so that may let you skip having to re-provision if you were just doing this to get a newer OS than the lab default, so long as that operating system is present in that QUADS Foreman. This would be an API option for self-scheduling.
You can achieve this via the foreman REST api like this:
Get the host id: curl -X GET -s -k -u admin:pass https://foreman.example.com/api/hosts?search=name=host1.example.com | jq .results[0].id
Put the build parameter passing the host id, from previous step, onto the endpoint: curl -X PUT -s -k -u admin:pass -H "content-type: application/json" -d '{"host": {"build": 1}}' https://foreman.example.com/api/hosts/36
Is your feature request related to a problem? Please describe.
The feature request is related to CI usage. Most of our tooling (jetlag, jetski) assumes a clean deployment as a pre-requisite.
Describe the solution you'd like
A reset allocation API that will:
Describe alternatives you've considered
Manually hammer host update all of the nodes of the allocation
The text was updated successfully, but these errors were encountered: