Currently scenario 005 job which has glance cinder backend is consistently failing because image creation fails.
https://zuul.opendev.org/t/openstack/build/e85ae399c2004d0dbea0a8c70e348d47
Looking at cinder log, it was confirmed cinder-volume could not set up iscsid targets correctly because of missing include line in /etc/tgt/targets.conf .
https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_e85/853070/2/check/puppet-openstack-integration-6-scenario005-tempest-ubuntu-focal/e85ae39/logs/cinder/cinder-volume.txt
2022-08-15 09:03:32.314 40690 WARNING cinder.volume.targets.tgt [req-301687b3-8535-4a00-a9a6-72d0b33fe782 bc52ace924554fb3ae19eadd73afa99e 827efe92f7a741bd9845dc996be72f7a - - -] Failed to create iscsi target for Volume ID: volume-a2aafaa1-fa10-469d-bb28-2a0d9cf6776b. It could be caused by problem with concurrency. Also please ensure your tgtd config file contains 'include /var/lib/cinder/volumes/*'
...
2022-08-15 09:03:32.315 40690 ERROR cinder.volume.manager [req-301687b3-8535-4a00-a9a6-72d0b33fe782 bc52ace924554fb3ae19eadd73afa99e 827efe92f7a741bd9845dc996be72f7a - - -] Create export for volume failed (Resource could not be found.).: cinder.exception.NotFound: Resource could not be found.
2022-08-15 09:03:32.315 40690 ERROR cinder.volume.manager Traceback (most recent call last):
2022-08-15 09:03:32.315 40690 ERROR cinder.volume.manager File "/usr/lib/python3/dist-packages/cinder/volume/manager.py", line 4785, in _connection_create
2022-08-15 09:03:32.315 40690 ERROR cinder.volume.manager model_update = self.driver.create_export(ctxt.elevated(),
2022-08-15 09:03:32.315 40690 ERROR cinder.volume.manager File "/usr/lib/python3/dist-packages/cinder/volume/drivers/lvm.py", line 833, in create_export
2022-08-15 09:03:32.315 40690 ERROR cinder.volume.manager export_info = self.target_driver.create_export(
2022-08-15 09:03:32.315 40690 ERROR cinder.volume.manager File "/usr/lib/python3/dist-packages/cinder/volume/targets/iscsi.py", line 194, in create_export
2022-08-15 09:03:32.315 40690 ERROR cinder.volume.manager tid = self.create_iscsi_target(iscsi_name,
2022-08-15 09:03:32.315 40690 ERROR cinder.volume.manager File "/usr/lib/python3/dist-packages/cinder/utils.py", line 664, in _wrapper
2022-08-15 09:03:32.315 40690 ERROR cinder.volume.manager return r(f, *args, **kwargs)
2022-08-15 09:03:32.315 40690 ERROR cinder.volume.manager File "/usr/lib/python3/dist-packages/tenacity/__init__.py", line 404, in __call__
2022-08-15 09:03:32.315 40690 ERROR cinder.volume.manager do = self.iter(retry_state=retry_state)
2022-08-15 09:03:32.315 40690 ERROR cinder.volume.manager File "/usr/lib/python3/dist-packages/tenacity/__init__.py", line 360, in iter
2022-08-15 09:03:32.315 40690 ERROR cinder.volume.manager raise retry_exc.reraise()
2022-08-15 09:03:32.315 40690 ERROR cinder.volume.manager File "/usr/lib/python3/dist-packages/tenacity/__init__.py", line 193, in reraise
2022-08-15 09:03:32.315 40690 ERROR cinder.volume.manager raise self.last_attempt.result()
2022-08-15 09:03:32.315 40690 ERROR cinder.volume.manager File "/usr/lib/python3.8/concurrent/futures/_base.py", line 437, in result
2022-08-15 09:03:32.315 40690 ERROR cinder.volume.manager return self.__get_result()
2022-08-15 09:03:32.315 40690 ERROR cinder.volume.manager File "/usr/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result
2022-08-15 09:03:32.315 40690 ERROR cinder.volume.manager raise self._exception
2022-08-15 09:03:32.315 40690 ERROR cinder.volume.manager File "/usr/lib/python3/dist-packages/tenacity/__init__.py", line 407, in __call__
2022-08-15 09:03:32.315 40690 ERROR cinder.volume.manager result = fn(*args, **kwargs)
2022-08-15 09:03:32.315 40690 ERROR cinder.volume.manager File "/usr/lib/python3/dist-packages/cinder/volume/targets/tgt.py", line 207, in create_iscsi_target
2022-08-15 09:03:32.315 40690 ERROR cinder.volume.manager raise exception.NotFound()
2022-08-15 09:03:32.315 40690 ERROR cinder.volume.manager cinder.exception.NotFound: Resource could not be found.
2022-08-15 09:03:32.315 40690 ERROR cinder.volume.manager
Fix proposed to branch: master /review. opendev. org/c/openstack /puppet- cinder/ +/853155
Review: https:/