Updated openstack/openstack
Project: openstack/cinder  c5d4246662dd0c974a064d1fc6d0f94d172d0120
null
Retrieve volume image metadata using single query

The image metadata REST API contributions are making an individual db
call for each of the available volumes. When the number of volumes is
large the volume details call can take several minutes.

This patch changes the image metadata API contributions to take
advantage of the new db query to retrieve metadata in bulk.

Change-Id: I9a35438c1f38ea8a3d8f5b687ae58ba1f3f78121
Partial-Bug: #1197612
(cherry picked from commit 56e5805203a14acad78dc806247b5f0f4a22c9f8)