Skip to content

Commit df5481e

Browse files
committed
Fix build and rotation of amphora images on Rocky 9
EPEL is required for the debootstrap package.
1 parent bc83165 commit df5481e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

etc/kayobe/ansible/octavia-amphora-image-build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
vars:
55
amphora_dib_upper_constraints_file: "{{ pip_upper_constraints_file }}"
66
tasks:
7+
- name: Install EPEL
8+
package:
9+
name: epel-release
10+
become: true
11+
when: ansible_facts.os_family == "RedHat"
12+
713
- name: Ensure packages are installed
814
become: true
915
vars:

etc/kayobe/ansible/octavia-amphora-image-register.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
- name: Set up openstack virtualenv
1717
pip:
1818
virtualenv: "{{ venv }}"
19+
virtualenv_command: python3 -m venv
1920
name:
2021
- openstacksdk
2122
- python-openstackclient

0 commit comments

Comments
 (0)