I7adef87b03129f4f8b38109bf547c7403cc6adad introduces a very good
feature to partition workload for central polling agent, but it
seems not so much value for compute polling agent, which is
natrually workload distributed. There are efforts to reduce the
load of nova-api by adding instance cache in compute polling
agent side, if we increase the compute polling process in the
same node, pollsters may be a bit quicker than before, but things
will get worse for nova-api. And if we want to accelerate the
pollsters, we can search for a better solution instead of increasing
state shared workers.
For most case, I cannot see there is a need to partition workload
on a single node, especially when we running a devstack.
This patch removes the workload_partition setting in devstack
installation for compute polling agent even when there is a
coordinate backend configured. If an user does want this, he can
edit the /etc/ceilometer/ceilometer.conf and restart the compute
polling agent in screen -x, as the usual way.
Change-Id: If4dbcf1d02f5f8bdc189b272fb350a800e23d760
There's no reason to wait for ceilometer-api to start, as everything
should be resilient anyway.
(and currently that breaks the gate)
Change-Id: I3c381a43bb7ddc5f873d60bb13e27bc029ccca10
This option is used for ceilometer-api when
CEILOMETER_USE_MOD_WSGI=False, and create a dedicate directory for
ceilometer-api log.
However, there is no such need, because for such case, ceilometer-api
is just a normal process like ceilometer-polling. We should let
oslo.log decide where to store the log, image that user configures
a path and we override in installation process, then he needs to hack
into screenrc to adjust the path, it is not friendly.
Here I propose to put the api log files in same directory as
ceilometer-polling, by default, it will be /opt/stack/logs.
Change-Id: Icca16dbef53929686950a72b40b2544f45f4afdd
Due to change https://review.openstack.org/#/c/295011/ the
ceiloemter-polling --polling-namespaces ipmi polling agent no
longer works by default. This change set updates Ceilometer's
devstack plugin to disable that for standard stacks.
Change-Id: If445953e7ce2090632fe428c0ddd03f9cc6dedc6
Closes-Bug: 1564176
The command 'ceilometer-polling --pollster-list' should fail with
invalid pollsters.
When executing the command 'ceilometer-polling --pollster-list' with
a wrong pollster like aaa, it still executes and no error will
be shown. It occupies the system resources and shows no errors.
Remove the test case for
"ceilometer-polling --polling-namespaces ipmi" in the upgrade.sh.
In the test environment, the ipmi is not ready. It should fail.
Change-Id: If1f9f9fdbba1832e66d89d6b61f749790df5c2b6
Closes-Bug: #1553926
User now can specify CEILOMETER_SERVICE_HOST to a different host so
ceilometer-api and keystone can run on different machines. Also create
keystone accounts in post-config phase, by following gnocchi convention.
Change-Id: Ide55f9e07d4d94e900a3596922da4c40eca8ec3c
Previously we have to set this option to enable Aodh integration test
because there is circle dependency, but now since Aodh can parse
SERVICE_PROJECT_NAME properly, this is safe to remove.
Change-Id: I014ec7d62edfcc433b84e9237a63e37c427747ec
* remove verbose option: it is deprecated and True is its default value
* change [DEFAULT]notification_topics to [oslo_messaging_notifications]topics,
the old style is deprecated
* remove uncleaned ceilometer-alarm-evaluator condition
Change-Id: If2d0592612c389e08826717fdf38d2e0086cec38
The intergation test job has been broken, it seems because the replace
TENANT => PROJECT change in devstack scrpts, see[1]. This patch change the
SERVICE_TENANT_NAME to SERVICE_PROJECT_NAME in devstack plugin.
And to avoid with aodh change, this change temporarily skip the
gabbits-live test.
[1] https://review.openstack.org/#/c/281779/
Closes-Bug: #1548634
Change-Id: Ibb1f78d47311117f6718707c5961bc2841473924
When Keystone v3 is enabled, 'default' is the id, not the name,
of the domain created by devstack.
Change-Id: I244db7023cb3215dc6fe26d783c6338c8391a0f4
in practice, there are much more than 10 resources on the queue at
any given time so the amount of grouping done is minimal currently.
let's set a higher number so we have more groupings
Change-Id: I6bd0b9797f3a90c744002f4cf364faa696ab63ec
Closes-Bug: #1536277
Since we move the Gnocchi configuration in Ceilometer devstack plugin
the event subsystem is enabled but unconfigured. So disable the
event subsystem by default if Gnocchi is used like before.
Change-Id: I33a6e962dcd01e12f828c4c126f6220439e5bfac
Scan the source code and filter some results. Fix the typos in
the source code. Will deliver remaining results in other patches.
ceilometer/event/trait_plugins.py
Line 169: s/it's/its
/ceilometer/publisher/kafka_broker.py
Line 58: s/this option is/options are
Line 60: s/with with/with
devstack/plugin.sh
Line 400: s/the the/the
doc/source/install/manual.rst
Line 557: s/seperately/separately
Line 567: s/requirments/requirements
Change-Id: Ia4577724977ec255ad426c7c9647ac26d0280f24
the endpoints for aodh, ceilometer and gnocchi end with trailing
slash. because of that, our tests are calling <endpoint>//<path>.
this works but is technically incorrect. this patch cleans it up.
Change-Id: Ieed46c38fff4e7ea86f0f5eeab105c70b6249003
Currently we don't remove Ceilometer config files when ./clean.sh
is run, which should be fixed because it will bite developers when
they test change related to devstack script.
Note, this patch also removes ceilometer api log files when WSGI
is not enabled.
Change-Id: I3fd62787708cf64d1860b2b64d25773e79b17fe9
Closes-Bug: #1509253
Since we moved all the alarming code and subsystem to the Aodh project,
remove it from Ceilometer.
Depends-On: I3983128d2d964b0f1f3326948b27f5d94df65a04
Depends-On: I99c9f2be0bbc70f289da5c2ba22698b8b7dc4495
Change-Id: Id169a914c1d1f2f5ad03ebb515d3d052204d5c5c
Currently, if we run devstack for compute node, ceilometer-collector
service will be disabled on compute node, but the database is still
installed.
This patch makes sure that database is installed only when collector
is enabled.
Also add check for coordinate and hypervisor requirements.
Change-Id: Ib3614d2e698403c24ad299d95ef42c81815fa76e
Closes-Bug: #1508518
Currently, even though ceilometer-api service is disabled by user,
we still try to configure ceilometer-api in Apache if CEILOMETER_USE_MOD_WSGI
is not set to false. This patch adds a constraint to ensure we only
configure when ceilometer-api is enabled.
Change-Id: I3f2bab3f646f7df57c32db3251f811cb801d93de
Partial-Bug: #1508518
It appears that a bit of overzealous copy and pasting of commands has
meant that:
* the number of collectors was not being set for mongodb, which may
be a cause of performance issues in the gate
* the cleanup was not being called for the sql backend, which leaves
behind wsgi config files when that backend is chosen
Change-Id: I013f14f8b167e564f794333c0fe5c8f421bb25a9
If we use a glob too many files are attempted to be copied and we can
cause two issues:
* there can be a permission problem because an earlier call to
configure_rootwrap already wrote some files as root
* iniset calls on ceilometer.conf that already happened will be
clobbered
Change-Id: I960256cdd2c32bbbe4591282e8a56ee156541667
Closes-Bug: #1503338
lib/ceilometer no longer exits so we must source our plugin to get
stop_ceilometer
Change-Id: I059cc24eae046df195573c0f1a90cd52e8ef1c7e
Depends-On: I01d00f95d602b9b159b3b64ff46a7cd3e23c3983
We have deprecated the agents for a while now in favor of the
ceilometer-polling tool, let's update the doc for good and remove them.
Depends-On: I4a2a982d4153a31971a5f1a1b504b96ce29236f9
Change-Id: I7447ba4f408c95b0acf1b809504ce16fff1c6e21
This removes the cp of the meters.yaml file to /etc/ceilometer. It
is not needed.
This is part of a regular process of keeping the plugin and the
devstack version functionally equivalent until the devstack version
finally goes away.
Change-Id: I1261f054f077b73d3d64529ca9c59678ecbf15de
Otherwise other plugins which depend on ceilometer and want to set
configuration items may have issues with the configuration directory not
being there.
Change-Id: Id8d10c9fcdd85e2840a74dcff5245b6f44f7424b
This reverts commit 33f133ab0cd37da5366769603ece67877505e7c9.
Apparently the way keystone info is used in aodh is different from how
ceilometer uses it. With the change to be reverted in place, none of the
agents can talk to services.
Change-Id: I462f7c4977f14e45069e2c826abd7944252bd9d9