4319 Commits

Author SHA1 Message Date
Chris Dent
048021417e Make the gabbi tox target work with modern tox
passenv is required so that database configuration environment
variables are properly available to the tests.

Change-Id: I44050f7bbfdd27b4e4e729d23f3f8e29899d14ca
Closes-Bug: #1494339
2015-09-10 14:12:52 +00:00
Jenkins
f410db9bd7 Merge "Updated from global requirements" 2015-09-10 03:50:56 +00:00
Jenkins
49f2b0cce4 Merge "Update event_definitions for Cinder Image Cache" 2015-09-10 02:06:53 +00:00
OpenStack Proposal Bot
78ac0560d9 Updated from global requirements
Change-Id: Ibe467b363a0403b74d9f0ed527aa6f4f202a2394
2015-09-09 23:59:52 +00:00
Jenkins
fcb1102c3f Merge "Update install docs" 2015-09-09 19:39:03 +00:00
Patrick East
3bac98f1af Update event_definitions for Cinder Image Cache
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
2015-09-09 11:33:21 -07:00
Jenkins
14986ee67d Merge "Add a py34-functional tox target" 2015-09-09 16:47:02 +00:00
Pradeep Kilambi
1dbfc24ba7 Update install docs
Suggest only rabbit as a recommended messaging.
qpid is not widely used anymore.

Change-Id: I8ce8236532e394d7e6d656fb27f7155f4113b3de
2015-09-09 11:30:15 -04:00
Jenkins
4b1ead72f9 Merge "restrict admin event access" 2015-09-09 15:04:19 +00:00
Jenkins
66b9b26bb1 Merge "Use b64encode to replace of encodestring" 2015-09-09 13:20:22 +00:00
Jenkins
2e96b159cf Merge "remove duplicate log exception message" 2015-09-09 10:22:00 +00:00
liu-sheng
c8f4e4bef6 Use b64encode to replace of encodestring
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
2015-09-09 16:24:10 +08:00
Jenkins
dd9eef416b Merge "doc: update notification_driver" 2015-09-08 20:05:10 +00:00
Jenkins
2fc2bfb42e Merge "polling: remove deprecated agents" 2015-09-08 20:05:06 +00:00
Jenkins
d67fac6d71 Merge "Spelling mistake of comment in api/controllers/v2/query.py" 2015-09-08 19:49:10 +00:00
Jenkins
4c4665d70d Merge "integration: Add debugging information" 2015-09-08 13:02:38 +00:00
ZhiQiang Fan
9b82f68667 remove duplicate log exception message
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
2015-09-08 04:26:02 -07:00
xiangjun li
a1c2b20ad0 Spelling mistake of comment in api/controllers/v2/query.py
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
2015-09-08 17:34:11 +08:00
Jenkins
a7f326122e Merge "Updated from global requirements" 2015-09-08 08:56:55 +00:00
Takashi NATSUME
358be922d7 Fix typos in gnocchi.py and converter.py
intance => instance
defintion => definition

Change-Id: I0544cf82d215f3a85aba94bb52f25b6da57fed37
2015-09-08 12:01:14 +09:00
OpenStack Proposal Bot
7f6b506bb0 Updated from global requirements
Change-Id: I0c79e069338028beaa02e62ba6c7064b50d2c7ec
2015-09-07 21:53:05 +00:00
OpenStack Proposal Bot
f94a72ae2b Updated from global requirements
Change-Id: I10bdb31b204e1861a75a0d8935482688040158ce
2015-09-07 15:13:07 +00:00
Chris Dent
4b822121fa Add a py34-functional tox target
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
2015-09-07 12:01:41 +00:00
Julien Danjou
7cf967795d doc: update notification_driver
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
2015-09-07 12:39:56 +02:00
Jenkins
3833bbd2d1 Merge "Sync devstack plugin with devstack:lib/ceilometer" 2015-09-07 08:26:46 +00:00
Julien Danjou
43e07a393d polling: remove deprecated agents
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
2015-09-07 10:20:29 +02:00
liu-sheng
99ff7bd939 Fix string in limit warning
A space missed in limit warning

Change-Id: Ia557114009e8cd622f40613c5f3ee44a88c89831
Closes-Bug: #1492402
2015-09-07 09:25:43 +08:00
Lianhao Lu
5657531353 Typo fixing
Change-Id: I70b565f6cbb465fa3cc8fc9ad064e17c48a5bc8e
2015-09-06 10:33:45 +08:00
Jenkins
69f1694247 Merge "missed entrypoint for nova_notifier removal" 2015-09-04 22:59:21 +00:00
Jenkins
4fcb80c8ee Merge "Change tox default targets for quick use" 2015-09-04 19:19:03 +00:00
Jenkins
089496e449 Merge "Imported Translations from Transifex" 2015-09-04 19:18:54 +00:00
Jenkins
361837fe89 Merge "Fix links in README.rst" 2015-09-04 18:37:42 +00:00
Jenkins
cbcba91d7d Merge "Migrate the old snmp pollsters to new declarative pollster" 2015-09-04 18:31:33 +00:00
gordon chung
879151a94b missed entrypoint for nova_notifier removal
i messed up. entrypoint was not removed so now it's throwing error
on startup.

Change-Id: I1ad1f2b61ce1f5275e9014ec4036270c5463c456
Closes-Bug: #1491603
2015-09-04 08:41:38 -04:00
OpenStack Proposal Bot
d35da05f84 Imported Translations from Transifex
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I8fe8960cc5dc9a6c950ee367f07fad98e6032808
2015-09-04 06:16:24 +00:00
venkatamahesh
8eac13e55d Fix links in README.rst
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
2015-09-04 11:18:33 +05:30
Jenkins
f20e063e63 Merge "gnocchi: cleanup instance resource definition" 2015-09-04 04:58:11 +00:00
Jenkins
75437406e1 Merge "fix metadata for compute cpu notifications" 2015-09-04 01:31:33 +00:00
Jenkins
1499ab88b5 Merge "support custom metadata" 2015-09-04 01:31:06 +00:00
Jenkins
9ec064d8d7 Merge "Adding liusheng to MAINTAINERS" 2015-09-04 00:53:46 +00:00
Jenkins
5993c7ca5e Merge "Adding pradk to MAINTAINERS" 2015-09-04 00:53:37 +00:00
Jenkins
66458813bc Merge "deprecate db2 nosql driver" 2015-09-04 00:28:20 +00:00
Jenkins
2601c6b828 Merge "Support to load pollsters extensions at runtime" 2015-09-04 00:08:23 +00:00
Jenkins
0ec90f1ad1 Merge "Requeuing event with workload_partitioning on publish failure" 2015-09-03 23:25:56 +00:00
Jenkins
429ebe3432 Merge "allow configurable pipeline partitioning" 2015-09-03 20:20:30 +00:00
Jenkins
577ffa8595 Merge "Added snmp declarative hardware pollster" 2015-09-03 19:15:26 +00:00
Jenkins
d8f63dbb22 Merge "remove old nova_notifier processing code" 2015-09-03 19:11:09 +00:00
Jenkins
e3ddaa3a6c Merge "Updated from global requirements" 2015-09-03 19:10:06 +00:00
Jenkins
5ffa165a11 Merge "Add user_id,project_id traits to audit events" 2015-09-03 18:10:19 +00:00
Mehdi Abaakouk
d858f0f67b integration: Add debugging information
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
2015-09-03 14:36:47 +02:00