Comment 0 for bug 1583477

Revision history for this message
Sofiia Andriichenko (sandriichenko) wrote :

Detailed bug description:
9.0 mos iso #368
test_list_images_filter_by_changes_since
test_list_images_filter_by_name
test_list_images_filter_by_server_id
test_list_images_filter_by_server_ref
test_list_images_filter_by_status
test_list_images_with_detail_filter_by_changes_since
test_list_images_limit_results
test_list_images_with_detail_filter_by_server_ref
test_list_images_with_detail_filter_by_name
test_list_images_with_detail_filter_by_type
test_list_images_filter_by_type
test_list_images_with_detail_filter_by_status
test_list_images_with_detail_limit_results

Configuration:
Settings:
Storage Backends - Ceph RBD for volumes (Cinder), Ceph RBD for ephemeral volumes (Nova), Ceph RBD for images (Glance), Ceph RadosGW for objects (Swift API)
Additional services - Install Sahara

In tab Settings->Compute check Nova quotas
In tab Settings->OpenStack Services check enable Install Ceilometer and Aodh
In tab Networks->Other check enable Neutron DVR

Nodes: controller, compute, Ceph, Telemetry - MongoDB

Steps to reproduce:
    1. Deploy ISO in configuration see (Detailed bug description)
    2. Navigate to controller node
    3. Install git (use apt-get install git)
    4. Clone script to deploy rally + tempest
       # git clone https://github.com/obutenko/mos-rally-verify.git
    5. Navigate to the https://github.com/obutenko/mos-rally-verify
    6. Execute necessary steps to deploy tempest
    7. Tun test in debug mode
        #rally --debug verify start --regex tempest.api.compute.images.test_list_image_filters.ListImageFiltersTestJSON.test_list_images_filter_by_changes_since

Expected results:
Test is passed

Actual result:
Test is Failed
(see comments)

Reproducibility:
See attachment

Workaround:
---

Impact:
---

Description of the environment:
See (Detailed bug description)

Additional information:
Error Message

test failed

Stacktrace

Traceback (most recent call last):
  File "tempest/test.py", line 280, in setUpClass
    six.reraise(etype, value, trace)
  File "tempest/test.py", line 273, in setUpClass
    cls.resource_setup()
  File "tempest/api/compute/images/test_list_image_filters.py", line 98, in resource_setup
    cls.server1['id'], wait_until='ACTIVE')
  File "tempest/api/compute/base.py", line 311, in create_image_from_server
    image_id, kwargs['wait_until'])
  File "tempest/common/waiters.py", line 134, in wait_for_image_status
    image = client.show_image(image_id)
  File "tempest/lib/services/compute/images_client.py", line 63, in show_image
    resp, body = self.get("images/%s" % image_id)
  File "tempest/lib/common/rest_client.py", line 274, in get
    return self.request('GET', url, extra_headers, headers)
  File "tempest/lib/services/compute/base_compute_client.py", line 53, in request
    method, url, extra_headers, headers, body)
  File "tempest/lib/common/rest_client.py", line 641, in request
    resp, resp_body)
  File "tempest/lib/common/rest_client.py", line 694, in _error_checker
    raise exceptions.NotFound(resp_body, resp=resp)
tempest.lib.exceptions.NotFound: Object not found
Details: {u'message': u'Image not found.', u'code': 404}