Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-9284

Manila scenario tests are failing because the image is still in the importing process

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • rhos-18.0.1
    • None
    • test-operator
    • None
    • Important

      The tests are failing at the stage of booting a VM because the image is not yet active.

      From tempest.log
      ==============

      Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/manila_tempest_tests/tests/scenario/test_share_basic_ops.py", line 51, in test_mount_share_one_vm instance = self.boot_instance(wait_until="BUILD") File "/usr/lib/python3.9/site-packages/manila_tempest_tests/tests/scenario/manager_share.py", line 166, in boot_instance instance = self.create_server( File "/usr/lib/python3.9/site-packages/tempest/scenario/manager.py", line 349, in create_server body, _ = compute.create_test_server( File "/usr/lib/python3.9/site-packages/tempest/common/compute.py", line 287, in create_test_server body = clients.servers_client.create_server(name=name, imageRef=image_id, File "/usr/lib/python3.9/site-packages/tempest/lib/services/compute/servers_client.py", line 117, in create_server resp, body = self.post('servers', post_body) File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 312, in post resp_header, resp_body = self.request( File "/usr/lib/python3.9/site-packages/tempest/lib/services/compute/base_compute_client.py", line 47, in request resp, resp_body = super(BaseComputeClient, self).request( File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 760, in request self._error_checker(resp, resp_body) File "/usr/lib/python3.9/site-packages/tempest/lib/common/rest_client.py", line 875, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {'code': 400, 'message': 'Image e6f03dcd-ab6e-4480-a8c1-ac1ad284fe73 is not active.'}

      DoD:

      • We wait until the image reaches "ACTIVE" status during its creation [1].

      PRs:

      [1] https://github.com/openstack-k8s-operators/tcib/blob/250504bf85b3d0e9a6c332521684566f4f2ad7a7/container-images/tcib/base/os/tempest/run_tempest.sh#L244

              lkuchlan liron kuchlani
              lkuchlan liron kuchlani
              rhos-tempest
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: