5 Commits

Author SHA1 Message Date
Jenkins
527e7b4783 Merge "Store and restore the xtrace option in devstack plugin" 2015-07-17 20:06:47 +00:00
Chris Dent
6d7c7cb00a Store and restore the xtrace option in devstack plugin
Otherwise we might upset the xtrace setting in other files.

Change-Id: I93e7654fb67f455d3cbedb1e6cd010651d8d67dd
2015-07-16 13:17:06 +00:00
Chris Dent
33de8f9904 Delay the start of the collector until after apache restart
Otherwise when using the gnocchi plugin keystone can drop out of
sight at exactly the wrong time.

Change-Id: If0d5faaadd297cbb6c25dd66da07e83a4bce71bd
2015-07-15 17:02:09 +00:00
Chris Dent
8f00ad5eff Namespace functions in devstack plugin
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
2015-07-10 13:41:24 +00:00
Chris Dent
db92d31f16 Create a devstack plugin for ceilometer
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
2015-06-29 09:38:53 +00:00