You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Wei Zhou <w....@leaseweb.com> on 2013/03/22 09:16:08 UTC

Re: Review Request: (CLOUDSTACK-1652) fix /etc/hosts error in virtual router

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9882/
-----------------------------------------------------------

(Updated March 22, 2013, 8:16 a.m.)


Review request for cloudstack.


Changes
-------

This issue only exists on 4.0 branch. 
Committed, and change to submitted.


Summary (updated)
-----------------

(CLOUDSTACK-1652) fix /etc/hosts error in virtual router


Description
-------

When create the instance with the name same to previous instances, the /etc/hosts in virtual router has an error. 

For example:
192.168.0.1 r-148-VM
192.168.0.1 r-148-VM
192.168.0.99 test-w006-001
192.168.0.138 test-w006-002
192.168.0.37 test-w006-003
192.168.0.33 test-w006-004
192.168.0.1 r-148-VM
192.168.0.235 test-w006-001
192.168.0.17 test-w006-002

It should be:
192.168.0.37 test-w006-003 
192.168.0.33 test-w006-004 
192.168.0.1 r-148-VM 
192.168.0.235 test-w006-001 
192.168.0.17 test-w006-002 


This addresses bug CLOUDSTACK-1652.


Diffs
-----

  patches/systemvm/debian/config/root/edithosts.sh 3c6102d 

Diff: https://reviews.apache.org/r/9882/diff/


Testing
-------

Testing manually ok.


Thanks,

Wei Zhou