-
Notifications
You must be signed in to change notification settings - Fork 911
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
Keep dhclient default on mantic #4917
Conversation
verify_clean_log assumed shadowed warning messages to be contained in a single line entry with a `[WARNING]`, but warnings can be multiline as: ``` 2024-02-16 15:01:49,354 - activators.py[WARNING]: Running ['netplan', 'apply'] resulted in stderr output: Cannot call Open vSwitch: ovsdb-server.service is not running. Failed to connect system bus: No such file or directory Falling back to a hard restart of systemd-networkd.service ``` wrongly asserting the number of expected_warnings. Make this check more reliable by asserting that the number of lines containing `WARNINGS` is less or equal than the number of appearances of the shadowed warning messages.
Create generalized ubuntu_pro.properties definition to be shared in the ubuntu_pro and ubuntu_advantage property schemas as they are identical schema definitions. Given that ubuntu_advantage is now deprecated, add the schema keys deprecated, deprecated_version and deprecated description to provide descriptive warning logs when deprecated keys are present in user-data.
Update cc_ubuntu_advantage module, comments, logs and examples to prefer ubuntu_pro key over ubuntu_advantage to align with the updated product naming. - Deprecate ubuntu_advantage key and represent ubuntu_pro is prioritized - Update product URL to ubuntu.com/pro instead of /advantage - Update log messaging and examples to reference Ubuntu Pro instead of Ubuntu Advantage - Add logic to error when both ubuntu_advantage and ubuntu-advantage keys are present in userdata.
Move the cc_ubuntu_advantage module to cc_ubuntu_pro, updating schema definitions to align with new module name and default /etc/cloud/cloud.cfg to represent ubuntu_pro instead of ubuntu_advantage module.
Also update stale /etc/cloud/cloud.cfg example adding new config modules present in tip of tree.
…#4906) The files in the sysvinit/gentoo directory are OpenRC files not specific to Gentoo and are used by other distro (i.e. Alpine).
On focal we detect NoCloud rather than LXD, so ensure the test reflects this.
Saw "cat: /before-local.start-nostatusjson: No such file or directory" failures. After this change, I no longer see these failures.
…onical#4876) Unlike the majority of other Linux distros /dev/mapper entries in Alpine Linux are NOT symlinks to /dev/dm-X block devices but rather are actual block devices themselves. This is a side-effect of Alpine's use of mdev, rather than udev, in its initramfs. Therefore this change works out the corresponding /dev/dm-X for any /dev/mapper/XYZ device on Alpine.
isc-dhcp-client is no longer supported by upstream BREAKING CHANGE: dhcpcd has been promoted to the default dhcp client. Previous behavior can be configured in cloud.cfg via the dhcp_client_priority key.
Keep dhclient as default client.
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!
Focal and jammy? |
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.
Changeset good and extra quilt patch reordering dhclient in front of dhcpcd is good. Let's manually cleanup debian/changelog and then +1
debian/changelog
Outdated
* refresh patches: | ||
- d/p/retain-ec2-default-net-update-events.patch | ||
* Upstream snapshot based on upstream/main at a4140119. |
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.
Since we are in here adding to debian/changelog anyway. Can we manually consolidate some of the entries?
- Let's drop all the duplicated previous
Upstream snapshot based on ..
lines - please consolidate the refresh patches sections into one section.
f6030de
to
0895aa3
Compare
Context
New snapshot, reverts #4912
a focal PR will follow once this is reviewed
Merge type