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

Placement scriptlet not called when moving instances between projects #1207

Open
victoitor opened this issue Sep 9, 2024 · 1 comment
Open
Labels
Bug Confirmed to be a bug Easy Good for new contributors
Milestone

Comments

@victoitor
Copy link

When moving an instance between projects and a placement scriptlet is defined through instances.placement.scriptlet, it is not called to place the instance in the new project. This can lead to inconsistent configurations similar to #589 if the consistency of a configuration is checked through the placement scriptlet and user keys instead of through incus defined keys.

@victoitor
Copy link
Author

Btw, I know that consistency cannot be enforced everywhere. But it seems projects are designed to have different rules for consistency and moving between them should at least recheck those rules at least once. So it would make sense to call the placement scriptlet as if enforces general rules.

@stgraber stgraber added Bug Confirmed to be a bug Easy Good for new contributors labels Sep 9, 2024
@stgraber stgraber added this to the incus-6.6 milestone Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Confirmed to be a bug Easy Good for new contributors
Development

No branches or pull requests

2 participants