diff --git a/ansible/module_utils/kolla_podman_worker.py b/ansible/module_utils/kolla_podman_worker.py index 9e27dece4f..1f9b57067e 100644 --- a/ansible/module_utils/kolla_podman_worker.py +++ b/ansible/module_utils/kolla_podman_worker.py @@ -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 diff --git a/releasenotes/notes/bug-2067278-82287115c972a04e.yaml b/releasenotes/notes/bug-2067278-82287115c972a04e.yaml new file mode 100644 index 0000000000..a79400c9fd --- /dev/null +++ b/releasenotes/notes/bug-2067278-82287115c972a04e.yaml @@ -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 `__