test_attach_scsi_disk_with_config_drive fails during cleanup when using RBD for Glance and Nova

Bug #1905725 reported by Lee Yarwood
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Undecided
Lee Yarwood

Bug Description

tempest.api.compute.admin.test_volume.AttachSCSIVolumeTestJSON.test_attach_scsi_disk_with_config_drive will always fail at present when RBD is being used for Glance and Nova due to the order in which Cleanup tasks have been added (image and then instance).

Traceback (most recent call last):
  File "/opt/stack/tempest/tempest/lib/services/image/v2/images_client.py", line 90, in delete_image
    resp, _ = self.delete(url)
  File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 329, in delete
    return self.request('DELETE', url, extra_headers, headers, body)
  File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 702, in request
    self._error_checker(resp, resp_body)
  File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 823, in _error_checker
    raise exceptions.Conflict(resp_body, resp=resp)
tempest.lib.exceptions.Conflict: Conflict with state of target resource
Details: {'message': 'Image 4dab3abf-3c5c-43e0-9568-f3275159a7a4 could not be deleted because it is in use: The image cannot be deleted because it is in use through the backend store outside of Glance.<br /><br />\n\n\n', 'code': '409 Conflict', 'title': 'Conflict'}

Revision history for this message
Lee Yarwood (lyarwood) wrote :
Changed in tempest:
assignee: nobody → Lee Yarwood (lyarwood)
Revision history for this message
Martin Kopec (mkopec) wrote :
Changed in tempest:
status: New → Fix Released
Revision history for this message
Martin Kopec (mkopec) wrote :

Still in progress, fixing is continued here: https://review.opendev.org/c/openstack/tempest/+/764407

Changed in tempest:
status: Fix Released → In Progress
Revision history for this message
Martin Kopec (mkopec) wrote :
Changed in tempest:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tempest 26.0.0

This issue was fixed in the openstack/tempest 26.0.0 release.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.