← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1387807] Re: Rollback is needed if attach volume times out.

 

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

** Changed in: nova/liberty
     Assignee: (unassigned) => Lee Yarwood (lyarwood)

** Changed in: nova/liberty
       Status: New => In Progress

** Changed in: nova
   Importance: Low => Medium

** Changed in: nova/liberty
   Importance: Undecided => Medium

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

Title:
  Rollback is needed if attach volume times out.

Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) liberty series:
  In Progress

Bug description:
  During attach volume operation, initialize_connection in Cinder is
  called.  If timeout happens during initialize_connection, the volume
  state will be changed back to "available".  However, volume could be
  already mapped to the host on the array.  This leaves the database and
  array out of sync.  If rescan happens on the host after this, the
  volumes could show up as faulty devices when issuing the multipath
  command.

  The timeout exception during attach volume should be handled and a
  rollback should be triggered by calling terminate_connection in
  Cinder.

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


References