Merge "Remove Heat environment file disabling deprecated plugins"

This commit is contained in:
Zuul 2019-09-03 15:23:44 +00:00 committed by Gerrit Code Review
commit 92008433e5
5 changed files with 14 additions and 20 deletions

View File

@ -42,15 +42,6 @@
notify:
- Restart {{ item.key }} container
- name: Copying over the heat-engine environment file
become: true
template:
src: "_deprecated.yaml"
dest: "{{ node_config_directory }}/{{ item }}/_deprecated.yaml"
mode: "0660"
with_items:
- "heat-engine"
- name: Copying over heat.conf
become: true
vars:

View File

@ -3,5 +3,12 @@
- include_tasks: bootstrap_service.yml
# NOTE(priteau): Remove this task in V cycle.
- name: Remove heat-engine environment file
become: true
file:
path: "{{ node_config_directory }}/heat-engine/_deprecated.yaml"
state: absent
- name: Flush handlers
meta: flush_handlers

View File

@ -1,5 +0,0 @@
---
resource_registry:
"OS::Heat::HARestarter":
"OS::Heat::SoftwareDeployments":
"OS::Heat::StructuredDeployments":

View File

@ -6,12 +6,6 @@
"dest": "/etc/heat/heat.conf",
"owner": "heat",
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/_deprecated.yaml",
"dest": "/etc/heat/environment.d/_deprecated.yaml",
"owner": "heat",
"perm": "0600"
}{% if heat_policy_file is defined %},
{
"source": "{{ container_config_directory }}/{{ heat_policy_file }}",

View File

@ -0,0 +1,7 @@
---
upgrade:
- |
The Heat role has stopped disabling deprecated plugins. To apply this
change to existing deployments, the file
```/etc/kolla/heat-engine/_deprecated.yaml`` is automatically removed
during the upgrade.