Skip to content

Backports (v2-edge) - #893

Merged
roosterfish merged 175 commits into
canonical:v2-edgefrom
roosterfish:super_backports
Jul 29, 2025
Merged

Backports (v2-edge)#893
roosterfish merged 175 commits into
canonical:v2-edgefrom
roosterfish:super_backports

Conversation

@roosterfish

@roosterfish roosterfish commented Jul 25, 2025

Copy link
Copy Markdown
Contributor

Includes all of the recent improvements to the docs as well as fixes for disk selection, profile replacement and the new e2e tests including the waitready enhancements.

The only major feature excluded this time is cluster manager as it won't be included in v2.

Backports until b700eb2 (July 25, 2025)
Consider those commits too for the next backport #893 (comment) as they were excluded.

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 5ee1eab)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 697aeea)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 5729470)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit c0bf713)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 91963b5)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit a5cd0e8)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 58da22d)
…mbers

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 98ffc98)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 62ce5df)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 0d84c18)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 0a24987)
…raform apply`

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 7df7b75)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit d592822)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit e496fb2)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 34ce267)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 0b750b0)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 0a6698a)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 7232472)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit f86b7d3)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 340035b)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 4788a35)
This also removes one of the `lxc exec micro01 -- lxc exec "${m}"` in the loop
of 2 iterations. This should be a tad faster as `lxc exec`'ing into the nested
instance can be slow.

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 230a280)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 0953433)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 8c2e840)
This is cosmetic, mostly for consistency with other places in the code.

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 2647e17)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit af6e204)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 8d43712)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit cabc220)
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit a68dc75)
…y after a reboot

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit fc04880)
roosterfish and others added 20 commits July 29, 2025 10:04
…ommendations warning

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
(cherry picked from commit 6291d33)
…rinted

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
(cherry picked from commit ef5d0a1)
This allows to configure distributed Ceph storage but without asking for additional disks (in case there are none).
In this case the existing Ceph cluster including it's already configured disks are used.

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
(cherry picked from commit 7cd794d)
…ng new disks

This tests to configure distributed storage using an existing Ceph cluster without adding additional disks.
That is a valid scenario where Ceph is already fully setup and just needs to be integrated into MicroCloud.

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
(cherry picked from commit f0a7e53)
…storage

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
(cherry picked from commit 26941ab)
… pools

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
(cherry picked from commit eeda671)
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
(cherry picked from commit 8d99a0c)
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
(cherry picked from commit 4bd8941)
In case the target isn't yet reachable, we can use the retry function to retry the connectivity check.
See this failed job as an example https://github.com/canonical/microcloud/actions/runs/15162878189/job/42633247540?pr=630

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
(cherry picked from commit eb25b11)
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
(cherry picked from commit e2898f1)
As we have found the root cause for the race (LXD network/storage waitready), we don't anymore have to
retry the evacuation then times.

However until everything stabilizes it still makes sense to run it more than one time.
We can always reduce the number again to one in the future.
But running it three times should be a good compromise between length of execution and test coverage.

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
(cherry picked from commit e496eeb)
Signed-off-by: Minae Lee <minae.lee@canonical.com>
(cherry picked from commit 006375c)
Signed-off-by: Minae Lee <minae.lee@canonical.com>
(cherry picked from commit 9999ce7)
Signed-off-by: Minae Lee <minae.lee@canonical.com>
(cherry picked from commit c4555b9)
During pipeline execution (e.g. https://github.com/canonical/microcloud/actions/runs/16517071789/job/46710255729?pr=893)
we sometimes see that the request to add disks to MicroCeph exceeds the request context's deadline.

By default this deadline is set to 30s by the underlying Microcluster client.
However when adding a large amount of disks we should give MicroCeph time to perform the necessary actions.

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
(cherry picked from commit 4b91b43)
Signed-off-by: Minae Lee <minae.lee@canonical.com>
(cherry picked from commit 79658e3)
Signed-off-by: Minae Lee <minae.lee@canonical.com>
(cherry picked from commit 0477130)
Signed-off-by: Minae Lee <minae.lee@canonical.com>
(cherry picked from commit 3c399da)
Signed-off-by: Minae Lee <minae.lee@canonical.com>
(cherry picked from commit 19089ba)
When restarting MicroOVN a new leader gets elected.
If this node happens to be the last one that joined the cluster, it's northd service fails to start.

We can temporarily resolve this by restarting the service.

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
(cherry picked from commit 5f5c8a8)
@roosterfish

roosterfish commented Jul 29, 2025

Copy link
Copy Markdown
Contributor Author

@minaelee I have identified the minimal required delta we cannot backport yet to resolve the docs builds:

That means in v2-edge we would still use the wrong ref tags (fixed in #896) and don't have the redirects for the modified pages (#899).
But we can backport them as soon as the required changes land in LXD stable-5.21.

@roosterfish
roosterfish merged commit 1c0c332 into canonical:v2-edge Jul 29, 2025
29 checks passed
@roosterfish
roosterfish deleted the super_backports branch July 29, 2025 11:19
roosterfish added a commit that referenced this pull request Jul 30, 2025
Last minute backport of the exluded doc commits (see
#893 (comment))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Documentation needs updating

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants