RETIRED, Chef Cookbook - Support Cookbook for Messaging
Go to file
Lance Albertson 8151bc7d69 Chef 17 support
- Require Chef >= 16.0
- Update copyright years

Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-common/+/813952
Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-ops-database/+/814032
Change-Id: I237243dd038cd1a27a9710131fb4ed016f6ee20c
Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-10-14 09:31:08 -07:00
.delivery Stein fixes 2020-03-19 10:59:34 -07:00
attributes Chef 17 support 2021-10-14 09:31:08 -07:00
recipes Chef 17 support 2021-10-14 09:31:08 -07:00
spec Cookstyle 6.19.5 fixes 2020-10-05 17:06:01 -07:00
.gitignore Initial kilo updates 2015-02-27 14:20:48 -06:00
.gitreview OpenDev Migration Patch 2019-04-19 19:34:25 +00:00
.rubocop.yml Chef 17 support 2021-10-14 09:31:08 -07:00
.zuul.yaml Rename openstack-chef-repo references to openstack-chef 2018-08-06 21:50:15 -07:00
Berksfile Set Berksfile to use ruby solver 2020-01-23 17:17:36 -08:00
CONTRIBUTING.md Moving IRC network reference to OFTC 2021-07-08 08:19:26 -05:00
LICENSE ops-messaging refactor for Pike and Chef 13 2017-11-28 17:00:50 +00:00
README.rst Chef 17 support 2021-10-14 09:31:08 -07:00
Rakefile Updates for rocky 2019-12-06 11:49:32 +00:00
TESTING.md Sync stackforge/cookbook* to openstack/cookbook* for ops-messaging cookbook 2015-06-16 11:49:19 +08:00
metadata.rb Chef 17 support 2021-10-14 09:31:08 -07:00

README.rst

OpenStack Chef Cookbook - ops-messaging

image

Description

This cookbook provides shared message queue configuration for the OpenStack deployment provided by Chef for OpenStack. The OpenStack chef-repo contains documentation for using this cookbook in the context of a full OpenStack deployment. It currently supports RabbitMQ and will soon other queues.

Requirements

  • Chef 16 or higher
  • Chef Workstation 21.10.640 for testing (also includes berkshelf for cookbook dependency resolution)

Platforms

  • ubuntu
  • redhat
  • centos

Cookbooks

The following cookbooks are dependencies:

  • 'openstack-common', '>= 20.0.0'
  • 'rabbitmq', '=> 5.8.5'

Usage

The usage of this cookbook is optional, you may choose to set up your own messaging service without using this cookbook. If you choose to do so, you will need to provide all of the attributes listed under the Attributes.

Resources/Providers

None

Templates

None

Recipes

rabbitmq-server

  • Installs and configures RabbitMQ and is called via the server recipe

Attributes

  • openstack["mq"]["cluster"] - whether or not to cluster rabbit, defaults to false

The following attributes are defined in attributes/messaging.rb of the common cookbook, but are documented here due to their relevance:

  • openstack["endpoints"]["mq"]["host"] - The IP address to bind the rabbit service to
  • openstack["endpoints"]["mq"]["port"] - The port to bind the rabbit service to
  • openstack["endpoints"]["mq"]["bind_interface"] - The interface name to bind the rabbit service to
  • openstack["mq"]["rabbitmq"]["use_ssl"] - Enables/disables SSL for RabbitMQ, the default is false.

If the value of the bind_interface attribute is non-nil, then the rabbit service will be bound to the first IP address on that interface. If the value of the bind_interface attribute is nil, then the rabbit service will be bound to the IP address specified in the host attribute.

Testing

Please refer to the TESTING.md for instructions for testing the cookbook.

Berkshelf

Berks will resolve version requirements and dependencies on first run and store these in Berksfile.lock. If new cookbooks become available you can run berks update to update the references in Berksfile.lock. Berksfile.lock will be included in stable branches to provide a known good set of dependencies. Berksfile.lock will not be included in development branches to encourage development against the latest cookbooks.

License and Author

Author John Dewey (john@dewey.ws)
Author Matt Ray (matt@opscode.com)
Author Craig Tracey (craigtracey@gmail.com)
Author Ionut Artarisi (iartarisi@suse.cz)
Author JieHua Jin (jinjhua@cn.ibm.com)
Author Mark Vanderwiel (vanderwl@us.ibm.com)
Author Jan Klare (j.klare@x-ion.de)
Author Lance Albertson (lance@osuosl.org)
Copyright Copyright (c) 2013, Opscode, Inc.
Copyright Copyright (c) 2013, Craig Tracey
Copyright Copyright (c) 2013, AT&T Services, Inc.
Copyright Copyright (c) 2013, SUSE Linux GmbH.
Copyright Copyright (c) 2013-2014, IBM Corp.
Copyright Copyright (c) 2019-2021, Oregon State University

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.