← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1459051] [NEW] Glance v2 Tasks Creation should be non-blocking

 

Public bug reported:

The glance v2 tasks creation api is blocking, in the sense, when a task
is created the 201 response is not received until the task is complete.
Also, when the response is received the task is in the pending state
while the task in-effect could have succeeded or failed.

We need to make it non-blocking by either running the executor in a
separate eventlet thread or offload it to a task worker.

** Affects: glance
     Importance: Undecided
     Assignee: Sabari Murugesan (smurugesan)
         Status: In Progress

** Changed in: glance
     Assignee: (unassigned) => Sabari Murugesan (smurugesan)

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

Title:
  Glance v2 Tasks Creation should be non-blocking

Status in OpenStack Image Registry and Delivery Service (Glance):
  In Progress

Bug description:
  The glance v2 tasks creation api is blocking, in the sense, when a
  task is created the 201 response is not received until the task is
  complete. Also, when the response is received the task is in the
  pending state while the task in-effect could have succeeded or failed.

  We need to make it non-blocking by either running the executor in a
  separate eventlet thread or offload it to a task worker.

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


Follow ups

References