203 Commits

Author SHA1 Message Date
Jenkins
c01d1f523e Merge "Fix broken IPMI agent" 2015-07-23 08:28:03 +00:00
Edwin Zhai
287738ba5f Fix broken IPMI agent
Use right oslo_rootwrap config to generate ceilometer rootwrap
scripts.

Change-Id: I9ba9cfab94d1c6f3d7e708c4460c286b209b128a
Closes-Bug:#1477115
2015-07-23 12:18:50 +08:00
Rohit Jaiswal
c2c3273c2d Handles dns.domain.exists event in Ceilometer
Ceilometer handles Designate CRUD notifications
as events, but not the exists notification.

This fix handles the exists notification as
event and sample for measurable audit interval.

Change-Id: I53d63cc4c8bcc6924afb0560bd8482d94e564895
Closes-Bug: 1474608
2015-07-20 17:23:01 +00:00
Rohit Jaiswal
014ee79698 add Trove(DBaaS) events
this patch adds support for Trove crud notifications
as events in ceilometer, and a notification plugin to
emit sample for the trove exists event.

Change-Id: I932941c88e7c8e9f059c97ec41ac098263e38803
Partially-Implements: blueprint track-dbaas-notifications
2015-07-16 05:35:14 +00:00
Mehdi Abaakouk
388cf641dc gnocchi dispatcher: fix typo in stevedore endpoint
This change fixes a typo in the stevedore endpoint of
the gnocchi dispatcher.

Change-Id: I6c7ca2750031fc917880c99a39a9773958ba9ed0
2015-07-10 11:18:55 +02:00
Jenkins
9e63086fa8 Merge "Switch to using pbr's autodoc capability" 2015-07-06 12:37:55 +00:00
liu-sheng
98581c243a Add handler of sample creation notification
This change add a notification handler of sample.create event, which is
emitted when posting samples via /v2/meters API. The sample's info is
include in the payload of notification.

Partially implements: blueprint api-no-pipeline

Change-Id: I3941b851249c0f70f864bae32da154819b3e5dd7
2015-06-24 17:11:59 +08:00
Jenkins
45f10f7f7c Merge "Update version for Liberty" 2015-06-22 18:38:35 +00:00
Doug Hellmann
8327f3e8c5 Update version for Liberty
Update the version for Liberty, switching from date-based versioning
to pre-versioning using SemVer. See
http://lists.openstack.org/pipermail/openstack-dev/2015-May/065211.html
and
http://lists.openstack.org/pipermail/openstack-dev/2015-June/067082.html
for details.

Change-Id: I6a35fa0dda798fad93b804d00a46af80f08d475c
2015-06-17 22:22:08 +00:00
Pradeep Kilambi
a61b6dfa80 Gnocchi Dispatcher support in Ceilometer
Moving dispatcher code from gnocchi to ceilometer.

Change-Id: Iaa9c31a4330b1bf40617afbab8be152a4103fca0
2015-06-17 10:04:33 -04:00
Julien Danjou
191f7bf9cc Remove deprecated Swift middleware
Change-Id: Ifd1861e3df46fad0e44ff9b5cbd58711bbc87c97
2015-06-09 18:05:19 +02:00
Julien Danjou
e312b24193 Switch to using pbr's autodoc capability
Change-Id: I1cc51cf60a1493ad3a964b3fff50d9a681fdc858
2015-06-09 11:17:11 +02:00
Chris Dent
d75a418ae9 Move eventlet using commands into own directory
The api server does not need and should not use eventlet since it is
now using a multi-process capable web server from Werkzeug so is
kept above the eventlet directory where eventlet overriding
happens.

Partially-Implements: blueprint remove-web-eventlet
Change-Id: I377a105a5e53c3c548354877cac477609bf06b63
2015-06-02 16:35:48 +01:00
Julien Danjou
d22044ae4e Remove oslo.messaging compat from Havana
Change-Id: I0922836a353eba3975a2311000792a7d4278b3e4
2015-05-25 07:27:45 +02:00
Gangyi Luo
99211307c5 Add hardware memory buffer and cache metrics
This patch aims to add two metrics to gather memory buffer and
memory cache information of a physical machine through SNMP
inspector.

Change-Id: Id9b953820a1e38c0f832405359a25015b6f20017
Implements: blueprint hardware-memory-buffer-and-cache-metrics
2015-05-06 01:13:19 +00:00
Jenkins
6474033a8a Merge "Drop use of 'oslo' namespace package." 2015-04-28 21:30:19 +00:00
Doug Hellmann
e41b259a1e Drop use of 'oslo' namespace package.
The Oslo libraries have moved all of their code out of the 'oslo'
namespace package into per-library packages. The namespace package was
retained during kilo for backwards compatibility, but will be removed by
the liberty-2 milestone. This change removes the use of the namespace
package, replacing it with the new package names.

The patches in the libraries will be put on hold until application
patches have landed, or L2, whichever comes first. At that point, new
versions of the libraries without namespace packages will be released as
a major version update.

Please merge this patch, or an equivalent, before L2 to avoid problems
with those library releases.

Blueprint: remove-namespace-packages
https://blueprints.launchpad.net/oslo-incubator/+spec/remove-namespace-packages

Change-Id: I2eeef93ee2e61a721c69f62add819f93f62f077d
2015-04-28 16:22:05 +00:00
Chris Dent
96c6e42bc8 Move ceilometer/cli.py to ceilometer/cmd/sample.py
This puts it in line with the other command line tools.

Change-Id: I5a9817af680ae66c1a705692f8d0570783b176c6
2015-04-22 16:06:26 +00:00
gordon chung
a8fe0dcbe7 remove deprecated partitioned alarm service
in Juno we deprecated the non-tooz based partitioned alarm service.
this patch removes this code so partitioning is handled solely by
tooz.

DocImpact
Change-Id: Ie1f1f6593e058167fd1aa1587cfe19f2b867d5e1
2015-04-21 10:27:16 -04:00
Thierry Carrez
d2311b2bd6 Open Liberty development
Bump pre-version in setup.cfg to formally open Liberty development.
Kilo release branch will be cut from the previous commit.

Change-Id: I7b6574c8a2a4fa847570bb608352af2f3a7225ad
2015-04-09 14:27:52 +01:00
Jenkins
ce4957801e Merge "Use old name of 'hardware.ipmi.node.temperature'" 2015-04-07 14:12:04 +00:00
Ildiko Vancsa
75a80ca0b5 Use old name of 'hardware.ipmi.node.temperature'
Use old name of the 'hardware.ipmi.node.temperature' as currently there
is no proper deprecation process for meters.

DocImpact

Partially Closes-Bug: #1439766

Change-Id: Ic71bcda4008f1b4090e0d9c8908201440abb02a4
2015-04-03 12:04:39 +02:00
Ildiko Vancsa
2fb046fb66 Revert "remove instance:<flavor> meter"
This reverts commit 88dcdb5d70c806b18aeb604040ee85e1ac8e7c51.
Partially Closes-Bug: #1439766

DocImpact

Change-Id: I59938b9129b23d140a443cf055ea73b3568f00d4
2015-04-03 09:52:51 +02:00
gordon chung
88dcdb5d70 remove instance:<flavor> meter
the groupby functionality allows you to group by instance_type which
allows for the equivalent functionality of this meter. we should
drop it so we avoid duplicating data.

see: I568b5ca3d84371c4fd3bbdfed7b3e801164dbc5e

DocImpact
Change-Id: Ia380a0b87999f32fd339bb3b596ec8e18fdff0fe
Closes-Bug: #1208365
2015-03-28 10:11:57 -04:00
Mehdi Abaakouk
58da530504 alarm: Use new gnocchi aggregation API
Since https://review.openstack.org/#/c/163462/ and
https://review.openstack.org/#/c/162649/4 in gnocchi, all kind of aggregations
have been moved in the same URI namespace (/v1/aggregation/...)
and we can use complex query to make aggregation across multiples metrics.

This change sync the ceilometer alarm API and Rules to match these
changes.

Change-Id: I015af585595e6880b527161fe5c8b34eeb7bfe29
2015-03-26 08:28:45 +01:00
vivek.nandavanam
a2c650b478 Add memory.resident libvirt meter for Ceilometer
The 'memory.resident' metric will expose the
physical hosts view of the amount of host memory that is actually used to
run the VM process

DocImpact: https://review.openstack.org/#/c/164724

Change-Id: I9f2ad784479f234679e1145efd96d9d707dd19d0
Implements: blueprint memory-resident
2015-03-13 16:29:07 -07:00
Komei Shimamura
1618ccd38f Add a Kafka publisher as a Ceilometer publisher
kafka publisher to support requeuing metering and event data to kafka MQ
for external consumption

Implements: blueprint kafka-publisher

Change-Id: I7f8727ef5a85627a5a605079b6acdcd0619f978c
2015-03-11 11:51:22 +00:00
Jenkins
df10a87ea7 Merge "alarming: add gnocchi alarm rules" 2015-03-10 12:03:54 +00:00
Edwin Zhai
8f78d80b5b Add more power and thermal data
Add airflow and CPU/Mem/IO utilization metric, which are critical to
show node usage statistics.

DocImpact

Change-Id: I92cf297b0fc2436c3530536e0c76fd69058369b0
Implements: blueprint power-thermal-data
2015-03-10 00:59:54 +00:00
Jenkins
8ee2f739bf Merge "api: move alarm rules into they directory" 2015-03-02 19:38:17 +00:00
gordon chung
29b2709256 add missing objectstore entry points
the ceilometermiddleware notifications are missing entry points. this
patch adds them. it also breaks the endpoint in two: one to build
real meters and one to build the request event meter.

Change-Id: I75ba73c150c0d9fa282d0388fb7178e351511097
Closes-Bug: #1425303
2015-02-24 18:24:01 -05:00
Swami Reddy
98005590ef Add ceph object storage meters
Implemented pollster classes to get the basic meters from ceph
object storage (i.e radosgw) and added corresponding unittests.

DocImpact

Co-Authored-By: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>

Change-Id: Ib90b1d5bbaa36760a2563a044ab256c045772e20
Implements: blueprint ceph-ceilometer-integration
2015-02-24 17:25:47 +05:30
Mehdi Abaakouk
4eedba6e80 alarming: add gnocchi alarm rules
Testing the API part of Gnocchi alarms within the Gnocchi tree is
a pain and doesn't really have senses.

So, this change moves the gnocchi alarms rules and evaluator that live
in Gnocchi tree to Ceilometer tree.

This also permits to add these new alarm rules into the documentation.

And add some tests that cannot be done on the gnocchi side.

DocImpact

Change-Id: I1bbc9f904d55b51cd1b3c51dcdfaf58f01bd9075
2015-02-23 16:57:43 +01:00
gordon chung
f02f7fd541 Revert "Add ceph object storage meters"
This reverts commit 9518c8f0c75673ea5ada7ab34af5325cbd0dabd1.

temporarily unblock gate: https://bugs.launchpad.net/ceilometer/+bug/1424657

Change-Id: I57bf5a969a2633c6cc68be9406e7008ab3b0cba9
2015-02-23 15:10:31 +00:00
Mehdi Abaakouk
0fdada1a10 api: move alarm rules into they directory
Change-Id: I5afee1010549a5da39eaff6ae813334db2cb4bde
2015-02-23 09:45:31 +01:00
Swami Reddy
9518c8f0c7 Add ceph object storage meters
Implemented pollster classes to get the basic meters from ceph
object storage (i.e radosgw) and added corresponding unittests.

DocImpact

Co-Authored-By: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>

Implements: blueprint ceph-ceilometer-integration

Change-Id: I0c71b88621e503863f153912b9c70371b194ed2c
2015-02-19 20:33:57 +05:30
Saba Ahmed
707c286cf5 Add Disk Meters for ceilometer
The new disk meter reading correspond to libvirt domblkinfo Statistics :
capacity, allocation and physical(usage) .

Storage meters per instance
disk.capacity = Disk Capacity for all the disks of the instance
disk.usage = Disk Usage for all the disks of the instance
disk.allocation = Disk Allocation for all the disks of the instance

Storage Meters per disk per instance
disk.device.capacity = Disk Capacity for each individual disk of an instance
disk.device.usage = Disk Usage for each individual disk of an instance
disk.device.allocation =Disk Allocation for each individual disk of an instance

DocImpact

Implements: blueprint disk-info-meters
Change-Id: Ie5accb8fb75b0d3a6641d090fa273fc8fe100ab3
2015-02-12 09:27:33 -05:00
Jenkins
459760a519 Merge "Drop deprecated namespace for oslo.rootwrap" 2015-02-10 12:28:50 +00:00
Edwin Zhai
b7426c545c Add local node resource for IPMI pollsters
Each pollster should have some resources for polling, but IPMI
pollster is an exception that talk with local IPMI HW directly by
ipmitool. Local node resource is faked resource that stands for
endpoint of localhost. With it, IPMI pollsters can be handled in the
same way as others.

Change-Id: Icda81ffa2334b764e7b508f26efd031f2a863e64
2015-02-06 14:59:48 +08:00
Mehdi Abaakouk
2e75325060 Use stevedore to load alarm rules api
Alarm rule evaluators are loadable with stevedore, but not the API side,
since wsme 0.6 it's now possible to do it.

This change adds that to allow to create a gnocchi alarm rule api and
evaluator in the gnocchi code tree.

This also move out the V2Controller API from __init__ to avoid
recursive import with stevedore.

Change-Id: I468f9f82b41eb7f4896dd93a8c62ce63b49535bb
2015-02-05 13:32:35 +01:00
Jenkins
ed1ec41861 Merge "Adds disk iops metrics implementation in Hyper-V Inspector" 2015-02-05 07:31:03 +00:00
gordon chung
cc7b8b4ecf add elasticsearch events db
this patch implements an elasticsearch driver for events.

Implements: blueprint elasticsearch-driver
Change-Id: Ie579f325685c14aed78d83de7c6d7bff326bc188
2015-02-03 22:58:07 -05:00
Adelina Tuvenie
e5cc81dc15 Adds disk iops metrics implementation in Hyper-V Inspector
Regarding the disk metrics, Hyper-V cannot collect read_requests or
write_requests metrics as the other inspectors do, but it can collect
the disk IOPS instead. This patch is targeted to Windows
Hyper-V / Server 2012 R2, Windows 8.1 or newer, since they introduced
disk metrics collection in Hyper-V.

This patch adds iops metrics implementation in Hyper-V Inspector as
well as disk iops and per disk iops pollsters.

DocImpact

Change-Id: I1c6b5d1f3d8b490f0c839124be18deac86979ae7
Implements: blueprint hyper-v-disk-iops-metrics
2015-02-03 18:47:11 +00:00
ChangBo Guo(gcb)
50bf0bc57a Drop deprecated namespace for oslo.rootwrap
The oslo team is recommending everyone to switch to the
non-namespaced versions of libraries.[1]
oslo.rootwrap suggests to use oslo_rootwrap.cmd:main.[2]

[1]https://blueprints.launchpad.net/oslo-incubator/+spec/drop-namespace-packages
[2]https://github.com/openstack/oslo.rootwrap#using

Change-Id: I94a58f45863141d5797b7f950ae5efa14fd88e85
2015-02-03 20:33:23 +08:00
Adelina Tuvenie
ef6f21ada7 Add disk latency metrics implementation in Hyper-V Inspector
High latency between I/O requests can be a sign of issues. Collecting
disk metrics can help detect those issues. Windows / Hyper-V Server
2012 R2 can collect those metrics. This patch adds a disk latency
metrics implementation for the Hyper-V Inspector as well as disk latency
and per device latency pollsters.

DocImpact

Change-Id: I1621fc7d4226ae1f46cdfca878e8b52487ca4379
Implements: blueprint hyper-v-disk-latency-metrics
2015-02-02 17:18:01 -08:00
gordon chung
de0c2944b7 add notifier publisher for events
this allows the ability for deployers to push events to MQ rather
than send data directly to a database. the notifier publisher
supports the same options as the sample publisher.

Change-Id: Ia2cdfe351dad2336bce8519da3e568f226a2593a
Implements: blueprint notification-pipelines
2015-02-02 15:21:46 +00:00
gordon chung
c834442ff2 enable event pipeline
this patch enables the event pipeline. by default the event pipeline
will publish events straight to db.

Implements: blueprint notification-pipelines
Change-Id: I7cad6dd39d50a42f2af347f79a24fc776d261896
2015-02-02 10:03:47 -05:00
Lianhao Lu
d2afd5d5cb Refactor ipmi agent manager
Refactor ipmi agent manager since central/compute agents have been merged.

Change-Id: I13492895dbcfcdf930e9a9407e73a86490893a03
2015-01-16 09:09:05 +08:00
Chris Dent
fbbb046ef8 Add a direct to database publisher
This direct publisher allows the pipeline to write samples
directly to the configured database without first needing to go
through the collector. This is useful for some testing scenarios
where we want to limit the number of required running services.

Implements: blueprint declarative-http-tests
Change-Id: I996cda43609695b7645b9fcf9554d3e928cb92a3
2015-01-14 15:08:15 +00:00
Jenkins
465f8c0d60 Merge "Match the meter names for network services" 2015-01-12 12:18:25 +00:00