Bugfix: Can't get image list in API 45/55845/1
authorchenjiankun <chenjiankun1@huawei.com>
Tue, 3 Apr 2018 06:23:42 +0000 (06:23 +0000)
committerJack Chan <chenjiankun1@huawei.com>
Tue, 17 Apr 2018 01:42:43 +0000 (01:42 +0000)
commit895e206d89f8771c870b73c51b132ee5decd7857
treec6c1bc0036e95158db4da1a2bb595bab96e20b1a
parent67bebb3c5d06834480d02c8f6c2f99e20ac15595
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>
(cherry picked from commit 5ac59e495d74b64ab377f1ba25bb00b11da14e67)
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