Fix missing commas in kolla_podman_worker

List of strings CONTAINER_PARAMS is missing comma separators,
which makes it an implicit concatenation of list items
that should be separate.

Closes-Bug: #2067278
Change-Id: Iec9a8de184481dae058377fa8d7bbd8da729d62c
Signed-off-by: Martin Hiner <martin.hiner@tietoevry.com>
This commit is contained in:
Martin Hiner 2024-05-27 14:16:17 +02:00
parent cbf514869a
commit 69cdc6dbc8
2 changed files with 10 additions and 3 deletions

View File

@ -30,12 +30,12 @@ CONTAINER_PARAMS = [
'cpu_period', # int
'cpu_quota', # int
'cpuset_cpus', # str
'cpu_shares' # int
'cpu_shares', # int
'cpuset_mems', # str
'kernel_memory', # int or string
'mem_limit', # (Union[int, str])
'mem_reservation', # (Union[int, str]): Memory soft limit.
'memswap_limit' # (Union[int, str]): Maximum amount of memory
'memswap_limit', # (Union[int, str]): Maximum amount of memory
# + swap a container is allowed to consume.
'ulimits', # List[Ulimit]
'blkio_weight', # int between 10 and 1000
@ -58,7 +58,7 @@ CONTAINER_PARAMS = [
'remove', # bool
'restart_tries', # int doesn't matter done by systemd
'stop_timeout', # int
'tty' # bool
'tty', # bool
# VOLUMES NOT WORKING HAS TO BE DONE WITH MOUNTS
'volumes', # array of dict
'volumes_from', # array of strings

View File

@ -0,0 +1,7 @@
---
fixes:
- |
Fixes a bug in kolla_podman_worker, where missing commas
in list of strings create implicit concatenation of items
that should be separate.
`LP#2067278 <https://launchpad.net/bugs/2067278>`__