You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/07/16 03:01:52 UTC

[jira] [Commented] (CLOUDSTACK-3540) edithosts.sh script may delete the active dhcphosts.txt entry

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

ASF subversion and git services commented on CLOUDSTACK-3540:
-------------------------------------------------------------

Commit 54e9fe44852adc93f0bf591dc7320457be7e6d38 in branch refs/heads/4.2 from [~yasker]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=54e9fe4 ]

CLOUDSTACK-3540: Fix edithosts.sh to prevent removing active dhcp entries

IP match must terminated by comma.

                
> edithosts.sh script may delete the active dhcphosts.txt entry
> -------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3540
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3540
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.1.0
>            Reporter: Sheng Yang
>            Assignee: Sheng Yang
>            Priority: Critical
>             Fix For: 4.1.1, 4.2.0
>
>
> This would result in the user vm cannot get the IP address.
> The reason is some entries in the dhcphosts.txt may has been deleted due to the similar ip of following vms, when edithosts.sh want to purge the old entries, it deleted the active entries by mistake.
> e.g. 10.1.1.1 would result in 10.1.1.123 removed in dhcphosts.txt
> The bug is introduced with IPv6 change for edithosts.txt. I would fix it soon and push for 4.1.1 as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira