can not set auth_endpoint in run time. (options.set_defaults)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
castellan |
Fix Released
|
Undecided
|
Sungjin Yook |
Bug Description
Problem statement:
================
When trying to override keytone endpoint as
options.
The application using castellan module errors out as shown below:
/System/
Traceback (most recent call last):
File "/Users/
options.
TypeError: set_defaults() got an unexpected keyword argument 'auth_endpoint'
Process finished with exit code 1
Proposal:
=========
It's important that application should be able to override auth_endpoint in runtime.
Another use case is .. some application can not afford to have a configuration file under /etc/castellan. So, this ability of overriding default attribute in runtime is really valuable, especially keystone endpoint.
Adding configurables(i.e. auth_endpoint and so on) to options.
summary: |
- can not set auth_endpoint and other config in run time. + can not set auth_endpoint and others in run time. (options.set_defaults) |
description: | updated |
Changed in castellan: | |
assignee: | nobody → Sungjin Yook (sungyook) |
description: | updated |
description: | updated |
Changed in castellan: | |
status: | New → Confirmed |
summary: |
- can not set auth_endpoint and others in run time. - (options.set_defaults) + can not set auth_endpoint in run time. (options.set_defaults) |
description: | updated |
Changed in castellan: | |
status: | Confirmed → In Progress |
Reviewed: https:/ /review. openstack. org/244809 /git.openstack. org/cgit/ openstack/ castellan/ commit/ ?id=132200244f7 41aee5a887c0844 56f8b9c637c9cd
Committed: https:/
Submitter: Jenkins
Branch: master
commit 132200244f741ae e5a887c084456f8 b9c637c9cd
Author: Sungjin Yook <email address hidden>
Date: Thu Nov 12 12:33:26 2015 -0600
Can not set auth_endpoint in runtime
In rumtime castellan should be able to set auth_endpoint using options. set_defaults( ) /bugs.launchpad .net/castellan/ +bug/1515388
which is critical for application to be able to adjust endpoint in runtime.
https:/
Change-Id: Ie918dcc4d28ec3 507559e1b0c2189 95f6809c364
Closes-Bug: 1515388