Verify config should check image visibility

Bug #1564431 reported by Eugeniya Kudryashova on 2016-03-31
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rally
Medium
Yaroslav Lobankov

Bug Description

Rally 0.3.1

Lots of tests fails with trace

Traceback (most recent call last):
  File "tempest/test.py", line 113, in wrapper
    return f(self, *func_args, **func_kwargs)
  File "tempest/scenario/test_volume_boot_pattern.py", line 118, in test_volume_boot_pattern
    volume_origin = self._create_volume_from_image()
  File "tempest/scenario/test_volume_boot_pattern.py", line 52, in _create_volume_from_image
    return self.create_volume(name=vol_name, imageRef=img_uuid)
  File "tempest/scenario/manager.py", line 274, in create_volume
    volume = self.volumes_client.create_volume(**kwargs)['volume']
  File "tempest/services/volume/base/base_volumes_client.py", line 83, in create_volume
    resp, body = self.post('volumes', post_body)
  File "tempest/lib/common/rest_client.py", line 259, in post
    return self.request('POST', url, extra_headers, headers, body)
  File "tempest/lib/common/rest_client.py", line 642, in request
    resp, resp_body)
  File "tempest/lib/common/rest_client.py", line 695, in _error_checker
    raise exceptions.NotFound(resp_body, resp=resp)
tempest.lib.exceptions.NotFound: Object not found
Details: {u'message': u'ImageNotFound: Image 233285e4-da87-4ad2-9b75-134368896b3f could not be found.', u'code': 404}

when auto-discovery finds private image with matching name. Rally should check visibility of image before using it in different tenant

Changed in rally:
status: New → Triaged
importance: Undecided → Medium
Changed in rally:
assignee: nobody → Yaroslav Lobankov (ylobankov)

Fix proposed to branch: master
Review: https://review.openstack.org/301804

Changed in rally:
status: Triaged → In Progress

Reviewed: https://review.openstack.org/301804
Committed: https://git.openstack.org/cgit/openstack/rally/commit/?id=78ab9d22f9f0f380b8a1a5f43566d5beee423bd7
Submitter: Jenkins
Branch: master

commit 78ab9d22f9f0f380b8a1a5f43566d5beee423bd7
Author: Yaroslav Lobankov <email address hidden>
Date: Tue Apr 5 19:03:07 2016 +0300

    [Verify] Fixing issue with discovering images

    When we request a list of images to choose one of them for tests,
    we should make sure all images are active, they have names and they
    are PUBLIC. If images are not public, we will have failures of Tempest
    tests as described in the bug.

    Closes-Bug: #1564431

    Change-Id: Ia2cc1586956dcf1fff4c7859faf39fdd98ba35e2

Changed in rally:
status: In Progress → Fix Released

This issue was fixed in the openstack/rally 0.4.0 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers