Hide Forgot
Description of problem: failed to create tempest.conf with config_tempest.py when using existing image compute.image_ref 1dc27325-31b0-4cb4-9a69-e7b8202de44d python tools/config_tempest.py --create --debug compute.image_ref 1dc27325-31b0-4cb4-9a69-e7b8202de44d identity.uri $OS_AUTH_URL identity.admin_password $OS_PASSWORD --deployer-input /home/stack/tempest-deployer-input.conf --network-id 2356217a-3dfa-4b80-9c5b-77cfe847b3ff 2016-01-07 03:54:28.578 24087 INFO __main__ [-] (no change) Found flavor 'm1.micro' 2016-01-07 03:54:28.578 24087 DEBUG __main__ [-] Setting [compute] flavor_ref_alt = 15661cf3-41d6-42cc-8805-92e90b98ed60 set tools/config_tempest.py:379 2016-01-07 03:54:28.578 24087 CRITICAL tempest [-] AttributeError: 'ImageClientV2' object has no attribute 'get_image' 2016-01-07 03:54:28.578 24087 ERROR tempest Traceback (most recent call last): 2016-01-07 03:54:28.578 24087 ERROR tempest File "tools/config_tempest.py", line 754, in <module> 2016-01-07 03:54:28.578 24087 ERROR tempest main() 2016-01-07 03:54:28.578 24087 ERROR tempest File "tools/config_tempest.py", line 152, in main 2016-01-07 03:54:28.578 24087 ERROR tempest args.image_disk_format) 2016-01-07 03:54:28.578 24087 ERROR tempest File "tools/config_tempest.py", line 545, in create_tempest_images 2016-01-07 03:54:28.578 24087 ERROR tempest disk_format=disk_format) 2016-01-07 03:54:28.578 24087 ERROR tempest File "tools/config_tempest.py", line 561, in find_or_upload_image 2016-01-07 03:54:28.578 24087 ERROR tempest image = _find_image(client, image_id, image_name) 2016-01-07 03:54:28.578 24087 ERROR tempest File "tools/config_tempest.py", line 742, in _find_image 2016-01-07 03:54:28.578 24087 ERROR tempest return client.get_image(image_id) 2016-01-07 03:54:28.578 24087 ERROR tempest AttributeError: 'ImageClientV2' object has no attribute 'get_image' 2016-01-07 03:54:28.578 24087 ERROR tempest Version-Release number of selected component (if applicable): latest tempest version How reproducible: Steps to Reproduce: 1.run the command in tempest ENV : ython tools/config_tempest.py --create --debug compute.image_ref 1dc27325-31b0-4cb4-9a69-e7b8202de44d identity.uri $OS_AUTH_URL identity.admin_password $OS_PASSWORD --deployer-input /home/stack/tempest-deployer-input.conf --network-id 2356217a-3dfa-4b80-9c5b-77cfe847b3ff 2. 3. Actual results: Expected results: Additional info:
np