wsgi processes ratio is set to favour admin processes over public processes

Bug #1686049 reported by Gábor Mészáros
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Charm Helpers
Fix Released
High
James Page
OpenStack Keystone Charm
Fix Released
High
James Page

Bug Description

In our deployment keystone have way more public connections then admin ones, but the charm currently supports more admin process to be handled then public. This parameter would be best to be configurable, depending on the actual environment.

https://github.com/openstack/charm-keystone/blob/74bc2e2abfafbe860a428133917913f7ba427c70/charmhelpers/contrib/openstack/context.py#L1243

Related branches

Revision history for this message
James Page (james-page) wrote :

Feels like that's the wrong way around to me.

Changed in charm-keystone:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 17.05
importance: Medium → High
Revision history for this message
Gábor Mészáros (gabor.meszaros) wrote :
tags: added: 4010
Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

I'd tend to agree. Gabor has it at .5 / .5 at the moment (patched charm), but I'd go with .75 / .25 or higher to public / admin processes.

Ryan Beisner (1chb1n)
tags: added: openstack performance uosci
James Page (james-page)
Changed in charm-keystone:
assignee: nobody → James Page (james-page)
status: Triaged → In Progress
James Page (james-page)
Changed in charm-helpers:
status: New → In Progress
importance: Undecided → High
assignee: nobody → James Page (james-page)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/460031

James Page (james-page)
Changed in charm-helpers:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-keystone (master)

Reviewed: https://review.openstack.org/460031
Committed: https://git.openstack.org/cgit/openstack/charm-keystone/commit/?id=21a4e5beb1c833ce7380f239de25e03ef1936503
Submitter: Jenkins
Branch: master

commit 21a4e5beb1c833ce7380f239de25e03ef1936503
Author: James Page <email address hidden>
Date: Wed Apr 26 10:54:15 2017 +0100

    Cap workers in containers, fix admin/pubic skew

    Resync charm-helpers to pickup the latest code for calculation
    of worker process configuration, creating better default
    worker configuration when deploying in LXD containers.

    Switch the skew between public and admin processes to favour
    public 0.75/0.25 as the public API endpoints of a service will
    typically get a larger number of hits.

    Fixup unit test for minor behavioural change in charm-helpers.

    Change-Id: I4ab1d28f907ce29d5602b48ba7a438fc3690277c
    Closes-Bug: 1665270
    Closes-Bug: 1686049

Changed in charm-keystone:
status: In Progress → Fix Committed
James Page (james-page)
Changed in charm-keystone:
milestone: 17.05 → 17.08
James Page (james-page)
Changed in charm-keystone:
status: Fix Committed → Fix Released
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.