-
Notifications
You must be signed in to change notification settings - Fork 933
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
LXD: Fix start and stop for FROZEN
instances
#13452
Conversation
e26e22f
to
10ae19a
Compare
@MggMuggins if you are using patches from Incus then you need to cherry pick specific commits to maintain attribution and add the Apache 2.0 license footer to the commit message (see link to doc in lxd private mm channel). |
@tomponline This does not use changes from incus; the approach incus took was to add a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please can we have tests added for this.
Fixes canonical#12578 Signed-off-by: Wesley Hershberger <wesley.hershberger@canonical.com>
Signed-off-by: Wesley Hershberger <wesley.hershberger@canonical.com>
Fixes canonical#12491 Signed-off-by: Wesley Hershberger <wesley.hershberger@canonical.com>
Signed-off-by: Wesley Hershberger <wesley.hershberger@canonical.com>
10ae19a
to
1915d99
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
--force
(aka"timeout": 0
in the API); frozen instances must either be started explicitly before graceful stop or forcefully shut downPUT /instances/{name}/state
with"action": "start"
now unfreezes frozen instanceslxc start --all
for frozen instanceslxc start --all --project
doesn't work withFROZEN
instances #12491This was fixed in incus with the same patch as in #12493
Not sure if this warrants an API extension: if users were expecting
start
to fail on frozen instances, then this does break that workflow. Happy to add one if needed.