[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-8993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14974257#comment-14974257
 ] 

ASF GitHub Bot commented on CLOUDSTACK-8993:
--------------------------------------------

GitHub user serbaut opened a pull request:

    https://github.com/apache/cloudstack/pull/981

    CLOUDSTACK-8993: DHCP fails with "no address available" when an IP is…

    … reused
    
    Repopulate /etc/dhcphosts.txt to remove old entries with the same IP 
address.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/serbaut/cloudstack repopulate-dhcphost

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/981.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #981
    
----
commit eb22ca8df0ce15a122ace4c425cff02717e6d63b
Author: Joakim Sernbrant <joakim.sernbr...@trioptima.com>
Date:   2015-10-26T14:15:19Z

    CLOUDSTACK-8993: DHCP fails with "no address available" when an IP is reused
    
    Repopulate /etc/dhcphosts.txt to remove old entries with the same IP 
address.

----


> DHCP fails with "no address available" when an IP is reused
> -----------------------------------------------------------
>
>                 Key: CLOUDSTACK-8993
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8993
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: SystemVM
>    Affects Versions: 4.6.0
>            Reporter: Joakim Sernbrant
>
> CsDhcp.process() appends new entries to /etc/dhcphosts.txt causing duplicates 
> like:
> {code}
> 06:49:14:00:00:4d,10.7.32.107,node1,infinite
> 06:42:b0:00:00:3a,10.7.32.107,node2,infinite
> {code}
> This makes dnsmasq fail with "no address available".
> CsDhcp.process() should repopulate the file to remove old entries with the 
> same IP address.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to