pycadf doesn't work when service catalog is not set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pycadf |
In Progress
|
High
|
Unassigned |
Bug Description
pycadf middleware throws the following exception when it doesn't find service catalog in the request header.
776 ERROR pycadf.
2014-11-28 01:02:34.526 776 TRACE pycadf.
2014-11-28 01:02:34.526 776 TRACE pycadf.
2014-11-28 01:02:34.526 776 TRACE pycadf.
2014-11-28 01:02:34.526 776 TRACE pycadf.
2014-11-28 01:02:34.526 776 TRACE pycadf.
2014-11-28 01:02:34.526 776 TRACE pycadf.
2014-11-28 01:02:34.526 776 TRACE pycadf.
2014-11-28 01:02:34.526 776 TRACE pycadf.
2014-11-28 01:02:34.526 776 TRACE pycadf.
2014-11-28 01:02:34.526 776 TRACE pycadf.
This is especially true if the attribute 'include_
To replicate this problem, I did the following :
In /etc/nova/nova.conf file , I set this:
include_
In /etc/nova/
keystone = request_id faultwrap sizelimit authtoken keystonecontext audit osapi_compute_
[filter:audit]
paste.filter_
service_name = <ipaddress>:8774
Try some rest call like the below:
https:/
The above affects the capability to use auditing along with include_
Changed in pycadf: | |
assignee: | gordon chung (chungg) → nobody |
i think we can add an option(s) similar to service_name option we pass in above...
i'm thinking maybe:
target_ service_ name service_ type service_ xxxx
target_
target_
where if anyone is defined. we consider it a service_catalog override and we'll just build service info based on given options rather than attempting to search service_catalog.