Skip to content

snap: build ceph source from ceph-tentacle-rc PPA#747

Open
UtkarshBhatthere wants to merge 3 commits into
mainfrom
ceph-tentacle-rc-ppa
Open

snap: build ceph source from ceph-tentacle-rc PPA#747
UtkarshBhatthere wants to merge 3 commits into
mainfrom
ceph-tentacle-rc-ppa

Conversation

@UtkarshBhatthere
Copy link
Copy Markdown
Contributor

Summary

  • Switch package-repositories in snap/snapcraft.yaml from ppa:lmlogiudice/ceph-tentacle-noble to ppa:lmlogiudice/ceph-tentacle-rc so the snap builds against Tentacle release-candidate Ceph packages.

PPA arch coverage

Verified via Launchpad API (getPublishedBinaries?binary_name=ceph-common&status=Published) that ceph-tentacle-rc publishes ceph-common for:

  • noble: amd64, arm64, armhf, ppc64el, riscv64, s390x, i386
  • resolute: amd64, amd64v3, arm64, armhf, ppc64el, riscv64, s390x, i386

This matches (and on resolute extends) the previous ceph-tentacle-noble PPA arch set, so existing snap build targets remain covered. The snap base is core24 (noble), which is where stage-packages are resolved.

Test plan

  • CI Build microceph snap job succeeds against the new PPA
  • DSL + cluster functional tests pass on the resulting snap
  • Resulting snap reports a Tentacle RC ceph-version in metadata.yaml

🤖 Generated with Claude Code

Switch snapcraft package-repositories from
ppa:lmlogiudice/ceph-tentacle-noble to ppa:lmlogiudice/ceph-tentacle-rc
to pick up Tentacle release-candidate Ceph packages.

The -rc PPA publishes ceph-common for noble across the same arch set
(amd64, arm64, armhf, ppc64el, riscv64, s390x, i386), so existing
build targets remain covered.

Assisted-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Utkarsh Bhatt <utkarsh_bhatt@outlook.com>
The 0002-fix-prometheus-module-string-formatting-error.patch is already
applied in tentacle-rc ceph (verified in
ceph-mgr-modules-core_20.2.1-0ubuntu1~bpo24.04.1~ppa202605272024_all.deb
from ppa:lmlogiudice/ceph-tentacle-rc). The override-stage scriptlet
fails patch reverse-detection and aborts the build.

Upstream: ceph/ceph#65033
Tracker:  https://tracker.ceph.com/issues/72380

Signed-off-by: Utkarsh Bhatt <utkarsh_bhatt@outlook.com>
Assisted-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…oard

Tentacle (ceph 20.2.1) ceph-mgr-dashboard imports `jmespath` and
`xmltodict` from its sso/dashboard code paths but does not declare them
as Depends. With the prior Squid-era PPA these modules happened to be
absent without breaking the modules we actually load; under Tentacle
they are reached during normal mgr startup and the dashboard module
fails to initialize:

    ERROR:root:Module 'jmespath' is not installed.
    ERROR:sso:Module 'jmespath' is not installed.
    ERROR:root:Module 'xmltodict' is not installed.

That in turn breaks `ceph orch set backend rook` invoked during
bootstrap (mgr handle_command throws, exit code 22), which cascades into
the encryption, crush, replication, NFS and DSL test failures observed
on the ceph-tentacle-rc PPA PR.

Stage both Python modules in the ceph part so the dashboard module
loads cleanly.

Assisted-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Utkarsh Bhatt <utkarsh_bhatt@outlook.com>
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.

1 participant