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

Preparation for 4.0.10 (stable-4.0) #13704

Merged
merged 87 commits into from
Jul 10, 2024

Conversation

simondeziel
Copy link
Member

@simondeziel simondeziel commented Jul 5, 2024

This PR should have a commit list very similar to that of #13643

stgraber and others added 3 commits July 5, 2024 10:47
This must have been around a long time but only became visible now that
cloud-init is making use of /dev/lxd.

Closes canonical#10231

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
(cherry picked from commit 2c5b007)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
spawn=allow is required when QEMU is asked to daemonize.

Previous QEMU versions would incorrectly block `fork` when spawn=deny
was passed while allowing clone to succeed.

This was then making it possible for us to use daemnize thanks to most
Linux distributions using the clone syscall to implement fork.

Current QEMU has fixed their seccomp profile to block both fork and
clone, preventing -daemonize when spawn=deny is passed.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
(cherry picked from commit af5c49e)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
```
for f in $(git grep -lF github.com/lxc/lxd); do
    sed -i 's|github.com/lxc/lxd|github.com/canonical/lxd|g' "${f}"
done
```

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
@simondeziel simondeziel changed the base branch from main to stable-4.0 July 5, 2024 15:14
@github-actions github-actions bot added Documentation Documentation needs updating API Changes to the REST API labels Jul 5, 2024
@simondeziel simondeziel changed the title Preparation for 4.0.10 Preparation for 4.0.10 (stable-4.0) Jul 5, 2024
@simondeziel simondeziel force-pushed the preparation-for-4.0.10 branch 2 times, most recently from c745c7d to e0807e8 Compare July 5, 2024 18:38
@simondeziel simondeziel marked this pull request as ready for review July 5, 2024 21:27
Makefile Outdated Show resolved Hide resolved
ru-fu
ru-fu previously approved these changes Jul 8, 2024
Copy link
Contributor

@ru-fu ru-fu left a comment

Choose a reason for hiding this comment

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

Looks good to me.
Great job getting the docs to build again! 👍

doc/metadata.yaml Outdated Show resolved Hide resolved
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
(cherry picked from commit 033ae33)
@simondeziel simondeziel force-pushed the preparation-for-4.0.10 branch 5 times, most recently from 6f32b6b to 1b751ed Compare July 9, 2024 06:17
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>
(cherry picked from commit 5c60a70)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
uuidgen was used to generate a single placeholder remote name.
If we ever want a UUID generator back, we should use:

  `systemd-id128 new -u`

Which doesn't depend on an additional package.

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 32b92f6)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
On LXD 4.0, the metadata LV is hardcoded to 1G so we need a bigger pool to have
space for data LVs. Later LXD versions changed this to be dynamic and/or
configurable.

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>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
@simondeziel simondeziel force-pushed the preparation-for-4.0.10 branch 2 times, most recently from d7add48 to f6ce644 Compare July 10, 2024 01:44
simondeziel and others added 8 commits July 9, 2024 23:07
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>
…eric

Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
(cherry picked from commit a13b571)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Fails on GitHub runners with: `ERROR: cannot find parent subvolume`

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Copy link
Member

@tomponline tomponline left a comment

Choose a reason for hiding this comment

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

Thanks!

@tomponline tomponline merged commit 9ec7845 into canonical:stable-4.0 Jul 10, 2024
21 of 23 checks passed
@simondeziel simondeziel deleted the preparation-for-4.0.10 branch July 10, 2024 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.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.

7 participants