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

Backports (stable-5.0) #14187

Merged
merged 28 commits into from
Oct 1, 2024
Merged

Backports (stable-5.0) #14187

merged 28 commits into from
Oct 1, 2024

Conversation

tomponline
Copy link
Member

No description provided.

hamistao and others added 23 commits October 1, 2024 10:31
Signed-off-by: hamistao <[email protected]>
(cherry picked from commit 3fa5fb1)
Closes canonical#507

Signed-off-by: Stéphane Graber <[email protected]>
(cherry picked from commit e39888708011f980edce8fb4bda7f13caac3ef7d)
Signed-off-by: Thomas Parrott <[email protected]>
License: Apache-2.0
(cherry picked from commit 9e36c17)
Signed-off-by: Din Music <[email protected]>
(cherry picked from commit 61a1d65)
Signed-off-by: Kadin Sayani <[email protected]>
(cherry picked from commit 2704b3e)
Signed-off-by: Mark Laing <[email protected]>
(cherry picked from commit 6eddace)
`msg` only contains stdout from the child process, so this wasn't passing
back any information about what actually failed.

Signed-off-by: Wesley Hershberger <[email protected]>
(cherry picked from commit bed72f0)
Signed-off-by: Stéphane Graber <[email protected]>
(cherry picked from commit c8fbf1b1c5a40f8443f49a6bb2628602c8a63edb)
Signed-off-by: Kadin Sayani <[email protected]>
License: Apache-2.0
(cherry picked from commit bb44d25)
Signed-off-by: Stéphane Graber <[email protected]>
(cherry picked from commit b3a97198f86cfadea9ee3f1c6181ee67bea418a3)
Signed-off-by: Kadin Sayani <[email protected]>
License: Apache-2.0
(cherry picked from commit 4a7208a)
Signed-off-by: Wesley Hershberger <[email protected]>
(cherry picked from commit e8542c6)
Signed-off-by: Stéphane Graber <[email protected]>
(cherry picked from commit a91b193660f4c8c5d298a49e6a889654ed35194a)
Signed-off-by: Wesley Hershberger <[email protected]>
License: Apache-2.0
(cherry picked from commit 849b1de)
Signed-off-by: Simon Deziel <[email protected]>
(cherry picked from commit 8461945)
Signed-off-by: Simon Deziel <[email protected]>
(cherry picked from commit 1820e9f)
Signed-off-by: Simon Deziel <[email protected]>
(cherry picked from commit 4dfdce2)
Signed-off-by: Simon Deziel <[email protected]>
(cherry picked from commit fd59bda)
Signed-off-by: Simon Deziel <[email protected]>
(cherry picked from commit 5baa186)
Signed-off-by: Simon Deziel <[email protected]>
(cherry picked from commit 3abc4e0)
Signed-off-by: Thomas Parrott <[email protected]>
Signed-off-by: Stéphane Graber <[email protected]>
Signed-off-by: hamistao <[email protected]>
License: Apache-2.0
(cherry picked from commit 8c48af1)
Closes lxc/incus#256

Signed-off-by: Stéphane Graber <[email protected]>
Signed-off-by: hamistao <[email protected]>
License: Apache-2.0
(cherry picked from commit 8665ae0)
When the VM disconnects due to a stop/reboot, the socket is closed and the
error we get is a `connection reset by peer` or a `Unexpected EOF` instead
of a EOF.
So this helps handle these errors similarly to make the command exit
cleanly in these scenarios.
Since both errors are of type errorString, the only way to check it
is to see if they contains the expected substring.

Signed-off-by: hamistao <[email protected]>
(cherry picked from commit 0f5be4b)
@tomponline tomponline self-assigned this Oct 1, 2024
@github-actions github-actions bot added API Changes to the REST API 5.0 LTS labels Oct 1, 2024
@github-actions github-actions bot added the Documentation Documentation needs updating label Oct 1, 2024
@tomponline tomponline marked this pull request as ready for review October 1, 2024 10:32
@tomponline tomponline merged commit 143d3ec into canonical:stable-5.0 Oct 1, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5.0 LTS API Changes to the REST API Documentation Documentation needs updating
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants