Public bug reported:

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.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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):
  New

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to