Remove temporary upgrade task that removes profile
When performing an upgrade, this project strives to have minimal downtime for VMs that are running. By removing the apparmor profile as a precondition for upgrades, when the container create role runs, the profile will default to contained (the most restrictive profile). This causes instance downtime since neutron can not create network namespaces. Related-bug: 1487130 Closes-bug: 1489144 Change-Id: Ife7aab044c7cb882a89c6b108b2d66f5e39aa10c
This commit is contained in:
parent
abe8411164
commit
999cdf52d7
@ -473,12 +473,6 @@ cat > /tmp/fix_host_things.yml <<EOF
|
||||
state: "absent"
|
||||
regexp: 'add_network_interface\.conf'
|
||||
with_items: containers.stdout_lines
|
||||
- name: Remove aa_profile entries
|
||||
lineinfile:
|
||||
dest: "{{ item }}"
|
||||
state: "absent"
|
||||
regexp: '^lxc.aa_profile'
|
||||
with_items: containers.stdout_lines
|
||||
- name: Remove old add_network_interface.conf file
|
||||
file:
|
||||
path: "{{ item | dirname }}/add_network_interface.conf"
|
||||
|
Loading…
x
Reference in New Issue
Block a user