From dfde2eacde19ac5b061ecea25e4991a720835d90 Mon Sep 17 00:00:00 2001 From: Olivier Bourdon Date: Tue, 3 Apr 2018 17:37:55 +0200 Subject: [PATCH] Fix some issues due to dnsmasq As already suggested by TheJulia in the Debian family files, the installation of dnsmasq package can lead to DNS issues which can prevent packages further down the list to be properly installed Change-Id: I81cd58c7c9cd4c22dbd3f08ba9a7dfea842e7d2d --- .../defaults/required_defaults_Debian_family.yml | 2 +- .../defaults/required_defaults_Ubuntu_16.04.yml | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/playbooks/roles/bifrost-ironic-install/defaults/required_defaults_Debian_family.yml b/playbooks/roles/bifrost-ironic-install/defaults/required_defaults_Debian_family.yml index 7437c84f9..2acf412be 100644 --- a/playbooks/roles/bifrost-ironic-install/defaults/required_defaults_Debian_family.yml +++ b/playbooks/roles/bifrost-ironic-install/defaults/required_defaults_Debian_family.yml @@ -37,10 +37,10 @@ required_packages: - debootstrap - uuid-runtime - curl - - dnsmasq - socat - python-pip - gcc + - dnsmasq # NOTE(TheJulia): The above entry for dnsmasq must be the last entry in the # package list as the installation causes name resolution changes that can # temporarily block packages following it while the system is being diff --git a/playbooks/roles/bifrost-ironic-install/defaults/required_defaults_Ubuntu_16.04.yml b/playbooks/roles/bifrost-ironic-install/defaults/required_defaults_Ubuntu_16.04.yml index da67a060b..d11329e18 100644 --- a/playbooks/roles/bifrost-ironic-install/defaults/required_defaults_Ubuntu_16.04.yml +++ b/playbooks/roles/bifrost-ironic-install/defaults/required_defaults_Ubuntu_16.04.yml @@ -30,6 +30,10 @@ required_packages: - debootstrap - uuid-runtime - curl - - dnsmasq - python-pip - python-pymysql + - dnsmasq +# NOTE(TheJulia): The above entry for dnsmasq must be the last entry in the +# package list as the installation causes name resolution changes that can +# temporarily block packages following it while the system is being +# reconfigured. See: https://review.openstack.org/#/c/223813