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
Fix to tackle instances without an image assigned

fixes bug #1233103

Change-Id: I4d4d7bdff09b6748e14ebac8293050513fb18ed2
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
tests: pass /dev/null as config for mongod

On certain system, such as Darwin, the default mongod binary is a
wrapper adding a default configuration file. Let's specify that there's
no configuration file to read, otherwise a log file is used instead of
stdout.

Change-Id: I56c72cd61399405fd57d6e3f2b1f53ca6a395835
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
Remove unused imports

Remove unused imports in tools/make_test_data.py

Change-Id: I2ea455aa2d665461ac7e087854f66e8c1c6fc950
Closes-Bug: #1268092
Fix use the fact that empty sequences are false

For sequences(strings, lists, tuples), in order to consistent with
pep8 recommendations, 'if len(seq)' should be replaced with 'if seq',
and 'if not len(seq)' should be replaced with 'if not seq'.

Change-Id: Ie7b6afbde07bb57a05b36d92a079c5355945b262
Closes-Bug: #1265688
Update ceilometer.conf.sample

Due to python-keystoneclient update.

Change-Id: Ie683d3fbf8086d2be6a2fbe19374b8d31abaf976
Closes-bug: #1268614
Merge "Update ceilometer.conf.sample"
Trivial typo

Change-Id: If77c9afd493a2a91a853a3826d7465f21d81d343
Insertion in HBase should be fixed

* All data inserted to HBase should be String or Unicode
* Data stored in HBase is flatten

Fixes bug 1240474

Change-Id: Ic36f5460275de3c829a7b27932bde284d71bd806
Merge "Replace mongo aggregation with plain ol' map-reduce"
Merge "cacert is not picked up correctly by alarm services"
Merge "tests: allow to skip if no database URL"
Merge "Fix to tackle instances without an image assigned"
Use DEFAULT section for dispatcher in doc

Section of dispatcher is moved to DEFAULT in Icehouse, it is in
collector section in Havana but already deprecated. The
doc/source/install/manual.rst still put it in collector section
which seems not good.

Change-Id: I2c5c16c2ffe0dabd19966fc79ad88e418a43a6fd
Closes-Bug: #1269521
Fix to handle null threshold_rule values

check if threshold_rule and combination_rule values
are None and raise the right error in the validation
method instead of propagating it further causing
unhandled exceptions.

fixes bug #1238453

Change-Id: I70a397c89d974e489fd0ccc4ab28d73aed51443f
Implement the /v2/samples/<sample-id> API

This is a simple implementation of the new sample endpoint in the API.
It provides raw accesses to the samples collected by Ceilometer, without
imposing any kind of filtering on the meter name.

The patch is about retreiving only one sample with the id.

The fields are also correctly named this time.

Change-Id: Ifdd7f024b066407cd42ec0572385f97acd312125
Blueprint: sample-api
Remove dependencies on pep8, pyflakes and flake8

They should be determined by the hacking dependency
implicitely.

Change-Id: Ie61a97d5ed26bb8cab04df686a4a2d1df9976f1d
Update oslo

This updates Oslo to the latest commit
997ab2776c9cad033234e28a92fb7bc0ef5bc4c0

It removes the test_service test file, as the behavior of restarting on
SIGHUP is dependent of openstack.common.service which has changed
recently, is already tested as part of oslo.incubator's tests.

Change-Id: I389c690f4febe9c69c1e2c39cd16961635469c75