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 1131554 - libvirt-client is not able to set dhcp lease time
Summary: libvirt-client is not able to set dhcp lease time
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libvirt
Version: 7.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Laine Stump
QA Contact: chhu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-19 14:46 UTC by Aleš Mareček
Modified: 2019-03-04 02:39 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-04 02:39:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 913446 0 unspecified CLOSED RFE: network: allow configuring dhcp lease time 2021-02-22 00:41:40 UTC

Internal Links: 913446

Description Aleš Mareček 2014-08-19 14:46:38 UTC
Description of problem:
libvirt-client is not able to set dhcp lease time - that means it's set for default 8 hours. There should be some mechanism how to pass this option to dnsmasq or copy "default" values from dnsmasq config to temporary config file which virtual-manager creates and uses for dnsmasq execution.

There is current "network" scheme - DHCP part:
- SNIP -
              <!-- Define the range(s) of IP addresses that the DHCP
                   server should hand out -->
              <element name="dhcp">
                <zeroOrMore>
                  <element name="range">
                    <attribute name="start"><ref name="ipv4Addr"/></attribute>
                    <attribute name="end"><ref name="ipv4Addr"/></attribute>
                  </element>
                </zeroOrMore>
                <zeroOrMore>
                  <element name="host">
                    <attribute name="mac"><ref name="uniMacAddr"/></attribute>
                    <attribute name="name"><text/></attribute>
                    <attribute name="ip"><ref name="ipv4Addr"/></attribute>
                  </element>
                </zeroOrMore>
                <optional>
                  <element name="bootp">
                    <attribute name="file"><ref name="filePath"/></attribute>
                    <optional>
                      <attribute name="server"><ref name="dnsName"/></attribute>
                    </optional>
                  </element>
                </optional>
              </element>
- SNIP -

Version-Release number of selected component (if applicable):
libvirt-client-0.10.2-29.el6

How reproducible:
Always

Steps to Reproduce:
1. run virtual machine - there is no option for dhcp lease time
2. ps aux | grep dnsmasq
3. see that running dnsmasq and temporary config file don't contain information about dhcp lease time: "--conf-file=" and "--dhcp-range" options

Actual results:
No way how to set dhcp lease time when virtual machine runs via virtual manager

Expected results:
New option in virtual manager / virtual manager is able to copy default values from dnsmasq config file into virtual manager's temporary config file

Additional info:

Comment 5 Laine Stump 2019-03-04 02:39:00 UTC
Bug 913446 tracks this upstream, and there hasn't been any continued interest since it was pointed out in upstream discussions that the problem that caused most people to think they want the feature would not be solved by it. I'm closing this RHEL version of the bug.


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