Some options defined in ceilometer.service should be in service_credentials
section instead of DEFAULT, which is deprecated since Havana.
Change-Id: I69077394a77f379db2be593a9fa15d414015610a
Ceilometer currently supports only libvirt when installed
using devstack. Have extended this support to Vmware Vsphere in this changelist.
Change-Id: I98c64204973bca5e6a7f859a5431adb2b661277f
mongodb packages are missing on some platforms, so we switch to a
manual install. Also gate the mongo call in cleanup
Change-Id: I1755e461c66be30da3db2a0994f908503c4c38ea
* Move remaining role creation to create_keystone_accounts()
* Move glance creation to create_glance_accounts()
* Move nova/ec2/s3 creation to create_nova_accounts()
* Move ceilometer creation to create_ceilometer_accounts()
* Move tempest creation to create_tempest_accounts()
* Convert moved code to use OpenStackClient for setup
* files/keystone_data.sh is removed
Note that the SERVICE_TENANT and ADMIN_ROLE lookups in the other service
implementations are not necessary with OSC, all operations can be done
using names rather than requiring IDs.
Change-Id: I4283ca0036ae39fd44ed2eed834b69d78e4f8257
this should be is_service_enabled and not service_enabled. Not
sure why it passes in the gate, but it fails in stackforge jobs.
Change-Id: I876f72cd98ff9c8e4ea28832bc9ac6bbdc3b865d
ceilometer should only try to reset the database if it's actually
on a node where there is a database.
Change-Id: Ibcfec0556829bff0938e3769c19d34ae6c02b738
when doing ceilometer in a multihost devstack, you don't want
ceilometer-api running on the computes. Under -o errexit this
became fatal.
Change-Id: Ie43c8724ba467b810f5a3b075dea45d66dde8648
Check that function calls look like ^function foo {$ in bash8, and fix
all existing failures of that check. Add a note to HACKING.rst
Change-Id: Ic19eecb39e0b20273d1bcd551a42fe400d54e938
migrated most keystoneclient commands from the following libs:
ceilometer
cinder
ironic
keystone
marconi
neutron
nova
savanna
swift
trove
Also need to set and unset openstackclient specific environment
variables from stack.sh
Change-Id: I725f30bc08e1df5a4c5770576c19ad1ddaeb843a
This converts the special cases in the is_service_enabled() function to call
individual functions declared by the projects. This allows projects that
are not in the DevStack repo and called via the extras.d plugin to handle
an equivalent service alias.
* Ceilometer
* Cinder
* Glance
* Neutron
* Nova
* Swift
TODO: remove the tests from is_service_enabled() after a transition period
Patch Set 2: Rebased
Change-Id: Ic78be433f93a9dd5f46be548bdbd4c984e0da6e7
Installing bash completion for heat and ceilometer by using a
similar way used with other services.
Change-Id: I5094648272f2666f6bff181bfa3aeb35e863bd97
lib/ceilometer ignored the global settings related to keystone settings.
It can cause issues for example when the keystone does not listen on
127.0.0.1 even in single node deployment.
Change-Id: I6e4654daa2ec624ac11aaf7f49495fcfaa72071d
The list of services that Tempest used to set its 'service_available'
config values was hard-coded. To be plugin-friendly have each
service (project) add its name to the TEMPEST_SERVICES variable
and use that for setting the 'service_avilable' values.
Change-Id: I208efd7fd0798b18ac2e6353ee70b773e84a2683
The last slash in ceilometer endpoint is not needed, it should be
removed because it will generate redundant slash which has been
treated as a bug in ceilometer.
Change-Id: Ifcff9b63921f5b1dda667d8e77aab22ca2928a8b
Closes-Bug: #1271556
ref: https://review.openstack.org/#/c/63279/
On Fedora, when ceilometer is enabled and mongodb is used as backend,
devstack installation would fail due to missing mongodb client package.
This patch ensures the package gets installed.
Change-Id: I981bb55f86541e5ff19c52160269a7789b94423f
* Save PID when using screen in screen_it()
* Add screen_stop()
* Call out service stop_*() in unstack.sh functions so screen_stop()
can do its thing
Closes-bug: 1183449
Change-Id: Iac84231cfda960c4197de5b6e8ba6eb19225169a
the ceilometer collector service has been split into two:
ceilometer-collector and ceilometer-agent-notification
Change-Id: I6114fd7f3e063abfa74d48d402dc863bccd249b6
Blueprint: split-collector
Quite easily one ends up calling ./stack.sh in an environment that,
albeit being user "stack" (for example), doesn't quite meet the
expectations of devstack. The errors that follow can be rather hard to
track down, as the dependency on `USER` is not mentioned.
To remedy this situation, this commit
- uses STACK_USER instead of USER and
- mentions that dependency in the script headers of lib/*
Change-Id: If4cdc39b922ea64b4c0893a0e695ec06349fccc5
The patch allows users to configure the ceilometer pipeline interval.
In localrc, we can add CEILOMETER_PIPELINE_INTERVAL=10 to handle the
pipeline each 10 seconds instead of the default 10 minutes.
Change-Id: Ic5216adbdfd70ade38912871ac6df3be732bf780
Adds the PostgreSQL case for a Ceilometer backend and
initializes Ceilometer accordingly.
Closes-Bug: #1244381
Change-Id: Iefc5bb7eea6e9efa1f2ad04f1f8dc714e3404c9c
Address miscellaneous issues with Markdown formatting in comments which
are consumed by shocco when generating the online documentation.
Change-Id: I953075cdbddbf1f119c6c7e35f039e2e54b79078
The patch ensure that ceilometer-api is ready before
starting the ceilometer-alarm-evaluator service.
This ensure that ceilometer-alarm-evaluator doesn't log a error message
on startup due to not yet available ceilometer-api.
Closes bug: #1243249
Change-Id: Icff3e972ec485f26c014071f68079593a14b7240
A few Markdown-oriented issues were causing Docutils errors to
leak into the end-user docs on http://devstack.org
Change-Id: I51fa9698afb1bfb48596478d83bd1fdcd84ac52e
This change ensure that 'ceilometer' processes are not killed
by stack.sh when USE_SCREEN=False
Fixes bug #1234254
Change-Id: I48dbf18ea0b169cdb5295a709d82c025f6fb8930
MongoDB 2.4 not being available in Ubuntu cloud archive for a while now,
and the catch up done by this driver allows me to think it might be a
good idea to switch by default on SQL for now on devstack.
We can add another job to have Ceilometer tested on MongoDB too later.
Change-Id: I74c3c436d009fed898c5ae4ffb82763e9a337d90
Rename service name "ceilometer-alarm-eval" to
"ceilometer-alarm-singleton" and "ceilometer-alarm-notify" to
ceilometer-alarm-notifier" in this patch.
Change-Id: I6619cc02874f6f59c43ba2952325e9d0533e395d
Add ceilometer-alarm-notify and ceilometer-alarm-eval to the set
of ceilometer services launchable by devstack when explicitly
enabled in the localrc.
Change-Id: I1575437c588cf9079f1e3a6c855123eae09c5dac
When install ceilometer with devstack, if do not set environment
variable OS_AUTH_URL, then devstack will set os_aut_url as empty
in /etc/ceilometer/ceilometer.conf, this will cause both
ceilometer-agent-central and ceilometer-agent-compute cannot start.
Fix bug 1205776
Change-Id: I32c77c92dc2e9d03c86e703f170e0216dd829a61
Currently, devstack only support mongodb as ceilometer storage backend,
this patch is to add mysql storage support for ceilometer.
If you want to use mysql as backend during developing, you can specify
CEILOMETER_BACKEND=mysql in localrc file.
If you use mongodb, just ignore the parameter.
Change-Id: Ic2f475a9baa6d71a43cd29a6ca777ac972e47b0a
Implements: blueprint ceilometer-mysql-support
ceilometer has dropped bin scripts and switched to console scripts
blueprint setuptools-console-scripts
Change-Id: If6dff10471e351fe3640a60cc45fef719f671997
Set [database]connection option to mongodb rather than sqlite as mongodb
is the only fully supported db.
Change-Id: I2b9fbc65de4476593d456a782dbc7e6540a75141
Fixes: bug #1186240