Hi, On Fri, Sep 20, 2013 at 10:44:14AM +0000, Somanchi Trinath-B39208 wrote: > 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 ... ?
The alarm json representation have been changed a bit, the ceilometerclient will be backward compatible, the review that offer the backward compatibility is not yet merged: https://review.openstack.org/#/c/46707/ About the error message itself, a issue in wsme make the error message is not the excepted one. I'm currently writting a workaround to ensure the good error message and return code are returned. Regards, -- Mehdi Abaakouk mail: [email protected] irc: sileht
signature.asc
Description: Digital signature
_______________________________________________ OpenStack-dev mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
