PROXY_AUTH_URL in remote.py gets the default config value in the taskmanager
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack DBaaS (Trove) |
Fix Committed
|
Medium
|
Unassigned |
Bug Description
Seems PROXY_AUTH_URL is initialized too early, so it gets the default value of trove_auth_url, instead of the configured value.
Add the following debugging to remote.py:
.
.
.
def nova_client(
LOG.
.
.
.
And you'll get at start:
2017-03-23 12:44:46.293 23287 INFO trove.common.remote [-] nova_client proxy_auth_url: http://
This manifests into errors in a periodic task. This bug is somewhat related to https:/
Changed in trove: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Well, seems the problem is that taskmanager.Manager initialized when RpcService (common/ rpc/service. py) is initialized (don't know if it is import_object or trace_cls, it is also strange to see that the RPC endpoints are read from a profiler??).