diff options
| author | Zuul <zuul@review.opendev.org> | 2023-10-25 17:52:19 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2023-10-25 17:52:19 +0000 |
| commit | 80a16bfc6ef2694bbaa490c30ab9bc1e29e35825 (patch) | |
| tree | c5c9ed76813324ba604ce64d9e40d1659a16e476 | |
| parent | e77002146990c6df2c961e07e1da41440fdab122 (diff) | |
| parent | c4b56a4b846c5c85177ae6fb46df67969cb7849a (diff) | |
| download | kolla-80a16bfc6ef2694bbaa490c30ab9bc1e29e35825.tar.gz kolla-80a16bfc6ef2694bbaa490c30ab9bc1e29e35825.zip | |
Merge "CI: speed up podman on el9"
| -rw-r--r-- | tests/playbooks/pre.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/playbooks/pre.yml b/tests/playbooks/pre.yml index c8b2b0a58..7fbe412e3 100644 --- a/tests/playbooks/pre.yml +++ b/tests/playbooks/pre.yml @@ -227,6 +227,23 @@ name: podman become: true + # NOTE(jangutter): It appears that the default mount option + # in the shipped `/etc/containers/storage.conf` for EL9 based distros + # (Rocky, CentOS Stream, ...) has severe performance implications for + # Kolla builds. This is because enabling `metacopy=on` disables `Native + # Overlay Diff` This can be removed if the config is dropped from those + # distros, or the underlying incompatibility can somehow be addressed. + # Debian based distros do not ship `storage.conf` and seem + # to be unaffected. + - name: Remove metacopy, enable native overlay diff + ini_file: + path: /etc/containers/storage.conf + section: storage.options.overlay + option: mountopt + value: '"nodev"' + become: true + when: ansible_os_family == "RedHat" + - name: Ensure Podman service is started service: name: podman |
