73bd52b73d
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> |
||
---|---|---|
.delivery | ||
attributes | ||
files | ||
recipes | ||
spec | ||
templates | ||
.gitignore | ||
.gitreview | ||
.rubocop_todo.yml | ||
.rubocop.yml | ||
.zuul.yaml | ||
Berksfile | ||
bootstrap.sh | ||
CONTRIBUTING.md | ||
LICENSE | ||
metadata.rb | ||
Rakefile | ||
README.md | ||
TESTING.md |
Team and repository tags
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.