determining oslo_config_project changed in commit f8c150a9cc9b407b2df87244daf3342177260e90
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Aodh |
Invalid
|
Undecided
|
Unassigned | ||
keystonemiddleware |
Fix Released
|
High
|
Thomas Herve |
Bug Description
I'm installing aodh from master repo. I'm using following configuration for aodh.conf:
[DEFAULT]
debug = True
log_dir = /var/log/aodh
rpc_backend = rabbit
[oslo_messaging
topics = notifications
[oslo_policy]
policy_file = /etc/aodh/
[service_
auth_url = http://
region_name = RegionOne
project_name = services
password = 470ba4223ca94df3
project_domain_id = default
user_domain_id = default
username = aodh
auth_type = password
[oslo_messaging
rabbit_host = 127.0.0.1
rabbit_port = 5672
rabbit_use_ssl = True
rabbit_userid = guest
rabbit_password = guest
[keystone_
auth_uri = http://
project_domain_name = Default
project_name = services
user_domain_name = Default
password = 470ba4223ca94df3
username = aodh
auth_url = http://
auth_type = password
[database]
connection = mongodb:
[api]
pecan_debug = False
When i try to list alarms (or any other api call), i get following error from cli:
# aodh alarm list
Traceback (most recent call last):
File "/usr/lib64/
msg = self.format(record)
File "/usr/lib64/
return fmt.format(record)
File "/usr/lib64/
record.message = record.getMessage()
File "/usr/lib64/
msg = str(self.msg)
File "/usr/lib/
formatted_
AttributeError: 'ClientException' object has no attribute 'http_status'
Logged from file app.py, line 351
And i see following messages in apache error log:
[Tue Jun 21 14:02:14.399675 2016] [:error] [pid 1333] [remote 192.168.121.96:212] return self.request(url, 'GET', **kwargs)
[Tue Jun 21 14:02:14.399679 2016] [:error] [pid 1333] [remote 192.168.121.96:212] File "/usr/lib/
[Tue Jun 21 14:02:14.399685 2016] [:error] [pid 1333] [remote 192.168.121.96:212] return func(*args, **kwargs)
[Tue Jun 21 14:02:14.399690 2016] [:error] [pid 1333] [remote 192.168.121.96:212] File "/usr/lib/
[Tue Jun 21 14:02:14.399696 2016] [:error] [pid 1333] [remote 192.168.121.96:212] resp = send(**kwargs)
[Tue Jun 21 14:02:14.399700 2016] [:error] [pid 1333] [remote 192.168.121.96:212] File "/usr/lib/
[Tue Jun 21 14:02:14.399707 2016] [:error] [pid 1333] [remote 192.168.121.96:212] raise exceptions.
[Tue Jun 21 14:02:14.399722 2016] [:error] [pid 1333] [remote 192.168.121.96:212] SSLError: SSL exception connecting to https:/
Note that it's trying to connect to https:/
If i revert keystonemiddleware to a commit before https:/
For example using, https:/
# aodh alarm list
+------
| alarm_id | type | name | state | severity | enabled |
+------
| f2d98900-
+------
Changed in aodh: | |
status: | New → Invalid |
Changed in keystonemiddleware: | |
importance: | Undecided → High |
summary: |
- aodh fails with keystonemiddleware after commit + determining oslo_config_project changed in commit f8c150a9cc9b407b2df87244daf3342177260e90 |
It's actually an issue in keystonemiddleware with the patch you linked.