diff options
author | Chris Yeoh <cyeoh@au1.ibm.com> | 2013-04-18 15:44:59 +0930 |
---|---|---|
committer | Chris Yeoh <cyeoh@au1.ibm.com> | 2013-04-19 12:53:07 +0930 |
commit | c62d7636b6ba1c36a96119a87fff8495c5a1dc21 (patch) | |
tree | 6cf148e50577aaffbea8aa0111d674fb665e1012 /nova/utils.py | |
parent | 964df95013fe65d38b3675592ae02249e93d2bc5 (diff) | |
download | nova-c62d7636b6ba1c36a96119a87fff8495c5a1dc21.tar.gz nova-c62d7636b6ba1c36a96119a87fff8495c5a1dc21.tar.xz nova-c62d7636b6ba1c36a96119a87fff8495c5a1dc21.zip |
Fix ec2 CreateVolumes/DescribeVolumes status
In admin context CreateVolumes/DescribeVolumes returns
extraneous information such as project_id, host, instance
data etc. This results in output which is not compatible
with the ec2 API. This change removes the addition
of the extra information.
This only partially fixes bug #1074901 as mapping the internal
volume states to ones specified by the ec2 api results in the devstack
euca.sh exercises to fail. But that can't be fixed until the fix
in this patch is through as the extraneous information returned by DescribeVolumes
causes euca-describe-volumes to not to show the attachment state for
a volume which is needed by the euca exercises.
Change-Id: I48a96fbfe4bb2e3da9514d688638ecdf3a168303
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions