Updated openstack/openstack
Project: openstack/ceilometer  79910daa7dca9a2538e5348ad590ae91f9bf2e57
null
Replace mongo aggregation with plain ol' map-reduce

Fixes bug 1262571

Previously, the mongodb storage driver an aggregation pipeline
over the meter collection in order to construct a list of resources
adorned with first & last sample timestamps etc.

However mongodb aggregation framework performs sorting in-memory,
in this case operating over a potentially very large collection.
It is also hardcoded to abort any sorts in an aggregation pipeline
that will consume more than 10% of physical memory, which is
observed in this case.

Now, we avoid the aggregation framework altogether and instead
use an equivalent map-reduce.

Change-Id: Ibef4a95acada411af385ff75ccb36c5724068b59
Updated openstack/openstack
Project: openstack/python-ceilometerclient  d5b9743fbaba40553f12bafef17bc9aa01493c8f
null
Python 3: fix test_sample_list

Change the counter_volume field of "fake" samples to get compatibility with
both Python 2 and 3.

In Python 2:

    >>> print(str(0.261666666666667))
    0.261666666667

In Python 3:
    >>> print(str(0.261666666666667))
    0.261666666666667

Change-Id: I4beed7aff7e89f891024975b9df9208c987dc87c
Updated openstack/openstack
Project: openstack/python-ceilometerclient  25887daa885e32de8524437edaff373de43fad95
null
client looking at wrong cacert argument name

fix so client consistently uses 'os_cacert' arg value instead of
either 'os_cacert' or 'cacert'

Change-Id: If5648855aefc7af64178249c270a9ac66907e466
Closes-Bug: #1266472
Updated openstack/openstack
Project: openstack/ceilometer  3eacf01a86249fb96784e00a4b6f00103b6b98c6
null
cacert is not picked up correctly by alarm services

related to bug 1266472 which changes client to look only at os_cacert arg.
update alarm services to use just os_cacert as well.

Change-Id: Id28a0838330296fe030fa7c4a35a216dd3e64bad
Closes-Bug: #1266477
Updated openstack/openstack
Project: openstack/python-ceilometerclient  c634f71b22b52f9030c0b42419b97535fdee5c90
null
Supports bash_completion for ceilometerclient

bash_completion feature can improve CLI user experience, projects like
nova, keystone, and cinder already support it.

NOTE: this patch just provides simple functionality, which means cache
for IDs and names is not used (like nova).

Change-Id: I1b04998a5e7c8818aed4b51f5fe5bf01efd0e14a
Closes-Bug: #1260939
Updated openstack/openstack
Project: openstack/ceilometer  38d2a8beb9b00c72a3c7c7242d3b6b6652195af6
null
tests: allow to skip if no database URL

This is needed for certain driver that we may not want to test if
there's no URL provided in the scenario, i.e. no environment variable
can be found.

Change-Id: I0301987885184ce1e2f83c10db99dba70450449a