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 2082044 - Support custom value for IP field dhcp-duid
Summary: Support custom value for IP field dhcp-duid
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:49 UTC by Quique Llorente
Modified: 2022-11-15 10:33 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
For the release note, see the Doc Text field in BZ#2082043.
Clone Of:
: 2082045 (view as bug list)
Environment:
Last Closed: 2022-11-15 10:00:45 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github nmstate nmstate pull 1904 0 None open DHCPv6: Add support of DUID 2022-05-23 08:12:29 UTC
Github openshift/machine-config-operator/blob/48d88a7f75e97c87b2a6f4b00862a091fccbdd72/templates/common/_base/files/configure-ovs-network.yaml#L322 0 None None None 2022-05-05 09:49:45 UTC
Red Hat Issue Tracker RHELPLAN-121131 0 None None None 2022-05-05 09:52:11 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:49:45 UTC
Description of problem:

As part of migration MCO configure-ovs to nmstate the attribute "dhcp-duid" 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#L322


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-duid" attribute at thir ipv4/ipv6 field options.


Additional info:

Comment 1 sfaye 2022-05-17 12:29:28 UTC
Hi @ellorent,

Could you please provide an acceptance criteria for this request so that we know clearly what we will need to do ? 


Thanks,

Comment 2 Quique Llorente 2022-05-18 09:26:13 UTC
@sfaye at some scenarios the attribute need to be copied to the bridge https://github.com/openshift/machine-config-operator/commit/e43a9f216937df5b0fc9c744be78687ac38c21f2

Comment 3 sfaye 2022-05-23 05:50:50 UTC
Thanks for your clarification

Comment 4 Gris Ge 2022-05-23 08:12:30 UTC
Patch posed to https://github.com/nmstate/nmstate/pull/1904

Comment 5 Fernando F. Mancera 2022-06-01 09:38:29 UTC
pre-verified with integration tests and manually.

Comment 8 Mingyu Shi 2022-06-15 05:41:19 UTC
Verified with:
nmstate-2.1.1-0.alpha.20220602.5accbd1.el9.x86_64
NetworkManager-1.39.6-1.el9.x86_64

The log: https://bugzilla.redhat.com/attachment.cgi?id=1890087

Comment 10 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.