Module for managing Oslo.* library
Go to file
Michele Baldessari c7b0cc82fa Messaging notifications should be set as a list
We currently join the list into a comma-separated string.
This does not make a lot of sense because oslo messaging
notification drivers must not be passed in the driver=foo,bar form
but in the driver=foo\ndriver=bar form. See:

- https://docs.openstack.org/oslo.config/queens/configuration/format.html

multi valued (MultiStrOpt)

    A multi-valued option is a string value and can be given more than once, all values will be used.

    # Driver or drivers to handle sending notifications. (multi valued)
    notification_driver = nova.openstack.common.notifier.rpc_notifier
    notification_driver = ceilometer.compute.nova_notifier

By simply passing down the list we let all the puppet backends
that use the openstack_config:ruby backend to work correctly
(https://github.com/openstack/puppet-openstacklib#defined-provider-for-openstack_config-ruby)

This will fix the scenario where multiple notification drivers are
specified which is currently broken and will let the single driver
scenario to keep working as is.

Change-Id: If65946412b42e0919456ed92fdd8e3788ad67872
Related-Bug: #1851629
2020-04-07 18:46:05 +09:00
doc Bump the openstackdocstheme extension to 1.20 2019-08-13 11:29:07 +08:00
examples Fix module structure 2018-12-12 11:46:23 +01:00
lib/puppet Initial commit 2016-01-18 12:09:44 +08:00
manifests Messaging notifications should be set as a list 2020-04-07 18:46:05 +09:00
releasenotes Update master for stable/train 2019-10-04 13:34:30 +00:00
spec Messaging notifications should be set as a list 2020-04-07 18:46:05 +09:00
types Add Oslo::Dbconn data type 2019-02-14 23:15:32 +01:00
.gitignore Dissuade .gitignore references to personal tools 2018-10-08 11:39:25 +08:00
.gitreview OpenDev Migration Patch 2019-04-19 19:42:55 +00:00
.zuul.yaml switch documentation job to new PTI 2018-08-31 08:24:43 -04:00
Gemfile Move to opendev 2019-04-21 14:44:49 +08:00
LICENSE Update LICENSE 2018-04-06 20:14:58 +08:00
README.md Fix Repository 2019-04-21 12:59:10 +08:00
Rakefile Fix multiple bugs in puppet-oslo 2016-01-26 01:34:40 +08:00
bindep.txt modulesync: sync and add nodepool-bionic for beaker 2018-07-18 16:19:29 +02:00
metadata.json Prepare Train RC1 2019-09-25 13:45:43 +08:00
setup.cfg Change openstack-dev to openstack-discuss 2018-12-02 18:20:26 +01:00
setup.py Add structure for reno 2016-05-20 00:14:52 +02:00
tox.ini Update the constraints url 2019-09-26 11:25:13 +08:00

README.md

Team and repository tags

Team and repository tags

oslo

Table of Contents

  1. Overview - What is the oslo module?
  2. Module Description - What does the module do?
  3. Setup - The basics of getting started with oslo
  4. Implementation - An under-the-hood peek at what the module is doing
  5. Limitations - OS compatibility, etc.
  6. Beaker-Rspec - Beaker-rspec tests for the project
  7. Development - Guide for contributing to the module
  8. Contributors - Those with commits
  9. Release Notes - Release notes for the project
  10. Repository - The project source code repository

Overview

The oslo module is a part of OpenStack, an effort by the OpenStack infrastructure team to provide continuous integration testing and code review for OpenStack and OpenStack community projects not part of the core software. The module its self is used to flexibly configure and manage the Puppet OpenStack common module for OpenStack.

Module Description

The oslo module is a thorough attempt to make Puppet capable of managing the entirety of oslo libraries. This includes manifests to provision region specific endpoint and database connections. Types are shipped as part of the oslo module to assist in manipulation of configuration files.

Following versions of oslo libraries are get from requirements.txt in each project.

Name oslo.cache oslo.config oslo.concurrency oslo.context oslo.db oslo.log oslo.messaging oslo.middleware oslo.policy oslo.reports oslo.rootwrap oslo.serialization oslo.utils oslo.versionedobjects oslo.service oslo.i18n oslo.vmware
Aodh n/a >=2.6.0 n/a >=0.2.0 >=1.12.0 >=1.2.0 !=2.8.0,>2.6.1 !=2.0.0,>=1.2.0 >=0.5.0 n/a n/a >=1.4.0 >=1.9.0 n/a >=0.1.0 >=1.5.0 n/a
Barbican n/a >=3.2.0 >=2.3.0 >=0.2.0 n/a >=1.14.0 !=2.8.0,!=3.1.0,>2.6.1 n/a >=0.5.0 n/a n/a >=1.10.0 >=3.4.0 n/a >=1.0.0 >=1.5.0 n/a
Cinder n/a >=3.2.0 >=2.3.0 >=0.2.0 >=4.1.0 >=1.14.0 !=2.8.0,!=3.1.0,>2.6.1 >=3.0.0 >=0.5.0 >=0.6.0 >=2.0.0 >=1.10.0 >=3.2.0 >=0.13.0 >=1.0.0 >=1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0,>2.6.1 >=3.0.0 >=0.5.0 >=0.6.0 >=2.0.0 >=1.10.0 >=3.4.0 n/a >=1.0.0 >=1.5.0 n/a
Mistral n/a >=3.2.0 >=2.3.0 n/a >=4.1.0 >=1.14.0 !=2.8.0,!=3.1.0,>2.6.1 n/a n/a n/a n/a >=1.10.0 >=3.2.0 n/a >=1.0.0 n/a n/a
Murano n/a >=3.2.0 n/a >=0.2.0 >=4.1.0 >=1.14.0 !=2.8.0,!=3.1.0,>2.6.1 >=3.0.0 >=0.5.0 n/a n/a >=1.10.0 >=3.4.0 n/a >=1.0.0 >=1.5.0 n/a
Neutron n/a >=3.2.0 >=2.3.0 >=0.2.0 >=4.1.0 >=1.14.0 !=2.8.0,!=3.1.0,>2.6.1 >=3.0.0 >=0.5.0 >=0.6.0 >=2.0.0 >=1.10.0 >=3.4.0 >= 0.13.0 >=1.0.0 >=1.5.0 n/a
Rally n/a >=3.2.0 n/a >=3.2.0 >=4.1.0 >=1.14.0 n/a n/a n/a n/a n/a >=1.10.0 >=3.4.0 n/a n/a >=1.5.0 n/a
Sahara n/a >=3.2.0 >=2.3.0 >=0.2.0 >=4.1.0 >=1.14.0 !=2.8.0,!=3.1.0,>2.6.1 >=3.0.0 >= 0.5.0 n/a >=2.0.0 >=1.10.0 >=3.4.0 n/a >=1.0.0 >=1.5.0 n/a
Tempest n/a >=3.2.0 >=2.3.0 n/a n/a >=1.14.0 n/a n/a n/a n/a n/a >=1.10.0 >=3.2.0 n/a >=1.0.0 >=1.5.0 n/a
Trove n/a >=3.2.0 >=2.3.0 >=0.2.0 >=4.1.0 >=1.14.0 !=2.8.0,!=3.1.0,>2.6.1 >=3.0.0 n/a n/a n/a >=1.10.0 >=3.4.0 n/a >=1.0.0 >=1.5.0 n/a
Tuskar n/a >=2.3.0 n/a n/a >=2.4.1 n/a n/a n/a n/a n/a n/a n/a n/a n/a n/a n/a n/a
Swift n/a n/a n/a n/a n/a n/a n/a n/a n/a n/a n/a n/a n/a n/a n/a n/a n/a
Zaqar >= 0.8.0 >=3.2.0 n/a >=0.2.0 n/a >=1.14.0 n/a n/a >= 0.5.0 n/a n/a >=1.10.0 >=3.2.0 n/a n/a >=1.5.0 n/a

Setup

What the oslo module affects

  • Oslo, the oslo libraries for OpenStack.

Installing oslo

oslo is not currently in Puppet Forge, but is anticipated to be added soon.  Once that happens, you'll be able to install oslo with:
puppet module install openstack/oslo

Beginning with oslo

To utilize the oslo module's functionality you will need to declare multiple resources.

Implementation

oslo

oslo is a combination of Puppet manifest and ruby code to delivery configuration and extra functionality through types and providers.

Limitations

  • All the oslo types use the CLI tools and so need to be ran on the oslo node.

Beaker-Rspec

This module has beaker-rspec tests

To run the tests on the default vagrant node:

bundle install
bundle exec rake acceptance

For more information on writing and running beaker-rspec tests visit the documentation:

Development

Developer documentation for the entire puppet-openstack project.

Contributors

Release Notes

Repository