6675 Commits

Author SHA1 Message Date
Witold Bedyk
9586972ddd Migrate to stestr for running tests
stestr is recommended by OpenStack Project Testing Interface for running tests
[1]. This change migrates to stestr for running unit tests and coverage
job. Modified `cover` env allows running it as Zuul job and visualising
its results in Gerrit.

[1] https://governance.openstack.org/tc/reference/pti/python.html#python-test-running

Change-Id: I9e8b79d7a18cd36946daff10abb1a2f43b1aa3a1
2018-07-30 10:37:34 +02:00
Mehdi Abaakouk
a74978619e Remove unused tox target
Change-Id: Ia2079aa316aa23f7577c94f009fc1af727dac3ab
2018-07-26 11:39:37 +00:00
Mehdi Abaakouk
eef19f6b7c Add gating on py37
Change-Id: I248c7ff3e306fa1086920c24baa73312e5e31b91
2018-07-26 07:07:39 +02:00
Julien Danjou
0c69979e0f udp: remove wrong and useless tests
Those tests do not work on systems that are able to create AF_INET6 socket for
IPv4 addresses (e.g. Darwin). They also don't test anything since they're just
mocking stuff to check the logic.

Change-Id: I2205b969db09760dd96cfbc0fd701896ef944cf4
2018-07-18 09:25:09 +02:00
Julien Danjou
4e4459d57a Add support for Python 3.7
Change-Id: I3b880cbf1de13d61d557cde2be70a1efe07761ba
2018-07-18 09:25:09 +02:00
Mehdi Abaakouk
0fce8e48a3 publisher: allow to not inherit from ConfigPublisherBase
Change-Id: I9bb2f392bcdd5d920a8f0db883766e5439d7de73
2018-07-17 13:33:41 +00:00
Zuul
c721cffb01 Merge "Remove deprecated gnocchi_dispatcher option group" 2018-07-03 14:35:00 +00:00
Julien Danjou
c567258979 Remove deprecated gnocchi_dispatcher option group
Change-Id: Ic8d1a0c56e4bfd04d468c9f4a38236d29f4fe4f8
2018-07-03 13:26:55 +00:00
Zuul
c97f5958ba Merge "polling: remove useless base class" 2018-06-29 14:16:49 +00:00
Zuul
42c1702ce6 Merge "gnocchi: don't create metrics with resource" 2018-06-29 13:13:09 +00:00
Mehdi Abaakouk
826ba35c6e gnocchi: don't create metrics with resource
Ceilometer creates metrics that will never get measures (service not
polled, notification not configured).

This is because we create all metrics during resource creation. That was
done sometimes ago because Gnocchi was not provide metrics creating
during batching process.

But since a while now, we also create metrics (if missing) during the
batch processing.

This change removes the creation of metrics during resource creation.
All metrics with measures got created during the batch call.

This stops to have metric without measures in Gnocchi.

Change-Id: I3f3b805722b11029aefdb76bae93413cb32ecff6
2018-06-28 10:38:08 +02:00
Julien Danjou
64e2699ea1 polling: remove useless base class
Change-Id: I7c5a248089b9f6dad8952f302ac99e6525054d82
2018-06-27 13:11:22 +02:00
OpenStack Proposal Bot
4ae919c96e Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I95df9f07b61d2e3cda69717ce692b0d39f1ef936
2018-06-23 07:27:46 +00:00
Dao Cong Tien
b4fa19d7a0 Remove dead link in doc file
doc/source/contributor/install/manual.rst was removed
by https://review.openstack.org/#/c/530930/.

Change-Id: I64b89e51d051c30e6e1a5e43b4549b02445e4e30
2018-06-21 10:45:17 +07:00
Christian Zunker
122128707a Fix broken link to ceph radosgw usage logging docs
Change-Id: Ib94057b83c658f1b434f85f22e312b05369979be
Closes-Bug: 1776149
2018-06-11 07:01:29 +02:00
Doug Hellmann
8f068ebbd3 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I6f1df527590d7b9ffdf7dd97c0fedf27f11b9e21
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-06-06 16:05:57 -04:00
Dao Cong Tien
1c02e4bf2f Wrong block format in rst file
This bug causes the following code-blocks cannot be rendered.

Change-Id: I591ee2e557b0824e4ffb9f9ded6f11dcee0f5e92
2018-05-30 14:12:36 +07:00
wangqi
3387eb2183 del unused module
Change-Id: I1bb4ac082537fe0fd40542fee2c73deed208e5f5
2018-05-17 08:23:00 +00:00
caoyuan
ff6747f360 Adjust the controller installation position
As usual, we install the controller node before compute node, the
docs should be optimise

Change-Id: Icc6e6976872d59b7a50436a17ed0e01ed50311dc
2018-05-15 15:12:58 +08:00
Zuul
b0c735dce1 Merge "fix typos" 2018-05-15 03:13:01 +00:00
wangqiangbj
e5d808f6fa fix typos
fix misspelling of word 'available'

Change-Id: I7b4de4a4eecc587cfe372caeeb02a6dc61cef865
2018-05-14 19:39:00 +08:00
Chen Hanxiao
2dee485da7 inspector: memory: use usable of memoryStats if available
Since kernel v4.6, virtio balloon driver commit 5057dcd0f
introduced metric VIRTIO_BALLOON_S_AVAIL,
corresponding to 'Available' in /proc/meminfo.
Libvirt exposed this metric as 'usable'.

As 'Available' of meminfo is an estimate of how much memory
is available for starting new applications, without swapping.

It's a better metric for calculating memory_usage.

Change-Id: I3b935f1fc2ed74ca45b26990c4f2bd5996e1dfea
Signed-off-by: Chen Hanxiao <chenhx@certusnet.com.cn>
2018-05-14 14:36:37 +08:00
Julien Danjou
93eca81e58 snmp: ignore rfc1905.NoSuchInstance result
If the SNMP polling return such a value, it should be ignored.

Change-Id: I275f43f8800d9477fedd100db68b48c93e7ad75d
2018-05-04 08:04:14 +00:00
Julien Danjou
7de90448e6 snmp: make oid value retrieval more solid
There's no need to try to convert before ignoring.

Change-Id: Ie9dcb63c43e7d69ce25aff62a2575b89f26ffca5
2018-05-02 16:24:30 +02:00
Zuul
500e34019f Merge "Replace Chinese punctuation with English punctuation" 2018-05-02 10:09:46 +00:00
inspurericzhang
ef92ac0a94 Replace Chinese punctuation with English punctuation
Curly quotes(Chinese punctuation) usually input from Chinese input method.
When read from english context, it makes some confusion.

Change-Id: I76f9d6102dbf72f234e10ba2ff426682011a5e79
2018-05-02 10:18:56 +08:00
Sam Morrison
145a00988e Remove restiction on allowable namespaces in polling.
Change-Id: Icc972d0880283d46ff97203c67816e1aa103d504
Closes-Bug: #1767939
2018-05-01 18:16:16 +10:00
OpenStack Proposal Bot
b83b8182af Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

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

Change-Id: Iba394f9cceae0f7e27fac06a90f7157476ac93fc
2018-04-23 07:17:46 +00:00
Zuul
7d1d402b80 Merge "Stop gnocchi during unstack" 2018-04-23 03:42:05 +00:00
Zuul
3d9045eb9c Merge "Unlist non existent storage.api.request" 2018-04-23 02:36:09 +00:00
Zuul
ef7ce2847a Merge "Remove liusheng and llu from the maintainers" 2018-04-23 02:33:53 +00:00
Zuul
d516c1923d Merge "Deprecating transformers and pipeline partitioning" 2018-04-20 11:44:24 +00:00
Mehdi Abaakouk
1dcbd607df Deprecating transformers and pipeline partitioning
Theses features doesn't work well, rate-of-change metrics can still
wrongly be computed even with Pipeline partioning enabled. Also backend
like Gnocchi offers a better alternative to compute them.

This deprecates these two features, to be able to remove them in a couple
of releases.

Change-Id: I52362c69b7d500bfe6dba76f78403a9d376deb80
2018-04-20 10:45:45 +02:00
Julien Danjou
3e6c6a1444 Unlist non existent storage.api.request
This metric has been removed in 2015 when the Ceilometer WSGI middleware has
been removed from this repository. The new ceilometermiddleware package does
not provide it.

Change-Id: Ib0aa454f3f14efa034491a0f113998cb598f9628
2018-04-20 09:31:24 +02:00
Pavlo Shchelokovskyy
cc337eaa00 Stop gnocchi during unstack
since it is ceilometer's devstack plugin who enables/starts gnocchi
services, it is appropriate to also stop them during unstack phase.

Change-Id: I97747a98ddb139a6f89fa54b4d17e0ca1d1bdf62
2018-04-18 13:27:17 +00:00
Zuul
ac594bb1af Merge "publisher: add a Prometheus Pushgateway publisher" 2018-04-17 12:59:07 +00:00
Mehdi Abaakouk
2b8052052d publisher: add a Prometheus Pushgateway publisher
This change adds a publisher to push metrics to Prometheus Pushgateway.

Change-Id: I7d5f39f036714ac1e36d3297ad58dd8498908a53
2018-04-17 09:50:08 +02:00
OpenStack Proposal Bot
a9cfcbdbcc Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I0a38e3eb0bf211c10510d78b9aae2eb99dbcfe57
2018-04-15 07:18:13 +00:00
Julien Danjou
b36016b481 Remove liusheng and llu from the maintainers
They have not contributed for >1 year.

Change-Id: Ide4223884c80177bf7471d61d3342e9ef7a12b00
2018-04-12 10:58:24 +02:00
Zuul
e9b7abc871 Merge "supplement "zakar" and "https" description" 2018-04-10 13:04:13 +00:00
lipan
3fb599f54c supplement "zakar" and "https" description
It was mentioned "7 different transports", but there just shows 5
transports. I supplement 2 missing transports "zakar" and "https".

Change-Id: If5db5e31f7c7d1101ccf4d285cfb67b5af1944cb
2018-04-10 19:16:46 +08:00
lipan
3b8c219a48 fix errors about words spelling.
There are some errors about words spelling. Others is about wrong
referend.

Change-Id: Id04788f2736e2782d888f49bb93751b95eab0a41
2018-04-10 16:52:59 +08:00
Zuul
754f39bdc1 Merge "Fix doc title format error" 2018-04-09 14:42:28 +00:00
Yuanbin.Chen
265357978f Fix doc title format error
Change-Id: I58c7fddc0d76b98471b4675e80a16a793c1abd24
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
2018-04-09 13:41:08 +08:00
Yuanbin.Chen
01c12d7626 Modify the empty list ensure method.
Change-Id: I1634d0df96578eecba47e990c1228df1170bf91a
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
2018-04-08 15:12:25 +08:00
OpenStack Proposal Bot
fb9d12b021 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I745b560b2856ee1991780d23b754f4fd863766e3
2018-04-04 06:14:36 +00:00
OpenStack Proposal Bot
5c244b0bc4 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I65e9f83213afe480e112b0c562908403a4bddeeb
2018-04-02 06:14:33 +00:00
Zuul
1530d292d2 Merge "fix a typo in documentation" 2018-04-02 00:22:00 +00:00
OpenStack Proposal Bot
f81fd7dde1 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ia9031712c5483e01700dd4449682b52457179676
2018-03-29 06:25:08 +00:00