From a3aa0e85408633eea8f623f50a11831636fb77aa Mon Sep 17 00:00:00 2001
From: Bertrand Lallau <bertrand.lallau@gmail.com>
Date: Thu, 27 Apr 2017 22:28:24 +0200
Subject: [PATCH] Add release note to deprecate some config files

Actually Openstack services configuration can be overriden using many
files:
- /etc/kolla/config/<< service name >>/<< config file >>
- /etc/kolla/config/<< service name >>/<<host>>/<< config file >>
- /etc/kolla/config/global.conf
- /etc/kolla/config/database.conf
- /etc/kolla/config/messaging.conf

Only per-service configuration is actually documented here:
https://github.com/openstack/kolla-ansible/blob/master/doc/advanced-configuration.rst#L164

Allowing to globally modify service configuration can be perform too,
but it can be done in 3 different manners:
- /etc/kolla/config/global.conf
- /etc/kolla/config/database.conf
- /etc/kolla/config/messaging.conf

database.conf and messaging.conf seems redundant with global.conf.
In order to simplify codebase it seems logical to deprecate them.

Change-Id: Ia632c207e4b0237ea813fcf53b44504b97a204e7
---
 .../deprecate-some-config-files-0ed8c75f6bb4aa26.yaml    | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 releasenotes/notes/deprecate-some-config-files-0ed8c75f6bb4aa26.yaml

diff --git a/releasenotes/notes/deprecate-some-config-files-0ed8c75f6bb4aa26.yaml b/releasenotes/notes/deprecate-some-config-files-0ed8c75f6bb4aa26.yaml
new file mode 100644
index 0000000000..87883fb398
--- /dev/null
+++ b/releasenotes/notes/deprecate-some-config-files-0ed8c75f6bb4aa26.yaml
@@ -0,0 +1,9 @@
+---
+deprecations:
+  - |
+    The following files are deprecated and should be removed during Queens cycle,
+    use /etc/kolla/config/global.conf instead:
+
+    * /etc/kolla/config/database.conf
+    * /etc/kolla/config/messaging.conf
+