← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1269997] [NEW] Needs verification for *_ workers value

 

Public bug reported:

When we start the nova-api service, the *_workers (metadata_workers, ec2_workers, osapi_compute_workers) value are not checked if the value is proper.
If the user passes a negative value,  an exception should be threw.

reproduce:
osapi_compute_workers = -1

Here is part of nova-api LOG

2014-01-13 06:51:00.371 INFO nova.wsgi [-] osapi_compute listening on 0.0.0.0:8774
2014-01-13 06:51:00.371 INFO nova.openstack.common.service [-] Starting -1 workers
2014-01-13 06:51:00.372 INFO nova.network.driver [-] Loading network driver 'nova.network.linux_net'
2014-01-13 06:51:00.495 INFO nova.wsgi [-] metadata listening on 0.0.0.0:8775
2014-01-13 06:51:00.496 INFO nova.openstack.common.service [-] Starting 1 workers
2014-01-13 06:51:00.499 INFO nova.openstack.common.service [-] Started child 51886
2014-01-13 06:51:00.501 INFO nova.metadata.wsgi.server [-] (51886) wsgi starting up on http://0.0.0.0:8775/

** Affects: nova
     Importance: Undecided
     Assignee: Liyingjun (liyingjun)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Liyingjun (liyingjun)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1269997

Title:
  Needs verification for *_ workers value

Status in OpenStack Compute (Nova):
  New

Bug description:
  When we start the nova-api service, the *_workers (metadata_workers, ec2_workers, osapi_compute_workers) value are not checked if the value is proper.
  If the user passes a negative value,  an exception should be threw.

  reproduce:
  osapi_compute_workers = -1

  Here is part of nova-api LOG

  2014-01-13 06:51:00.371 INFO nova.wsgi [-] osapi_compute listening on 0.0.0.0:8774
  2014-01-13 06:51:00.371 INFO nova.openstack.common.service [-] Starting -1 workers
  2014-01-13 06:51:00.372 INFO nova.network.driver [-] Loading network driver 'nova.network.linux_net'
  2014-01-13 06:51:00.495 INFO nova.wsgi [-] metadata listening on 0.0.0.0:8775
  2014-01-13 06:51:00.496 INFO nova.openstack.common.service [-] Starting 1 workers
  2014-01-13 06:51:00.499 INFO nova.openstack.common.service [-] Started child 51886
  2014-01-13 06:51:00.501 INFO nova.metadata.wsgi.server [-] (51886) wsgi starting up on http://0.0.0.0:8775/

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


Follow ups

References