I meet the below error, and expect to specify where to download cirros image instead of hard-code in config.py.
cirros_url = ("http://download.cirros-cloud.net/%s/%s" %
--------
[root@87adc4472f9d ~]# rally verify start identity
Command failed, please check log for more info
2015-03-27 04:49:59.468 97 CRITICAL rally [-] TempestConfigCreationFailure: Unable create tempest.conf: 'Error on downloading cirros image, possibly no connection to Internet with message ('Connection aborted.', error(110, 'Connection timed out'))'
2015-03-27 04:49:59.468 97 TRACE rally Traceback (most recent call last):
2015-03-27 04:49:59.468 97 TRACE rally File "/bin/rally", line 10, in <module>
2015-03-27 04:49:59.468 97 TRACE rally sys.exit(main())
2015-03-27 04:49:59.468 97 TRACE rally File "/usr/lib/python2.7/site-packages/rally/cmd/main.py", line 42, in main
2015-03-27 04:49:59.468 97 TRACE rally return cliutils.run(sys.argv, categories)
2015-03-27 04:49:59.468 97 TRACE rally File "/usr/lib/python2.7/site-packages/rally/cmd/cliutils.py", line 422, in run
2015-03-27 04:49:59.468 97 TRACE rally ret = fn(*fn_args, **fn_kwargs)
2015-03-27 04:49:59.468 97 TRACE rally File "<string>", line 2, in start
2015-03-27 04:49:59.468 97 TRACE rally File "/usr/lib/python2.7/site-packages/rally/cmd/envutils.py", line 66, in default_from_global
2015-03-27 04:49:59.468 97 TRACE rally return f(*args, **kwargs)
2015-03-27 04:49:59.468 97 TRACE rally File "/usr/lib/python2.7/site-packages/rally/cmd/commands/verify.py", line 83, in start
2015-03-27 04:49:59.468 97 TRACE rally tempest_config)
2015-03-27 04:49:59.468 97 TRACE rally File "/usr/lib/python2.7/site-packages/rally/api.py", line 248, in verify
2015-03-27 04:49:59.468 97 TRACE rally verifier.verify(set_name=set_name, regex=regex)
2015-03-27 04:49:59.468 97 TRACE rally File "/usr/lib/python2.7/site-packages/rally/verification/tempest/tempest.py", line 361, in verify
2015-03-27 04:49:59.468 97 TRACE rally self._prepare_and_run(set_name, regex)
2015-03-27 04:49:59.468 97 TRACE rally File "/usr/lib/python2.7/site-packages/rally/common/utils.py", line 206, in wrapper
2015-03-27 04:49:59.468 97 TRACE rally result = f(self, *args, **kwargs)
2015-03-27 04:49:59.468 97 TRACE rally File "/usr/lib/python2.7/site-packages/rally/verification/tempest/tempest.py", line 268, in _prepare_and_run
2015-03-27 04:49:59.468 97 TRACE rally self.generate_config_file()
2015-03-27 04:49:59.468 97 TRACE rally File "/usr/lib/python2.7/site-packages/rally/verification/tempest/tempest.py", line 208, in generate_config_file
2015-03-27 04:49:59.468 97 TRACE rally config.TempestConf(self.deployment).generate(self.config_file)
2015-03-27 04:49:59.468 97 TRACE rally File "/usr/lib/python2.7/site-packages/rally/verification/tempest/config.py", line 78, in __init__
2015-03-27 04:49:59.468 97 TRACE rally self._load_img()
2015-03-27 04:49:59.468 97 TRACE rally File "/usr/lib/python2.7/site-packages/rally/verification/tempest/config.py", line 89, in _load_img
2015-03-27 04:49:59.468 97 TRACE rally raise TempestConfigCreationFailure(msg)
2015-03-27 04:49:59.468 97 TRACE rally TempestConfigCreationFailure: Unable create tempest.conf: 'Error on downloading cirros image, possibly no connection to Internet with message ('Connection aborted.', error(110, 'Connection timed out'))'
2015-03-27 04:49:59.468 97 TRACE rally
-------
Reviewed: https:/ /review. openstack. org/183398 /git.openstack. org/cgit/ openstack/ rally/commit/ ?id=0c05bdbdeb1 e050110706637e4 596035abda0b55
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0c05bdbdeb1e050 110706637e45960 35abda0b55
Author: Swapnil Kulkarni <email address hidden>
Date: Fri May 15 05:57:28 2015 +0000
Added configuration parameter for cirros base url
Removed the hard-coded base url for cirros image.
Change-Id: I61935636a10c94 bf80427c693bf9d fd5190d8148 Bug:#1437162
Closes-