Commit Graph

6173 Commits

Author SHA1 Message Date
Tony Breeds 2e64f284c6 Retire Packaging Deb project repos
This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).

Change-Id: I06945b7d85ded52044899b712d90c151d1c0fcf2
2017-09-12 15:36:58 -06:00
zhang-shaoman 12d63a4192 Fix inspect_vnics error for libvirt
In function inspect_vnics for libvirt, rx_drop and rx_errors have wrong
position, and tx_drop and tx_errors are the same.

This change is to fix this mistake.

Change-Id: Iab7dade8be7778371f6847b22f5dbec438d7fff7
Closes-Bug: #1706264
2017-07-25 15:31:09 +08:00
Jenkins 5a08978e61 Merge "Remove old maintainers" 2017-07-25 01:00:01 +00:00
Jenkins 91e7483ed1 Merge "explicitly note sanitize_timestamp return condition" 2017-07-24 19:54:28 +00:00
Jenkins 16aa05075c Merge "Docs: update the path of "meters.yaml" and its new feature" 2017-07-24 18:37:28 +00:00
Jenkins 1cb8a376eb Merge "Migrate telemetry-events" 2017-07-24 18:28:26 +00:00
Jenkins b18a328d42 Merge "Update URL home-page in documents according to document migration" 2017-07-24 18:28:19 +00:00
Jenkins 058f15eadd Merge "Add some unit test cases" 2017-07-24 18:28:08 +00:00
Jenkins 5da70bca08 Merge "Move "test_versions.py" to the directory of functional test." 2017-07-24 18:28:02 +00:00
Jenkins 88f1051c0f Merge "Add memory swap metric" 2017-07-24 18:27:55 +00:00
Jenkins 776d872668 Merge "Add some unit test cases" 2017-07-24 18:06:40 +00:00
Jenkins 8fb595d0b5 Merge "expect oslo.messaging messages" 2017-07-24 17:59:41 +00:00
Jenkins de8fc6ff1d Merge "doc: move install guide to main doc dir" 2017-07-21 19:39:40 +00:00
Jenkins 3cd6e315bf Merge "doc: move old dev docs to contributor section" 2017-07-21 19:39:33 +00:00
Jenkins 86c7ae2a21 Merge "doc: initial index cleanup" 2017-07-21 19:35:56 +00:00
Jenkins b2b405b6f7 Merge "Project_id for SDN controller meters" 2017-07-21 18:17:36 +00:00
Jenkins 45d6f10d39 Merge "Gnocchi support for SDN controller meters" 2017-07-21 16:59:44 +00:00
Jenkins a863b22a03 Merge "Ceilometer meter support to collect network statistics." 2017-07-21 14:57:11 +00:00
Jenkins 239cb3dbf6 Merge "High precision rate of change timedelta" 2017-07-21 12:41:20 +00:00
Mehdi Abaakouk 75e10b2a48 High precision rate of change timedelta
The current way to calculate rate of change is not precise at all and
depends on the local host clock. So, we have good chance that the host
clock derive a bit between each polling. Also the timestamp is polling
cycle run and not the exact polled sample.

This makes the rate of change transformer not accurate, and maybe wrong
if the local clock have jumped to much or if a pollster make to much
time to get the stats (libvirt reconnection, ...).

A sample gets a new attribute monotonic_time, where we can store an
accurate polling time using monotonic.monotonic().

In rate of change transformer, if the monotonic time is available we use
to calculate the time delta between samples.

For instance metrics, we set monotonic_time as soon as we poll it from
libvirt, avoiding almost all precision issue.

That makes the rate of change precise to the nanoseconds for polled
samples, while keeping the timestamp identical for all samples polled
during one cycle.

Related-bug: #1527620
Change-Id: I40e14fb6aa595a86df9767be5758f52b7ceafc8f
2017-07-20 16:45:20 +02:00
Maxime Guyot 0f3a86232b Specify region when looking for radosgw admin URL
When using ceilometer-polling in a multiregion rgw setup, the
wrong endpint is selected and results in an RGWAdminAPIFailed

Change-Id: I6b28f796eacd8b3b33eb58fe05a81b2178165d9f
Closes-Bug: #1705233
2017-07-19 12:26:50 +02:00
gord chung 7f22c5bee0 doc: move install guide to main doc dir
Change-Id: Ifa323f9e4044dfd683c0bfd110a41ca9986601ef
2017-07-18 20:20:11 +00:00
gord chung 082368a6f2 remove templates
they're just placeholders for nothing.

Change-Id: I1b0779ec33ffa0ba15b302e7908986074e9a44fa
2017-07-18 20:01:13 +00:00
gord chung ebb1fd5930 doc: move old dev docs to contributor section
Change-Id: I8d1fdd540577c318f7d041ddcfdccab3d979ad55
2017-07-18 19:45:53 +00:00
gord chung f4e8e081a7 doc: initial index cleanup
Change-Id: Iaced40b8afb2813823efa7bccab3823c68bafec9
2017-07-18 19:11:21 +00:00
Deepthi V V bd81d3536e Project_id for SDN controller meters
Enable project_id config from SDN controller drivers.
Current code Project_id was set to None. With this commit,
project_id will be set by the driver. Existing drivers will set project_id
to None. OpenDayliht v2 driver will set project_id as the uuid of the
tenant owning the port for port meters and admin tenant id for switch,
switch.port and table meters.

Change-Id: I0e65d25e71d2d258ff0db76f020924170f380ec2
Implements: blueprint network-statistics-from-opendaylight
Closes-Bug: #1369428
2017-07-19 00:39:12 +05:30
Deepthi V V 5621e1cc32 Gnocchi support for SDN controller meters
Change-Id: Ice633b842698b3ed69676686bfc75e60e5690624
Implements: blueprint network-statistics-from-opendaylight
2017-07-19 00:38:56 +05:30
Deepthi V V ae0716c6d0 Ceilometer meter support to collect network statistics.
1. Add port.* meters for collecting neutron port statistics.
2. Unit tests for port.* meters and switch.ports meter

Change-Id: I89e43e275f902faaf6ad59f6ff16ba786e6f372d
Implements: blueprint network-statistics-from-opendaylight
2017-07-19 00:37:53 +05:30
Jenkins 58057667ec Merge "Docs: switch to openstackdocstheme" 2017-07-18 16:23:20 +00:00
Jenkins 5a04926012 Merge "Add event definition for manila" 2017-07-17 22:34:26 +00:00
Jenkins 7c94d44880 Merge "Remove the explanation of nonexistent parameter" 2017-07-17 11:42:10 +00:00
Jenkins ef21d748dd Merge "tempest: Use primary user token" 2017-07-17 11:19:00 +00:00
Hangdong Zhang 50f39e0044 Docs: update the path of "meters.yaml" and its new feature
The file has been moved from ceilometer/meter/data/meters.yaml to
ceilometer/data/meters.d/meters.yaml, in order to support loading
multiple meter definition files.

So I think it is necessary to update the info in doc.

Change-Id: I6e2dbe36cd6a3cf2c198dfbdffe696a954a57820
Related-Bug: #1479775
2017-07-17 18:08:17 +08:00
Hanxi Liu 62eaf9d4f5 Docs: switch to openstackdocstheme
Project documents are being reprocessed due to document migration[1].
Update the docs theme to openstackdocstheme instead of oslosphinx.

[1] https://review.openstack.org/#/c/472275/

Change-Id: I505d837cc4e60356497cd37a8c9a12f846ffdf0d
2017-07-17 15:48:44 +08:00
Jenkins 23416f22c9 Merge "cap cpu_util" 2017-07-17 07:29:49 +00:00
wbluo0907 aca261349b Remove the explanation of nonexistent parameter
Change-Id: Ib9b8eb4a3c9e20612e0675a3f2688dd662a1524a
2017-07-17 09:20:19 +08:00
chenxing ebbd1eff56 Update URL home-page in documents according to document migration
Change-Id: I580b2c0b726b161821507e7198324c4c10e8a8d9
2017-07-14 16:15:14 +00:00
zhang-shaoman f8c243f448 Add memory swap metric
Add memory swap metric for VM, including:
memory.swap.in
memory.swap.out

Change-Id: Ia529fe7cb2df41099f62052089332d138cb3dedb
Implements: blueprint add-memory-swap-metric
2017-07-14 10:22:22 +08:00
Hangdong Zhang 670bcca5fa Move "test_versions.py" to the directory of functional test.
Change-Id: I1f21533e153c7470403a8a9334e7e2d2d0599c15
Closes-Bug: #1703299
2017-07-14 09:41:00 +08:00
Jenkins 8f1223b309 Merge "api: remove unused code" 2017-07-13 21:00:02 +00:00
Hanxi Liu dafacbd15a Remove interval reference to pipeline
interval is polling's parameter and it has been move to that file.

Change-Id: I78a66db1ca35e78f898a8c253c96c53e67c081b3
2017-07-13 23:26:43 +08:00
Julien Danjou 26d474dc37 api: remove unused code
Change-Id: I8d5578bedd1dd787cc85d40d8ed8a71d9f1c7a03
2017-07-13 17:25:20 +02:00
Mehdi Abaakouk 73d57d0525 tempest: Use primary user token
This change uses an non-admin user for the autoscaling tests.

This should avoid future bug like
https://bugs.launchpad.net/aodh/+bug/1703824

Change-Id: Ia8b5244aee9b6fedb9f205c32fef968e12061e37
2017-07-13 13:42:57 +02:00
chenxing bc92f32bfa Update Documentation link in README
Change-Id: I5cad9758ea519a05ba3e494b29dbcb411a3782e3
2017-07-12 13:11:09 +00:00
Hangdong Zhang fc220f59ae Add some unit test cases
For class TenantDiscovery in ceilometer/agent/discovery/tenant.py

PS: use project instead of tenant.

Change-Id: I1efea9f6eb0ee8f03e775253bb37bfd3bd05e2dd
2017-07-12 09:31:13 +08:00
Jenkins 7471bbf3a7 Merge "Don't check libvirt exception if libvirt is absent" 2017-07-11 20:33:24 +00:00
Jenkins df50841b52 Merge "Migrate telemetry-best-practices" 2017-07-11 19:40:33 +00:00
Jenkins 0972df767d Merge "Limit the default numbers of metrics polled" 2017-07-11 18:45:33 +00:00
Jenkins 81ce135081 Merge "Migrate telemetry-data-retrieval" 2017-07-11 16:05:22 +00:00
Jenkins ecab66ccb4 Merge "Migrate telemetry-data-collection" 2017-07-11 16:04:54 +00:00