Get updated vol status in volume.api.reserve.
Get updated vol status in volume.api.reserve.

A race condtion was discovered where a nova volume attach
could easily be performed twice for the same volume.  Although
the cinder attach update would fail, this occured after the BDM
updates were made and in essence the attach to the compute instance
had already been issued.

This change simply forces a get from the DB of the volume-ref in the
reserve call and checks if an attach is already in progress.

Fixes bug: 1096983

Change-Id: Ie0e4156d691ee92b6981078ef0ba62f8c4cdf0c8

Datera/cinder,bswartz/cinder,phenoxim/cinder,openstack/cinder,inkerra/cinder,inkerra/cinder,Accelerite/cinder,scottdangelo/RemoveVolumeMangerLocks,sasukeh/cinder,sasukeh/cinder,Akrog/cinder,winndows/cinder,citrix-openstack-build/cinder,Paul-Ezell/cinder-1,julianwang/cinder,blueboxgroup/cinder,eharney/cinder,manojhirway/ExistingImagesOnNFS,cloudbase/cinder,rickerc/cinder_audit,CloudServer/cinder,tlakshman26/cinder-https-changes,julianwang/cinder,JioCloud/cinder,Akrog/cinder,redhat-openstack/cinder,apporc/cinder,NeCTAR-RC/cinder,citrix-openstack-build/cinder,alex8866/cinder,scottdangelo/RemoveVolumeMangerLocks,openstack/cinder,maelnor/cinder,saeki-masaki/cinder,Hybrid-Cloud/cinder,duhzecca/cinder,tlakshman26/cinder-bug-fix-volume-conversion-full,scality/cinder,leilihh/cinder,Hybrid-Cloud/cinder,Accelerite/cinder,github-borat/cinder,NetApp/cinder,alex8866/cinder,Datera/cinder,duhzecca/cinder,Thingee/cinder,bswartz/cinder,phenoxim/cinder,eharney/cinder,hguemar/cinder,nikesh-mahalka/cinder,j-griffith/cinder,j-griffith/cinder,potsmaster/cinder,nexusriot/cinder,maelnor/cinder,saeki-masaki/cinder,citrix-openstack-build/cinder,cloudbau/cinder,dims/cinder,tlakshman26/cinder-new-branch,Thingee/cinder,leilihh/cinder,petrutlucian94/cinder,apporc/cinder,tlakshman26/cinder-new-branch,takeshineshiro/cinder,rakeshmi/cinder,takeshineshiro/cinder,ntt-sic/cinder,tlakshman26/cinder-bug-fix-volume-conversion-full,cloudbase/cinder,ntt-sic/cinder,potsmaster/cinder,Paul-Ezell/cinder-1,dims/cinder,NeCTAR-RC/cinder,abusse/cinder,winndows/cinder,mahak/cinder,spring-week-topos/cinder-week,scality/cinder,CloudServer/cinder,manojhirway/ExistingImagesOnNFS,rickerc/cinder_audit,tlakshman26/cinder-https-changes,spring-week-topos/cinder-week,rakeshmi/cinder,blueboxgroup/cinder,abusse/cinder,github-borat/cinder,JioCloud/cinder,mahak/cinder,Nexenta/cinder,petrutlucian94/cinder,Nexenta/cinder,nikesh-mahalka/cinder,cloudbau/cinder,ge0rgi/cinder,hguemar/cinder,redhat-openstack/cinder,NetApp/cinder,nexusriot/cinder,Thingee/cinder