diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 000000000..1a02f59bf --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,2 @@ +# The LXD team owns everything +* @canonical/lxd-maintainers diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2c20a366a..9b2fcb512 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -175,9 +175,10 @@ jobs: - "6/edge" microcloud: ["2/edge"] exclude: - # Exclude LXD 6 for regular development pipelines to speed up the result cycle. - # But launch the LXD 6 tests both for schedules and manual workflow dispatch. - - lxd: ${{ github.event_name != 'schedule' && github.event_name != 'workflow_dispatch' && '6/edge' }} + # Exclude LXD 5.21 for regular development pipelines to speed up the result cycle. + # MicroCloud edge tests should always run with LXD edge. The LTS edge is tested in the weekly schedule. + # Launch the LXD 5.21 tests both for schedules and manual workflow dispatch. + - lxd: ${{ github.event_name != 'schedule' && github.event_name != 'workflow_dispatch' && '5.21/edge' }} steps: - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 diff --git a/doc/.custom_wordlist.txt b/doc/.custom_wordlist.txt index a44d59478..5a4f74003 100644 --- a/doc/.custom_wordlist.txt +++ b/doc/.custom_wordlist.txt @@ -28,6 +28,7 @@ frontend GbE GiB HA +hardcoding HMAC HWE init @@ -44,6 +45,7 @@ MicroCeph MicroCloud MicroCloud's MicroOVN +monmap mTLS multicast NAT diff --git a/doc/reference/release-notes/index.md b/doc/reference/release-notes/index.md index 11f5422fe..91e5e49b1 100644 --- a/doc/reference/release-notes/index.md +++ b/doc/reference/release-notes/index.md @@ -25,8 +25,10 @@ For full instructions on updating or upgrading MicroCloud, refer to {ref}`howto- ```{toctree} :titlesonly: +MicroCloud 3.3 MicroCloud 3.2 MicroCloud 3.1 +MicroCloud 2.1.4 LTS MicroCloud 2.1.3 LTS MicroCloud 2.1.2 LTS MicroCloud 2.1.1 LTS diff --git a/doc/reference/release-notes/release-notes-2.1.4.md b/doc/reference/release-notes/release-notes-2.1.4.md new file mode 100644 index 000000000..fdc1941de --- /dev/null +++ b/doc/reference/release-notes/release-notes-2.1.4.md @@ -0,0 +1,93 @@ +--- +myst: + html_meta: + description: Release notes for MicroCloud 2.1.4, including highlights about new features, bugfixes, and other updates from the MicroCloud project. +--- + +(ref-release-notes-2.1.4)= +# MicroCloud 2.1.4 release notes + +This is an {ref}`LTS release ` and contains bugfixes, package updates and new features. +It's the fifth release of the 2 LTS track. + +(ref-release-notes-2.1.4-highlights)= +## Highlights + +This section highlights new and improved features in this release. + +### New home for docs + +The integrated doc set was moved to [canonical.com/microcloud/docs](https://canonical.com/microcloud/docs/). +It is now located alongside MicroCloud's [product page](https://canonical.com/microcloud). + +The changes were split across several PRs, see: + +* https://github.com/canonical/microcloud/pull/1466 +* https://github.com/canonical/microcloud/pull/1397 +* https://github.com/canonical/microcloud/pull/1460 + +### Decommissioning guide + +Adds a MicroCloud decommissioning guide, adapted from the [LXD decommissioning guide](https://github.com/canonical/lxd/issues/18507). +It's reorganized around decommissioning a full cluster, favors `microcloud` commands over `lxc` and adds MicroCloud-specific details such as MicroCeph logging, +OSD removal, Ceph monmap cleanup, and snap removal covering MicroCloud, LXD, MicroCeph and MicroOVN. + +See https://github.com/canonical/microcloud/pull/1450. + +### Improved resource naming in Terraform demo + +Avoid hardcoding of variable names for the network bridge and support custom VM numbering with a matching enumeration for disk names. + +See https://github.com/canonical/microcloud/pull/1428. + +### Dynamic OVN northbound DB addresses + +LXD [added support](https://github.com/canonical/lxd/pull/17874) to read the OVN northbound DB addresses directly from the `ovn.env` +file which is kept up to date by the MicroOVN snap. +This allows MicroCloud to omit setting the `network.ovn.northbound_connection` configuration option in LXD. +LXD can now react immediately on address changes made in MicroOVN. + +Previously, MicroCloud only updated the `network.ovn.northbound_connection` configuration option during cluster initialization and +when adding additional members. + +See https://github.com/canonical/microcloud/pull/1505. + +### Preseed filter examples + +When deploying MicroCloud clusters using preseed, optional storage filters can be provided to find specific disks to be used +for local and remote (Ceph) storage. +The respective how-to guides were extended to show practical usage examples. + +See https://github.com/canonical/microcloud/pull/1501. + +(ref-release-notes-2.1.4-bugfixes)= +## Bug fixes + +The following bug fixes are included in this release. + +### Hide the `--state-dir` flag from CLI + +This flag is used to select the actual state directory of the MicroCloud snap. +The snap's command wrapper already takes care of setting this to the correct state directory. +A user never needs to set this flag manually. + +See https://github.com/canonical/microcloud/pull/1503. + +### Drop disk existence check during preseed + +In preseed mode, all of the disks selected for remote storage were checked for existence on the initiator. +This does not work for disks which were selected on cluster members other than the initiator. + +Wrong disk selections (without using filters) will cause the deployment to error out anyway. + +See https://github.com/canonical/microcloud/pull/1496. + +## Upgrading to the new version + +If you are already using MicroCloud 2 LTS, refer to the {ref}`howto-update` guide for information on how to retrieve and use the latest release within the same major version. +If you are on an older major version, refer to the {ref}`howto-upgrade` guide. + +(ref-release-notes-2.1.4-changelog)= +## Change log + +View the [complete list of all changes in this release](https://github.com/canonical/microcloud/compare/2.1.3...2.1.4). diff --git a/test/includes/microcloud.sh b/test/includes/microcloud.sh index 99ac9cd59..330ca2bdc 100644 --- a/test/includes/microcloud.sh +++ b/test/includes/microcloud.sh @@ -551,7 +551,7 @@ validate_system_lxd_ovn() { echo " ${name} Validating OVN network" # Check if the connection string is set correctly. - if ! check_api_extension ovn_dynamic_northbound_connection "${name}"; then + if ! check_api_extension ovn_dynamic_northbound_connection; then num_conns=3 if [ "${num_peers}" -lt "${num_conns}" ]; then num_conns="${num_peers}"