-
Notifications
You must be signed in to change notification settings - Fork 881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: cloud-init.postinst for maas preseed provisioning #5686
Conversation
Commit cf13fd1 removed support for MAAS preseed functions from debian/cloud-init.postinst which is the only operation which allows MAAS to send preseed config to cloud-init. Fixes canonicalGH-5685
@blackboxsw looks good, but unit tests are failing |
@@ -1,3 +1,11 @@ | |||
cloud-init (24.4~3+really24.3.1-0ubuntu2) oracular; urgency=medium |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would 24.4~4
make more sense here as this is devel?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was wondering the same, but this is an ubuntu downstream packaging change just beyond the 24.4~3+really24.3.1
and into the development release still, so I'd think we would follow the ubuntu-specific version bump in devel series.
Unable to reproduce this issue. tox -e py3 on this branch looks good, CI tests look good, only failure I'm seeing is Packaging tests on absent series file which landed in tip of main, but hasn't been new_upstream_snapshotted into this branch yet. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
I built and tested this release locally, uploaded to https://launchpad.net/~chad.smith/+archive/ubuntu/cloud-init-uploads for oracular and performed an upgrade test plus:
|
Added a followup issue to get better integration coverage #5688 |
Merge as separate commits
Proposed Commit Message
Functional change
Additional Context
#5685
The other functions in postinst that were removed by commit cf13fd1 were already version gated to be skipped on any recent supported LTS. So, the other dropped postinst functions in that commit do not need to be reverted. Just active MAAS preseed support utility functions.
Test Steps
Merge type