[ https://issues.apache.org/jira/browse/CLOUDSTACK-9042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15066452#comment-15066452 ]
ASF GitHub Bot commented on CLOUDSTACK-9042: -------------------------------------------- GitHub user resmo opened a pull request: https://github.com/apache/cloudstack/pull/1266 [4.4] CLOUDSTACK-9042: VR: DHCP: fix missing DHCP host enties cherry-picked e7291fd600ce922a76b1fe9cd2c120a40d4cbc18 for 4.4 so bug can be closed after merging into 4.4. You can merge this pull request into a Git repository by running: $ git pull https://github.com/resmo/cloudstack fix/4.4/CLOUDSTACK-9042 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/1266.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 #1266 ---- commit fcdbc94a30607a0d90f4a4a3dc1b326970b029ee 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. Also fixed other potenials problems relating to sed matching. ---- > 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.4.4, 4.5.2 > Reporter: René Moser > Assignee: René Moser > Priority: Critical > Fix For: 4.4.5, 4.5.3 > > > 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)