Skip to content
Snippets Groups Projects
Commit 69cdc6db authored by Martin Hiner's avatar Martin Hiner
Browse files

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: default avatarMartin Hiner <martin.hiner@tietoevry.com>
parent cbf51486
No related branches found
No related tags found
No related merge requests found
...@@ -30,12 +30,12 @@ CONTAINER_PARAMS = [ ...@@ -30,12 +30,12 @@ CONTAINER_PARAMS = [
'cpu_period', # int 'cpu_period', # int
'cpu_quota', # int 'cpu_quota', # int
'cpuset_cpus', # str 'cpuset_cpus', # str
'cpu_shares' # int 'cpu_shares', # int
'cpuset_mems', # str 'cpuset_mems', # str
'kernel_memory', # int or string 'kernel_memory', # int or string
'mem_limit', # (Union[int, str]) 'mem_limit', # (Union[int, str])
'mem_reservation', # (Union[int, str]): Memory soft limit. '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. # + swap a container is allowed to consume.
'ulimits', # List[Ulimit] 'ulimits', # List[Ulimit]
'blkio_weight', # int between 10 and 1000 'blkio_weight', # int between 10 and 1000
...@@ -58,7 +58,7 @@ CONTAINER_PARAMS = [ ...@@ -58,7 +58,7 @@ CONTAINER_PARAMS = [
'remove', # bool 'remove', # bool
'restart_tries', # int doesn't matter done by systemd 'restart_tries', # int doesn't matter done by systemd
'stop_timeout', # int 'stop_timeout', # int
'tty' # bool 'tty', # bool
# VOLUMES NOT WORKING HAS TO BE DONE WITH MOUNTS # VOLUMES NOT WORKING HAS TO BE DONE WITH MOUNTS
'volumes', # array of dict 'volumes', # array of dict
'volumes_from', # array of strings 'volumes_from', # array of strings
......
---
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>`__
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment