Skip to content

fix(resolute): remove obsolete metadata_csum workaround and update Az…#632

Merged
mkocher merged 1 commit into
ubuntu-resolutefrom
resolute-azure-alicloud-fixes
Jun 10, 2026
Merged

fix(resolute): remove obsolete metadata_csum workaround and update Az…#632
mkocher merged 1 commit into
ubuntu-resolutefrom
resolute-azure-alicloud-fixes

Conversation

@mkocher

@mkocher mkocher commented Jun 10, 2026

Copy link
Copy Markdown
Member

Fix resolute stemcell builds for azure and alicloud.

This PR replaces #631 due to some github wierdness.

AI Slop Summary

Ubuntu 26.04 ships with GRUB 2.12+ which supports metadata_csum_seed
natively (fixed upstream June 2021). The sed workaround in
system_alicloud/apply.sh was a no-op on Resolute (pattern 'metadata_csum,'
does not match 'metadata_csum_seed,') and is no longer needed.

Update the Azure stemcell package list to reflect Ubuntu 26.04 (Resolute)
changes: kernel cloud-tools bumped from 6.8 to 7.0, python3-pyrsistent
replaced by python3-rpds-py, cloud-init-base split added, new jsonschema
dependencies added (python3-jsonschema-specifications, python3-referencing),
python3-passlib added, python3-setuptools removed (not installed by default
in 26.04).

…ure package list

Ubuntu 26.04 ships with GRUB 2.12+ which supports metadata_csum_seed
natively (fixed upstream June 2021). The sed workaround in
system_alicloud/apply.sh was a no-op on Resolute (pattern 'metadata_csum,'
does not match 'metadata_csum_seed,') and is no longer needed.

Update the Azure stemcell package list to reflect Ubuntu 26.04 (Resolute)
changes: kernel cloud-tools bumped from 6.8 to 7.0, python3-pyrsistent
replaced by python3-rpds-py, cloud-init-base split added, new jsonschema
dependencies added (python3-jsonschema-specifications, python3-referencing),
python3-passlib added, python3-setuptools removed (not installed by default
in 26.04).
@coderabbitai

coderabbitai Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: eac2da26-48a8-488a-bf61-389efe32533d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • ✅ Review completed - (🔄 Check again to review again)
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch resolute-azure-alicloud-fixes

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@mkocher mkocher merged commit 28749e5 into ubuntu-resolute Jun 10, 2026
10 of 11 checks passed
@mkocher mkocher deleted the resolute-azure-alicloud-fixes branch June 10, 2026 21:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR aims to fix Ubuntu 26.04 (Resolute) stemcell builds for AliCloud and Azure by removing an obsolete ext4 metadata workaround and updating the expected Ubuntu/Azure package lists to match Resolute’s dependency changes.

Changes:

  • Removed the AliCloud metadata_csum mke2fs.conf sed workaround from the AliCloud system stage.
  • Dropped the AliCloud spec assertion that /etc/mke2fs.conf must not mention metadata_csum.
  • Updated Ubuntu/Azure dpkg expectation lists for Resolute (e.g., linux-cloud-tools 7.0, jsonschema dependency changes, package additions/removals).

Reviewed changes

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

File Description
stemcell_builder/stages/system_alicloud/apply.sh Removes the ext4 metadata workaround previously applied for AliCloud images.
bosh-stemcell/spec/stemcells/alicloud_spec.rb Removes the spec that enforced absence of metadata_csum in mke2fs config.
bosh-stemcell/spec/assets/dpkg-list-ubuntu.txt Updates baseline Ubuntu package expectations (removes python3-setuptools).
bosh-stemcell/spec/assets/dpkg-list-ubuntu-azure-additions.txt Updates Azure-specific package expectations for Resolute (kernel tools + Python dependency set).

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

Comment on lines +25 to 29
python3-referencing
python3-requests
python3-rpds-py
python3-serial
python3-setuptools
python3-urllib3
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.

5 participants