cirros retry: TypeError: 'Retrying' object is not iterable

Bug #1927001 reported by wes hayutin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Undecided
Amol Kahat

Bug Description

2021-05-03 03:09:55.138 288809 INFO tempest.lib.common.rest_client [req-cfd9065a-d507-4978-a60b-be4bb071c348 ] Request (main): 200 GET https://10.0.0.5:13292/v2/images 0.060s
2021-05-03 03:09:55.139 288809 INFO config_tempest.constants [-] Creating image 'cirros-0.5.2-x86_64-disk.img'
2021-05-03 03:09:55.140 288809 CRITICAL tempest [-] Unhandled error: TypeError: 'Retrying' object is not iterable
2021-05-03 03:09:55.140 288809 ERROR tempest Traceback (most recent call last):
2021-05-03 03:09:55.140 288809 ERROR tempest File "/usr/lib/python3.6/site-packages/config_tempest/services/image.py", line 163, in find_or_upload_image
2021-05-03 03:09:55.140 288809 ERROR tempest shutil.copyfile(image_source, image_dest)
2021-05-03 03:09:55.140 288809 ERROR tempest File "/usr/lib64/python3.6/shutil.py", line 120, in copyfile
2021-05-03 03:09:55.140 288809 ERROR tempest with open(src, 'rb') as fsrc:
2021-05-03 03:09:55.140 288809 ERROR tempest FileNotFoundError: [Errno 2] No such file or directory: '/opt/cache/files/cirros-0.5.2-x86_64-disk.img'
2021-05-03 03:09:55.140 288809 ERROR tempest
2021-05-03 03:09:55.140 288809 ERROR tempest During handling of the above exception, another exception occurred:
2021-05-03 03:09:55.140 288809 ERROR tempest
2021-05-03 03:09:55.140 288809 ERROR tempest Traceback (most recent call last):
2021-05-03 03:09:55.140 288809 ERROR tempest File "/bin/discover-tempest-config", line 10, in <module>
2021-05-03 03:09:55.140 288809 ERROR tempest sys.exit(main())
2021-05-03 03:09:55.140 288809 ERROR tempest File "/usr/lib/python3.6/site-packages/config_tempest/main.py", line 608, in main
2021-05-03 03:09:55.140 288809 ERROR tempest retry_image=args.retry_image
2021-05-03 03:09:55.140 288809 ERROR tempest File "/usr/lib/python3.6/site-packages/config_tempest/main.py", line 547, in config_tempest
2021-05-03 03:09:55.140 288809 ERROR tempest image.create_tempest_images(conf, retry_alt=retry_alt)
2021-05-03 03:09:55.140 288809 ERROR tempest File "/usr/lib/python3.6/site-packages/config_tempest/services/image.py", line 121, in create_tempest_images
2021-05-03 03:09:55.140 288809 ERROR tempest retry_alt=retry_alt)
2021-05-03 03:09:55.140 288809 ERROR tempest File "/usr/lib/python3.6/site-packages/config_tempest/services/image.py", line 175, in find_or_upload_image
2021-05-03 03:09:55.140 288809 ERROR tempest self._download_with_retry(image_dest)
2021-05-03 03:09:55.140 288809 ERROR tempest File "/usr/lib/python3.6/site-packages/config_tempest/services/image.py", line 185, in _download_with_retry
2021-05-03 03:09:55.140 288809 ERROR tempest for attempt in Retrying(stop=stop_after_attempt(attempts)):
2021-05-03 03:09:55.140 288809 ERROR tempest TypeError: 'Retrying' object is not iterable
2021-05-03 03:09:55.140 288809 ERROR tempest 

https://artifacts.ci.centos.org/rdo/jenkins-tripleo-quickstart-promote-train-current-tripleo-delorean-minimal-333/undercloud/var/log/tempest/tempestconf.log

wes hayutin (weshayutin)
Changed in tripleo:
assignee: nobody → Amol Kahat (amolkahat)
Revision history for this message
Arx Cruz (arxcruz) wrote :
Revision history for this message
Arx Cruz (arxcruz) wrote :

Can you verify if this code is running? It might require a promotion...

Revision history for this message
wes hayutin (weshayutin) wrote :

fixed w/ rdo-info

Revision history for this message
wes hayutin (weshayutin) wrote :
Revision history for this message
wes hayutin (weshayutin) wrote :
Changed in tripleo:
status: Triaged → Fix Released
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.