RETIRED, Chef Cookbook - OpenStack Telemetry
Go to file
Lance Albertson 2fc511323f Create attribute for setting options passed to ceilometer-upgrade
I ran into a problem similar to this one [1] where testing gnocchi
commands did not work properly. The key problem is the fact that
`--skip-gnocchi-resource-types` was included in the ceilometer-upgrade
command.  To allow an easy work around, I figure we can just create an
attribute which can add any option to ceilometer-upgrade so you can set
it to '' if you don't want it.

It might be debatable on whether to just default to run it with out
ceilometer-upgrade instead.

Some additional fixes include:

- Move the ceilometer-upgrade command to a new setup recipe where it
  makes more sense since it needs to be run after Ceilometer and Gnocchi
  are setup.
- Fix name of gnocchi-metricd_service for RHEL
- Add same apache restart fixes that we implemented in other cookbooks.
  This is needed so that you can properly run ceilometer-upgrade with
  gnocchi enabled.

[1] https://bugs.launchpad.net/openstack-ansible/+bug/1737096

Change-Id: I619ef044b8cb254b23e0c7bc674c46d5dd7e0076
Signed-off-by: Lance Albertson <lance@osuosl.org>
2019-11-18 14:47:26 -08:00
.delivery Add delivery config 2018-04-11 22:40:22 -07:00
attributes Create attribute for setting options passed to ceilometer-upgrade 2019-11-18 14:47:26 -08:00
files disable ceilometer events when using gnocchi as backend 2017-12-15 12:09:55 +01:00
recipes Create attribute for setting options passed to ceilometer-upgrade 2019-11-18 14:47:26 -08:00
spec Create attribute for setting options passed to ceilometer-upgrade 2019-11-18 14:47:26 -08:00
templates Allow ability to configure pipeline publishers 2019-11-05 19:12:05 -08:00
.gitignore Initial kilo updates 2015-02-27 14:11:44 -06:00
.gitreview OpenDev Migration Patch 2019-04-19 19:40:36 +00:00
.rubocop.yml starting rocky development patch 2018-08-03 06:42:11 -07:00
.rubocop_todo.yml starting rocky development patch 2018-08-03 06:42:11 -07:00
.zuul.yaml Rename openstack-chef-repo references to openstack-chef 2018-08-06 21:50:28 -07:00
Berksfile starting rocky development patch 2018-08-03 06:42:11 -07:00
CONTRIBUTING.md Workflow documentation is now in infra-manual 2014-12-05 03:30:44 +00:00
LICENSE telemetry refactor for Pike and Chef 13 2017-12-10 11:38:02 -08:00
README.md Create attribute for setting options passed to ceilometer-upgrade 2019-11-18 14:47:26 -08:00
Rakefile telemetry refactor for Pike and Chef 13 2017-12-10 11:38:02 -08:00
TESTING.md Sync stackforge/cookbook* to openstack/cookbook* for ceilometer cookbook 2015-06-15 16:15:05 +08:00
bootstrap.sh Sync stackforge/cookbook* to openstack/cookbook* for ceilometer cookbook 2015-06-15 16:15:05 +08:00
metadata.rb Change openstack-dev to openstack-discuss 2018-12-04 23:21:08 -05:00

README.md

Team and repository tags

Team and repository tags

Chef OpenStack Logo

Description

Installs the OpenStack Metering service Ceilometer as well as Gnocchi as the backend for Metrics as part of the OpenStack reference deployment Chef for OpenStack. Both are currently installed from packages.

https://docs.openstack.org/ceilometer/latest/ https://gnocchi.xyz/

Requirements

  • Chef 12 or higher
  • chefdk 0.9.0 or higher for testing (also includes berkshelf for cookbook dependency resolution)

WARNING:

  • Currently there are no gnocchi packages included for Ubuntu Trusty. The gnocchi recipe will only work on Ubuntu Xenial and above.

Platform

  • ubuntu
  • redhat
  • centos

Cookbooks

The following cookbooks are dependencies:

  • 'openstack-common', '>= 14.0.0'
  • 'openstack-identity', '>= 14.0.0'
  • 'openstackclient', '>= 0.1.0'

Attributes

Please see the extensive inline documentation in attributes/*.rb for descriptions of all the settable attributes for this cookbook.

Note that all attributes are in the default['openstack'] "namespace"

The usage of attributes to generate the node.conf is decribed in the openstack-common cookbook.

Recipes

agent-central

  • Installs agent central service.

agent-compute

  • Installs agent compute service.

agent-notification

  • Installs agent notification service.

api

  • Installs API service.

client

  • Install the client packages

collector

  • Installs collector package and service. If the NoSQL database is used for metering service, ceilometer-upgrade will not be executed.

common

  • Common metering configuration.

setup

  • Run database migrations

identity_registration

  • Registers the endpoints, tenant and user for metering and metric service with Keystone.

gnocchi

  • Installs gnochhi as default backend for ceilometer metrics

License and Author

Author Matt Ray (matt@opscode.com)
Author John Dewey (jdewey@att.com)
Author Justin Shepherd (jshepher@rackspace.com)
Author Salman Baset (sabaset@us.ibm.com)
Author Ionut Artarisi (iartarisi@suse.cz)
Author Eric Zhou (zyouzhou@cn.ibm.com)
Author Chen Zhiwei (zhiwchen@cn.ibm.com)
Author David Geng (gengjh@cn.ibm.com)
Author Mark Vanderwiel (vanderwl@us.ibm.com)
Author Jan Klare (j.klare@cloudbau.de)
Author Christoph Albers (c.albers@x-ion.de)
Copyright Copyright (c) 2013, Opscode, Inc.
Copyright Copyright (c) 2013, AT&T Services, Inc.
Copyright Copyright (c) 2013, Rackspace US, Inc.
Copyright Copyright (c) 2013-2014, IBM, Corp.
Copyright Copyright (c) 2013-2014, SUSE Linux GmbH

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.