GitHub user murali-reddy opened a pull request:

    https://github.com/apache/cloudstack/pull/1757

    CLOUDSTACK-9583: VR: In CsDhcp.py preseed both hostaname and localhost to 
resolve to 127.0.0.1

    
    
    The VR executes a ip route flush command as part of configurations. This 
command performs a
    DNS lookup on the VR hostname. Since the VR does not have a DNS entry, the 
ip command would
    wait 5 seconds before timing out and executing the flush operation. This 
fix adds the VR
    hostname to /etc/hosts mapped to 127.0.0.1 to answer the DNS lookup – 
reducing the
    execution time.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/murali-reddy/cloudstack vr_dhcp_entries

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/1757.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 #1757
    
----
commit 4c4696e5e43a870b7504dfde735bc3afd04a843e
Author: Murali Reddy <muralimmre...@gmail.com>
Date:   2016-11-10T07:55:22Z

    CLOUDSTACK-9583: VR: In CsDhcp.py preseed both hostaname and localhost to 
resolve to 127.0.0.1
    
    The VR executes a ip route flush command as part of configurations. This 
command performs a
    DNS lookup on the VR hostname. Since the VR does not have a DNS entry, the 
ip command would
    wait 5 seconds before timing out and executing the flush operation. This 
fix adds the VR
    hostname to /etc/hosts mapped to 127.0.0.1 to answer the DNS lookup – 
reducing the
    execution time.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to