Skip to content

Conversation

jandubois
Copy link
Contributor

The RELEASE message is optional anyways, so not handling it is not a critical error that a user needs to worry about.

Lima users are getting confused about the error message when they shut down a VM: lima-vm/lima#3776

The RELEASE message is optional anyways, so not handling it is
not a critical error that a user needs to worry about.

Signed-off-by: Jan Dubois <jan.dubois@suse.com>
Copy link
Collaborator

@lstocchi lstocchi left a comment

Choose a reason for hiding this comment

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

LGTM, maybe we could update the log message as this is actually handled now.
Something like log.Debugf("dhcp: received RELEASE message for client %s", m.ClientHWAddr.String())

@cfergeau
Copy link
Collaborator

LGTM, maybe we could update the log message as this is actually handled now. Something like log.Debugf("dhcp: received RELEASE message for client %s", m.ClientHWAddr.String())

We don’t do anything with the message, only print a log, so it’s not really handled, the log would need to indicate the message is ignored or such. I’m fine with "unhandled" for now.

/lgtm
/approve

Copy link
Contributor

openshift-ci bot commented Aug 11, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cfergeau, jandubois

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 913d282 into containers:main Aug 11, 2025
20 checks passed
@jandubois jandubois deleted the dhcp-reset branch August 11, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants