From 9222bbe53a856cf828975df2aab24ce9929c40b1 Mon Sep 17 00:00:00 2001 From: eshulman2 Date: Wed, 15 Dec 2021 17:16:15 +0200 Subject: [PATCH] updated to be competable with newer podman version (according to https://github.com/containers/podman/issues/7704) Change-Id: I35b54ceb5dc1f19a41d0106b586bcb961094b607 --- roles/tester/tempest/tasks/prep_container_tempest.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/roles/tester/tempest/tasks/prep_container_tempest.yml b/roles/tester/tempest/tasks/prep_container_tempest.yml index 4a79c0cad..3ad73ce73 100644 --- a/roles/tester/tempest/tasks/prep_container_tempest.yml +++ b/roles/tester/tempest/tasks/prep_container_tempest.yml @@ -6,6 +6,15 @@ state: installed become: true +- name: enable namespaces for non-root users + sysctl: + name: user.max_user_namespaces + value: 10000 + state: present + sysctl_file: /etc/sysctl.d/42-rootless.conf + reload: yes + become: true + - name: get NFV podman container from registry containers.podman.podman_container: image: "{{ container_image }}:{{ container_version | default('latest') }}"