Commit Graph

5951 Commits

Author SHA1 Message Date
OpenDev Sysadmins a447ae1017 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:31:06 +00:00
Thomas Goirand 262b09db5c fix the default port to 8777
* Also fix the default port to 8777 as it should (instead of the default
    port 8000 which is wrong).

Change-Id: I771b9d7cbf55cbcfd682e9aa678f88eb89646b6d
2017-04-28 18:04:23 +02:00
Thomas Goirand e72ef7c7bd Fix ceilometer-api: add "--" as DAEMON_ARGS
* Fix ceilometer-api: add "--" as DAEMON_ARGS (Closes: #861199).

Change-Id: I7992b8c8bb6c245bdb914e5c324cdc9153ce2226
2017-04-28 10:52:22 +02:00
Thomas Goirand e9de1aa72e Fix ceilometer-agent-{central,compute} .service
* Fix ceilometer-agent-central .service file (Closes: #861202).
  * Fix ceilometer-agent-compute .service file (Closes: #861203).

Change-Id: Ia366172ab4c1b3c6e28c923d992612f2b66d9cee
2017-04-26 15:48:10 +00:00
Thomas Goirand 63d684c01c Re-integrate NMU from Piotr fixing SQLAlchemy << 1.1
* Re-integrate NMU from Piotr fixing SQLAlchemy << 1.1 dependency.
  * German debconf translation update (Closes: #842484).

Change-Id: I5adc8cef0f0cb74101ae8b2640736a9d9894d4c3
2017-04-03 17:56:15 +02:00
David Rabel f3a158480d Bump build dependency on openstack-pkg-tools
New version does not require net-tools.

See Debian bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858684

Change-Id: I626f2990b4514e2c153f28371641bef656816cd5
2017-04-01 12:23:28 +02:00
David Rabel c2c423715e Add dependency net-tools
Dependency net-tools is missing for ceilometer-api.
See Debian bug at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858684

Also use --gecos instead of -gecos as argument
for adduser in posinst-script.
See Debian bug at
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=846247

Change-Id: I2f6bd95bb9092a67b51ce42a463a5b8dd43677da
2017-03-25 10:46:14 +01:00
Thomas Goirand b77409d291 Install missing files
* Install missing files (Closes: #848586).

Change-Id: I7dd4841addc9890fc7b3c73eaef606aab0bf0ca1
2016-12-19 17:00:35 +01:00
Ondřej Nový b226e6bb0c ceilometer 7.0.1 release
meta:version: 7.0.1
 meta:diff-start: -
 meta:series: newton
 meta:release-type: release
 meta:pypi: no
 meta:first: no
 meta:release:Author: Julien Danjou <julien@danjou.info>
 meta:release:Commit: Julien Danjou <julien@danjou.info>
 meta:release:Change-Id: Ie1d1f7d70e2521b7d431588d315680bb71196451
 meta:release:Code-Review+2: Doug Hellmann <doug@doughellmann.com>
 meta:release:Code-Review+2: Tony Breeds <tony@bakeyournoodle.com>
 meta:release:Workflow+1: Tony Breeds <tony@bakeyournoodle.com>
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABAgAGBQJYRM6vAAoJELkGmxM1cAzcP6sH/05Uz/9w6o/Wkbeqb2TWhYOX
 kw4lJqwTmvVAbxaRqf1QILZHuUOE6M/JKSUehPI900R35vSU/bba0MV6MXOpS2OW
 d/45vbwmquXdD/IFiqlxWgI7bWrV69gfZPtaSQYSZdeTRwjn7MUgIsXTLZgaakIJ
 asJ9x70fxrHbeQcwBQSPvY40OfKRY2scQBabfHL2UEUKBgmPolxC5hUa282hz3Jb
 Uk4yGvBdiYQlWLOXTMy7aE0te9zKUwUsrhD0oUKCXcUBespMttZ8gOECF66OHND4
 ilSrncDuWnsV9vHOH9KxxKix6ZfdSUGSQA/Xw/oQK5Np19JfBkRvuIOLluKVuKQ=
 =tQV6
 -----END PGP SIGNATURE-----

Merge tag '7.0.1' into debian/newton

New upstream release

Change-Id: Id3480fd8d23f4077d2fff1d29ec1b0affc5953b5
meta:version: 7.0.1
meta:diff-start: -
meta:series: newton
meta:release-type: release
meta:pypi: no
meta:first: no
meta:release:Author: Julien Danjou <julien@danjou.info>
meta:release:Commit: Julien Danjou <julien@danjou.info>
meta:release:Change-Id: Ie1d1f7d70e2521b7d431588d315680bb71196451
meta:release:Code-Review+2: Doug Hellmann <doug@doughellmann.com>
meta:release:Code-Review+2: Tony Breeds <tony@bakeyournoodle.com>
meta:release:Workflow+1: Tony Breeds <tony@bakeyournoodle.com>
2016-12-11 16:54:29 +01:00
Jenkins c4b08affa7 Merge "Add a release note for HTTPProxyToWSGI middleware" into stable/newton 2016-12-01 12:11:26 +00:00
Julien Danjou 032032642a Add a release note for HTTPProxyToWSGI middleware
Change-Id: I0815c0fff4f99ea979a4f6883d10eaf2e7c77907
2016-12-01 10:21:08 +00:00
Lianhao Lu 627a00d1bf Corrected debug msg in CPUL3CachePollster
This patch fixed the KeyError exception when logging the debug message
in CPUL3CachePollster.

Change-Id: I32b6a79b6ecace3fc4635728e289b7881aa54ca3
(cherry picked from commit 64da0bb146)
2016-12-01 17:06:47 +08:00
fengchaoyang 4f42ed430a Handling KeyError error, make gnocchi event dispatcher work
Events data through database models format conversion, and our code is
not considered conversion,make _delete_event() can't get resource id,
image has not associated resource,so set image 'event_associated_resources'
is None.

Change-Id: If5a08dfe78e14b3974c472ddbfba4a8848df2a27
Closes-bug: #1633848
(cherry picked from commit eb7659f065)
2016-11-30 12:28:09 +01:00
Mehdi Abaakouk 60f5caa312 gnocchi: don't show backtrace on connection failure
When gnocchi is down a backtrace is printed when
only a error message is needed.

Closes-bug: #1635578
Change-Id: I43c9e0e9f4cfe8390ced46ff066f9049c3ed4451
(cherry picked from commit a369c94ff0)
2016-11-28 11:47:39 +00:00
Ondřej Nový 2716d2f962 Mass changes
d/s/options: extend-diff-ignore of .gitreview
d/control: Use correct branch in Vcs-* fields
Bumped debhelper compat version to 10

Change-Id: I14cb5d6728a20130a1d54fc587f2b62f0d601fc1
2016-11-23 23:48:10 +01:00
Jenkins 20a605976e Merge "Trivial fix: fix a wrong config option type usage" into stable/newton 2016-11-22 19:11:07 +00:00
liusheng 2813647f57 Trivial fix: fix a wrong config option type usage
Change-Id: I27ac70594ae9c24421fa379e71ac1e647ce685b1
(cherry picked from commit 8fe6a88928)
2016-11-22 14:25:18 +00:00
chenxing b430421a4e specific the title
The Ubuntu and rdo use the same title, which will mislead readers.

Closes-Bug: #1628822
Change-Id: Id451ad51076d319d69f2a7df676acba9217e92b4
(cherry picked from commit 901b78b2eb)
Closes-Bug: #1635786
2016-11-18 02:56:52 +00:00
Mehdi Abaakouk 93b927a03b doc: fix the wsgi configuration file name
(cherry picked from commit 0e63667759)
Closes-bug: #1631629
Change-Id: Id5658e576dbeade72c6dfc9500e0cfe413eb4d93
2016-11-16 06:43:34 +00:00
Jenkins 6f18642b03 Merge "fix perf when libvirt is >=2.0.0 and <2.3.0" into stable/newton 2016-11-11 18:49:51 +00:00
Jenkins c2575dc190 Merge "enable caching" into stable/newton 2016-11-11 15:10:38 +00:00
Mehdi Abaakouk 20dd7633eb fix perf when libvirt is >=2.0.0 and <2.3.0
We recently catch some missing perf attributes in the dict returned by
libvirt. This change catch some others.

Change-Id: I9b1e245bdb67db21f290ffb2c35279a807aa26bb
Related-bug: #1632207
(cherry picked from commit a357bf6fab)
2016-11-11 14:33:47 +00:00
Jenkins 22f36a0b1e Merge "Imported Translations from Zanata" into stable/newton 2016-11-09 23:54:34 +00:00
Ken'ichi Ohmichi 34b0aff860 Fix gate problem related to _error_checker() and oslo.log change
Since I84e3be748af10b158037866e1ee4c1375b2c3541, the internal method
_error_checker() is changed and the ceilometer gate is broken.
This patch fixes it.

(cherry picked from commit e6ff08801c)

something changed and expected logs are in stdout rather than stderr
even though it does makes sense as stdout. i have no idea why it
was writing to stderr earlier when it shouldn't have.

Related-Bug: #1635042
(cherry picked from commit 1695b4774e)

Change-Id: I81fe2e60a6fb65e95f477a68267979b8542fa6dc
2016-11-09 11:16:56 +01:00
gord chung 88a3e91429 enable caching
we need to explicitly turn on caching

see: ea191cacb14818989564ffe1f3727f28be3c3a21

Change-Id: I02306629a9abe278590719fdc5a081aaccd4ca70
Closes-Bug: #1633590
2016-10-17 17:28:48 +00:00
OpenStack Proposal Bot bd017dfafe Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: Iac500ebf073b70e7c1d9f37951f6379d39c2303e
2016-10-15 07:49:46 +00:00
Jenkins ae1e1519e2 Merge "fix perf when libvirt is >=2.0.0 and <2.3.0" into stable/newton 2016-10-14 15:24:53 +00:00
Juan Antonio Osorio Robles c995ad0dd2 Add http_proxy_to_wsgi to config-generator
The http_proxy_to_wsgi was recently added, however, in order to have
this configuration added by the config generator, we need to add it
to that relevant conf file.

Change-Id: Ie763367a75cde2deff8fcdfda47e08ce990bae00
(cherry picked from commit 9191874c3f)
2016-10-13 10:09:36 +00:00
Juan Antonio Osorio Robles 6d0d7812e1 Add http_proxy_to_wsgi to api-paste
This sets up the HTTPProxyToWSGI middleware in front of Ceilometer. The
purpose of thise middleware is to set up the request URL correctly in
case there is a proxy (For instance, a loadbalancer such as HAProxy)
in front of Ceilometer.

So, for instance, when TLS connections are being terminated in the
proxy, and one tries to get the versions from the / resource of
Ceilometer, one will notice that the protocol is incorrect; It will show
'http' instead of 'https'. So this middleware handles such cases.
Thus helping Keystone discovery work correctly.

The HTTPProxyToWSGI is off by default and needs to be enabled via a
configuration value.

Change-Id: I24f16dda49bd9e7930ca9f0d32bf0793463aff03
Closes-Bug: #1590608
(cherry picked from commit 30eb0f0ae1)
2016-10-13 06:03:04 +00:00
Mehdi Abaakouk 5e0f3e144b fix perf when libvirt is >=2.0.0 and <2.3.0
Closes-bug: #1632207
Change-Id: I311e612035a86981ad315872eade0e107ad87e07
(cherry picked from commit f86dbd8804)
2016-10-11 16:01:45 +00:00
gong yong sheng a417a8754c make gnocchi event dispatcher work
The gnocchi event dispatcher have been broken by two major changes
because of no tests coverage (requests->gnocchiclient and panko
refactoring)

To fix that:
* the event dispatcher class derive the base event dispatcher class.
* Use correct gnocchi client method to search resources.
* Use correct gnocchi client method to update resources.
* Since record_event received a raw notification now and no more the event,
  we change the parsing codetoo.
* And obviously add a test !

Change-Id: I94b7393d79e495c5101225b4097c7073978ca7d7
Co-Authored-By: Mehdi Abaakouk <sileht@redhat.com>
Closes-bug: 1627928
2016-10-10 07:11:58 +00:00
Thomas Goirand 06fbedacae ceilometer 7.0.0 release
meta:version: 7.0.0
 meta:diff-start: 6.0.0.0rc1
 meta:series: newton
 meta:release-type: release
 meta:announce: openstack-announce@lists.openstack.org
 meta:pypi: no
 meta:first: yes
 meta:release:Author: Doug Hellmann <doug@doughellmann.com>
 meta:release:Commit: Doug Hellmann <doug@doughellmann.com>
 meta:release:Change-Id: I74b66ffd484f2f3a2b84c39e62bcb718cef7b906
 meta:release:Code-Review+1: Ian Cordasco <sigmavirus24@gmail.com>
 meta:release:Code-Review+1: Sean McGinnis <sean.mcginnis@gmail.com>
 meta:release:Code-Review+1: Vitaly Gridnev <vgridnev@mirantis.com>
 meta:release:Code-Review+1: Rob Cresswell <robert.cresswell@outlook.com>
 meta:release:Code-Review+1: Steve Martinelli <s.martinelli@gmail.com>
 meta:release:Code-Review+1: Steve McLellan <steven.j.mclellan@gmail.com>
 meta:release:Code-Review+1: Richard Jones <r1chardj0n3s@gmail.com>
 meta:release:Code-Review+2: Davanum Srinivas (dims) <davanum@gmail.com>
 meta:release:Code-Review+2: Thierry Carrez <thierry@openstack.org>
 meta:release:Code-Review+1: Emilien Macchi <emilien@redhat.com>
 meta:release:Code-Review+1: Julien Danjou <julien@danjou.info>
 meta:release:Code-Review+1: amrith <amrith@tesora.com>
 meta:release:Code-Review+1: Graham Hayes <graham.hayes@hpe.com>
 meta:release:Code-Review+1: Jim Rollenhagen <jim@jimrollenhagen.com>
 meta:release:Code-Review+2: Doug Hellmann <doug@doughellmann.com>
 meta:release:Workflow+1: Doug Hellmann <doug@doughellmann.com>
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABAgAGBQJX9k11AAoJENljH+rwzGInQQ8IAJOCfq084XxmipC0zczxWZOg
 BOhs5YIYX+S4mclujfDXhGjM+PlvT27kmakCzG37Oqt8EHX3iwp6J6f3AbyB4AaM
 x6yPDCRbrjFW+w6liY+A0S/YkpqXoVQBdrmCUhcvKei5i4iEvspO+/wOWB0lvO2J
 KUG3vnbuwU3h++Ivk2x5hmDy7T7Ku3bBewKP1JqKv/WeTXwyoYelgfJtfpeqIPMx
 BAghH3ZgU/bermEMtafdu32ghjkOsZfglgPjRjIyXwTzueIlFp9epTrXymO8XPXJ
 IYrDj2uRhnTqHlVQxRsd4/cyiRK0Wx5Ts1rcwgKqewlbZfUA1mv4zIBZRiBeNhI=
 =Gfcf
 -----END PGP SIGNATURE-----

Merge tag '7.0.0' into debian/newton

ceilometer 7.0.0 release

  * New upstream release.

Change-Id: I36315033ed9d2a6aaa9b73000d0e2038dd286497
2016-10-06 17:31:48 +02:00
Thomas Goirand 1c567c3e81 Debconf translation + unstable upload
* Uploading to unstable.
  * Debconf translation:
    - it (Closes: #838500).

Change-Id: I0f907e99104efb7e7b94ea6fb065eb20d45e85a7
2016-10-04 09:34:38 +02:00
Thomas Goirand dd262b1871 Build-Depends on openstack-pkg-tools (>= 53~).
Change-Id: I1f0a9df7bea99fdc522b86e34801b35a41f24ae4
2016-10-01 09:25:53 +02:00
Thomas Goirand ab88bd0fb8 Fixed EPOCH for oslotest.
Change-Id: I8136d5efee3b9621e3540d9309b700014bab815a
2016-09-28 09:37:33 +02:00
Mehdi Abaakouk 67bbd3f833 collector: fix graceful shutdown when udp enabled
recvfrom is blocking so if no udp data come in
the shutdown process never finish.

This fixes that.

Change-Id: I88302724d51d98ca1c5af8a0577c9dc5902b6355
2016-09-27 18:52:48 +00:00
Xiang Li ed0075f824 Modify startup parameters of ceilometer-api in devstack script
Since the ceilometer-api binary was generated by pbr, its startup
parameters are different from previous. The difference must be
applied to devstack plugin script or ceilometer-api can’t start
after devstack has run if the "enable_httpd_mod_wsgi_services" is
set to false in local.conf.

Change-Id: Ie1aa11cc167251ca750041b3333e1c9c31227ad1
Closes-Bug: #1626531
2016-09-27 07:54:43 +00:00
Thomas Goirand 19dc04c83a Tagger: OpenStack Release Bot <infra-root@openstack.org>
Date:   Fri Sep 16 14:32:41 2016 +0000
 
 retag 7.0.0_rc1 of ceilometer 7.0.0.0rc1 release candidate
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABCAAGBQJX4vkGAAoJENQWrRWsa0P+hQYP/AiFZaTu2YH1cMB/dMAgy4Ud
 Nt8M8XuMm4ZeZNBbyCUhuF+AgZtbeVe+v/UfDm9ZaKIORmtJBoPEUyO1cevJ23la
 MUWNhLrI62BqiaudNGLtQ6glwrR9Iwy0d0mn4ZgoQbcYlybTmPIDz5Pp8bK3Gztd
 kg4UXcwe1nxq13CTGixBXENy/JohKG5g3PEpHY36yfjzBnuTSFG0mdK+g8O+yvqr
 1QOnBdSE5kOC/5ff5aVrRTi0sFPvc3OF+JmKBmuL4kwsFNCh4sdRsSNH3ZmsBIkT
 a25atG1PNDlaHQRsFHNEXG6l6pt3fE58LOlC8o+dyU+xdPkAqoLfQYyPgMGTCjfK
 B7KLxM09GxmuViCtqQWnKYv0ad0t6CLDQ3tL/TtMTquoNdb5vpe7J+fpwMEUgj3Q
 c6yiejc5W5pWbuRHP5cu1g8WfusTqSm1Ysn3Z/ZRT6+HnsMoe9y203MiqPWKwoFY
 4qF3lsKHTUJm4i+T246T642pHFMl9hIb8T7v0wo722ouDLU/W+LVe0G9CyDw9AwM
 YIJ09H3NbZy92ydwJuBNfRttzAh0S3vd4TuE+9UtODKVBSnNj4QnrY3UT/pxJMr2
 bzAU+4ElpP0FBVdLwZfW5SX+098s27vIdN75HOOR6+6wp7VlpXccxFtR6lso2y5e
 cCHh78EjO+Qbx/fTyh0q
 =4Ox0
 -----END PGP SIGNATURE-----

Merge tag '7.0.0_rc1' into debian/newton

Tagger: OpenStack Release Bot <infra-root@openstack.org>
Date:   Fri Sep 16 14:32:41 2016 +0000

retag 7.0.0_rc1 of ceilometer 7.0.0.0rc1 release candidate

  * New upstream release.
  * Also install /usr/bin/ceilometer-upgrade.
Change-Id: I473e91b5a0068cb9c05c18f22d602fb0988c4398
2016-09-22 00:17:36 +02:00
Julien Danjou a3931b08f6 gabbi: set panko_is_disabled to avoid relying on Keystone autodiscovery
Change-Id: I8c8f9af899c4c5586b0bb6985c3b69ce6c48441b
(cherry picked from commit a9696238d5)
2016-09-21 19:36:25 +00:00
Xiang Li 8c1e5366d8 Fix problem when using wsgi script to start
The calling of method prepare_service is missing when ceilometer-
api started using wsgi script that pbr generated, this patch fixed
this problem.

Change-Id: I2210f408b0d3cc8378d62f62edce4edbe8102dad
Closes-Bug: #1625918
2016-09-21 10:44:40 +00:00
Thomas Goirand 506762ed73 Using --parallel for running unit tests
Change-Id: I14e22baf70f17bcf3257f32cf39d89686f31f843
2016-09-21 09:50:10 +02:00
Jenkins 9eb8b652bc Merge "Remove left over from old ceilometer-api binary" into stable/newton 2016-09-21 04:40:34 +00:00
Julien Danjou 6fc6341a7c Remove left over from old ceilometer-api binary
Closes-Bug: #1624873
Change-Id: I40040ce96a76c76887e0139cf045b73010a6820c
2016-09-20 14:54:19 +00:00
Julien Danjou 78be95bd02 Move oslo.db to hard requirements list
The options from oslo.db are also used by other storage drivers such as
MongoDB, which makes it mandatory even for this backend.

Change-Id: I3b09cffca1285ff92c0c7492b5b48c6a560251e5
Closes-Bug: #1624692
2016-09-20 14:54:13 +00:00
Davanum Srinivas 43cbac39cf Update .gitreview for stable/newton
Change-Id: Ic3a6f4ae766e32101ff533fea628db882f3cf23b
2016-09-16 10:32:57 -04:00
Jenkins 2cc53a9a92 Merge "agentbase: remove flaky test" 2016-09-16 14:09:06 +00:00
Julien Danjou 92f30acb0b agentbase: remove flaky test
`test_start_with_pipeline_poller` do not test anything more than just
`test_start` and is actually flaky, as the pipeline can be refreshed in
between, making the number of calls uncertain.

Let's remove it.

Closes-Bug: #1621881
Change-Id: I2e43f1913c00f28e2a235936bf3d9f1a7cf6e5ad
2016-09-16 13:08:19 +00:00
Jenkins 922657e58c Merge "add note regarding pipeline_processing_queues option" 2016-09-16 10:57:05 +00:00
Jenkins 2f6118f52b Merge "Refactor Ceilometer event API" 2016-09-16 10:25:15 +00:00
Jenkins 51cef8e175 Merge "Refactor Ceilometer alarm API" 2016-09-16 10:25:09 +00:00