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.21) #13857

Merged
merged 106 commits into from
Aug 2, 2024
Merged

Conversation

tomponline
Copy link
Member

No description provided.

markylaing and others added 30 commits August 2, 2024 10:26
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Din Music <din.music@canonical.com>
…to the InstanceSource struct

Signed-off-by: Din Music <din.music@canonical.com>
Signed-off-by: Din Music <din.music@canonical.com>
The volume size of the imported VM disk is:
1. User specified storage pool and volume size - respect even if image won't fit in the pool (error out in such case).
2. User did not specify volume size - depends on conversion option format:
   a) format is enabled: Use the size of the uncompressed image (we get that info from qemu-img info)
   b) format is disabled: Use the value from SourceDiskSize field - We need to know the volume size before copying the image / disk as it will go directly into the volume.

Signed-off-by: Din Music <din.music@canonical.com>
…ol from devices

Signed-off-by: Din Music <din.music@canonical.com>
Signed-off-by: Din Music <din.music@canonical.com>
…r conversion API

Signed-off-by: Din Music <din.music@canonical.com>
Signed-off-by: Din Music <din.music@canonical.com>
Signed-off-by: Din Music <din.music@canonical.com>
Signed-off-by: Din Music <din.music@canonical.com>
Signed-off-by: Din Music <din.music@canonical.com>
Signed-off-by: Din Music <din.music@canonical.com>
Signed-off-by: Din Music <din.music@canonical.com>
…imiting CPU time

Signed-off-by: Din Music <din.music@canonical.com>
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
…ction.

Signed-off-by: Mark Laing <mark.laing@canonical.com>
Signed-off-by: Mark Laing <mark.laing@canonical.com>
We have too many storage drivers now, so using tabs for them doesn't
scale. ;-)
Also, it will cause problems when adding API/UI instructions
anyway, so converting it into sections.

Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
stgraber and others added 15 commits August 2, 2024 10:42
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
(cherry picked from commit 356c6842d99b31a4da6083287ae579fe3b73bc64)
Signed-off-by: Mark Laing <mark.laing@canonical.com>
License: Apache-2.0
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
(cherry picked from commit 72a06a4f33a0a693533f4a5799b4e1c1029501ab)
Signed-off-by: Mark Laing <mark.laing@canonical.com>
License: Apache-2.0
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
(cherry picked from commit 6499313e75f4539123be2a9b8cead15022ea6140)
Signed-off-by: Mark Laing <mark.laing@canonical.com>
License: Apache-2.0
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
(cherry picked from commit 67777f96337938374fbc208d9fa9beed5e227346)
Signed-off-by: Mark Laing <mark.laing@canonical.com>
License: Apache-2.0
Signed-off-by: Mark Laing <mark.laing@canonical.com>
To support more versions of virtiofsd.

Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
We need a non-locking delete on an `Instance`.

I don't love the type assertion here. However, since CreateInternal
returns Instance, we don't have a lot of options beyond enriching that
interface or providing an additional one.

A solution that doesn't use type assertions would be to define an
internal interface for `delete` and possibly a few other functions in
the drivers/ package and implement it for common/lxc/qemu. Alternatively,
moving the `Interface` interface into the same package as the drivers
would allow us to define some private methods on `Interface` instead.

Signed-off-by: Wesley Hershberger <wesley.hershberger@canonical.com>
Signed-off-by: Din Music <din.music@canonical.com>
Signed-off-by: Din Music <din.music@canonical.com>
Signed-off-by: Din Music <din.music@canonical.com>
This at least runs through the reverter that gets built in case snapshot
creation fails.

Signed-off-by: Wesley Hershberger <wesley.hershberger@canonical.com>
... rootfs to stop.

Signed-off-by: Wesley Hershberger <wesley.hershberger@canonical.com>
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
(cherry picked from commit 2fbdbe9518f8739d5e4adcca0e9e963e96f41053)
Signed-off-by: Mark Bolton <mark.bolton@canonical.com>
License: Apache-2.0
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
@tomponline tomponline self-assigned this Aug 2, 2024
@github-actions github-actions bot added Documentation Documentation needs updating API Changes to the REST API 5.21 LTS labels Aug 2, 2024
@tomponline tomponline marked this pull request as ready for review August 2, 2024 14:46
tomponline and others added 4 commits August 2, 2024 15:51
websocket package had regressions on riscv64 on LP.
openfga package changes its function signatures and so needs work in LXD to build.

Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
(cherry picked from commit ecbe1e1f6cc029b4f4f2c479c81a49b8f4a8cadd)
Signed-off-by: Din Music <din.music@canonical.com>
License: Apache-2.0
…ew contexts

Signed-off-by: Din Music <din.music@canonical.com>
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
@tomponline tomponline merged commit ca4f14d into canonical:stable-5.21 Aug 2, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5.21 LTS API Changes to the REST API Documentation Documentation needs updating
Projects
None yet
Development

Successfully merging this pull request may close these issues.