charm-barbican doesn't use worker-multiplier to set up wsgi processes
Bug #1889902 reported by
Nobuto Murata
This bug report is a duplicate of:
Bug #1677543: charm does not support worker-multiplier option.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Barbican Charm |
New
|
Undecided
|
Unassigned |
Bug Description
At this moment, the charm has a hard coded value as processes=3 threads=10 unlike other charms. Would be nice to configure it dynamically based on the config specified as worker-multiplier.
charm-barbican (master=)$ git grep processes= src/templates/
src/templates/
src/templates/
To post a comment you must log in.
Also, barbican-worker has only one process, it seems it's not following worker-multiplier either. But I'm not sure if it's a good idea to run multiple processes in parallel.
pgrep -af barbican-worker barbican- worker --config- file=/etc/ barbican/ barbican. conf --log-file= /var/log/ barbican/ barbican- worker. log
289 /usr/bin/python3 /usr/bin/