[Openstack] [Ceilometer/Heat in Havana]: Should autoscaling groups work already?

Eoghan Glynn eglynn at redhat.com
Thu Sep 12 07:03:31 UTC 2013



Hi Juha,

The problem you're encountering is a known restriction of the sqlalchemy storage
driver, which doesn't yet provide the capability to select the statistics for the
given Heat autoscaling group on which the scale up/down alarms are based (the so-
called metaquery feature).

In order for this feature to be present in the ceilometer API service, you'll need
to use the mongodb storage driver instead.

Thanks,
Eoghan 

----- Original Message -----
> Hi,
> 
> I met the problem when tried to be using autoscaling groups in heat templates
> with havana (see:
> https://bugs.launchpad.net/heat/+bug/1223710 )
> 
> Can anyone confirm whether the autoscaling should already work with havana?
> 
> Currently the evaluation of the ceilometer alarm/meter data seems to be
> failing:
> 
> 
> 
> ceilometer-alarm-singleton:
> ======================
> 2013-09-11 10:16:28.074 5326 INFO ceilometer.alarm.threshold_evaluation [-]
> initiating evaluation cycle on 3 alarms
> 2013-09-11 10:16:28.108 5326 ERROR ceilometer.alarm.threshold_evaluation [-]
> alarm stats retrieval failed
> ...
> 2013-09-11 10:16:28.108 5326 TRACE ceilometer.alarm.threshold_evaluation File
> "/opt/stack/python-ceilometerclient/ceilometerclient/v2/statistics.py", line
> 29, in list
> 2013-09-11 10:16:28.108 5326 TRACE ceilometer.alarm.threshold_evaluation
> '/v2/meters/' + meter_name + '/statistics',
> 2013-09-11 10:16:28.108 5326 TRACE ceilometer.alarm.threshold_evaluation
> TypeError: cannot concatenate 'str' and 'NoneType' objects
> 
> ceilometer-api:
> ===============
> 2013-09-11 10:16:28.221 4500 ERROR wsme.api [-] Server-side error: "metaquery
> not implemented". Detail:
> Traceback (most recent call last):
> 
> File "/usr/local/lib/python2.7/dist-packages/wsmeext/pecan.py", line 70, in
> callfunction
> result = f(self, *args, **kwargs)
> 
> File "/opt/stack/ceilometer/ceilometer/api/controllers/v2.py", line 693, in
> statistics
> for c in computed]
> 
> File "/opt/stack/ceilometer/ceilometer/storage/impl_sqlalchemy.py", line 517,
> in get_meter_statistics
> query = self._make_stats_query(sample_filter, groupby)
> 
> File "/opt/stack/ceilometer/ceilometer/storage/impl_sqlalchemy.py", line 468,
> in _make_stats_query
> return make_query_from_filter(query, sample_filter)
> 
> File "/opt/stack/ceilometer/ceilometer/storage/impl_sqlalchemy.py", line 137,
> in make_query_from_filter
> raise NotImplementedError('metaquery not implemented')
> 
> NotImplementedError: metaquery not implemented
> 
> 
> Many thanks,
> -Juha
> 
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 




More information about the Openstack mailing list