summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2012-09-05 14:07:16 -0400
committerDan Prince <dprince@redhat.com>2012-09-06 17:08:50 -0400
commita766d817218edcbb35c477382d5839f53c1f9570 (patch)
tree79994e374e5850f75bbcbdc130490b91d04837e3 /nova/openstack
parent20ae7ee86ac32005012592936b763b812340cebd (diff)
downloadnova-a766d817218edcbb35c477382d5839f53c1f9570.tar.gz
nova-a766d817218edcbb35c477382d5839f53c1f9570.tar.xz
nova-a766d817218edcbb35c477382d5839f53c1f9570.zip
Fix EC2 cinder volume creation as an admin user.
Updates the EC2 API _format_volume function so that it only tries to add project_id and host to responses if those keys are present. This resolves a KeyError that would occur when using Cinder because volumes from it don't contain this information. Fixes LP Bug #1046464. Change-Id: I56b977cfd1ae482f2559a3f1fda8d1543d3ea227
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions