Tests failing: Malformed request url
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Critical
|
Jay Pipes |
Bug Description
Note: https:/
Tests fail against trunk with a common error across all tests.
root@ip-
The expected flavor details should be returned ... ERROR
=======
ERROR: The expected flavor details should be returned
-------
Traceback (most recent call last):
File "/root/
resp, flavor = self.client.
File "/root/
resp, body = self.client.
File "/root/
return self.request('GET', url)
File "/root/
raise exceptions.
BadRequest: Bad request
Details: Malformed request url
For GET requests like this, nova-api.log shows:
2012-01-24 02:17:32,128 INFO nova.api.
2012-01-24 02:17:32,128 DEBUG nova.api.
I'm not sure if something has changed in the recent API V2 changes. This is against a mult-node deployment but I've confirmed the same failures against a devstack deploy.
Note: https:/
Changed in tempest: | |
status: | Confirmed → In Progress |
Changed in tempest: | |
status: | Fix Committed → Fix Released |
Changed in tempest: | |
milestone: | none → havana-3 |
Yeah, I'm getting similar errors in a bunch of tests:
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= tests.test_ extensions. ExtentionsTest' > ------- ------- ------- ------- ------- ------- ------- ------- ------- pymodules/ python2. 7/nose/ suite.py" , line 208, in run pymodules/ python2. 7/nose/ suite.py" , line 291, in setUp setupContext( ancestor) pymodules/ python2. 7/nose/ suite.py" , line 314, in setupContext run(context, names) pymodules/ python2. 7/nose/ util.py" , line 478, in try_run jpipes/ repos/tempest/ tempest/ tests/test_ extensions. py", line 11, in setUpClass jpipes/ repos/tempest/ tempest/ openstack. py", line 27, in __init__ config. nova.tenant_ name) jpipes/ repos/tempest/ tempest/ services/ nova/json/ servers_ client. py", line 12, in __init__ jpipes/ repos/tempest/ tempest/ common/ rest_client. py", line 17, in __init__
ERROR: test suite for <class 'tempest.
-------
Traceback (most recent call last):
File "/usr/lib/
self.setUp()
File "/usr/lib/
self.
File "/usr/lib/
try_
File "/usr/lib/
return func()
File "/home/
cls.os = openstack.Manager()
File "/home/
self.
File "/home/
auth_url, 'nova', tenant_name)
File "/home/
tenant_name)
TypeError: 'NoneType' object is not iterable
Here is the tempest.conf I'm using:
[nova]
host=192.168.1.98
port=5000
apiVer=v2
path=tokens
user=admin
api_key=pass
tenant_name=admin
ssh_timeout=300
build_interval=10
build_timeout=600
[environment] 72b2793d- 45d6-4ee4- 8732-1ea29d1025 61 alt=72b2793d- 45d6-4ee4- 8732-1ea29d1025 61 image_enabled= true available= true keystone_ v2
image_ref=
image_ref_
flavor_ref=1
flavor_ref_alt=2
create_
resize_
authentication=
[image]
host = 192.168.1.98
port = 9292
service_token = servicetoken