[
https://issues.apache.org/jira/browse/CLOUDSTACK-8993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14977981#comment-14977981
]
ASF GitHub Bot commented on CLOUDSTACK-8993:
--------------------------------------------
Github user serbaut commented on the pull request:
https://github.com/apache/cloudstack/pull/981#issuecomment-151768463
In our environment it was really easy to reproduce.
* Deploy instance 1, got IP 10.7.32.101
* Delete and expunge instance 1
* Deploy instance 2, got IP 100.7.32.101
/etc/dhcphosts.txt now looked like
mac1,10.7.32.101,infinite
mac2,10.7.32.101,infinite
And ndsmasq failed with a warning about duplicates and "no address
available".
I am still trying to get marvin tests inside devcloud to work. Is there a
way to reach you if I need assistance. Are the tests i tried to run above
(test_update_config.py) supposed to work or are the deprecated?
> 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)