RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2082043 - Support custom value for IP field dhcp-client-id
Summary: Support custom value for IP field dhcp-client-id
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: nmstate
Version: 9.1
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Gris Ge
QA Contact: Mingyu Shi
Marc Muehlfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-05 09:47 UTC by Quique Llorente
Modified: 2022-11-15 10:33 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
.More DHCP and IPv6 auto-configuration attributes have been added to the nmstate API This enhancement adds support for the following attributes to the nmstate API: * `dhcp-client-id` for DHCPv4 connections as described in RFC 2132 and 4361. * `dhcp-duid` for DHCPv6 connections as described in RFC 8415. * `addr-gen-mode` for IPv6 auto-configuration. You can set this attribute to: ** `eui64` as described in RFC 4862 ** `stable-privacy` as described in RFC 7217
Clone Of:
Environment:
Last Closed: 2022-11-15 10:00:45 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
verified.log (4.16 KB, text/plain)
2022-06-15 05:37 UTC, Mingyu Shi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github nmstate nmstate pull 1905 0 None open DHCPv4: Add support of client ID 2022-05-23 08:56:09 UTC
Github openshift/machine-config-operator/blob/48d88a7f75e97c87b2a6f4b00862a091fccbdd72/templates/common/_base/files/configure-ovs-network.yaml#L317 0 None None None 2022-05-05 09:47:26 UTC
Red Hat Issue Tracker RHELPLAN-121132 0 None None None 2022-05-05 09:59:20 UTC
Red Hat Product Errata RHBA-2022:7991 0 None None None 2022-11-15 10:01:03 UTC

Description Quique Llorente 2022-05-05 09:47:27 UTC
Description of problem:

As part of migration MCO configure-ovs to nmstate the attribute "dhcp-client-id" need to be set if interfaces has already a address assigned [1]

[1] https://github.com/openshift/machine-config-operator/blob/48d88a7f75e97c87b2a6f4b00862a091fccbdd72/templates/common/_base/files/configure-ovs-network.yaml#L317


Version-Release number of selected component (if applicable):


How reproducible: Always


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:
User can set the "dhcp-client-id" attribute at thir ipv4/ipv6 field options.


Additional info:

Comment 1 Gris Ge 2022-05-23 08:56:09 UTC
Patch posted to https://github.com/nmstate/nmstate/pull/1905

Comment 2 Fernando F. Mancera 2022-06-02 10:49:29 UTC
Tested with integration tests and manually, thanks!

Comment 5 Mingyu Shi 2022-06-15 05:37:15 UTC
Created attachment 1890087 [details]
verified.log

Verified with:
nmstate-2.1.1-0.alpha.20220602.5accbd1.el9.x86_64
NetworkManager-1.39.6-1.el9.x86_64

Comment 9 errata-xmlrpc 2022-11-15 10:00:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (nmstate bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:7991


Note You need to log in before you can comment on or make changes to this bug.