-
-
Notifications
You must be signed in to change notification settings - Fork 232
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
Prevent instance migration #1306
Comments
Easiest way to do this would be to use
I think that starting with Incus 6.6 we call the scriptlet even with As for failing, you should be able to either call the |
Marking as incomplete as we may not have anything to add to Incus for that. |
Ooooh, I didn’t actually see that the
I get that |
Hmm, yeah, we should have |
So, after reading the code, it appears that a wrong target does actually trigger a warning, and returns a string instead of |
Instance placement scriptlets offer interesting ways to control how instances are placed on cluster nodes. While creation, relocation (due to a node being down), and evacuation are handled, there is to the best of my knowledge no way to block a migration to an unwanted cluster node. So I have two questions:
target
containing the requested migration target, allowing us to callfail
depending on different decision factors? (I can work on this one)The text was updated successfully, but these errors were encountered: