laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/39319?usp=email )
Change subject: ansible/setup-obs-worker: install lxc<5.0.0 ......................................................................
ansible/setup-obs-worker: install lxc<5.0.0
Make sure we install a version that works with obs-build.
Related: OS#6186#note-50 Change-Id: Ied668ccd4a2079e6539ffd27aa9ce7b736c8ba31 --- M ansible/roles/osmocom-obs-worker/tasks/obs.yml 1 file changed, 3 insertions(+), 1 deletion(-)
Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved
diff --git a/ansible/roles/osmocom-obs-worker/tasks/obs.yml b/ansible/roles/osmocom-obs-worker/tasks/obs.yml index a0a6227..693f964 100644 --- a/ansible/roles/osmocom-obs-worker/tasks/obs.yml +++ b/ansible/roles/osmocom-obs-worker/tasks/obs.yml @@ -32,7 +32,9 @@ when: obs_vm_type == "lxc" zypper: name: - - lxc + # obs-build requires lxc <= 4.x (OS#6186#note-50) + - lxc<5.0.0 + - liblxc1<5.0.0
- name: install qemu when: obs_vm_type != "lxc"