Comments (9)
One thing I see so far as a block is how to emulate live migration in integration testing.
from google-compute-engine-plugin.
Decided to look into this once you mentioned it. I think this should be usable, but the documentation is pretty sparse: https://cloud.google.com/compute/docs/reference/rest/v1/instances/simulateMaintenanceEvent
It's sparse in the sense that the only explanation given both on that page and the gcloud docs page is "simulates a maintenance event". I'm 90% sure that it means your instance would behave as if a real maintenance event happened (i.e. terminate if required). The other 10% is that it may be a dry run and generate logs without actually doing anything to the instance. That should be easy to test manually at least.
from google-compute-engine-plugin.
@RaphC @stephenashank The problem is not with simulating host maintanance
The problem is that we are trying to set wrong value for OnHostMaintenance
field when instance gave GPU added..
By default that value is set to migrate
but with GPU it needs to be switched to terminate
see
https://cloud.google.com/compute/docs/gpus/#restrictions
Now using instances with GPU is available via templates.
My personal opinion is that we should
remove support for GPUs in plugin and leave it only via templates (it never worked anyway).
from google-compute-engine-plugin.
@rachely3n Why you have copied #63??
It would be much easier to have 1 thread..
from google-compute-engine-plugin.
@ingwarsw simulating the host maintenance in this case would just be for unit testing after I make it so that instances with GPU's terminate on migrate.
what do you mean by
My personal opinion is that we should remove support for GPUs in plugin and leave it only via templates (it never worked anyway).
If it's available in the templates, shouldn't I still support GPU's in the plugin?
from google-compute-engine-plugin.
Plugin dont need to support GPU (and never actually did)..
If plugin supports templates most things can be done via them..
Rarely used things that are supported via plugin but could be only supported via templates (and they would made plugin bit simpler)
- GPU
- Minimum Cpu Platform
from google-compute-engine-plugin.
@ingwarsw simulating the host maintenance in this case would just be for unit testing after I make it so that instances with GPU's terminate on migrate.
But we are never testing migration..
And Im not sure we should, its GCE feature not ours..
from google-compute-engine-plugin.
@ingwarsw
I'm not sure I understand what's going on here. If GPU's can be added via templates, it can be used in the plugin then. I would then want to fix the migration problem for GPU instances by terminating them.
from google-compute-engine-plugin.
Going to keep this at #63 since yes it is easier to just have 1 thread to track this issue.
from google-compute-engine-plugin.
Related Issues (20)
- `NullPointerException` from `ComputeEngineComputerLauncher.launch`
- Parameters are not set for jobs restarted after VMs are preempted HOT 1
- getInstanceConfigurationByDescription returns a NullReferenceException if there are no instances
- Jenkins cannot connect to slave node via ssh HOT 1
- Agent JVM Options
- Agent/instance is created with Preamble off while Template to use is selected HOT 1
- Feature request: try different zones if the one specified in config does not have enough resources HOT 4
- Feature request: Option to delay agent connection to allow custom startup script to finish HOT 3
- Option the set MAXIMUM triggered builds for an agent
- Enable billing measure of GCP Jenkins workers HOT 2
- The hpi download link is broken HOT 2
- Add new spot for provision type HOT 2
- New Node with "Google Compute Engine" failed HOT 1
- Add an ability to provide image family name instead of image name HOT 1
- Create snapshot defaulting to multi-region
- Expose Prefix Start Agent Command and Suffix Start Agent Command
- Jobs on preempted VMs hang indefinitely until manually cancelled HOT 2
- Option to limit run time of VM HOT 1
- Large number of offline build executors when there is no capacity
- Add option for enabling nested virtualization
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-compute-engine-plugin.