Public bug reported:

The Neutron config option "api_workers" is directly translated to the
uWSGI configuration file as "processes"

The configuration value "api_workers=0" is valid. However when uWSGI
loads the config, no worker is spawned.

If the value if negative ("api_workers=-1"), the logs return the
following error:

"""
invalid value for option "processes": must be > 0
"""

The aim of this bug is to define a lower limit of 1 for "api_workers"
config option.

** Affects: neutron
     Importance: Low
     Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez)
         Status: Invalid

** Changed in: neutron
     Assignee: (unassigned) => Rodolfo Alonso (rodolfo-alonso-hernandez)

** Changed in: neutron
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2097603

Title:
  "api_workers=0" config option should be not allowed

Status in neutron:
  Invalid

Bug description:
  The Neutron config option "api_workers" is directly translated to the
  uWSGI configuration file as "processes"

  The configuration value "api_workers=0" is valid. However when uWSGI
  loads the config, no worker is spawned.

  If the value if negative ("api_workers=-1"), the logs return the
  following error:

  """
  invalid value for option "processes": must be > 0
  """

  The aim of this bug is to define a lower limit of 1 for "api_workers"
  config option.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2097603/+subscriptions


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to