Skip to content
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

Add fix for Debian Bookworm/cloud-init/Netplan/DHCP issue #233

Merged
merged 4 commits into from
Mar 22, 2024

Conversation

jsf9k
Copy link
Member

@jsf9k jsf9k commented Jan 12, 2024

🗣 Description

This pull request adds a fix for the Debian Bookworm + cloud-init + netplan + DHCP issue described in cisagov/skeleton-packer#300.

Important

This pull request cannot be merged until cisagov/skeleton-packer#242 is merged and trickles down to all the COOL AMI repos.

💭 Motivation and context

See cisagov/skeleton-packer#300.

🧪 Testing

I deployed these changes together with those from this branch of cisagov/debian-packer and verified that debiandesktop0 could ping terraformer0 without having to specify the .env6 domain.

✅ Pre-approval checklist

  • This PR has an informative and human-readable title.
  • Changes are limited to a single goal - eschew scope creep!
  • All future TODOs are captured in issues, which are referenced in code comments.
  • All relevant type-of-change labels have been added.
  • I have read the CONTRIBUTING document.
  • These code changes follow cisagov code standards.
  • All new and existing tests pass.

@jsf9k jsf9k added bug This issue or pull request addresses broken functionality terraform Pull requests that update Terraform code labels Jan 12, 2024
@jsf9k jsf9k self-assigned this Jan 12, 2024
@jsf9k jsf9k linked an issue Jan 12, 2024 that may be closed by this pull request
@jsf9k jsf9k marked this pull request as ready for review February 16, 2024 18:02
@jsf9k jsf9k requested a review from a team February 16, 2024 18:02
@jsf9k jsf9k added the blocked This issue or pull request is awaiting the outcome of another issue or pull request label Feb 16, 2024
Copy link
Member

@dav3r dav3r left a comment

Choose a reason for hiding this comment

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

👍 👍

The Netplan config is created by cloud-init, but it needs to be
slightly modified and reapplied.  This script takes care of the
modification.

See these issues for more details:
- cisagov/skeleton-packer#300
- canonical/cloud-init#4764
The Netplan config is created by cloud-init, but it needs to be
slightly modified and reapplied.  There is a Python script that fixes
the DHCP4 options in the netplan configuration already generated by
cloud-init.  This cloud-init fragment simply reapplies the Netplan
configuration after the modification.

See these issues for more details:
- cisagov/skeleton-packer#300
- canonical/cloud-init#4764
The Netplan config is created by cloud-init, but it needs to be
slightly modified and reapplied.

See these issues for more details:
- cisagov/skeleton-packer#300
- canonical/cloud-init#4764
Copy link
Member

@dav3r dav3r left a comment

Choose a reason for hiding this comment

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

image

@jsf9k jsf9k removed the blocked This issue or pull request is awaiting the outcome of another issue or pull request label Mar 22, 2024
@jsf9k jsf9k merged commit d34f2a7 into develop Mar 22, 2024
5 checks passed
@jsf9k jsf9k deleted the testing/netplan-dhcp-fix branch March 22, 2024 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue or pull request addresses broken functionality terraform Pull requests that update Terraform code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DNS woes with Debian Bookworm
3 participants