hbase metaquery support

- move HBase configuration comment to docs

- store metadata in resource table with prefix "r_"

- get_resources and get_meters, get_samples support metaquery

- enable api v1 metaquery tests

Change-Id: I3285bb420283c2385e6f340ff30e951d58dcb450
Implements: blueprint hbase-metadata-query
Fixes: bug #1146655
Rename requires files to standard names

requested by infra.

bug 1179008

Change-Id: Id27f574a023792c287ed4e11aa869cb50857aa8f
ImagePollster record duplicate counter during one poll

When using ImagePollster to poll image status from Glance, there might
be duplicate image status event recorded down if there are private
images together with public images stored in Glance.

In Glance, the get image list API looks like:
    def _get_images(self, context, filters, **params):
        ...
 # NOTE(markwash): for backwards compatibility, is_public=True for
 # admins actually means "treat me as if I'm not an admin and show
 # all my images"
        if context.is_admin and params.get('is_public') is True:
            context.is_admin = False
            del params['is_public']
        ...
The above code shows that if a user is of 'admin_role'(this option is
configured in the glance-api.conf)  and querying for public images,
Glance will return all the public images together with the private
ones

While in ceilometer/image/glance.py#_Base.iter_images method,
ceilometer get the image list by querying public and private images
respectively and then chain the result lists together. This causes
the duplication of image in the image list.

This fix changes the code in ImagePollster.get_counters method to
filter out the duplicate images based on their image id.

Change-Id: Ib5e213161043033c20195efc0c6e7edd78982bd6
Fixes: Bug 1180630
Imported Translations from Transifex

Change-Id: I6c4c2a6b31ca6cfb5a8a6a1bbd327b414f205346
Mark sensitive config options as secret.

Avoid these values inadvertently leaking into logs.

Change-Id: Iec3a683f8aeca265143ac450f5153f3d10dba1c5
Don't use pecan to configure logging

Fixes bug #1184941

openstack.common.log gives a mechanism to configure logging and, by
default, we will set up a handler on root logger. Using pecan to also
configure a handler on the 'ironic' logger means every log message gets
logged to console twice.

It seems that the pecan logging configuration stuff is redundant with
our existing logging configuration infrastructure.

Change-Id: Iec0630b0e842e3b6a90021bf552d9b857c5a0552
Log configuration values on API startup

It's very helpful for every service to log its configuration values on
startup, so you can e.g. check typos.

Also, change the print statements in the API binary to info logs.

Change-Id: I1b4181ddc7f36149cddb2c24f514d526c403b2e0
Allow specifying a listen IP

Fixes: Bug #1183314

- Update api options in ceilometer/api
- Create 'api' option group
- Read options in bin/ceilometer-api
- Update sample config
- Updated tests

Change-Id: Ic76d95f262ac9b0675cf37698c9bcdf65aff9821
Merge "Don't use pecan to configure logging"
Merge "Log configuration values on API startup"
doc: fix hyphens instead of underscores for 'os*' conf options

The ceilometer documentation, on the configuration page,
list some options with hyphens (e.g. 'os-tenant-id') which are unknown options:
underscores are required instead (e.g.: 'os_tenant_id').

Fixes: bug #1177002
Change-Id: Iea9c53f628df0b3bed06206e9b2241ed949131fa
Merge "Imported Translations from Transifex"
Update oslo, use new configuration generator

Change-Id: I28f079a3466a247bce7b4614db3e4c960d769ed7
Signed-off-by: Julien Danjou <julien@danjou.info>
Switch to sphinxcontrib-pecanwsme for API docs

Move the ceilext code into a separate package
so it can be worked on and reused by other
projects using Pecan and WSME.

The new package is being added to the requirements
list under https://review.openstack.org/29149.

Change-Id: If38a69ed8ef654e75bb29da998fbb731143c506c
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Merge "ImagePollster record duplicate counter during one poll"
Merge "doc: fix hyphens instead of underscores for 'os*' conf options"
Merge "Allow specifying a listen IP"
Merge "Update oslo, use new configuration generator"
Merge "hbase metaquery support"
Imported Translations from Transifex

Change-Id: Ib722fb8a51d9eb32c2747fb17ebbe894f68549e9