passenv is required so that database configuration environment
variables are properly available to the tests.
Change-Id: I44050f7bbfdd27b4e4e729d23f3f8e29899d14ca
Closes-Bug: #1494339
With the new Image-Volume cache added in to Cinder there will be some
new notifications sent from the Cinder services. This adds new event
definitions for them.
Change-Id: Ice70049dd13018be863eee8f3ba02d977e5ab88c
Closes-Bug: #1493960
The encodestring() method is used to encode a string, and return a string
containing one or more lines of base64-encoded data. For meter_id, the
return is same as b64encode() method except an extra trailing newline
('\n').
Change-Id: Ia14747ff0b4c643b33ed99da7fa422480f0f8095
Closes-Bug: #1271530
Currently, when we poll hardware related metrics, if Keystone(Apache) or
Nova is down, the central agent will print many exception logs such as:
ConnectionError: ('Connection aborted.', error(111, 'ECONNREFUSED'))
with very long stack trace, but they are all same information.
This is because when we poll metrics, we discover the resources first,
if succeed, then we cache it, if fail, we do not cache it. So in such case,
each metrics will fail at discover steps, then log exception each time.
And actually we have wrapped instance_get_all with a log decorator, which
means each metrics will log twice.
So this patch removes duplicate exception messages by adding a try...except
block in hardware discovery, if there is any exception, we just return an
empty list, so agent can record this result in cache. Finally the log file
will only have one full stack trace exception message for all the hardware
metrics.
The disadvantage of such change is that when Keystone and Nova suddenly become
OK, then we will lose some data can possible collect. But from another
perspective, if in a singe interval, some hardware metrics have data but some
not is not a consistent thing to end user, so I think in such case we drop some
part of data (especially it is in start process or unstable status) is acceptable.
Change-Id: I0045a556cde274be8e4ba6c155d3f59b4e0d5b2c
Closes-Bug: #1493057
In line 51 of ceilometer/api/controllers/v2/query.py,
the comment:
"List of single-element dicts for specifing the ordering
of the results."
Should be:
"List of single-element dicts for specifying the ordering
of the results."
Change-Id: I5384cafa1dbf834589a42883f9a6bdf25b5e7f86
Closes-Bug: #1493268
Run the functional tests against python3.4 with 'tox
-epy34-functional'.
hbase is not supported in py34 so there are fewer tests run when
compared with the py27 functional tests.
Change-Id: I68ee3e09a446d449e947c87985c10944fbea93ba
The documentation is outdated in regard on how to configure the
notification driver. This patch fixes that by using the `messsagingv2'
driver.
Change-Id: Ifa36a7a8b958095281493542dd623fa59eb2e2c6
We have deprecated the agents for a while now in favor of the
ceilometer-polling tool, let's update the doc for good and remove them.
Depends-On: I4a2a982d4153a31971a5f1a1b504b96ce29236f9
Change-Id: I7447ba4f408c95b0acf1b809504ce16fff1c6e21
i messed up. entrypoint was not removed so now it's throwing error
on startup.
Change-Id: I1ad1f2b61ce1f5275e9014ec4036270c5463c456
Closes-Bug: #1491603
Plugin samples link is updated with
openstack repository and "doc" in
link is removed. And link for rally
gates is updated
Change-Id: I8a380fea7bdb66f94af7f1819f6c9cba1e13c0fc
Closes-Bug: #1491982
In case of debugging a failure having the last stack errors
the nova instances list and the alarm list help.
This change adds them.
Change-Id: Ic3f51533341f4fe2b44c5b6dbe0538ef3a53cc91