Jiri Podivin 2521ec80a4 setuptools: Disable auto discovery
The latest release of setuptools 61.0 made a breaking change[1] and
because of this change 'pip install' fails with the following error.

~~~
error: Multiple top-level packages discovered in a flat-layout:
['lib', 'spec', 'manifests', 'releasenotes'].
~~~

Users that don't set 'packages', 'py_modules', or configuration'
are still likely to observe the auto-discovery behavior, which may
halt the build if the project contains multiple directories and/or
multiple Python files directly under the project root.

To disable auto discovery, one can do below in setup.py

~~~
setuptools.setup(..,packages=[],..)
~~~

or

~~~
setuptools.setup(..,py_modules=[],..)
~~~

[1] https://github.com/pypa/setuptools/issues/3197

Note setup.py is not used to install puppet modules. However it is used
to generate a release note, thus should be fixed.

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I082c2e49a8ae103c57c69bec5c3a7f3840d845f6
(cherry picked from commit ed325e53b6)
2022-11-02 08:56:20 +00:00
2021-07-13 17:47:29 +09:00
2021-09-24 16:45:27 +09:00
2021-09-24 16:45:27 +09:00
2021-10-07 08:20:32 +00:00
2020-08-31 20:35:48 +02:00
2018-04-06 20:14:05 +08:00
2021-09-23 19:54:22 +08:00
2020-08-31 20:35:48 +02:00
2022-11-02 08:56:20 +00:00

Team and repository tags

Team and repository tags

AODH

Table of Contents

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

Overview

The AODH 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 Alarming service for OpenStack.

Module Description

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

Setup

What the AODH module affects

  • AODH, the Alarming service for OpenStack.

Installing AODH

puppet module install openstack/aodh

Beginning with AODH

To utilize the AODH module's functionality you will need to declare multiple resources. This is not an exhaustive list of all the components needed, we recommend you consult and understand the core OpenStack documentation.

Implementation

AODH

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

Limitations

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

Development

Developer documentation for the entire puppet-openstack project.

Repository

Contributors

Release Notes

Description
OpenStack Aodh Puppet Module
Readme 6.4 MiB
Languages
Ruby 50.7%
Puppet 44.6%
Python 4.7%