need to specify where to install cirros image

Bug #1437162 reported by yuchuan zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rally
Fix Released
Wishlist
Unassigned

Bug Description

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

-------

tags: added: rally tempest verify
Changed in rally:
status: New → Triaged
importance: Undecided → Wishlist
Hugh Ma (hughkma)
Changed in rally:
assignee: nobody → Hugh Ma (hughkma)
Hugh Ma (hughkma)
Changed in rally:
assignee: Hugh Ma (hughkma) → nobody
Changed in rally:
assignee: nobody → Swapnil Kulkarni (coolsvap)
Changed in rally:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to rally (master)

Reviewed: https://review.openstack.org/183398
Committed: https://git.openstack.org/cgit/openstack/rally/commit/?id=0c05bdbdeb1e050110706637e4596035abda0b55
Submitter: Jenkins
Branch: master

commit 0c05bdbdeb1e050110706637e4596035abda0b55
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: I61935636a10c94bf80427c693bf9dfd5190d8148
    Closes-Bug:#1437162

Changed in rally:
status: In Progress → Fix Committed
Changed in rally:
milestone: none → 0.1.0
Changed in rally:
status: Fix Committed → 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.