6657 Commits

Author SHA1 Message Date
Mehdi Abaakouk
36414e1ceb Add new attributes to instance
This change adds launched_at/started_at/deleted_at attribute to instance.

Rely on started_at/ended_at of Gnocchi to known when the operation have
done is not precise. Nova records the exact time of this event, just
copy them to Gnocchi.

Change-Id: If7870fd525d1ef58e4c2dbbbf93525bab3623b0f
2018-02-27 16:14:19 +01:00
Zuul
84726b4cb0 Merge "capture cell name" 2018-02-27 10:41:43 +00:00
Zuul
b4ff3c7f91 Merge "add ipmi sensor data to gnocchi" 2018-02-27 10:33:53 +00:00
Zuul
c3bb0400d0 Merge "hyper-v: Converts all os-win exceptions" 2018-02-27 10:33:52 +00:00
Zuul
5c39766071 Merge "fix meter formating" 2018-02-26 14:27:25 +00:00
OpenStack Proposal Bot
a2a04f05a1 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I927c46ef4d937300c18375a5429a66d9db37ffe4
2018-02-26 07:50:27 +00:00
OpenStack Proposal Bot
133030d272 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I9603f587f4e19bb9775a0702709dc59d9360655a
2018-02-23 07:44:03 +00:00
Zuul
9a6b885624 Merge "add disk.device.*.latency meters" 2018-02-23 00:47:23 +00:00
Zuul
1ca6a03025 Merge "remove ceilometerclient references" 2018-02-23 00:47:21 +00:00
Claudiu Belu
e2a3542fe8 hyper-v: Converts all os-win exceptions
When os-win was first introduced, a decorator which converts all os-win
exceptions to virt inspector exceptions has been added to the
HyperVInspector.

However, the decorator works as intended for methods that return values,
and not for the ones that yield (they return a generator).

This patch makes sure that exceptions are converted properly for yielding
methods as well.

Closes-Bug #1751088

Change-Id: I7d09e1860c6940758f0d0965fedfe4dd285e0cae
2018-02-22 18:11:49 +02:00
Zuul
305f502ec1 Merge "Remove deprecated rgw meters" 2018-02-22 14:53:16 +00:00
gord chung
6e5f19fbcf remove integration playbooks
this is defined in telemetry-tempest-plugin

Change-Id: Idc5ceee2c1cf1fec6c13bcabfbe52d926d6a755a
2018-02-21 09:26:30 -05:00
gord chung
daf6716cbd fix meter formating
Change-Id: I81b2c275f3173f70f170e875e6e348666c0f684b
2018-02-20 19:31:54 +00:00
Lars Kellogg-Stedman
050b5293b3 the previous patch was missing a 'continue'
This commit puts a try/except AttributeError block around all the code
that is fetching attributes on the result of metadata_xml.find(...).

Change-Id: I41aa76cf9def3e8c4bceef0280d15c1fd7c48e3d
Closes-Bug: #1749960
2018-02-17 00:01:01 -05:00
Lars Kellogg-Stedman
d2af7e9ece Gracefully handle missing metadata in libvirt xml
Missing metadata in the libvirt domain xml for a nova instance would
cause ceilometer-compute to abort, leading to missing metrics for the
current and any subequent libvirt guests.

This commit puts a try/except AttributeError block around all the code
that is fetching attributes on the result of metadata_xml.find(...).

Change-Id: I8adc609cc21c86de2daba326d24b73a80d6eb61f
Closes-Bug: #1749960
2018-02-16 09:01:54 -05:00
Zuul
4f265a4744 Merge "ignore compute.instance.update for metrics" 2018-02-14 17:46:59 +00:00
gord chung
8fdd19e78a add disk.device.*.latency meters
it's missing from docs and gnocchi

see: I0235087af459278b9ad0a66f95c4e4c4ac72e112

Change-Id: If2bad05c52c636c728c95ab6e9520cb6467a99e1
2018-02-13 21:21:14 +00:00
gord chung
f17ba4f9de remove ceilometerclient references
it's gone.

Change-Id: Ibbe3f62714fa76e9b4338eeb507e35ad620208c8
2018-02-12 15:32:25 -05:00
gord chung
35f6533999 avoid verbose tracebacks on known errors
- log that no pollsters loaded rather than throwing error
- ipmi are expected to be missing as note says, just debug logs
with details rather than massive traceback.

Closes-Bug: #1747536
Change-Id: Ib592c84dca017e94c66aad0170f0317e514fd747
2018-02-12 16:48:50 +00:00
gord chung
8e06ebcecf update ipmi docs
- add install instructions
- fix docs to better show ipmi meters from notifications(ironic)
and pollsters(ipmitool/node manager)

Closes-Bug: #1746736
Change-Id: Ia83b56006e201bb0f8681ac1299387fb2ee6bdb6
2018-02-09 21:59:14 +00:00
gord chung
663c523328 add ipmi sensor data to gnocchi
we've been missing this data for a while.

Change-Id: I0df15c3e2f4ce98a41320a711e1f18d2c5d7c34d
Related-Bug: #1746736
2018-02-09 19:12:27 +00:00
Zuul
01670dfcb4 Merge "Fix glossary.rst" 2018-02-09 17:19:34 +00:00
Zuul
5349338114 Merge "Update reno for stable/queens" 2018-02-08 13:44:52 +00:00
David Rabel
8b88de99b9 Fix glossary.rst
Fix indentation:
Wrong indentation formats text as block quote.

Remove unrelated ceilometer definition.

Change-Id: I92a661b4c9b74a680504cc824a3b958c71f2570d
2018-02-08 09:01:22 +00:00
Julien Danjou
dd1b7abf32 Remove deprecated rgw meters
Change-Id: Ia1e8466d613acfc5ccfa29cc44bf101afb0e5e88
2018-02-08 09:46:55 +01:00
Thomas Bechtold
2452958be4 Use msgpack instead of msgpack-python
msgpack-python got renamed to msgpack (see
https://pypi.python.org/pypi/msgpack-python/0.5.1) and msgpack-python
is deprecated now.
This is important because other requirements already switched to
msgpack (eg. oslo.serialization) and installing both in parallel is
not possible for Distros.

Change-Id: I603eadbc2a5e1705375050920d5f1631c51a5a02
Closes-Bug: #1743445
2018-02-08 07:25:41 +01:00
aae12957e3 Update reno for stable/queens
Change-Id: I83009738c0f013580106dc6dcc05a8391919dc14
2018-02-08 02:27:13 +00:00
Zuul
46aee0a864 Merge "add hardware.disk.read|write.* stats" 2018-02-07 20:58:18 +00:00
Zuul
a4c8866900 Merge "utils: move hash_of_set where it's solely used" 2018-02-07 04:24:30 +00:00
Zuul
416196b75a Merge "Imported Translations from Zanata" 2018-02-07 04:24:28 +00:00
Zuul
c44759fc4e Merge "utils: move kill_listeners to ceilometer.notification" 2018-02-06 21:41:42 +00:00
Zuul
575049e600 Merge "add volume.provider.* meters to docs" 2018-02-06 20:22:46 +00:00
Zuul
d86651edc0 Merge "Remove bundled intree ceileometer tempest plugin" 2018-02-06 07:59:09 +00:00
OpenStack Proposal Bot
758fd2c157 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I173ccdf966a78697fde223b930c112cdbe0b3b3b
2018-02-06 06:07:05 +00:00
gord chung
9f7878eed0 add hardware.disk.read|write.* stats
enable read|write hardware stats via snmp

see: http://www.circitor.fr/Mibs/Html/U/UCD-DISKIO-MIB.php

Change-Id: I98bad10df94539a711382bef6a48163660a79bba
2018-02-05 19:57:36 +00:00
Zuul
2ff3f4d950 Merge "add volume provider resource types to gnocchi" 2018-02-05 17:30:14 +00:00
Zuul
4f16f37fe7 Merge "support cinder capacity statistics" 2018-02-05 17:30:13 +00:00
Zuul
4eef117da1 Merge "add note explaining gnocchi coordination_url" 2018-02-05 16:53:14 +00:00
Zuul
5a3558751d Merge "Deprecate aggregated disk.* metrics on instance" 2018-02-05 16:52:04 +00:00
gord chung
b10076d03c add volume.provider.* meters to docs
Change-Id: I3f562bc5b6e5690a74ab22af82be720c605fb08b
Implements: cinder-capacity-notifications
2018-02-05 16:43:57 +00:00
gord chung
bd60ada44a add note explaining gnocchi coordination_url
Change-Id: I632663679d0649e1d5912aef98a65c610fdeaac2
Partial-Bug: #1745806
2018-02-05 14:30:21 +00:00
gord chung
cc6ebb496b capture cell name
see: 24152a8f8f/nova/notifications/base.py (L434)

i'm not adding meter because cell_name doesn't exist in libvirt
metadata so libvirt_metadata polling will never find it.

Change-Id: I58e35261e23041f640b73fecc1e4082db067abe9
2018-02-05 13:46:29 +00:00
Zuul
a923837c11 Merge "Zuul: Remove project name" 2018-02-02 23:09:37 +00:00
Mehdi Abaakouk
1e673a64b9 Deprecate aggregated disk.* metrics on instance
disk.* are just aggregates of disk.device.*. We
basically build the same think twice.

It's up to the backend (ie: Gnocchi) to aggregate them
if someone want the aggregate.

Change-Id: I612b575004f65665f8630f19f56c2fb3637448fd
2018-02-02 08:13:55 +01:00
gord chung
192620941c ignore compute.instance.update for metrics
nova sends *.update events in between create.start and create.end
events and it might not have a host name (which we need). in reality
to any changes to vcpus/memory/root_gb/ephemeral_gb metrics will
either send a *.resize notification and/or require a reboot which
sends it's own notification. because of that, just ignore
*.update notifications

Change-Id: I1f975c2d73adfc19126d70bdb1ab452e37b278fd
closes-bug: #1718290
2018-01-31 20:04:35 +00:00
Julien Danjou
5d39206cf0 utils: move hash_of_set where it's solely used
Change-Id: I5a842da34c1c2cf96eb24b2d086f5992c4990af1
2018-01-31 12:22:13 +01:00
Julien Danjou
8197bb21c3 utils: move kill_listeners to ceilometer.notification
Change-Id: I9da63dcf30c11b58298c6db89090fe9e27a8065a
2018-01-31 12:22:13 +01:00
OpenStack Proposal Bot
1a152e1498 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I0cd3f7a4b19b1b447626f7190e9a42ba19865a96
2018-01-31 07:31:12 +00:00
gord chung
236cfbeea6 set cache with attributes only
only the attributes of a resource may change so there's no reason
to capture the entire resource in cache. this means we don't need
to cache if no attributes.

this also changes code so we only compute attribute_hash once.

Change-Id: I1363e0b0dc6e0957a7e933536b67737bd3496cbd
2018-01-30 16:36:19 +00:00
xqk
02a012660a Cached should not be used when creating gnocchi resources
Once I delete resource manually by gnocchi client,
the resource won't be created by the ceilometer until 600s passed,
because the resource has cached in the memcached.

Change-Id: I601e39b4c4782276daba3f9d1b7be92f09efabfc
Closes-Bug: #1718570
2018-01-30 14:41:41 +00:00