-
Notifications
You must be signed in to change notification settings - Fork 83
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
Fail to create agents with GPU attached from Machine Configuration in Jenkins settings UI. Instances with guest accelerators do not support live migration. #63
Comments
Hmm, it seems like your code change would resolve issues. Is there a reason you have not submitted a pull request? |
@rachely3n it is workaround for GCP instances with GPUs because GCP instances without GPUs can migrate to other hardware without downtime. |
I see, so that (terminate for migrate) should only apply for instances with GPU's? |
@rachely3n, yes, (terminate for migrate) should only apply for instances with GPU's. |
Given that this can be accomplished with instance templates, closing. |
@stephenashank, Will GPU support in Machine configuration UI be available only with instance templates? If yes, then will GPU controls in Machine configuration UI other than instance templates will be disabled? #68 (comment) |
I'm revisiting this today, and realize that it is possible still to create instances with GPUs without using instance templates. By checking "preemptible", this also by definition means that it will terminate on host maintenance. The disadvantage of this is that your instance could possibly be terminated even without maintenance. The other workaround is to use an instance template, which provides the desired flexibility but requires you to use multiple interfaces for configuration. I would prefer not to remove this feature. In my opinion the ideal solution, as mentioned here and in #68, is to change the value of "onHostMaintenance" if GPUs are configured. |
For reference, this issue now tracks the specific work of changing the value of "onHostMaintenance" when the AcceleratorConfiguration is defined in the scheduling() method of InstanceConfiguration.java. This is a small scope to change but because there are workarounds, moving to backlog right now. |
What about adding another option for host maintenance policy? Does it make sense to have better parity with the GCP console options? |
Hello, it seems that it is possible to create GPU agent by specifying instance template for creating instances. But it is not possible to create GPU agent without specifying instance template. See related issue https://issues.jenkins-ci.org/browse/JENKINS-52708.
As workaround you can use following dkozlov@7b7af84
Could you please disable GPU support in Machine configuration UI or fix it
The text was updated successfully, but these errors were encountered: