image_client.py uses raw_request without error handling
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Won't Fix
|
Undecided
|
Shuquan Huang |
Bug Description
https:/
We're using raw_request method from tempest-
10:17:48 2015-11-18 10:17:48.254 28130 INFO tempest.
10:17:48 2015-11-18 10:17:48.256 28130 INFO tempest.
10:17:48 2015-11-18 10:17:48.256 28130 CRITICAL tempest [-] ValueError: dictionary update sequence element #0 has length 26; 2 is required
10:17:48 2015-11-18 10:17:48.256 28130 ERROR tempest Traceback (most recent call last):
10:17:48 2015-11-18 10:17:48.256 28130 ERROR tempest File "tools/
10:17:48 2015-11-18 10:17:48.256 28130 ERROR tempest main()
10:17:48 2015-11-18 10:17:48.256 28130 ERROR tempest File "tools/
10:17:48 2015-11-18 10:17:48.256 28130 ERROR tempest args.image_
10:17:48 2015-11-18 10:17:48.256 28130 ERROR tempest File "tools/
10:17:48 2015-11-18 10:17:48.256 28130 ERROR tempest disk_format=
10:17:48 2015-11-18 10:17:48.256 28130 ERROR tempest File "tools/
10:17:48 2015-11-18 10:17:48.256 28130 ERROR tempest image = _upload_
10:17:48 2015-11-18 10:17:48.256 28130 ERROR tempest File "tools/
10:17:48 2015-11-18 10:17:48.256 28130 ERROR tempest client.
10:17:48 2015-11-18 10:17:48.256 28130 ERROR tempest File "/home/
10:17:48 2015-11-18 10:17:48.256 28130 ERROR tempest return service_
10:17:48 2015-11-18 10:17:48.256 28130 ERROR tempest File "/home/
10:17:48 2015-11-18 10:17:48.256 28130 ERROR tempest self.update(
10:17:48 2015-11-18 10:17:48.256 28130 ERROR tempest ValueError: dictionary update sequence element #0 has length 26; 2 is required
because the response body is a StringIO.StringIO, not a dict.
Changed in tempest: | |
assignee: | nobody → Shuquan Huang (shuquan) |
There is no config_tempest.py in the tools dir:
https:/ /github. com/openstack/ tempest/ tree/master/ tools
are you sure the issue isn't with whatever your script there is doing