[nova][barbican][qa] barbican-tempest-plugin change breaking bfv [ceph]

Mohammed Naser mnaser at vexxhost.com
Wed Aug 26 19:44:04 UTC 2020


Hi everyone,

We just had our gating break due to a change merging inside
barbican-tempest-plugin which is the following:

https://review.opendev.org/#/c/515210/

It is resulting in an exception in our CI:

2020-08-26 18:04:32.663188 | controller |     Response - Headers:
{'content-length': '257', 'content-type': 'application/json',
'x-openstack-request-id': 'req-7f55e463-c3de-445e-a814-ef79c5f21235',
'connection': 'close', 'status': '409', 'content-location':
'http://glance.openstack.svc.cluster.local/v2/images/dec14e17-0870-415f-82a6-140c1b7e4a39'}
2020-08-26 18:04:32.663200 | controller |         Body: b'{"message":
"Image dec14e17-0870-415f-82a6-140c1b7e4a39 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"}'

This is usually because it's trying to delete the Glance image before
deleting an instance that is using it, the specific test that is
failing is:

barbican_tempest_plugin.tests.scenario.test_certificate_validation.CertificateValidationTest.test_signed_image_invalid_cert_boot_failure[compute,id-6d354881-35a6-4568-94b8-2204bbf67b29,image]

This test landed yesterday, we're blacklisting the scenario right now.
I do find it quite interesting that in the logs here:

http://paste.openstack.org/show/797186/

That the instance reports that it _does_ indeed delete it, so maybe we
are trying to delete the image afterwards _too quickly_ and need to
wait for Nova to clean up?

I'd love to enable that test again and continue full coverage, happy
to hear discussion.

Thanks
Mohammed





-- 
Mohammed Naser
VEXXHOST, Inc.



More information about the openstack-discuss mailing list