Fixed package names for CentOS-8 octavia deployment

Conflicts:
    deployment/octavia/octavia-worker-container-puppet.yaml

Change-Id: I9501b802c0a79996864761f2f0ef92df4a3d7c70
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
(cherry picked from commit 0e80f600ac)
(cherry picked from commit b95d78df81)
This commit is contained in:
Chandan Kumar (raukadah) 2020-03-03 12:30:05 +05:30 committed by Carlos Goncalves
parent 6f61007a14
commit 8e6a562b97
1 changed files with 18 additions and 7 deletions

View File

@ -164,13 +164,24 @@ outputs:
Log files from octavia containers can be found under
/var/log/containers/octavia and /var/log/containers/httpd/octavia-api.
ignore_errors: true
- name: Ensure packages required for configuring octavia are present
package:
name:
- python2-neutronclient
- python2-openstackclient
- openssl
state: present
- block:
- name: Ensure packages required for configuring octavia are present for CentOS 7
package:
name:
- python2-neutronclient
- python2-openstackclient
- openssl
state: present
when: ansible_distribution_major_version is version(8, '<')
- name: Ensure packages required for configuring octavia are present for CentOS/RHEL 8
package:
name:
- python3-neutronclient
- python3-openstackclient
- openssl
state: present
when: ansible_distribution_major_version is version(8, '>=')
when: {get_param: EnablePackageInstall}
- name: enable virt_sandbox_use_netlink for healthcheck
seboolean: