same behavior in ec2-api. Some attached volumes have empty attached
Request to cinder for attach volume -
and then this volume has status 'in-use' and empty attachments list.
** Also affects: ec2-api
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
Generic driver fails to attach Cinder volume to Nova VM
Status in Cinder:
Status in ec2-api:
Status in Manila:
Status in OpenStack Compute (nova):
Starting from 14th of October, Friday. Our CI jobs (Manila) with
Generic driver (Cinder as backend) started failing with traces .
Investigation showed that problem appears when we get volume from Cinder with
"in-use" status but with empty attachments.
And Nova considers it as attached, but Cinder does not. And it is not
After all, it is impossible to detach "in-use" volume .
It is not stable bug. It is concurrency-based bug. If we can do something in
Manila then wait some time after each operation we do...
Test gerrit change  proves that commit to Cinder  is THE CAUSE
of a bug.
Also, bug was reproduced even before merge of  with "gate-rally-
dsvm-cinder" CI job , but, I assume, no one has paid attention to
this. And this job fails from time to time exactly because of this 
Local testing shows that IF bug appears then volume never gets
attached and list of attachments stays empty. And waiting between
'create' (wait until 'available' status) and 'attach' commands does
not help at all.
How to reproduce:
1) Create VM
2) Create Volume
3) Attach volume (2) to the VM (1)
4) Repeat steps 1-3 while bug does not appear.
( https://review.openstack.org/385122 )
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : email@example.com
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp