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
This is barebones for now, simply doing the upgrade and checking
services are still running. There is no checking of resources.
Being able to easily add those resources checks is part of the
reason for making this change.
The other reason is to explore and resolve conflicts when extracting
an existing integrated project from both devstack and grenade.
Note that grenade's ensure_services_started and _stopped struggles to
work with processes that contain spaces so distinguishing amongst
ceilometer-polling processes with different namespaces is hard, so
we'll just use the older agent names.
Change-Id: If7bb809743ab0c475a1844c79e552d8b6892a18f
Include the new entry point for meters notifications
and deprecate the migrated ones. Also add the exchange
controls to the notification agent directly.
As a first step, this commit converts glance, magnetodb
and orchestration meters.
Partially Implements: blueprint declarative-notifications
Depends-On: I9de94c5ac6349c3b46adbacb77fc877b5201285c
Change-Id: I45ea9ab20bbed1ec12b91a20977e8adb52bf59da
While the removal of ceilometer from core devstack is still pending
we need to make sure that change in lib/ceilometer are reflected in
the plugin. This synchronizes the small number of recent changes.
We're nearly there on the extractions so there shouldn't be too much
more of this.
Change-Id: I8c99d57ba5183d3c63b4814ca0664d5bf3420832
Transformation of samples to gnocchi resources/metrics is
just json2json think, so do it in a declarative ways like we do
for event and declarative notification.
Implements blueprint gnocchi-declarative-resources
Change-Id: I5a202c30614d06821063e243d4e2330736aba5fd
Otherwise there can be collisions with other plugins.
Also change how mongodb is installed, slightly, to insure that it is
actually running. Otherwise calls to drop database during the
cleanup function can fail because mongo is not actually there.
Change-Id: Id6ecb21614f7091e522d99bcadd3b5e237dd6723
This is mostly a straight port of devstack:lib/ceilometer with some
minor cleanups in the code. Notable changes include:
* default values are moved to devstack/settings
* all services provided by ceilometer are turned on by default, use
disable_service to turn them off
* mongod smallfiles is no longer used as it is not (apparently) used
with deb-based installs and there's a lot of water under the
bridge since then, so let's remove the complexity
* config handling is broken down into smaller sub-functions
* explicitly require python redis driver if needed, otherwise it
will not be available in a virtualenv
* install_ceilometermiddleware is not included, it is moved to
lib/swift
Change-Id: If36faa72b8c8d0f58a4ab5d02ed9cf92de3583b7