Ceilometer can't redirect to aodh API
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-ceilometerclient |
Invalid
|
Undecided
|
Unassigned |
Bug Description
My initialization has the such form :http://
I create alarm via ceilometerclient: http://
After that i have such error: http://
We have to add aodh_endpoint in LEGACY_OPTS section in client.py. : http://
In order to reproduce this bug I recommend that you do the following steps:
1. Create a virtual env on a machine where internal network can be reached.
$ virtualenv venv
$ source venv/bin/activate
$ pip install python-
$ python
>>> from keystoneclient.v2_0 import Client as KeystoneClient
>>> from keystoneauth1.
>>> from keystoneauth1.
>>> from ceilometerclient.v2 import client as ceilometer_client
>>>
>>> keystone_auth = V2Password(
>>> keystone_session = KeystoneSession
>>> keystone_access = keystone_
>>> ceilometer = ceilometer_
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/
self.
File "/home/
**kwargs)
File "/home/
super(
File "/home/
return wrapped(*args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'aodh_endpoint'
This problem was reproduced on ceilometerclient 2.4.0 but i can't see this issue when i use 2.5.0 version.
description: | updated |
Changed in python-ceilometerclient: | |
status: | Incomplete → Invalid |
This sounds like you're not using the API correctly. If you have a complete and minimal script that can reproduce the issue, it'd be easier to help.