[openstack-dev] [Openstack-dev] [Ceilometer] Adding Alarms gives error

Somanchi Trinath-B39208 B39208 at freescale.com
Fri Sep 20 10:44:14 UTC 2013


Hi Julien-

Thanks a lot for the reply.

I still have the following issue:

2013-09-20 15:12:58.116 21869 ERROR wsme.api [-] Server-side error: "'Alarm' object has no attribute 'None_rule'". Detail: 
Traceback (most recent call last):

  File "/usr/local/lib/python2.7/dist-packages/wsmeext/pecan.py", line 72, in callfunction
    result = f(self, *args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/ceilometer/api/controllers/v2.py", line 1286, in post
    change = data.as_dict(storage.models.Alarm)

  File "/usr/local/lib/python2.7/dist-packages/ceilometer/api/controllers/v2.py", line 1080, in as_dict
    d['rule'] = getattr(self, "%s_rule" % self.type).as_dict()

AttributeError: 'Alarm' object has no attribute 'None_rule'

10.10.10.100 - - [20/Sep/2013 15:13:06] "POST /v2/alarms HTTP/1.1" 500 135



>From Ceilometer client I'm not sending any "None_rule" attribute. But then, Is API appending any thing ... ?

Kindly help me resolve the issue.



--
Trinath Somanchi - B39208
trinath.somanchi at freescale.com | extn: 4048

-----Original Message-----
From: Julien Danjou [mailto:julien at danjou.info] 
Sent: Thursday, September 19, 2013 6:31 PM
To: Somanchi Trinath-B39208
Cc: OpenStack Development Mailing List
Subject: Re: [openstack-dev] [Openstack-dev] [Ceilometer] Adding Alarms gives error

On Thu, Sep 19 2013, Somanchi Trinath-B39208 wrote:

> I get the following error when I create an alarm.

I think this is bug #1227264 that got fixed a few hours ago, you may want to update your copy of Ceilometer.

--
Julien Danjou
-- Free Software hacker - independent consultant
-- http://julien.danjou.info




More information about the OpenStack-dev mailing list