diff --git a/vitrage_tempest_plugin/tests/common/glance_utils.py b/vitrage_tempest_plugin/tests/common/glance_utils.py index d4b92a2..6a15dbf 100644 --- a/vitrage_tempest_plugin/tests/common/glance_utils.py +++ b/vitrage_tempest_plugin/tests/common/glance_utils.py @@ -15,4 +15,4 @@ from vitrage_tempest_plugin.tests.common.tempest_clients import TempestClients def get_first_image(): - return TempestClients.glance().images.list().next() + return next(TempestClients.glance().images.list(sort='size:asc')) diff --git a/vitrage_tempest_plugin/tests/common/nova_utils.py b/vitrage_tempest_plugin/tests/common/nova_utils.py index f8e8058..1ec80ce 100644 --- a/vitrage_tempest_plugin/tests/common/nova_utils.py +++ b/vitrage_tempest_plugin/tests/common/nova_utils.py @@ -48,6 +48,7 @@ def create_instances(num_instances=1, set_public_network=True, name='vm'): def _create_instances(flavor, image, name, nics, num_instances): + LOG.info("create instance with flavor=%s image=%s" % (flavor, image)) resources = [TempestClients.nova().servers.create( name='%s-%s' % (name, index), flavor=flavor,