During upgrare M->N old haproxy configurations from conf.d are not purged

Bug #1632609 reported by Ionuț Bîru on 2016-10-12
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openstack-ansible
Low
Unassigned

Bug Description

root@ctrl1:/etc/haproxy/conf.d.old# ls -lh
total 100K
-rw-r--r-- 1 root root 645 Oct 11 20:31 00-haproxy
-rw-r--r-- 1 root root 384 Jun 28 12:11 aodh_api
-rw-r--r-- 1 root root 853 Oct 11 20:31 ceilometer_api
-rw-r--r-- 1 root root 1.1K Oct 11 20:31 cinder_api
-rw-r--r-- 1 root root 1.1K Oct 11 20:31 galera
-rw-r--r-- 1 root root 1.1K Oct 11 20:31 glance_api
-rw-r--r-- 1 root root 1.4K Oct 11 20:31 glance_registry
-rw-r--r-- 1 root root 1.1K Oct 11 20:31 gnocchi
-rw-r--r-- 1 root root 1.1K Oct 11 20:31 heat_api
-rw-r--r-- 1 root root 1.1K Oct 11 20:31 heat_api_cfn
-rw-r--r-- 1 root root 1.1K Oct 11 20:31 heat_api_cloudwatch
-rw-r--r-- 1 root root 390 Jun 28 12:11 ironic_api
-rw-r--r-- 1 root root 1.2K Oct 11 20:31 keystone_admin
-rw-r--r-- 1 root root 589 Jun 28 12:11 keystone_internal
-rw-r--r-- 1 root root 1.1K Oct 11 20:31 keystone_service
-rw-r--r-- 1 root root 1.1K Oct 11 20:31 neutron_server
-rw-r--r-- 1 root root 1.4K Oct 11 20:31 nova_api_metadata
-rw-r--r-- 1 root root 1.1K Oct 11 20:31 nova_api_os_compute
-rw-r--r-- 1 root root 908 Oct 11 20:31 nova_console
-rw-r--r-- 1 root root 1.4K Oct 11 20:31 rabbitmq_mgmt
-rw-r--r-- 1 root root 1.0K Oct 11 20:31 repo_all
-rw-r--r-- 1 root root 1.4K Oct 11 20:31 repo_cache
-rw-r--r-- 1 root root 1.1K Oct 11 20:31 repo_git
-rw-r--r-- 1 root root 390 Jun 28 12:11 swift_proxy

I cannot be sure that global haproxy.cfg had entries from the files aodh_api ironic_api keystone_internal and swift_proxy because I did not save haproxy.cfg.

I renamed the directory conf.d and re-run haproxy installation

OS Ubuntu 14

Ionuț Bîru (ionut-3) on 2016-10-12
description: updated
Ionuț Bîru (ionut-3) on 2016-10-12
description: updated
tags: added: newton-rc-potential

palendae: For that, nobody wrote the scripts to clean up /etc/openstack_deploy/conf.d afaik
andymccr: yeah basically

andymccr: /etc/haproxy/osa.conf.d
andymccr: would be cool if we could use that as a directory
andymccr: and then just clear it, redeploy

Changed in openstack-ansible:
importance: Undecided → Low
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers