unable to create alarm using aodh
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-aodhclient |
New
|
Undecided
|
Unassigned |
Bug Description
I have installed devstack on ubuntu 16.04 and aodh and trying to create alarm using aodh
Created mysql aodh db as well.
stack@enm:
stack@enm:
(aodh) alarm create --name test --type event --event-type compute
object of type 'NoneType' has no len() (HTTP 400) (Request-ID: req-93aebd4c-
Could not clean up: 'description'
with debug enable
(aodh) stack@enm:
REQ: curl -g -i -X GET http://
Starting new HTTP connection (1): 10.0.2.15
"GET /v2.0 HTTP/1.1" 200 335
RESP: [200] Content-Length: 335 Vary: X-Auth-Token Keep-Alive: timeout=5, max=100 Server: Apache/2.4.18 (Ubuntu) Connection: Keep-Alive Date: Tue, 28 Mar 2017 13:58:33 GMT Content-Type: application/json x-openstack-
RESP BODY: {"version": {"status": "stable", "updated": "2014-04-
Making authentication request to http://
"POST /v2.0/tokens HTTP/1.1" 400 101
Request returned failure status: 400
object of type 'NoneType' has no len() (HTTP 400) (Request-ID: req-d9760dbc-
Traceback (most recent call last):
File "/usr/local/
result = cmd.run(
File "/usr/local/
column_names, data = self.take_
File "/usr/lib/
alarm=
File "/usr/lib/
data=
File "/usr/lib/
return self.client.
File "/usr/local/
return self.request(url, 'POST', **kwargs)
File "/usr/lib/
**kwargs)
File "/usr/local/
return self.session.
File "/usr/local/
return func(*args, **kwargs)
File "/usr/local/
auth_headers = self.get_
File "/usr/local/
return auth.get_
File "/usr/local/
token = self.get_
File "/usr/local/
return self.get_
File "/usr/local/
self.auth_ref = self.get_
File "/usr/local/
return self._plugin.
File "/usr/local/
authenticat
File "/usr/local/
return self.request(url, 'POST', **kwargs)
File "/usr/local/
return func(*args, **kwargs)
File "/usr/local/
raise exceptions.
BadRequest: object of type 'NoneType' has no len() (HTTP 400) (Request-ID: req-d9760dbc-
'description'
Traceback (most recent call last):
File "/usr/local/
self.
File "/usr/lib/
print(
KeyError: 'description'
Traceback (most recent call last):
File "/usr/bin/aodh", line 10, in <module>
sys.
File "/usr/lib/
return AodhShell(
File "/usr/local/
result = self.run_
File "/usr/local/
self.
File "/usr/lib/
print(
KeyError: 'description'
affects: | aodh → python-aodhclient |