Bugfix: Can't get image list in API 69/54769/7
authorchenjiankun <chenjiankun1@huawei.com>
Tue, 3 Apr 2018 06:23:42 +0000 (06:23 +0000)
committerchenjiankun <chenjiankun1@huawei.com>
Thu, 12 Apr 2018 08:00:05 +0000 (08:00 +0000)
commit5ac59e495d74b64ab377f1ba25bb00b11da14e67
tree9a12de435a5c14a7f3477b931a120fc660b63bdb
parent374a6caf766c0503f114a83cc20144f72b10ab45
Bugfix: Can't get image list in API

JIRA: YARDSTICK-1110

To match OpenStack Pike release, we upgrade novaclient from 7.1.1 to 9.1.1.
And the client interface has changed, it no longer has nova_client.images attribute.
So I use shade instead. Later will change all same issue.

Change-Id: Ie4f54069d4346e44e2ad925439930504b945cbad
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
api/resources/v2/images.py
yardstick/common/openstack_utils.py
yardstick/common/utils.py
yardstick/tests/unit/apiserver/resources/v2/__init__.py [new file with mode: 0644]
yardstick/tests/unit/apiserver/resources/v2/test_images.py [new file with mode: 0644]
yardstick/tests/unit/common/test_openstack_utils.py