Public bug reported:

While attempting nova volume-attach on current devstack deployment I'm getting 
intermittent failures during the attach operation:
    http://paste.openstack.org/show/641383/

Each time I've encountered this I've been able to simply rerun the
command and it completes succesfully.

To reproduce:
Deploy devstack with cinder multi-attach patches 
(https://review.openstack.org/#/c/531569/)
Create a multiattach volume-type:
    cinder type-create multiattach 
    cinder type-key multiattach set multiattach='<is> True'
Create two instances: 
    nova boot --image <image-id> --flavor 1 i-1
    nova boot --image <image-id> --flavor 1 i-2
Create a multiattach volume (cinder create --volume-type multiattach --name 
vol-1 1)
Attach the volume to each instance:
    nova volume-attach <i-1> <vol-1>)
    nova volume-attach <i-2> <vol-1>)

Sometimes this works, sometimes it doesn't.  It appears that the
frequency of this failing is proportional to the length of time the Nova
service has been up and running on the system but that might be
nonsense.

I've yet to encounter a case where running the second attach command
again did not succeed.

** 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/1742204

Title:
  intermittent attach failures due to libvirt locking error

Status in OpenStack Compute (nova):
  New

Bug description:
  While attempting nova volume-attach on current devstack deployment I'm 
getting intermittent failures during the attach operation:
      http://paste.openstack.org/show/641383/

  Each time I've encountered this I've been able to simply rerun the
  command and it completes succesfully.

  To reproduce:
  Deploy devstack with cinder multi-attach patches 
(https://review.openstack.org/#/c/531569/)
  Create a multiattach volume-type:
      cinder type-create multiattach 
      cinder type-key multiattach set multiattach='<is> True'
  Create two instances: 
      nova boot --image <image-id> --flavor 1 i-1
      nova boot --image <image-id> --flavor 1 i-2
  Create a multiattach volume (cinder create --volume-type multiattach --name 
vol-1 1)
  Attach the volume to each instance:
      nova volume-attach <i-1> <vol-1>)
      nova volume-attach <i-2> <vol-1>)

  Sometimes this works, sometimes it doesn't.  It appears that the
  frequency of this failing is proportional to the length of time the
  Nova service has been up and running on the system but that might be
  nonsense.

  I've yet to encounter a case where running the second attach command
  again did not succeed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1742204/+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