Hello Arun, That instruction is in portal_install.sh, which runs only once when the VM is created. If you reboot the VMs multiple times, only portal_vm_init.sh will run, which is not supposed to update resolv.conf.
Thanks, Marco From: <[email protected]> on behalf of "Arun Arora (c)" <[email protected]> Date: Friday, May 26, 2017 at 8:16 AM To: "[email protected]" <[email protected]> Cc: "Kapil Gupta (c)" <[email protected]> Subject: [onap-discuss] Portal VM: Nameserver entry appends in /etc/resolv.conf on each execution of portal_install.sh Hi All, We have deployed ONAP on Vanilla OpenStack Mitaka (On top of CentOS 7). Using the following YAML and env files: https://gerrit.onap.org/r/gitweb?p=demo.git;a=blob;f=heat/OpenECOMP/onap_openstack_float.yaml;h=659f94c93b9c5dfae02031ddcae82161ce927318;hb=refs/heads/master<https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.onap.org_r_gitweb-3Fp-3Ddemo.git-3Ba-3Dblob-3Bf-3Dheat_OpenECOMP_onap-5Fopenstack-5Ffloat.yaml-3Bh-3D659f94c93b9c5dfae02031ddcae82161ce927318-3Bhb-3Drefs_heads_master&d=DwMFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=dHYYo6ydUEIxNlCmycw1hkFWFND97Vmir284B5ZKbJQ&s=z9ZRMq9F1i3wnGSKgeKqW_jjiqUQNjM13Q5Fj2-SI2U&e=> https://gerrit.onap.org/r/gitweb?p=demo.git;a=blob;f=heat/OpenECOMP/onap_openstack_float.yaml;h=659f94c93b9c5dfae02031ddcae82161ce927318;hb=refs/heads/master<https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.onap.org_r_gitweb-3Fp-3Ddemo.git-3Ba-3Dblob-3Bf-3Dheat_OpenECOMP_onap-5Fopenstack-5Ffloat.yaml-3Bh-3D659f94c93b9c5dfae02031ddcae82161ce927318-3Bhb-3Drefs_heads_master&d=DwMFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=dHYYo6ydUEIxNlCmycw1hkFWFND97Vmir284B5ZKbJQ&s=z9ZRMq9F1i3wnGSKgeKqW_jjiqUQNjM13Q5Fj2-SI2U&e=> When troubleshooting in Portal VM, we see that there were multiple nameserver entries with same IP address (DNS VM) present in /etc/resolv.conf . This entry is appended in /etc/resolv.conf on each execution of /opt/portal_install.sh which contains the following code: echo "nameserver "$DNS_IP_ADDR >> /etc/resolvconf/resolv.conf.d/head After executing the script 6-7 times the traffic to Internet timeouts due to multiple nameserver entries for DNS VM. FYI, We verified recursion: yes in DNS VM. If this is an issue how can I contribute a patch for the fix. Thanks & Regards, Arun Arora
_______________________________________________ onap-discuss mailing list [email protected] https://lists.onap.org/mailman/listinfo/onap-discuss
