From 06c4f96a9965293d796bd0a1b6e1e4f011fa1549 Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Tue, 15 Sep 2015 14:05:24 -0700 Subject: [PATCH] Move dnsmasq to the end of the Debian package list On Ubuntu, apt automatically starts dnsmasq upon installing it. This temporarily causes a blip in the system's ability to resolve domain names. In a bifrost install, this becomes apparent when the next package ansible attempts to install, rabbitmq-server, fails with the error "Could not resolve 'archive.ubuntu.com'", while subsequent packages and subsequent runs of the bifrost install step succeed. This patch moves the dnsmasq to the end of the required package list so that its installation does not interfere with the installation of the rest of the required packages. An alternative to this fix could be to configure policy-rc.d to not start services by default. This would require making sure all services are managed in bifrost-ironic-install/tasks/main.yml and would be a bit more dramatic of a change. Change-Id: If1558d76ce3f652c0798b459678baea9f8b26fb0 --- .../defaults/required_defaults_Debian_family.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 9c242ae5a..bd3264a99 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 @@ -11,7 +11,6 @@ virt_group: libvirtd mysql_service_name: mysql required_packages: - mysql-server - - dnsmasq - rabbitmq-server - python-dev - python-mysqldb @@ -39,3 +38,4 @@ required_packages: - sgabios - libvirt-bin - debootstrap + - dnsmasq