← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1273894] [NEW] GlusterFS: Do not time out long-running volume snapshot operations

 

Public bug reported:

Currently, when Cinder sends a snapshot create or delete job to Nova for
the GlusterFS driver, it has a fixed timeout window, and if the job
takes longer than that, the snapshot operation is failed.  (The
assumption is that Nova has somehow failed.)

This is problematic because it fails operations that are still active
but running very slowly.

The fix proposed here is to use the same update_snapshot_status API
which is used to finalize these operations to send periodic updates
while the operation is in progress, so that Cinder knows that Nova is
still active, and that the job does not need to be timed out.

This is backward compatible for both Havana Cinder and Havana Nova.

** Affects: cinder
     Importance: Undecided
     Assignee: Eric Harney (eharney)
         Status: New

** Affects: nova
     Importance: Undecided
     Assignee: Eric Harney (eharney)
         Status: New

** Also affects: nova
   Importance: Undecided
       Status: New

** Changed in: nova
     Assignee: (unassigned) => Eric Harney (eharney)

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

Title:
  GlusterFS: Do not time out long-running volume snapshot operations

Status in Cinder:
  New
Status in OpenStack Compute (Nova):
  New

Bug description:
  Currently, when Cinder sends a snapshot create or delete job to Nova
  for the GlusterFS driver, it has a fixed timeout window, and if the
  job takes longer than that, the snapshot operation is failed.  (The
  assumption is that Nova has somehow failed.)

  This is problematic because it fails operations that are still active
  but running very slowly.

  The fix proposed here is to use the same update_snapshot_status API
  which is used to finalize these operations to send periodic updates
  while the operation is in progress, so that Cinder knows that Nova is
  still active, and that the job does not need to be timed out.

  This is backward compatible for both Havana Cinder and Havana Nova.

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


Follow ups

References