enabling exist notifications cause auth errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack DBaaS (Trove) |
Fix Released
|
Medium
|
Doug Shelley |
Bug Description
I found that enabling the exist notifications caused issues in taskmanager creating an admin_nova_client. There were auth issues mainly because of the urls had the tenant_id set to the tenant_name. By setting the management_url on the client like below, I was able to get the list of servers from the nova client api but then the flavor look up failed. I set the bypass_url on the client and then i was able to get the flavor info and get an exist event logged successfully.
- trove-taskmanag
nova_proxy_
nova_proxy_
nova_proxy_
notification_driver = log
exists_
report_interval = 2
exists_
notification_
nova_compute_url = http://
- trove/common/
def create_
"""
Creates client that uses trove admin credentials
:return: a client for nova for the trove admin
"""
client = create_
# client.
tenant_id = "1a1b67e3b11b4d
client.
client.
return client
description: | updated |
Changed in trove: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: liberty-rc-potential |
Changed in trove: | |
milestone: | none → liberty-rc2 |
Changed in trove: | |
status: | Fix Committed → Fix Released |
Changed in trove: | |
milestone: | liberty-rc2 → 4.0.0 |
This impacts the ability for ceilometer to integrate with and consume the trove.instance. exists event.