← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1080921] Re: Things that should not be in the main process

 

** Changed in: nova
       Status: Triaged => Opinion

-- 
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/1080921

Title:
  Things that should not be in the main process

Status in OpenStack Compute (Nova):
  Opinion

Bug description:
  There seems to be quite a lot of 'manager.periodic_task' that should
  really be done in background processes.

  For example:

  - report_driver_status
  - sync_power_states
  - reclaim_queued_deletes
  - update_available_resource
  - cleanup_running_deleted_instances
  - run_image_cache_manager_pass

  In a production system it is highly unlikely that you want to
  temporarily make your compute node 'inactive/blocking' due to the
  potential of periodic tasks running (which might cause blocking
  calls). In fact it seems pretty odd that it was even considered a
  possibility to allow this to happen to begin with. These seem much
  better served by separate processes that can run as often as they want
  (and will not affect the main compute process).

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