Searchlight.service OPTS aren't included in sample conf file.

Bug #1523639 reported by Travis Tripp
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Searchlight
Fix Released
Travis Tripp

Bug Description

Running the config generator as described in the dev env setup [0]
instructions does not include all the options for the service.
This adds those options.


None of the options here:

are in the generated oslo sample config file.

This is because they aren't included here:

This should add the following: ('service', service.OPTS),

Please note there is another bug that actually is somewhat related: The configuration between API service and Listener service is intermingled.

description: updated
Changed in searchlight:
assignee: nobody → Travis Tripp (travis-tripp)
Revision history for this message
Travis Tripp (travis-tripp) wrote :
Changed in searchlight:
status: New → In Progress
importance: Undecided → Medium
milestone: none → mitaka-2
Revision history for this message
Liyingjun (liyingjun) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to searchlight (master)

Submitter: Jenkins
Branch: master

commit d35dc3676a64d106f3eeacdf628449b869482785
Author: liyingjun <email address hidden>
Date: Sun Nov 29 23:54:21 2015 +0800

    Set listener workers according to config

    Currently, the get_workers method always return 1, so config
    listener_workers will never work as expected. This patch adds
    the ability to specify number of workers for listener service.
    The default is equal to the number of CPUs available.
    Also, register searchlight.service.OPTS to group 'listener' in
    Remove not used options 'host' and 'http_timeout'.

    Change-Id: Ifc39d5eaab1a7b0239631aa1b2b6e0af3a07f0c9
    Closes-bug: #1522737
    Closes-bug: #1523639

Changed in searchlight:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on searchlight (master)

Change abandoned by Travis Tripp (<email address hidden>) on branch: master
Reason: This patch is superseded by these:

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.