OSA-deployed uWSGI used by Keystone warns: "!!! no internal routing support, rebuild with pcre support !!!"

Bug #1742538 reported by Christian Sarrasin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Low
Jesse Pretorius

Bug Description

Environment
~~~~~~~~~~~
* OSA version: 16.0.2
* Target OS: Ubuntu 16.04 Xenial
* Keystone deployed in containers

Symptom
~~~~~~~
After deploying Keystone without any customizations, the following message appears in the Keystone logs (/var/log/keystone/keystone-wsgi-{admin,public}.log) at KS startup: "!!! no internal routing support, rebuild with pcre support !!!"

Impact
~~~~~~
Not sure what the actual impact of this is; doesn't appear to cause any functional issue; still one wonders if this could have performance implications?

Possible solution
~~~~~~~~~~~~~~~~~
According to https://stackoverflow.com/a/22645915/645016, it might be sufficient to ensure libpcre3-dev is installed on the machine where the uWSGI wheel is being built? This package is indeed missing from the repo containers (libpcre3, the runtime pkg is there).

Note: once uWSGI is built with PCRE support, one might be confronted with this msg in lieu of the above: "pcre jit disabled". According to https://stackoverflow.com/questions/30991198/uwsgi-with-pcre-support#comment50025896_30991198 this is an optimization that's not likely to have a perf. impact...

Changed in openstack-ansible:
status: New → Confirmed
importance: Undecided → Low
Changed in openstack-ansible:
assignee: nobody → Jesse Pretorius (jesse-pretorius)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-repo_build (master)

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

Changed in openstack-ansible:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-repo_build (master)

Reviewed: https://review.openstack.org/534387
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-repo_build/commit/?id=26bc2218c6dd8e0222f8f63fdd7a2c2a8b7b904e
Submitter: Zuul
Branch: master

commit 26bc2218c6dd8e0222f8f63fdd7a2c2a8b7b904e
Author: Jesse Pretorius <email address hidden>
Date: Tue Jan 16 17:15:50 2018 +0000

    Add pcre-lib for uwsgi

    Building the wheel with PCRE support may improve
    performance, but at the very least gets rid of
    a nasty log message. We prefer our logs not to
    have nasty messages in them, so we add the extra
    package.

    Change-Id: Ibab309445f9398b6f48dc9ea12d89056d14b7a71
    Closes-Bug: #1742538

Changed in openstack-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-repo_build 17.0.0.0b3

This issue was fixed in the openstack/openstack-ansible-repo_build 17.0.0.0b3 development milestone.

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.