* Also fix the default port to 8777 as it should (instead of the default
port 8000 which is wrong).
Change-Id: I771b9d7cbf55cbcfd682e9aa678f88eb89646b6d
This patch fixed the KeyError exception when logging the debug message
in CPUL3CachePollster.
Change-Id: I32b6a79b6ecace3fc4635728e289b7881aa54ca3
(cherry picked from commit 64da0bb146)
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)
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)
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
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
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)
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
we need to explicitly turn on caching
see: ea191cacb14818989564ffe1f3727f28be3c3a21
Change-Id: I02306629a9abe278590719fdc5a081aaccd4ca70
Closes-Bug: #1633590
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)
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)
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
recvfrom is blocking so if no udp data come in
the shutdown process never finish.
This fixes that.
Change-Id: I88302724d51d98ca1c5af8a0577c9dc5902b6355
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
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
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
`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