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) #13659

Merged
merged 159 commits into from
Jun 25, 2024
Merged

Backports (stable-5.0) #13659

merged 159 commits into from
Jun 25, 2024

Conversation

tomponline
Copy link
Member

No description provided.

@tomponline tomponline self-assigned this Jun 25, 2024
roosterfish and others added 2 commits June 25, 2024 10:15
Additionally check the responses if the endpoint gets queried using the project parameter
as this is producing different results for restricted and unrestricted metrics certificates.

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Signed-off-by: Eric Gelinas <eric.gelinas@canonical.com>
@github-actions github-actions bot added the Documentation Documentation needs updating label Jun 25, 2024
@tomponline tomponline changed the title Storage: Round ZFS volume sizes to nearest 16KiB (stable-5.0) Backports (stable-5.0) Jun 25, 2024
escabo and others added 22 commits June 25, 2024 11:22
Signed-off-by: Eric Gelinas <eric.gelinas@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
The vg_name is not a path and gives ENOENT when we try to open it.

Signed-off-by: Wesley Hershberger <wesley.hershberger@canonical.com>
Signed-off-by: hamistao <pedro.ribeiro@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
I noticed sometimes during shutdown we would see these errors in the log.

Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Because `FillConfig` changes the meaning of d.config["source"], we want
to check against the user's intent here, rather than the filesystem's
UUID (which may not exist yet; eg a raw block device)

Signed-off-by: Wesley Hershberger <wesley.hershberger@canonical.com>
Signed-off-by: Wesley Hershberger <wesley.hershberger@canonical.com>
Signed-off-by: Wesley Hershberger <wesley.hershberger@canonical.com>
Need to be able to check the block size associatd with a volume for zfs
(see next commit)

Signed-off-by: Wesley Hershberger <wesley.hershberger@canonical.com>
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>
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
roosterfish and others added 12 commits June 25, 2024 11:22
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Signed-off-by: Din Music <din.music@canonical.com>
… the filesystem

Signed-off-by: Din Music <din.music@canonical.com>
When refreshing a volume with its remote counterpart make sure to run GetVolume()
which does not assign a new volatile.uuid as the volume on the target already exists.

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
This allows passing a custom timeout.

Signed-off-by: Julian Pelizäus <julian.pelizaeus@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: Din Music <din.music@canonical.com>
…P_NET_BIND_SERVICE)

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
…tens on TCP/53

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
tomponline and others added 3 commits June 25, 2024 12:58
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
…volume

Instead of giving a udev rules half a second to be applied, wait for the device
up to 30 seconds to appear. This fixes the issue where zvol device cannot be located
if the rules are not applied in time.

Signed-off-by: Din Music <din.music@canonical.com>
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
roosterfish and others added 3 commits June 25, 2024 13:45
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
(cherry picked from commit 288f85f)
In core24 AppArmor includes security fixes and our ruleset, although
the source code remains unchanged become stricter.

devpts was always available for unprivileged containers because
of AppArmor bugs like [1]. Let's now allow it explicitly.

[1] https://bugs.launchpad.net/apparmor/+bug/1597017

Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
(cherry picked from commit f0316ad)
@tomponline tomponline marked this pull request as ready for review June 25, 2024 13:33
Copy link
Member

@MusicDin MusicDin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is only a documentation test that is failing due to too many requests.

@tomponline tomponline merged commit 347294d into canonical:stable-5.0 Jun 25, 2024
26 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5.0 LTS Documentation Documentation needs updating
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants