foxinsocks test extension missing from tarball
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Soren Hansen |
Bug Description
Tests run from the tarball file like so:
=======
ERROR: test_get_by_alias (nova.tests.
-------
Traceback (most recent call last):
File "/build/
response = request.
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
return resp(environ, start_response)
File "/usr/lib/
response = self.app(environ, start_response)
File "/usr/lib/
return resp(environ, start_response)
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/build/
result = method(**arg_dict)
File "/build/
ext = self.extension_
KeyError: u'FOXNSOX'
-------
2011-03-25 13:17:59,942 DEBUG routes.middleware [-] Initialized with method overriding = True, and path info altering = True from (pid=18285) __init__ /usr/lib/
2011-03-25 13:17:59,942 AUDIT extensions [-] Initializing extension manager.
2011-03-25 13:17:59,944 DEBUG extensions [-] Extended resource: extensions from (pid=18285) __init__ /build/
2011-03-25 13:17:59,946 DEBUG routes.middleware [-] Initialized with method overriding = True, and path info altering = True from (pid=18285) __init__ /usr/lib/
2011-03-25 13:17:59,947 DEBUG routes.middleware [-] Matched GET /extensions/FOXNSOX from (pid=18285) __call__ /usr/lib/
2011-03-25 13:17:59,947 DEBUG routes.middleware [-] Route path: '/extensions/
2011-03-25 13:17:59,948 DEBUG routes.middleware [-] Match dict: {'req': <Request at 0x9ed880c GET http://
-------
=======
ERROR: test_get_
-------
Traceback (most recent call last):
File "/build/
self.
KeyError: 'googoose'
-------
2011-03-25 13:18:00,205 DEBUG routes.middleware [-] Initialized with method overriding = True, and path info altering = True from (pid=18285) __init__ /usr/lib/
2011-03-25 13:18:00,222 DEBUG routes.middleware [-] Initialized with method overriding = True, and path info altering = True from (pid=18285) __init__ /usr/lib/
2011-03-25 13:18:00,224 AUDIT extensions [-] Initializing extension manager.
2011-03-25 13:18:00,226 DEBUG extensions [-] Extended resource: extensions from (pid=18285) __init__ /build/
2011-03-25 13:18:00,228 DEBUG routes.middleware [-] Initialized with method overriding = True, and path info altering = True from (pid=18285) __init__ /usr/lib/
2011-03-25 13:18:00,237 DEBUG routes.middleware [-] No route matched for GET /v1.1/flavors/1 from (pid=18285) __call__ /usr/lib/
2011-03-25 13:18:00,252 DEBUG routes.middleware [-] Matched GET /flavors/1 from (pid=18285) __call__ /usr/lib/
2011-03-25 13:18:00,252 DEBUG routes.middleware [-] Route path: '/flavors/:(id)', defaults: {'action': u'show', 'controller': <nova.api.
2011-03-25 13:18:00,252 DEBUG routes.middleware [-] Match dict: {'req': <Request at 0x9d2bbec GET http://
-------
=======
FAIL: test_extended_
-------
Traceback (most recent call last):
File "/build/
self.
AssertionError: 200 != 501
-------
2011-03-25 13:17:59,748 DEBUG routes.middleware [-] Initialized with method overriding = True, and path info altering = True from (pid=18285) __init__ /usr/lib/
2011-03-25 13:17:59,748 AUDIT extensions [-] Initializing extension manager.
2011-03-25 13:17:59,750 DEBUG extensions [-] Extended resource: extensions from (pid=18285) __init__ /build/
2011-03-25 13:17:59,752 DEBUG routes.middleware [-] Initialized with method overriding = True, and path info altering = True from (pid=18285) __init__ /usr/lib/
2011-03-25 13:17:59,768 DEBUG routes.middleware [-] No route matched for POST /servers/1/action from (pid=18285) __call__ /usr/lib/
2011-03-25 13:17:59,850 DEBUG routes.middleware [-] Matched POST /servers/1/action from (pid=18285) __call__ /usr/lib/
2011-03-25 13:17:59,850 DEBUG routes.middleware [-] Route path: '/servers/
2011-03-25 13:17:59,850 DEBUG routes.middleware [-] Match dict: {'req': <Request at 0xa0981ec POST http://
-------
=======
FAIL: test_get_resources (nova.tests.
-------
Traceback (most recent call last):
File "/build/
self.
AssertionError: 200 != 404
-------
2011-03-25 13:17:59,998 DEBUG routes.middleware [-] Initialized with method overriding = True, and path info altering = True from (pid=18285) __init__ /usr/lib/
2011-03-25 13:17:59,999 AUDIT extensions [-] Initializing extension manager.
2011-03-25 13:18:00,001 DEBUG extensions [-] Extended resource: extensions from (pid=18285) __init__ /build/
2011-03-25 13:18:00,002 DEBUG routes.middleware [-] Initialized with method overriding = True, and path info altering = True from (pid=18285) __init__ /usr/lib/
2011-03-25 13:18:00,004 DEBUG routes.middleware [-] No route matched for GET /foxnsocks from (pid=18285) __call__ /usr/lib/
2011-03-25 13:18:00,012 DEBUG routes.middleware [-] No route matched for GET /foxnsocks from (pid=18285) __call__ /usr/lib/
-------
this is becasue the FOXNSOX extension is missing.
Related branches
- Sandy Walsh (community): Approve
- Dan Prince (community): Approve
- Vish Ishaya (community): Approve
- Jay Pipes (community): Approve
-
Diff: 51 lines (+26/-8)2 files modifiednova/api/openstack/extensions.py (+11/-8)
nova/tests/api/openstack/extensions/__init__.py (+15/-0)
Changed in nova: | |
importance: | Undecided → High |
status: | New → In Progress |
assignee: | nobody → Soren Hansen (soren) |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → 2011.2 |
status: | Fix Committed → Fix Released |