Fixed number of service workers as 4

Bug #2066222 reported by Nobuto Murata
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Snap
Triaged
Wishlist
Unassigned
Sunbeam Charms
Triaged
Wishlist
Unassigned

Bug Description

2024.1/edge: 2024.1 2024-05-19 (506)

It looks like the worker number is hardcoded as 4 in most of the places. And we know that 4 is not sufficient to handle production workload sometimes.

e.g. keystone (processes=1 threads=1)

https://opendev.org/openstack/sunbeam-charms/src/commit/0cca8980ef529bf1fcb61b746c762dd33d52635f/charms/keystone-k8s/src/templates/wsgi-keystone.conf.j2#L4

    WSGIDaemonProcess keystone-public processes=4 threads=1 user=keystone group=keystone display-name=%{GROUP} python-path=/usr/lib/python3/site-packages

Revision history for this message
Guillaume Boutry (gboutry) wrote :

Hello, Sunbeam does not mean to scale by tuning worker process of individual workers in a pod. Each pod is a building block, and the way to scale sunbeam is to increase the number of units (pod) for each application.

Workers is not meant to be exposed via configuration options or any other mean.

Changed in snap-openstack:
importance: Undecided → Wishlist
status: New → Triaged
Changed in sunbeam-charms:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Nobuto Murata (nobuto) wrote :

Doesn't it have too much overhead just to bump the number of workers then? let's say if we want to bump it to 16, then we need 4 containers on top of the same host.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.