Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
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:
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.
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: