Latest nightly (20230526) broke container

After updating from 1.4-20230520 to 1.4-20230526 container functionality seems broken:

Traceback (most recent call last):
File “/usr/libexec/vyos/op_mode/container.py”, line 92, in
res = vyos.opmode.run(sys.modules[name])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/vyos/opmode.py”, line 258, in run
res = func(**args)
^^^^^^^^^^^^
File “/usr/libexec/vyos/op_mode/container.py”, line 54, in show_container
container_data = _get_raw_data(command)
^^^^^^^^^^^^^^^^^^^^^^
File “/usr/libexec/vyos/op_mode/container.py”, line 34, in _get_raw_data
json_data = _get_json_data(command)
^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/libexec/vyos/op_mode/container.py”, line 30, in _get_json_data
return cmd(f’{command} --format json’)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/vyos/util.py”, line 161, in cmd
raise OSError(code, feedback)
PermissionError: [Errno 1] failed to run command: podman ps --all --format json
returned:
exit code: 1

Failed to obtain podman configuration: runroot must be set

[[container]] failed
Commit failed

Fixed via container: T5003: add new mandatory option runroot · vyos/vyos-1x@367423a · GitHub

2 Likes

@c-po Confirmed my container issue is resolved on a super fresh build with commit id: 4d0fac8c6e2bc5. Thanks for the fast fix!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.