Adding the bug description as a non private comment for better transparency: """ Image uploading ends up with error that breaks the tempest setup after overcloud osp16 setup. 2020-07-20 08:38:48.707 314624 INFO config_tempest.constants [-] Uploading image 'cirros-0.4.0-x86_64-disk.img' from '/home/stack/tempest-dir/etc/cirros-0.4.0-x86_64-disk.img' 2020-07-20 08:38:48.936 314624 INFO tempest.lib.common.rest_client [req-23ecbddd-27eb-49e5-89e9-73410f2e82d3 ] Request (main): 201 POST https://10.0.0.101:13292/v2/images 0.227s 2020-07-20 08:38:52.466 314624 INFO tempest.lib.common.rest_client [-] Request (main): 502 PUT https://XX.XX.XX.XX:13292/v2/images/2e68f74a-d2d2-44b7-8ae5-2613cec3b8f5/file 3.528s 2020-07-20 08:38:52.466 314624 CRITICAL tempest [-] Unhandled error: tempest.lib.exceptions.UnexpectedResponseCode: Unexpected response code received Details: 502 2020-07-20 08:38:52.466 314624 ERROR tempest Traceback (most recent call last): 2020-07-20 08:38:52.466 314624 ERROR tempest File "/usr/bin/discover-tempest-config", line 10, in <module> 2020-07-20 08:38:52.466 314624 ERROR tempest sys.exit(main()) 2020-07-20 08:38:52.466 314624 ERROR tempest File "/usr/lib/python3.6/site-packages/config_tempest/main.py", line 606, in main 2020-07-20 08:38:52.466 314624 ERROR tempest verbose=args.verbose 2020-07-20 08:38:52.466 314624 ERROR tempest File "/usr/lib/python3.6/site-packages/config_tempest/main.py", line 545, in config_tempest 2020-07-20 08:38:52.466 314624 ERROR tempest image.create_tempest_images(conf) 2020-07-20 08:38:52.466 314624 ERROR tempest File "/usr/lib/python3.6/site-packages/config_tempest/services/image.py", line 113, in create_tempest_images 2020-07-20 08:38:52.466 314624 ERROR tempest image_dest=img_path) 2020-07-20 08:38:52.466 314624 ERROR tempest File "/usr/lib/python3.6/site-packages/config_tempest/services/image.py", line 161, in find_or_upload_image 2020-07-20 08:38:52.466 314624 ERROR tempest image = self._upload_image(image_name, image_dest) 2020-07-20 08:38:52.466 314624 ERROR tempest File "/usr/lib/python3.6/site-packages/config_tempest/services/image.py", line 212, in _upload_image 2020-07-20 08:38:52.466 314624 ERROR tempest self.client.store_image_file(image['id'], data) 2020-07-20 08:38:52.466 314624 ERROR tempest File "/usr/lib/python3.6/site-packages/tempest/lib/services/image/v2/images_client.py", line 151, in store_image_file 2020-07-20 08:38:52.466 314624 ERROR tempest body=data, chunked=True) 2020-07-20 08:38:52.466 314624 ERROR tempest File "/usr/lib/python3.6/site-packages/tempest/lib/common/rest_client.py", line 687, in request 2020-07-20 08:38:52.466 314624 ERROR tempest self._error_checker(resp, resp_body) 2020-07-20 08:38:52.466 314624 ERROR tempest File "/usr/lib/python3.6/site-packages/tempest/lib/common/rest_client.py", line 868, in _error_checker 2020-07-20 08:38:52.466 314624 ERROR tempest resp=resp) 2020-07-20 08:38:52.466 314624 ERROR tempest tempest.lib.exceptions.UnexpectedResponseCode: Unexpected response code received 2020-07-20 08:38:52.466 314624 ERROR tempest Details: 502 2020-07-20 08:38:52.466 314624 ERROR tempest Version-Release number of selected component (if applicable): openstack-tempest-23.0.0-0.20200225221147.d432237.el8ost.noarch puppet-glance-15.4.1-0.20200403211535.a9b1a12.el8ost.noarch python3-glanceclient-2.17.0-0.20200225114356.40c19aa.el8ost.noarch """
I believe that the problem is that glance service is not up/running after the upgrade at least at the time of discover-tempest-config execution. To test my theory, would it possible to add a check in the job to test if all the services are running properly after the upgrade and before the python-tempestconf/tempest execution?
Closing as NOT A BUG in python-tempestconf component.
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days