Skip to content

service: Support latest MicroCeph tentacle#1338

Draft
roosterfish wants to merge 6 commits intocanonical:mainfrom
roosterfish:tentacle_support
Draft

service: Support latest MicroCeph tentacle#1338
roosterfish wants to merge 6 commits intocanonical:mainfrom
roosterfish:tentacle_support

Conversation

@roosterfish
Copy link
Copy Markdown
Contributor

Support latest MicroCeph tentacle.

@roosterfish roosterfish changed the title service: Support Latest MicroCeph tentacle service: Support latest MicroCeph tentacle Apr 17, 2026
@roosterfish roosterfish force-pushed the tentacle_support branch 2 times, most recently from df57838 to d75e7aa Compare April 17, 2026 08:35
@roosterfish roosterfish requested a review from Copilot April 17, 2026 08:39
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates MicroCloud’s service version validation to accept the latest MicroCeph “tentacle” (newer major Ceph versions) rather than rejecting them.

Changes:

  • Adjust MicroCeph version parsing/validation to use the shared compareVersion logic (allowing versions newer than the minimum).
  • Update version validation tests to treat a newer-major MicroCeph/Ceph version as supported.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
service/version.go Switch MicroCeph validation to extract a semantic version from the daemon string and validate it via compareVersion.
service/version_test.go Update test coverage to assert newer-major MicroCeph/Ceph versions are supported.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread service/version.go
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: Julian Pelizäus <julian.pelizaeus@canonical.com>
MicroCeph tentacle uses Microcluster v3 which uses the control unix socket to serve the SQL endpoint.

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread test/includes/microcloud.sh
snap tends to perform a retry itself.
Also due to current state of runners retrying might not anymore be required.

The retry call is still left for apt operations.

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
@roosterfish
Copy link
Copy Markdown
Contributor Author

The upgrade test on 22.04 fails due to MicroCeph tentacle.

LXD cannot start the CephFS storage pool:

  1. logs: 2026-04-20T11:45:18Z lxd.daemon[17412]: time="2026-04-20T11:45:18Z" level=error msg="Failed mounting storage pool" err="Failed mounting \"admin@6c02263c-149c-4cab-8d74-2602a900596e.lxd_cephfs=/\" on \"/var/snap/lxd/common/lxd/storage-pools/remote-fs\" using \"ceph\": invalid argument" pool=remote-fs
  2. dmesg: ceph: No path or : separator in source

It works with 24.04 so likely kernel related. There also is a similar report here lxc/incus#2748.

roosterfish added a commit that referenced this pull request Apr 21, 2026
MicroCeph tentacle doesn't play nicely on 22.04 which causes upgrade
test failures in #1338.
Therefore let's pin MicroCeph squid edge for now to unblock the many
other PRs waiting to be included (also in preparation to release another
version of MicroCloud 2 for future LXD 6.8 support).

Also ensure latest version of snapd to not get into conflicts when
trying to install `core26`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants