[ https://issues.apache.org/jira/browse/CLOUDSTACK-9042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14993535#comment-14993535 ]
ASF GitHub Bot commented on CLOUDSTACK-9042: -------------------------------------------- GitHub user resmo opened a pull request: https://github.com/apache/cloudstack/pull/1042 CLOUDSTACK-9042: VR: DHCP: fix missing DHCP host enties in /etc/dhcpentries.txt we had: 02:00:1e:07:01:53,set:10_102_92_5,10.102.92.5,songlog-1,infinite 02:00:0b:a2:00:3d,set:10_102_92_234,10.102.92.234,log-1,infinite This sed matched unexpectetly "songlog-1" as well when "log-1" was processed, resulting missing dhcp entry for songlog-1. You can merge this pull request into a Git repository by running: $ git pull https://github.com/resmo/cloudstack CLOUDSTACK-9042 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/1042.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 #1042 ---- commit baba68286faa89d83bfee7a7592f6392ff65e25d Author: Rene Moser <re...@apache.org> Date: 2015-11-06T11:25:10Z CLOUDSTACK-9042: VR: DHCP: fix missing DHCP host enties in /etc/dhcpentries.txt we had: 02:00:1e:07:01:53,set:10_102_92_5,10.102.92.5,songlog-1,infinite 02:00:0b:a2:00:3d,set:10_102_92_234,10.102.92.234,log-1,infinite This sed matched unexpectetly "songlog-1" as well when "log-1" was processed, resulting missing dhcp entry for songlog-1. ---- > VR: Missing dhcp entries in /etc/dhpchosts.txt after starting a few VMs > ----------------------------------------------------------------------- > > Key: CLOUDSTACK-9042 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9042 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Virtual Router > Affects Versions: 4.5.2, 4.6.0 > Reporter: René Moser > Fix For: 4.5.3, 4.6.0 > > > VR advanced networking. > We experienced an issue when a few VMs were started at a time, some of them > and always the same ones did not receive a IP from DHCP. > After a debuging, we identified the problem in this sed command in > ./systemvm/patches/debian/config/opt/cloud/bin/edithosts.sh > the VM which was not in /etc/dhcphosts.txt was named: > songlog-1 > When another VM was started named "log-1" the "songlog-1" entry was removed > unexpectedly. -- This message was sent by Atlassian JIRA (v6.3.4#6332)