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 2001389 - [RFE] network: allow configuring dhcp lease time
Summary: [RFE] network: allow configuring dhcp lease time
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: libvirt
Version: 9.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Michal Privoznik
QA Contact: yalzhang@redhat.com
URL:
Whiteboard:
Depends On: 1926508
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-05 23:44 UTC by John Ferlan
Modified: 2022-05-17 13:03 UTC (History)
9 users (show)

Fixed In Version: libvirt-7.7.0-1.el9
Doc Type: Enhancement
Doc Text:
Clone Of: 1926508
Environment:
Last Closed: 2022-05-17 12:45:08 UTC
Type: Feature Request
Target Upstream Version: 7.4.0
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github autotest tp-libvirt pull 3255 0 None Merged Add test cases for network leases 2022-03-09 10:18:23 UTC
Red Hat Issue Tracker RHELPLAN-96261 0 None None None 2021-09-05 23:44:53 UTC
Red Hat Product Errata RHBA-2022:2390 0 None None None 2022-05-17 12:45:33 UTC

Description John Ferlan 2021-09-05 23:44:07 UTC
+++ This bug was initially created as a clone of Bug #1926508 +++

1. Proposed title of this feature request
Pull Libvirt 6.3.0 to customize lease time libvirt RHEL 8

2. Who is the customer behind the request?

Account: IBM acct # 698951
TAM customer: yes
CSM customer: no
Strategic: no

3. What is the nature and description of the request?
Please include libvirt 6.3.0 - Lease time option included for network DHCP settings

4. Why does the customer need this?
We can enable users to configure expiry time for leases for networks where libvirt manages DHCP. The time can be specified for whole range and/or fine tuned per individual host.
Relates to Windows 10 guests. Currently we are respinning/patching dnsmasq.

5. How would the customer like to achieve this? 
Patching the functionality into upcoming release.


6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.
Users can configure expiry time for leases for networks where libvirt manages DHCP. The time can be specified for whole range and/or fine tuned per individual host.

7. Is there already an existing RFE upstream or in Red Hat Bugzilla?
No

8. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?
RHEL 8

9. Is the sales team involved in this request and do they have any additional input?
No


10. List any affected packages or components.

11. Would the customer be able to assist in testing this functionality if implemented?
Yes

--- Additional comment from yalzhang on 2021-02-09 03:45:33 UTC ---

Summarize all the bugs related with this feature:
1. Upstream bug to introduce this feature: bug 913446
2. Related bug caused by: bug 1908053 which fixed on libvirt-7.0.0-1.el8
3. Another with low priority about error message in negative test scenario: bug 1918674

--- Additional comment from Laine Stump on 2021-02-10 19:31:53 UTC ---

In addition to the 3 patches given in Bug 913446 Comment 19, and the 10 patches in Bug 1908053 Comment 11, and the one patch in Bug 1918674 Comment 1, there is also this bugfix:

commit 4aa1ab0e799aecd88392ea40d70b9f929d44bc4b
Author: Julio Faracco <jcfaracco>
Date:   Sat Apr 25 13:35:37 2020 -0300

    network: Remove memory leak caused by wrong initialization
    

which doesn't seem to have a Bugzilla reported associated with it.

--- Additional comment from Michal Privoznik on 2021-02-15 13:08:34 UTC ---

(In reply to jloscar from comment #0)
> 4. Why does the customer need this?
> We can enable users to configure expiry time for leases for networks where
> libvirt manages DHCP. The time can be specified for whole range and/or fine
> tuned per individual host.
> Relates to Windows 10 guests. Currently we are respinning/patching dnsmasq.

Can you please elaborate on this? Why does IBM need this feature in RHEL? AFAIK, they have access to RHEL-AV where the feature already exists among with its fixes. What problem is IBM trying to solve?

--- Additional comment from RHEL Program Management on 2021-02-17 07:29:27 UTC ---

The keyword FutureFeature has been added. If this bug is not a FutureFeature, please remove from the Summary field any strings containing "RFE, rfe, FutureFeature, FEAT, Feat, feat".

--- Additional comment from Michal Privoznik on 2021-08-26 12:36:00 UTC ---

Since the needinfo wasn't answered in ~6 months I assume it's not that critical and thus I'm moving this to RHEL-8.6.0 where the feature will be picked up by rebase. Moving to POST then.

Comment 1 yalzhang@redhat.com 2021-09-18 06:27:48 UTC
automation ran pass, set it as verified: tested.

Comment 5 yalzhang@redhat.com 2021-10-21 10:35:54 UTC
Test pass with libvirt-7.8.0-1.el9.x86_64 on jenkins. Set the bug to be verified.

Comment 7 errata-xmlrpc 2022-05-17 12:45:08 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 (new packages: libvirt), 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:2390


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