2043788473
dnspython now requires to have at least one nameserver in /etc/resolv.conf. The amphora image doesn't need and doesn't use any dns servers, add a dummy dns server as a workaround on centos (on ubuntu, resolv.conf contains the systemd resolver). We will revert this patch when we find a more convenient fix for this issue Story: 2009281 Task: 43552 Change-Id: I81af508e7df5ffef343f1614335ffe1a98540912 |
||
---|---|---|
.. | ||
finalise.d | ||
README.rst |
This element clears out /etc/resolv.conf and prevents dhclient from populating it with data from DHCP. This means that DNS resolution will not work from the amphora. This is OK because all outbound connections from the amphora will be based using raw IP addresses.
In addition we remove dns from the nsswitch.conf hosts setting.
This has the real benefit of speeding up host boot and configutation times. This is especially helpful when running tempest tests in a devstack environment where DNS resolution from the amphora usually doesn't work anyway: This means that the amphora never waits for DNS timeouts to occur.