Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# The LXD team owns everything
* @canonical/lxd-maintainers
7 changes: 4 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions doc/.custom_wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ frontend
GbE
GiB
HA
hardcoding
HMAC
HWE
init
Expand All @@ -44,6 +45,7 @@ MicroCeph
MicroCloud
MicroCloud's
MicroOVN
monmap
mTLS
multicast
NAT
Expand Down
2 changes: 2 additions & 0 deletions doc/reference/release-notes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ For full instructions on updating or upgrading MicroCloud, refer to {ref}`howto-

```{toctree}
:titlesonly:
MicroCloud 3.3 <https://documentation.ubuntu.com/microcloud/latest/reference/release-notes/release-notes-3.3/>
MicroCloud 3.2 <https://documentation.ubuntu.com/microcloud/latest/reference/release-notes/release-notes-3.2/>
MicroCloud 3.1 <https://documentation.ubuntu.com/microcloud/latest/reference/release-notes/release-notes-3.1/>
MicroCloud 2.1.4 LTS </reference/release-notes/release-notes-2.1.4>
MicroCloud 2.1.3 LTS </reference/release-notes/release-notes-2.1.3>
MicroCloud 2.1.2 LTS <https://discourse.ubuntu.com/t/microcloud-2-1-2-lts-has-been-released/73771/2>
MicroCloud 2.1.1 LTS <https://discourse.ubuntu.com/t/microcloud-2-1-2-lts-has-been-released/73771>
Expand Down
93 changes: 93 additions & 0 deletions doc/reference/release-notes/release-notes-2.1.4.md
Original file line number Diff line number Diff line change
@@ -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 <ref-releases-microcloud-lts>` 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).
2 changes: 1 addition & 1 deletion test/includes/microcloud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
Loading