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

incusd/instances: Don't start instances when evacuated #744

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

stgraber
Copy link
Member

@stgraber stgraber commented Apr 9, 2024

I noticed a few cases where an offline network or storage coming back online on an evacuated host would cause instances coming back online.

As all code paths to instancesStart come from locations attempting auto-start on daemon startup, lets just move the evacuation check to the function itself.

I noticed a few cases where an offline network or storage coming back
online on an evacuated host would cause instances coming back online.

As all code paths to instancesStart come from locations attempting
auto-start on daemon startup, lets just move the evacuation check to the
function itself.

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
@hallyn hallyn merged commit ebe074f into lxc:main Apr 9, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants