[ https://issues.apache.org/jira/browse/CLOUDSTACK-8993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14978641#comment-14978641 ]
ASF GitHub Bot commented on CLOUDSTACK-8993: -------------------------------------------- Github user wilderrodrigues commented on the pull request: https://github.com/apache/cloudstack/pull/981#issuecomment-151890952 Thanks for the details, @serbaut! I will test you PR as well. Cheers, Wilder > 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)