Retire puppet-rally - Step 2: Remove Project Content
Depends-on: https://review.opendev.org/879419 Change-Id: I2a5bf1a4a94a1482df86e65258ff1539d01b7219
This commit is contained in:
parent
471d5a8dfb
commit
83b4b0b52c
26
.gitignore
vendored
26
.gitignore
vendored
@ -1,26 +0,0 @@
|
||||
# Add patterns in here to exclude files created by tools integrated with this
|
||||
# repository, such as test frameworks from the project's recommended workflow,
|
||||
# rendered documentation and package builds.
|
||||
#
|
||||
# Don't add patterns to exclude files created by preferred personal tools
|
||||
# (editors, IDEs, your operating system itself even). These should instead be
|
||||
# maintained outside the repository, for example in a ~/.gitignore file added
|
||||
# with:
|
||||
#
|
||||
# git config --global core.excludesfile '~/.gitignore'
|
||||
|
||||
pkg/
|
||||
Gemfile.lock
|
||||
vendor/
|
||||
spec/fixtures/
|
||||
.vagrant/
|
||||
.bundle/
|
||||
coverage/
|
||||
.idea/
|
||||
*.iml
|
||||
/openstack
|
||||
/log
|
||||
|
||||
# Files created by releasenotes build
|
||||
releasenotes/build
|
||||
.tox
|
@ -1,5 +0,0 @@
|
||||
- project:
|
||||
templates:
|
||||
- puppet-openstack-check-jobs
|
||||
- puppet-openstack-module-unit-jobs
|
||||
- release-notes-jobs-python3
|
@ -1,19 +0,0 @@
|
||||
The source repository for this project can be found at:
|
||||
|
||||
https://opendev.org/openstack/puppet-rally
|
||||
|
||||
Pull requests submitted through GitHub are not monitored.
|
||||
|
||||
To start contributing to OpenStack, follow the steps in the contribution guide
|
||||
to set up and use Gerrit:
|
||||
|
||||
https://docs.openstack.org/contributors/code-and-documentation/quick-start.html
|
||||
|
||||
Bugs should be filed on Launchpad:
|
||||
|
||||
https://bugs.launchpad.net/puppet-rally
|
||||
|
||||
For more specific information about contributing to this repository, see the
|
||||
Puppet OpenStack contributor guide:
|
||||
|
||||
https://docs.openstack.org/puppet-openstack-guide/latest/contributor/contributing.html
|
36
Gemfile
36
Gemfile
@ -1,36 +0,0 @@
|
||||
source ENV['GEM_SOURCE'] || "https://rubygems.org"
|
||||
|
||||
group :development, :test, :system_tests do
|
||||
spec_helper_dir = '/home/zuul/src/opendev.org/openstack/puppet-openstack_spec_helper'
|
||||
if File.directory?(spec_helper_dir)
|
||||
if ENV['ZUUL_PROJECT'] == 'openstack/puppet-openstack_spec_helper'
|
||||
gem 'puppet-openstack_spec_helper',
|
||||
:path => '../..',
|
||||
:require => 'false'
|
||||
else
|
||||
gem 'puppet-openstack_spec_helper',
|
||||
:path => spec_helper_dir,
|
||||
:require => 'false'
|
||||
end
|
||||
else
|
||||
spec_helper_version = ENV['ZUUL_BRANCH'] || "master"
|
||||
gem 'puppet-openstack_spec_helper',
|
||||
:git => 'https://opendev.org/openstack/puppet-openstack_spec_helper',
|
||||
:ref => spec_helper_version,
|
||||
:require => 'false'
|
||||
end
|
||||
end
|
||||
|
||||
if facterversion = ENV['FACTER_GEM_VERSION']
|
||||
gem 'facter', facterversion, :require => false
|
||||
else
|
||||
gem 'facter', :require => false
|
||||
end
|
||||
|
||||
if puppetversion = ENV['PUPPET_GEM_VERSION']
|
||||
gem 'puppet', puppetversion, :require => false
|
||||
else
|
||||
gem 'puppet', :require => false
|
||||
end
|
||||
|
||||
# vim:ft=ruby
|
176
LICENSE
176
LICENSE
@ -1,176 +0,0 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
81
README.md
81
README.md
@ -1,81 +0,0 @@
|
||||
Team and repository tags
|
||||
========================
|
||||
|
||||
[![Team and repository tags](https://governance.openstack.org/tc/badges/puppet-rally.svg)](https://governance.openstack.org/tc/reference/tags/index.html)
|
||||
|
||||
<!-- Change things from this point on -->
|
||||
|
||||
rally
|
||||
=======
|
||||
|
||||
#### Table of Contents
|
||||
|
||||
1. [Overview - What is the rally module?](#overview)
|
||||
2. [Module Description - What does the module do?](#module-description)
|
||||
3. [Setup - The basics of getting started with rally](#setup)
|
||||
4. [Implementation - An under-the-hood peek at what the module is doing](#implementation)
|
||||
5. [Limitations - OS compatibility, etc.](#limitations)
|
||||
6. [Development - Guide for contributing to the module](#development)
|
||||
7. [Contributors - Those with commits](#contributors)
|
||||
8. [Release Notes - Release notes for the project](#release-notes)
|
||||
9. [Repository - The project source code repository](#repository)
|
||||
|
||||
Overview
|
||||
--------
|
||||
|
||||
The rally module is a part of [OpenStack](https://opendev.org/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 Benchmarking service for Openstack.
|
||||
|
||||
Module Description
|
||||
------------------
|
||||
|
||||
The rally module is a thorough attempt to make Puppet capable of managing the entirety of rally. This includes manifests to provision region specific endpoint and database connections. Types are shipped as part of the rally module to assist in manipulation of configuration files.
|
||||
|
||||
Setup
|
||||
-----
|
||||
|
||||
**What the rally module affects**
|
||||
|
||||
* [Rally](https://docs.openstack.org/rally/latest/), the Benchmarking service for Openstack.
|
||||
|
||||
### Installing rally
|
||||
|
||||
rally is not currently in Puppet Forge, but is anticipated to be added soon. Once that happens, you'll be able to install rally with:
|
||||
puppet module install openstack/rally
|
||||
|
||||
### Beginning with rally
|
||||
|
||||
To utilize the rally module's functionality you will need to declare multiple resources. The following is a modified excerpt from the [openstack module](https://github.com/stackforge/puppet-openstack). This is not an exhaustive list of all the components needed, we recommend you consult and understand the [openstack module](https://github.com/stackforge/puppet-openstack) and the [core openstack](http://docs.openstack.org) documentation.
|
||||
|
||||
Implementation
|
||||
--------------
|
||||
|
||||
### rally
|
||||
|
||||
rally is a combination of Puppet manifest and ruby code to delivery configuration and extra functionality through types and providers.
|
||||
|
||||
Limitations
|
||||
------------
|
||||
|
||||
* All the rally types use the CLI tools and so need to be ran on the rally node.
|
||||
|
||||
Development
|
||||
-----------
|
||||
|
||||
Developer documentation for the entire puppet-openstack project.
|
||||
|
||||
* https://docs.openstack.org/puppet-openstack-guide/latest/
|
||||
|
||||
Contributors
|
||||
------------
|
||||
|
||||
* https://github.com/openstack/puppet-rally/graphs/contributors
|
||||
|
||||
Release Notes
|
||||
-------------
|
||||
|
||||
* https://docs.openstack.org/releasenotes/puppet-rally
|
||||
|
||||
Repository
|
||||
-------------
|
||||
|
||||
* https://opendev.org/openstack/puppet-rally
|
8
README.rst
Normal file
8
README.rst
Normal file
@ -0,0 +1,8 @@
|
||||
This project is no longer maintained.
|
||||
|
||||
The contents of this repository are still available in the Git source code
|
||||
management system. To see the contents of this repository before it reached its
|
||||
end of life, please check out the previous commit with "git checkout HEAD^1".
|
||||
|
||||
For any further questions, please email openstack-discuss@lists.openstack.org
|
||||
or join #openstack-dev on OFTC.
|
12
bindep.txt
12
bindep.txt
@ -1,12 +0,0 @@
|
||||
# This is a cross-platform list tracking distribution packages needed by tests;
|
||||
# see https://docs.openstack.org/infra/bindep/ for additional information.
|
||||
|
||||
libxml2-devel [test platform:rpm]
|
||||
libxml2-dev [test platform:dpkg]
|
||||
libxslt-devel [test platform:rpm]
|
||||
libxslt1-dev [test platform:dpkg]
|
||||
ruby-devel [test platform:rpm]
|
||||
ruby-dev [test platform:dpkg]
|
||||
zlib1g-dev [test platform:dpkg]
|
||||
zlib-devel [test platform:rpm]
|
||||
puppet [build]
|
@ -1,6 +0,0 @@
|
||||
# This is required for the docs build jobs
|
||||
sphinx>=3.5.1 # BSD
|
||||
openstackdocstheme>=2.2.7 # Apache-2.0
|
||||
|
||||
# This is required for the releasenotes build jobs
|
||||
reno>=3.2.0 # Apache-2.0
|
@ -1,11 +0,0 @@
|
||||
# Example: managing rally services
|
||||
|
||||
class { 'rally::settings':
|
||||
cirros_img_url => 'http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img',
|
||||
project_domain => 'admin',
|
||||
resource_deletion_timeout => '120',
|
||||
}
|
||||
|
||||
class { 'rally':
|
||||
ensure_package => latest,
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
Puppet::Type.type(:rally_config).provide(
|
||||
:ini_setting,
|
||||
:parent => Puppet::Type.type(:openstack_config).provider(:ini_setting)
|
||||
) do
|
||||
|
||||
def self.file_path
|
||||
'/etc/rally/rally.conf'
|
||||
end
|
||||
|
||||
end
|
@ -1,23 +0,0 @@
|
||||
Puppet::Type.type(:rally_deployment).provide(:file) do
|
||||
commands :rally => "/usr/bin/rally"
|
||||
|
||||
def exists?
|
||||
result = rally "deployment", "list"
|
||||
result.include? resource[:name]
|
||||
end
|
||||
|
||||
def create
|
||||
rally "deployment", "create", "--name", resource[:name], "--filename",
|
||||
resource[:filename]
|
||||
end
|
||||
|
||||
def destroy
|
||||
rally "deployment", "destroy", resource[:name]
|
||||
end
|
||||
|
||||
def recreate
|
||||
rally "deployment", "recreate", "--deployment", resource[:name], "--filename",
|
||||
resource[:filename]
|
||||
end
|
||||
|
||||
end
|
@ -1,53 +0,0 @@
|
||||
Puppet::Type.newtype(:rally_config) do
|
||||
|
||||
ensurable
|
||||
|
||||
newparam(:name, :namevar => true) do
|
||||
desc 'Section/setting name to manage from rally.conf'
|
||||
newvalues(/\S+\/\S+/)
|
||||
end
|
||||
|
||||
newproperty(:value) do
|
||||
desc 'The value of the setting to be defined.'
|
||||
munge do |value|
|
||||
value = value.to_s.strip
|
||||
value.capitalize! if value =~ /^(true|false)$/i
|
||||
value
|
||||
end
|
||||
newvalues(/^[\S ]*$/)
|
||||
|
||||
def is_to_s( currentvalue )
|
||||
if resource.secret?
|
||||
return '[old secret redacted]'
|
||||
else
|
||||
return currentvalue
|
||||
end
|
||||
end
|
||||
|
||||
def should_to_s( newvalue )
|
||||
if resource.secret?
|
||||
return '[new secret redacted]'
|
||||
else
|
||||
return newvalue
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
newparam(:secret, :boolean => true) do
|
||||
desc 'Whether to hide the value from Puppet logs. Defaults to `false`.'
|
||||
|
||||
newvalues(:true, :false)
|
||||
|
||||
defaultto false
|
||||
end
|
||||
|
||||
newparam(:ensure_absent_val) do
|
||||
desc 'A value that is specified as the value property will behave as if ensure => absent was specified'
|
||||
defaultto('<SERVICE DEFAULT>')
|
||||
end
|
||||
|
||||
autorequire(:anchor) do
|
||||
['rally::install::end']
|
||||
end
|
||||
|
||||
end
|
@ -1,41 +0,0 @@
|
||||
Puppet::Type.newtype(:rally_deployment, :self_refresh => true) do
|
||||
|
||||
@doc = <<-EOS
|
||||
This type provides Puppet with the capabilities to
|
||||
create new deployments in rally. It requires to use an
|
||||
existing file previously defined.
|
||||
|
||||
rally_deployment { 'deployment_name':
|
||||
filename => '/path/to/rally/deployment.json',
|
||||
}
|
||||
|
||||
It will create a deployment called `deployment_name` with
|
||||
the configuration defined in `/path/to/rally/deployment.json`.
|
||||
EOS
|
||||
|
||||
feature :refreshable, "The provider can recreate the deployment",
|
||||
:methods => [:recreate]
|
||||
|
||||
ensurable do
|
||||
defaultvalues
|
||||
defaultto :present
|
||||
end
|
||||
|
||||
newparam(:name) do
|
||||
desc 'Name for the rally deployment'
|
||||
end
|
||||
|
||||
newparam(:filename) do
|
||||
desc 'The deployment configuration. It has to be an existing machine'
|
||||
|
||||
validate do |value|
|
||||
unless Puppet::Util.absolute_path?(value)
|
||||
raise Puppet::Error, "File paths must be fully qualified, not '#{value}'"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def refresh
|
||||
provider.recreate
|
||||
end
|
||||
end
|
@ -1,32 +0,0 @@
|
||||
# == Class: rally::config
|
||||
#
|
||||
# This class is used to manage arbitrary rally configurations.
|
||||
#
|
||||
# === Parameters
|
||||
#
|
||||
# [*rally_config*]
|
||||
# (optional) Allow configuration of arbitrary rally configurations.
|
||||
# The value is an hash of rally_config resources. Example:
|
||||
# { 'DEFAULT/foo' => { value => 'fooValue'},
|
||||
# 'DEFAULT/bar' => { value => 'barValue'}
|
||||
# }
|
||||
# In yaml format, Example:
|
||||
# rally_config:
|
||||
# DEFAULT/foo:
|
||||
# value: fooValue
|
||||
# DEFAULT/bar:
|
||||
# value: barValue
|
||||
#
|
||||
# NOTE: The configuration MUST NOT be already handled by this module
|
||||
# or Puppet catalog compilation will fail with duplicate resources.
|
||||
#
|
||||
class rally::config (
|
||||
$rally_config = {},
|
||||
) {
|
||||
|
||||
include rally::deps
|
||||
|
||||
validate_legacy(Hash, 'validate_hash', $rally_config)
|
||||
|
||||
create_resources('rally_config', $rally_config)
|
||||
}
|
@ -1,83 +0,0 @@
|
||||
# == Class: rally::db
|
||||
#
|
||||
# Configure the rally database
|
||||
#
|
||||
# === Parameters
|
||||
#
|
||||
# [*database_connection*]
|
||||
# Url used to connect to database.
|
||||
# (Optional) Defaults to "sqlite:////var/lib/rally/rally.sqlite".
|
||||
#
|
||||
# [*database_connection_recycle_time*]
|
||||
# Timeout when db connections should be reaped.
|
||||
# (Optional) Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*database_max_retries*]
|
||||
# Maximum number of database connection retries during startup.
|
||||
# Setting -1 implies an infinite retry count.
|
||||
# (Optional) Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*database_retry_interval*]
|
||||
# Interval between retries of opening a database connection.
|
||||
# (Optional) Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*database_max_pool_size*]
|
||||
# Maximum number of SQL connections to keep open in a pool.
|
||||
# (Optional) Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*database_max_overflow*]
|
||||
# If set, use this value for max_overflow with sqlalchemy.
|
||||
# (Optional) Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*database_pool_timeout*]
|
||||
# (Optional) If set, use this value for pool_timeout with SQLAlchemy.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*mysql_enable_ndb*]
|
||||
# (Optional) If True, transparently enables support for handling MySQL
|
||||
# Cluster (NDB).
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*database_db_max_retries*]
|
||||
# (Optional) Maximum retries in case of connection error or deadlock error
|
||||
# before error is raised. Set to -1 to specify an infinite retry count.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
class rally::db (
|
||||
$database_connection = 'sqlite:////var/lib/rally/rally.sqlite',
|
||||
$database_connection_recycle_time = $facts['os_service_default'],
|
||||
$database_max_pool_size = $facts['os_service_default'],
|
||||
$database_max_retries = $facts['os_service_default'],
|
||||
$database_retry_interval = $facts['os_service_default'],
|
||||
$database_max_overflow = $facts['os_service_default'],
|
||||
$database_pool_timeout = $facts['os_service_default'],
|
||||
$mysql_enable_ndb = $facts['os_service_default'],
|
||||
$database_db_max_retries = $facts['os_service_default'],
|
||||
) {
|
||||
|
||||
include rally::deps
|
||||
|
||||
# This is only for rally SQLite
|
||||
if $database_connection =~ /^sqlite:\/\// {
|
||||
$sqlite_dir = regsubst($database_connection,'^sqlite:\/\/\/(\S+)+\/(\S+)$','\1')
|
||||
ensure_resource('file', $sqlite_dir,{
|
||||
ensure => directory,
|
||||
owner => root,
|
||||
group => root,
|
||||
mode => '0755',
|
||||
})
|
||||
}
|
||||
|
||||
oslo::db { 'rally_config':
|
||||
connection => $database_connection,
|
||||
connection_recycle_time => $database_connection_recycle_time,
|
||||
max_pool_size => $database_max_pool_size,
|
||||
max_retries => $database_max_retries,
|
||||
retry_interval => $database_retry_interval,
|
||||
max_overflow => $database_max_overflow,
|
||||
pool_timeout => $database_pool_timeout,
|
||||
mysql_enable_ndb => $mysql_enable_ndb,
|
||||
db_max_retries => $database_db_max_retries,
|
||||
}
|
||||
|
||||
}
|
@ -1,64 +0,0 @@
|
||||
# The rally::db::mysql class implements mysql backend for rally
|
||||
#
|
||||
# This class can be used to create tables, users and grant
|
||||
# privelege for a mysql rally database.
|
||||
#
|
||||
# == Parameters
|
||||
#
|
||||
# [*password*]
|
||||
# (Required) Password to connect to the database.
|
||||
#
|
||||
# [*dbname*]
|
||||
# (Optional) Name of the database.
|
||||
# Defaults to 'rally'.
|
||||
#
|
||||
# [*user*]
|
||||
# (Optional) User to connect to the database.
|
||||
# Defaults to 'rally'.
|
||||
#
|
||||
# [*host*]
|
||||
# (Optional) The default source host user is allowed to connect from.
|
||||
# Defaults to '127.0.0.1'
|
||||
#
|
||||
# [*allowed_hosts*]
|
||||
# (Optional) Other hosts the user is allowed to connect from.
|
||||
# Defaults to 'undef'.
|
||||
#
|
||||
# [*charset*]
|
||||
# (Optional) The database charset.
|
||||
# Defaults to 'utf8'
|
||||
#
|
||||
# [*collate*]
|
||||
# (Optional) The database collate.
|
||||
# Only used with mysql modules >= 2.2.
|
||||
# Defaults to 'utf8_general_ci'
|
||||
#
|
||||
class rally::db::mysql(
|
||||
$password,
|
||||
$dbname = 'rally',
|
||||
$user = 'rally',
|
||||
$host = '127.0.0.1',
|
||||
$charset = 'utf8',
|
||||
$collate = 'utf8_general_ci',
|
||||
$allowed_hosts = undef
|
||||
) {
|
||||
|
||||
include rally::deps
|
||||
|
||||
validate_legacy(String, 'validate_string', $password)
|
||||
|
||||
::openstacklib::db::mysql { 'rally':
|
||||
user => $user,
|
||||
password => $password,
|
||||
dbname => $dbname,
|
||||
host => $host,
|
||||
charset => $charset,
|
||||
collate => $collate,
|
||||
allowed_hosts => $allowed_hosts,
|
||||
}
|
||||
|
||||
Anchor['rally::db::begin']
|
||||
~> Class['rally::db::mysql']
|
||||
~> Anchor['rally::db::end']
|
||||
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# == Class: rally::db::postgresql
|
||||
#
|
||||
# Class that configures postgresql for rally
|
||||
# Requires the Puppetlabs postgresql module.
|
||||
#
|
||||
# === Parameters
|
||||
#
|
||||
# [*password*]
|
||||
# (Required) Password to connect to the database.
|
||||
#
|
||||
# [*dbname*]
|
||||
# (Optional) Name of the database.
|
||||
# Defaults to 'rally'.
|
||||
#
|
||||
# [*user*]
|
||||
# (Optional) User to connect to the database.
|
||||
# Defaults to 'rally'.
|
||||
#
|
||||
# [*encoding*]
|
||||
# (Optional) The charset to use for the database.
|
||||
# Default to undef.
|
||||
#
|
||||
# [*privileges*]
|
||||
# (Optional) Privileges given to the database user.
|
||||
# Default to 'ALL'
|
||||
#
|
||||
class rally::db::postgresql(
|
||||
$password,
|
||||
$dbname = 'rally',
|
||||
$user = 'rally',
|
||||
$encoding = undef,
|
||||
$privileges = 'ALL',
|
||||
) {
|
||||
|
||||
include rally::deps
|
||||
|
||||
::openstacklib::db::postgresql { 'rally':
|
||||
password => $password,
|
||||
dbname => $dbname,
|
||||
user => $user,
|
||||
encoding => $encoding,
|
||||
privileges => $privileges,
|
||||
}
|
||||
|
||||
Anchor['rally::db::begin']
|
||||
~> Class['rally::db::postgresql']
|
||||
~> Anchor['rally::db::end']
|
||||
|
||||
}
|
@ -1,53 +0,0 @@
|
||||
#
|
||||
# Class to execute rally dbsync
|
||||
#
|
||||
# == Parameters
|
||||
#
|
||||
# [*extra_params*]
|
||||
# (Optional) String of extra command line parameters to append
|
||||
# to the rally db sync command. These will be inserted in the command line
|
||||
# between 'rally' and 'db create'.
|
||||
# Defaults to '--config-file /etc/rally/rally.conf'
|
||||
#
|
||||
# [*db_sync_timeout*]
|
||||
# (Optional) Timeout for the execution of the db_sync
|
||||
# Defaults to 300
|
||||
#
|
||||
# [*upgrade*]
|
||||
# (Optional) Run rally db upgrade command instead of rally db create command.
|
||||
# Defaults to false
|
||||
#
|
||||
class rally::db::sync(
|
||||
$extra_params = '--config-file /etc/rally/rally.conf',
|
||||
$db_sync_timeout = 300,
|
||||
$upgrade = false,
|
||||
) {
|
||||
|
||||
include rally::deps
|
||||
|
||||
validate_legacy(Boolean, 'validate_bool', $upgrade)
|
||||
|
||||
$subcommand = $upgrade ? {
|
||||
true => 'upgrade',
|
||||
default => 'create'
|
||||
}
|
||||
|
||||
exec { 'rally db_sync':
|
||||
command => "rally ${extra_params} db ${subcommand}",
|
||||
path => '/usr/bin',
|
||||
user => 'root',
|
||||
refreshonly => true,
|
||||
try_sleep => 5,
|
||||
tries => 10,
|
||||
timeout => $db_sync_timeout,
|
||||
logoutput => on_failure,
|
||||
subscribe => [
|
||||
Anchor['rally::install::end'],
|
||||
Anchor['rally::config::end'],
|
||||
Anchor['rally::dbsync::begin']
|
||||
],
|
||||
notify => Anchor['rally::dbsync::end'],
|
||||
tag => 'openstack-db',
|
||||
}
|
||||
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# == Class: rally::deps
|
||||
#
|
||||
# Rally anchors and dependency management
|
||||
#
|
||||
class rally::deps {
|
||||
# Setup anchors for install, config and service phases of the module. These
|
||||
# anchors allow external modules to hook the begin and end of any of these
|
||||
# phases. Package or service management can also be replaced by ensuring the
|
||||
# package is absent or turning off service management and having the
|
||||
# replacement depend on the appropriate anchors. When applicable, end tags
|
||||
# should be notified so that subscribers can determine if installation,
|
||||
# config or service state changed and act on that if needed.
|
||||
anchor { 'rally::install::begin': }
|
||||
-> Package<| tag == 'rally-package'|>
|
||||
~> anchor { 'rally::install::end': }
|
||||
-> anchor { 'rally::config::begin': }
|
||||
-> Rally_config<||>
|
||||
~> anchor { 'rally::config::end': }
|
||||
-> anchor { 'rally::db::begin': }
|
||||
-> anchor { 'rally::db::end': }
|
||||
~> anchor { 'rally::dbsync::begin': }
|
||||
-> anchor { 'rally::dbsync::end': }
|
||||
~> anchor { 'rally::service::begin': }
|
||||
~> Service<| tag == 'rally-service' |>
|
||||
~> anchor { 'rally::service::end': }
|
||||
|
||||
# all db settings should be applied and all packages should be installed
|
||||
# before dbsync starts
|
||||
Oslo::Db<||> -> Anchor['rally::dbsync::begin']
|
||||
|
||||
# Installation or config changes will always restart services.
|
||||
Anchor['rally::install::end'] ~> Anchor['rally::service::begin']
|
||||
Anchor['rally::config::end'] ~> Anchor['rally::service::begin']
|
||||
}
|
@ -1,75 +0,0 @@
|
||||
# == Class: rally
|
||||
#
|
||||
# This class is used to specify configuration default section parameters in rally.
|
||||
#
|
||||
# === Parameters:
|
||||
#
|
||||
# [*package_ensure*]
|
||||
# (optional) The state of rally packages
|
||||
# Defaults to 'present'.
|
||||
#
|
||||
# [*rally_debug*]
|
||||
# (optional) Print debugging output only for Rally. (boolean value)
|
||||
# Defaults to $facts['os_service_default'].
|
||||
#
|
||||
# [*openstack_client_http_timeout*]
|
||||
# (optional) HTTP timeout for any of OpenStack service in seconds (floating point value)
|
||||
# Defaults to $facts['os_service_default'].
|
||||
#
|
||||
# [*purge_config*]
|
||||
# (optional) Whether to set only the specified config options
|
||||
# in the rally config.
|
||||
# Defaults to false.
|
||||
#
|
||||
# [*sync_db*]
|
||||
# (Optional) Run db sync on the node.
|
||||
# Defaults to true.
|
||||
#
|
||||
class rally (
|
||||
$package_ensure = 'present',
|
||||
$rally_debug = $facts['os_service_default'],
|
||||
$openstack_client_http_timeout = $facts['os_service_default'],
|
||||
$purge_config = false,
|
||||
$sync_db = true,
|
||||
) inherits rally::params {
|
||||
|
||||
include rally::deps
|
||||
include rally::db
|
||||
include rally::settings
|
||||
|
||||
# Keep backward compatibility
|
||||
$openstack_client_http_timeout_real = pick($::rally::settings::openstack_client_http_timeout,$openstack_client_http_timeout)
|
||||
|
||||
package { 'rally':
|
||||
ensure => $package_ensure,
|
||||
name => $::rally::params::package_name,
|
||||
tag => ['openstack', 'rally-package'],
|
||||
}
|
||||
|
||||
if $::rally::params::plugin_package_name {
|
||||
package { 'rally-openstack':
|
||||
ensure => $package_ensure,
|
||||
name => $::rally::params::plugin_package_name,
|
||||
tag => ['openstack', 'rally-package'],
|
||||
}
|
||||
} else {
|
||||
# NOTE(tkajinam): All plugins and job definitions for OpenStack environment
|
||||
# has been migrated the separate rally-openstack repo. If
|
||||
# this is not packaged, none of Rally jobs for OpenStack
|
||||
# environment can be executed.
|
||||
warning('rally-openstack is not packaged for this OS.')
|
||||
}
|
||||
|
||||
resources { 'rally_config':
|
||||
purge => $purge_config,
|
||||
}
|
||||
|
||||
if $sync_db {
|
||||
include rally::db::sync
|
||||
}
|
||||
|
||||
rally_config {
|
||||
'DEFAULT/rally_debug': value => $rally_debug;
|
||||
'DEFAULT/openstack_client_http_timeout': value => $openstack_client_http_timeout;
|
||||
}
|
||||
}
|
@ -1,156 +0,0 @@
|
||||
# Class rally::logging
|
||||
#
|
||||
# rally logging configuration
|
||||
#
|
||||
# == parameters
|
||||
#
|
||||
# [*debug*]
|
||||
# (Optional) Should the daemons log debug messages
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*use_syslog*]
|
||||
# (Optional) Use syslog for logging.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*use_json*]
|
||||
# (Optional) Use json for logging.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*use_journal*]
|
||||
# (Optional) Use journal for logging.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*use_stderr*]
|
||||
# (Optional) Use stderr for logging
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*log_facility*]
|
||||
# (Optional) Syslog facility to receive log lines.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*log_dir*]
|
||||
# (Optional) Directory where logs should be stored.
|
||||
# If set to boolean false, it will not log to any directory.
|
||||
# Defaults to '/var/log/rally'.
|
||||
#
|
||||
# [*log_file*]
|
||||
# (Optional) File where logs should be stored.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*watch_log_file*]
|
||||
# (Optional) Uses logging handler designed to watch file system (boolean value).
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*logging_context_format_string*]
|
||||
# (Optional) Format string to use for log messages with context.
|
||||
# Defaults to $facts['os_service_default']
|
||||
# Example: '%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s\
|
||||
# [%(request_id)s %(user_identity)s] %(instance)s%(message)s'
|
||||
#
|
||||
# [*logging_default_format_string*]
|
||||
# (Optional) Format string to use for log messages without context.
|
||||
# Defaults to $facts['os_service_default']
|
||||
# Example: '%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s\
|
||||
# [-] %(instance)s%(message)s'
|
||||
#
|
||||
# [*logging_debug_format_suffix*]
|
||||
# (Optional) Formatted data to append to log format when level is DEBUG.
|
||||
# Defaults to $facts['os_service_default']
|
||||
# Example: '%(funcName)s %(pathname)s:%(lineno)d'
|
||||
#
|
||||
# [*logging_exception_prefix*]
|
||||
# (Optional) Prefix each line of exception output with this format.
|
||||
# Defaults to $facts['os_service_default']
|
||||
# Example: '%(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s'
|
||||
#
|
||||
# [*log_config_append*]
|
||||
# (Optional) The name of an additional logging configuration file.
|
||||
# Defaults to $facts['os_service_default']
|
||||
# See https://docs.python.org/2/howto/logging.html
|
||||
#
|
||||
# [*default_log_levels*]
|
||||
# (0ptional) Hash of logger (keys) and level (values) pairs.
|
||||
# Defaults to $facts['os_service_default']
|
||||
# Example:
|
||||
# { 'amqp' => 'WARN', 'amqplib' => 'WARN', 'boto' => 'WARN',
|
||||
# ''sqlalchemy' => 'WARN', 'suds' => 'INFO',
|
||||
# 'oslo.messaging' => 'INFO', 'iso8601' => 'WARN',
|
||||
# 'requests.packages.urllib3.connectionpool' => 'WARN',
|
||||
# 'urllib3.connectionpool' => 'WARN',
|
||||
# 'websocket' => 'WARN', 'rallymiddleware' => 'WARN',
|
||||
# 'routes.middleware' => 'WARN', stevedore => 'WARN' }
|
||||
#
|
||||
# [*publish_errors*]
|
||||
# (Optional) Publish error events (boolean value).
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*fatal_deprecations*]
|
||||
# (Optional) Make deprecations fatal (boolean value)
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*instance_format*]
|
||||
# (Optional) If an instance is passed with the log message, format it
|
||||
# like this (string value).
|
||||
# Defaults to undef.
|
||||
# Example: '[instance: %(uuid)s] '
|
||||
#
|
||||
# [*instance_uuid_format*]
|
||||
# (Optional) If an instance UUID is passed with the log message, format
|
||||
# it like this (string value).
|
||||
# Defaults to $facts['os_service_default']
|
||||
# Example: instance_uuid_format='[instance: %(uuid)s] '
|
||||
#
|
||||
# [*log_date_format*]
|
||||
# (Optional) Format string for %%(asctime)s in log records.
|
||||
# Defaults to $facts['os_service_default']
|
||||
# Example: 'Y-%m-%d %H:%M:%S'
|
||||
#
|
||||
class rally::logging(
|
||||
$use_syslog = $facts['os_service_default'],
|
||||
$use_json = $facts['os_service_default'],
|
||||
$use_journal = $facts['os_service_default'],
|
||||
$use_stderr = $facts['os_service_default'],
|
||||
$log_facility = $facts['os_service_default'],
|
||||
$log_file = $facts['os_service_default'],
|
||||
$watch_log_file = $facts['os_service_default'],
|
||||
$log_dir = '/var/log/rally',
|
||||
$debug = $facts['os_service_default'],
|
||||
$logging_context_format_string = $facts['os_service_default'],
|
||||
$logging_default_format_string = $facts['os_service_default'],
|
||||
$logging_debug_format_suffix = $facts['os_service_default'],
|
||||
$logging_exception_prefix = $facts['os_service_default'],
|
||||
$log_config_append = $facts['os_service_default'],
|
||||
$default_log_levels = $facts['os_service_default'],
|
||||
$publish_errors = $facts['os_service_default'],
|
||||
$fatal_deprecations = $facts['os_service_default'],
|
||||
$instance_format = $facts['os_service_default'],
|
||||
$instance_uuid_format = $facts['os_service_default'],
|
||||
$log_date_format = $facts['os_service_default'],
|
||||
) {
|
||||
|
||||
include rally::deps
|
||||
|
||||
oslo::log { 'rally_config':
|
||||
debug => $debug,
|
||||
use_syslog => $use_syslog,
|
||||
use_json => $use_json,
|
||||
use_journal => $use_journal,
|
||||
use_stderr => $use_stderr,
|
||||
log_dir => $log_dir,
|
||||
log_file => $log_file,
|
||||
watch_log_file => $watch_log_file,
|
||||
syslog_log_facility => $log_facility,
|
||||
logging_context_format_string => $logging_context_format_string,
|
||||
logging_default_format_string => $logging_default_format_string,
|
||||
logging_debug_format_suffix => $logging_debug_format_suffix,
|
||||
logging_exception_prefix => $logging_exception_prefix,
|
||||
log_config_append => $log_config_append,
|
||||
default_log_levels => $default_log_levels,
|
||||
publish_errors => $publish_errors,
|
||||
fatal_deprecations => $fatal_deprecations,
|
||||
instance_format => $instance_format,
|
||||
instance_uuid_format => $instance_uuid_format,
|
||||
log_date_format => $log_date_format,
|
||||
}
|
||||
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
# ==Class: rally::params
|
||||
#
|
||||
# Parameters for puppet-rally
|
||||
#
|
||||
class rally::params {
|
||||
include openstacklib::defaults
|
||||
|
||||
case $facts['os']['family'] {
|
||||
'RedHat': {
|
||||
$package_name = 'openstack-rally'
|
||||
$plugin_package_name = 'openstack-rally-plugins'
|
||||
}
|
||||
'Debian': {
|
||||
$package_name = 'rally'
|
||||
$plugin_package_name = 'python3-rally-openstack'
|
||||
}
|
||||
default: {
|
||||
fail("Unsupported osfamily: ${facts['os']['family']}")
|
||||
}
|
||||
|
||||
} # Case $facts['os']['family']
|
||||
}
|
@ -1,58 +0,0 @@
|
||||
# == Class: rally::settings
|
||||
#
|
||||
# Configure Rally benchmarking settings
|
||||
#
|
||||
# === Parameters
|
||||
#
|
||||
# [*project_domain*]
|
||||
# (Optional) ID of domain in which projects will be created.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*resource_deletion_timeout*]
|
||||
# (Optional) A timeout in seconds for deleting resources
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*resource_management_workers*]
|
||||
# (Optional) How many concurrent threads use for serving users context
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*user_domain*]
|
||||
# (Optional) ID of domain in which users will be created.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*openstack_client_http_timeout*]
|
||||
# (optional) HTTP timeout for any of OpenStack service in seconds (floating point value)
|
||||
# Defaults to undef.
|
||||
#
|
||||
class rally::settings (
|
||||
$project_domain = $facts['os_service_default'],
|
||||
$resource_deletion_timeout = $facts['os_service_default'],
|
||||
$resource_management_workers = $facts['os_service_default'],
|
||||
$user_domain = $facts['os_service_default'],
|
||||
$openstack_client_http_timeout = undef,
|
||||
) {
|
||||
|
||||
include rally::deps
|
||||
include rally::settings::cinder
|
||||
include rally::settings::glance
|
||||
include rally::settings::heat
|
||||
include rally::settings::ironic
|
||||
include rally::settings::manila
|
||||
include rally::settings::murano
|
||||
include rally::settings::nova
|
||||
include rally::settings::octavia
|
||||
include rally::settings::sahara
|
||||
include rally::settings::swift
|
||||
include rally::settings::tempest
|
||||
include rally::settings::magnum
|
||||
include rally::settings::mistral
|
||||
include rally::settings::monasca
|
||||
include rally::settings::watcher
|
||||
|
||||
rally_config {
|
||||
'openstack/resource_deletion_timeout': value => $resource_deletion_timeout;
|
||||
'openstack/project_domain': value => $project_domain;
|
||||
'openstack/users_context_resource_management_workers': value => $resource_management_workers;
|
||||
'openstack/user_domain': value => $user_domain;
|
||||
}
|
||||
}
|
@ -1,57 +0,0 @@
|
||||
# == Class: rally::settings::cinder
|
||||
#
|
||||
# Configure Rally benchmarking settings for Cinder
|
||||
#
|
||||
# === Parameters
|
||||
#
|
||||
# [*volume_create_poll_interval*]
|
||||
# (Optional) Interval between checks when waiting for volume creation.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*volume_create_prepoll_delay*]
|
||||
# (Optional) Time to sleep after creating a resource before polling for it
|
||||
# status
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*volume_create_timeout*]
|
||||
# (Optional) Time to wait for cinder volume to be created.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*volume_delete_poll_interval*]
|
||||
# (Optional) Interval between checks when waiting for volume deletion.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*volume_delete_timeout*]
|
||||
# (Optional) Time to wait for cinder volume to be deleted.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*backup_restore_poll_interval*]
|
||||
# (Optional) Interval between checks when waiting for backup restoring.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*backup_restore_timeout*]
|
||||
# (Optional) Time to wait for cinder backup to be restored.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
class rally::settings::cinder (
|
||||
$volume_create_poll_interval = $facts['os_service_default'],
|
||||
$volume_create_prepoll_delay = $facts['os_service_default'],
|
||||
$volume_create_timeout = $facts['os_service_default'],
|
||||
$volume_delete_poll_interval = $facts['os_service_default'],
|
||||
$volume_delete_timeout = $facts['os_service_default'],
|
||||
$backup_restore_poll_interval = $facts['os_service_default'],
|
||||
$backup_restore_timeout = $facts['os_service_default'],
|
||||
) {
|
||||
|
||||
include rally::deps
|
||||
|
||||
rally_config {
|
||||
'openstack/cinder_volume_create_poll_interval': value => $volume_create_poll_interval;
|
||||
'openstack/cinder_volume_create_prepoll_delay': value => $volume_create_prepoll_delay;
|
||||
'openstack/cinder_volume_create_timeout': value => $volume_create_timeout;
|
||||
'openstack/cinder_volume_delete_poll_interval': value => $volume_delete_poll_interval;
|
||||
'openstack/cinder_volume_delete_timeout': value => $volume_delete_timeout;
|
||||
'openstack/cinder_backup_restore_poll_interval': value => $backup_restore_poll_interval;
|
||||
'openstack/cinder_backup_restore_timeout': value => $backup_restore_timeout;
|
||||
}
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# == Class: rally::settings::ec2
|
||||
#
|
||||
# Configure Rally benchmarking settings for EC2
|
||||
#
|
||||
# === Parameters
|
||||
#
|
||||
# [*server_boot_poll_interval*]
|
||||
# (Optional) Server boot poll interval
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_boot_prepoll_delay*]
|
||||
# (Optional) Time to sleep after boot before polling for status
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_boot_timeout*]
|
||||
# (Optional) Server boot timeout
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
class rally::settings::ec2 (
|
||||
$server_boot_poll_interval = $facts['os_service_default'],
|
||||
$server_boot_prepoll_delay = $facts['os_service_default'],
|
||||
$server_boot_timeout = $facts['os_service_default'],
|
||||
) {
|
||||
|
||||
warning("The rally::settings::ec2 class has been deprecated and \
|
||||
will be removed in a future release.")
|
||||
|
||||
include rally::deps
|
||||
|
||||
rally_config {
|
||||
'openstack/ec2_server_boot_poll_interval': value => $server_boot_poll_interval;
|
||||
'openstack/ec2_server_boot_prepoll_delay': value => $server_boot_prepoll_delay;
|
||||
'openstack/ec2_server_boot_timeout': value => $server_boot_timeout;
|
||||
}
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
# == Class: rally::settings::glance
|
||||
#
|
||||
# Configure Rally benchmarking settings for Glance
|
||||
#
|
||||
# === Parameters
|
||||
#
|
||||
# [*image_create_poll_interval*]
|
||||
# (Optional) Interval between checks when waiting for image creation.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*image_create_prepoll_delay*]
|
||||
# (Optional) Time to sleep after creating a resource before polling for it
|
||||
# status
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*image_create_timeout*]
|
||||
# (Optional) Time to wait for glance image to be created.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*image_delete_poll_interval*]
|
||||
# (Optional) Interval between checks when waiting for image deletion.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*image_delete_timeout*]
|
||||
# (Optional) Time to wait for glance image to be deleted.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
class rally::settings::glance (
|
||||
$image_create_poll_interval = $facts['os_service_default'],
|
||||
$image_create_prepoll_delay = $facts['os_service_default'],
|
||||
$image_create_timeout = $facts['os_service_default'],
|
||||
$image_delete_poll_interval = $facts['os_service_default'],
|
||||
$image_delete_timeout = $facts['os_service_default'],
|
||||
) {
|
||||
|
||||
include rally::deps
|
||||
|
||||
rally_config {
|
||||
'openstack/glance_image_create_poll_interval': value => $image_create_poll_interval;
|
||||
'openstack/glance_image_create_prepoll_delay': value => $image_create_prepoll_delay;
|
||||
'openstack/glance_image_create_timeout': value => $image_create_timeout;
|
||||
'openstack/glance_image_delete_poll_interval': value => $image_delete_poll_interval;
|
||||
'openstack/glance_image_delete_timeout': value => $image_delete_timeout;
|
||||
}
|
||||
}
|
@ -1,145 +0,0 @@
|
||||
# == Class: rally::settings::heat
|
||||
#
|
||||
# Configure Rally benchmarking settings for Heat
|
||||
#
|
||||
# === Parameters
|
||||
#
|
||||
# [*stack_check_poll_interval*]
|
||||
# (Optional) Time interval (in sec) between checks when waiting for stack
|
||||
# checking.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*stack_check_timeout*]
|
||||
# (Optional) Time (in sec) to wait for stack to be checked.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*stack_create_poll_interval*]
|
||||
# (Optional) Time interval (in sec) between checks when waiting for stack
|
||||
# creation.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*stack_create_prepoll_delay*]
|
||||
# (Optional) Time (in sec) to sleep after creating a resource before polling
|
||||
# for it status.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*stack_create_timeout*]
|
||||
# (Optional) Time (in sec) to wait for heat stack to be created.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*stack_delete_poll_interval*]
|
||||
# (Optional) Time interval (in sec) between checks when waiting for stack
|
||||
# deletion.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*stack_delete_timeout*]
|
||||
# (Optional) Time (in sec) to wait for heat stack to be deleted.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*stack_restore_poll_interval*]
|
||||
# (Optional) Time interval (in sec) between checks when waiting for stack to
|
||||
# be restored.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*stack_restore_timeout*]
|
||||
# (Optional) Time (in sec) to wait for stack to be restored from snapshot.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*stack_resume_poll_interval*]
|
||||
# (Optional) Time interval (in sec) between checks when waiting for stack
|
||||
# resume.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*stack_resume_timeout*]
|
||||
# (Optional) Time (in sec) to wait for stack to be resumed.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*stack_scale_poll_interval*]
|
||||
# (Optional) Time interval (in sec) between checks when waiting for a stack
|
||||
# to scale up or down.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*stack_scale_timeout*]
|
||||
# (Optional) Time (in sec) to wait for stack to scale up or down.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*stack_snapshot_poll_interval*]
|
||||
# (Optional) Time interval (in sec) between checks when waiting for stack
|
||||
# snapshot to be created.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*stack_snapshot_timeout*]
|
||||
# (Optional) Time (in sec) to wait for stack snapshot to be created.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*stack_suspend_poll_interval*]
|
||||
# (Optional) Time interval (in sec) between checks when waiting for stack
|
||||
# suspend.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*stack_suspend_timeout*]
|
||||
# (Optional) Time (in sec) to wait for stack to be suspended.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*stack_update_poll_interval*]
|
||||
# (Optional) Time interval (in sec) between checks when waiting for stack
|
||||
# update.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*stack_update_prepoll_delay*]
|
||||
# (Optional) Time (in sec) to sleep after updating a resource before polling
|
||||
# for it status.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*stack_update_timeout*]
|
||||
# (Optional) Time (in sec) to wait for stack to be updated.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
class rally::settings::heat (
|
||||
$stack_check_poll_interval = $facts['os_service_default'],
|
||||
$stack_check_timeout = $facts['os_service_default'],
|
||||
$stack_create_poll_interval = $facts['os_service_default'],
|
||||
$stack_create_prepoll_delay = $facts['os_service_default'],
|
||||
$stack_create_timeout = $facts['os_service_default'],
|
||||
$stack_delete_poll_interval = $facts['os_service_default'],
|
||||
$stack_delete_timeout = $facts['os_service_default'],
|
||||
$stack_restore_poll_interval = $facts['os_service_default'],
|
||||
$stack_restore_timeout = $facts['os_service_default'],
|
||||
$stack_resume_poll_interval = $facts['os_service_default'],
|
||||
$stack_resume_timeout = $facts['os_service_default'],
|
||||
$stack_scale_poll_interval = $facts['os_service_default'],
|
||||
$stack_scale_timeout = $facts['os_service_default'],
|
||||
$stack_snapshot_poll_interval= $facts['os_service_default'],
|
||||
$stack_snapshot_timeout = $facts['os_service_default'],
|
||||
$stack_suspend_poll_interval = $facts['os_service_default'],
|
||||
$stack_suspend_timeout = $facts['os_service_default'],
|
||||
$stack_update_poll_interval = $facts['os_service_default'],
|
||||
$stack_update_prepoll_delay = $facts['os_service_default'],
|
||||
$stack_update_timeout = $facts['os_service_default'],
|
||||
) {
|
||||
|
||||
include rally::deps
|
||||
|
||||
rally_config {
|
||||
'openstack/heat_stack_check_poll_interval': value => $stack_check_poll_interval;
|
||||
'openstack/heat_stack_check_timeout': value => $stack_check_timeout;
|
||||
'openstack/heat_stack_create_poll_interval': value => $stack_create_poll_interval;
|
||||
'openstack/heat_stack_create_prepoll_delay': value => $stack_create_prepoll_delay;
|
||||
'openstack/heat_stack_create_timeout': value => $stack_create_timeout;
|
||||
'openstack/heat_stack_delete_poll_interval': value => $stack_delete_poll_interval;
|
||||
'openstack/heat_stack_delete_timeout': value => $stack_delete_timeout;
|
||||
'openstack/heat_stack_restore_poll_interval': value => $stack_restore_poll_interval;
|
||||
'openstack/heat_stack_restore_timeout': value => $stack_restore_timeout;
|
||||
'openstack/heat_stack_resume_poll_interval': value => $stack_resume_poll_interval;
|
||||
'openstack/heat_stack_resume_timeout': value => $stack_resume_timeout;
|
||||
'openstack/heat_stack_scale_poll_interval': value => $stack_scale_poll_interval;
|
||||
'openstack/heat_stack_scale_timeout': value => $stack_scale_timeout;
|
||||
'openstack/heat_stack_snapshot_poll_interval': value => $stack_snapshot_poll_interval;
|
||||
'openstack/heat_stack_snapshot_timeout': value => $stack_snapshot_timeout;
|
||||
'openstack/heat_stack_suspend_poll_interval': value => $stack_suspend_poll_interval;
|
||||
'openstack/heat_stack_suspend_timeout': value => $stack_suspend_timeout;
|
||||
'openstack/heat_stack_update_poll_interval': value => $stack_update_poll_interval;
|
||||
'openstack/heat_stack_update_prepoll_delay': value => $stack_update_prepoll_delay;
|
||||
'openstack/heat_stack_update_timeout': value => $stack_update_timeout;
|
||||
}
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
# == Class: rally::settings::ironic
|
||||
#
|
||||
# Configure Rally benchmarking settings for Ironic
|
||||
#
|
||||
# === Parameters
|
||||
#
|
||||
# [*node_create_poll_interval*]
|
||||
# (Optional) Interval (in sec) between checks when waiting for node creation.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
class rally::settings::ironic (
|
||||
$node_create_poll_interval = $facts['os_service_default'],
|
||||
) {
|
||||
|
||||
include rally::deps
|
||||
|
||||
rally_config {
|
||||
'openstack/ironic_node_create_poll_interval': value => $node_create_poll_interval;
|
||||
}
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
# == Class: rally::settings::magnum
|
||||
#
|
||||
# Configure Rally benchmarking settings for magnum
|
||||
#
|
||||
# === Parameters
|
||||
#
|
||||
# [*magnum_cluster_create_prepoll_delay*]
|
||||
# (Optional) # Time to sleep after creating a resource before polling for the status. (floating point value)
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*magnum_cluster_create_timeout*]
|
||||
# (Optional) Time to wait for magnum cluster to be created. (floating point value)
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*magnum_cluster_create_poll_interval*]
|
||||
# (Optional) Time interval between checks when waiting for cluster creation. (floating point value)
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
class rally::settings::magnum (
|
||||
$magnum_cluster_create_prepoll_delay = $facts['os_service_default'],
|
||||
$magnum_cluster_create_timeout = $facts['os_service_default'],
|
||||
$magnum_cluster_create_poll_interval = $facts['os_service_default'],
|
||||
) {
|
||||
|
||||
include rally::deps
|
||||
|
||||
rally_config {
|
||||
'openstack/magnum_cluster_create_prepoll_delay': value => $magnum_cluster_create_prepoll_delay;
|
||||
'openstack/magnum_cluster_create_timeout': value => $magnum_cluster_create_timeout;
|
||||
'openstack/magnum_cluster_create_poll_interval': value => $magnum_cluster_create_poll_interval;
|
||||
}
|
||||
}
|
@ -1,68 +0,0 @@
|
||||
# == Class: rally::settings::manila
|
||||
#
|
||||
# Configure Rally benchmarking settings for Manila
|
||||
#
|
||||
# === Parameters
|
||||
#
|
||||
# [*share_create_poll_interval*]
|
||||
# (Optional) Interval between checks when waiting for Manila share creation.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*share_create_prepoll_delay*]
|
||||
# (Optional) Delay between creating Manila share and polling for its status.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*share_create_timeout*]
|
||||
# (Optional) Timeout for Manila share creation.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*share_delete_poll_interval*]
|
||||
# (Optional) Interval between checks when waiting for Manila share deletion.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*share_delete_timeout*]
|
||||
# (Optional) Timeout for Manila share deletion.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*access_create_poll_interval*]
|
||||
# (Optional) Interval between checks when waiting for Manila access creation.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*access_create_timeout*]
|
||||
# (Optional) Timeout for Manila access creation.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*access_delete_poll_interval*]
|
||||
# (Optional) Interval between checks when waiting for Manila access deletion.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*access_delete_timeout*]
|
||||
# (Optional) Timeout for Manila access deletion.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
class rally::settings::manila (
|
||||
$share_create_poll_interval = $facts['os_service_default'],
|
||||
$share_create_prepoll_delay = $facts['os_service_default'],
|
||||
$share_create_timeout = $facts['os_service_default'],
|
||||
$share_delete_poll_interval = $facts['os_service_default'],
|
||||
$share_delete_timeout = $facts['os_service_default'],
|
||||
$access_create_poll_interval = $facts['os_service_default'],
|
||||
$access_create_timeout = $facts['os_service_default'],
|
||||
$access_delete_poll_interval = $facts['os_service_default'],
|
||||
$access_delete_timeout = $facts['os_service_default'],
|
||||
) {
|
||||
|
||||
include rally::deps
|
||||
|
||||
rally_config {
|
||||
'openstack/manila_share_create_poll_interval': value => $share_create_poll_interval;
|
||||
'openstack/manila_share_create_prepoll_delay': value => $share_create_prepoll_delay;
|
||||
'openstack/manila_share_create_timeout': value => $share_create_timeout;
|
||||
'openstack/manila_share_delete_poll_interval': value => $share_delete_poll_interval;
|
||||
'openstack/manila_share_delete_timeout': value => $share_delete_timeout;
|
||||
'openstack/manila_access_create_poll_interval': value => $access_create_poll_interval;
|
||||
'openstack/manila_access_create_timeout': value => $access_create_timeout;
|
||||
'openstack/manila_access_delete_poll_interval': value => $access_delete_poll_interval;
|
||||
'openstack/manila_access_delete_timeout': value => $access_delete_timeout;
|
||||
}
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
# == Class: rally::settings::mistral
|
||||
#
|
||||
# Configure Rally benchmarking settings for mistral
|
||||
#
|
||||
# === Parameters
|
||||
#
|
||||
# [*mistral_execution_timeout*]
|
||||
# (Optional) mistral execution timeout (integer value).
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
class rally::settings::mistral (
|
||||
$mistral_execution_timeout = $facts['os_service_default'],
|
||||
) {
|
||||
|
||||
include rally::deps
|
||||
|
||||
rally_config {
|
||||
'openstack/mistral_execution_timeout': value => $mistral_execution_timeout;
|
||||
}
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
# == Class: rally::settings::monasca
|
||||
#
|
||||
# Configure Rally benchmarking settings for monasca
|
||||
#
|
||||
# === Parameters
|
||||
#
|
||||
# [*monasca_metric_create_prepoll_delay*]
|
||||
# (Optional) Interval (in sec) between checks when waiting for node creation.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
class rally::settings::monasca (
|
||||
$monasca_metric_create_prepoll_delay = $facts['os_service_default'],
|
||||
) {
|
||||
|
||||
include rally::deps
|
||||
|
||||
rally_config {
|
||||
'openstack/monasca_metric_create_prepoll_delay': value => $monasca_metric_create_prepoll_delay;
|
||||
}
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
# == Class: rally::settings::murano
|
||||
#
|
||||
# Configure Rally benchmarking settings for Murano
|
||||
#
|
||||
# === Parameters
|
||||
#
|
||||
# [*deploy_environment_check_interval*]
|
||||
# (Optional) Deploy environment check interval in seconds
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*deploy_environment_timeout*]
|
||||
# (Optional) A timeout in seconds for an environment deploy
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
class rally::settings::murano (
|
||||
$deploy_environment_check_interval = $facts['os_service_default'],
|
||||
$deploy_environment_timeout = $facts['os_service_default'],
|
||||
) {
|
||||
|
||||
include rally::deps
|
||||
|
||||
rally_config {
|
||||
'openstack/murano_deploy_environment_check_interval': value => $deploy_environment_check_interval;
|
||||
'openstack/murano_deploy_environment_timeout': value => $deploy_environment_timeout;
|
||||
}
|
||||
}
|
@ -1,416 +0,0 @@
|
||||
# == Class: rally::settings::nova
|
||||
#
|
||||
# Configure Rally benchmarking settings for Nova
|
||||
#
|
||||
# === Parameters
|
||||
#
|
||||
# [*detach_volume_poll_interval*]
|
||||
# (Optional) Nova volume detach poll interval
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*detach_volume_timeout*]
|
||||
# (Optional) Nova volume detach timeout
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_boot_poll_interval*]
|
||||
# (Optional) Server boot poll interval
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_boot_prepoll_delay*]
|
||||
# (Optional) Time to sleep after boot before polling for status
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_boot_timeout*]
|
||||
# (Optional) Server boot timeout
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_delete_poll_interval*]
|
||||
# (Optional) Server delete poll interval
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_delete_prepoll_delay*]
|
||||
# (Optional) Time to sleep after delete before polling for status
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_delete_timeout*]
|
||||
# (Optional) Server delete timeout
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_image_create_poll_interval*]
|
||||
# (Optional) Server image_create poll interval
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_image_create_prepoll_delay*]
|
||||
# (Optional) Time to sleep after image_create before polling for status
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_image_create_timeout*]
|
||||
# (Optional) Server image_create timeout
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_image_delete_poll_interval*]
|
||||
# (Optional) Server image_delete poll interval
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_image_delete_prepoll_delay*]
|
||||
# (Optional) Time to sleep after image_delete before polling for status
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_image_delete_timeout*]
|
||||
# (Optional) Server image_delete timeout
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_live_migrate_poll_interval*]
|
||||
# (Optional) Server live_migrate poll interval
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_live_migrate_prepoll_delay*]
|
||||
# (Optional) Time to sleep after live_migrate before polling for status
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_live_migrate_timeout*]
|
||||
# (Optional) Server live_migrate timeout
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_migrate_poll_interval*]
|
||||
# (Optional) Server migrate poll interval
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_migrate_prepoll_delay*]
|
||||
# (Optional) Time to sleep after migrate before polling for status
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_migrate_timeout*]
|
||||
# (Optional) Server migrate timeout
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_pause_poll_interval*]
|
||||
# (Optional) Server pause poll interval
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_pause_prepoll_delay*]
|
||||
# (Optional) Time to sleep after pause before polling for status
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_pause_timeout*]
|
||||
# (Optional) Server pause timeout
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_reboot_poll_interval*]
|
||||
# (Optional) Server reboot poll interval
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_reboot_prepoll_delay*]
|
||||
# (Optional) Time to sleep after reboot before polling for status
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_reboot_timeout*]
|
||||
# (Optional) Server reboot timeout
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_rebuild_poll_interval*]
|
||||
# (Optional) Server rebuild poll interval
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_rebuild_prepoll_delay*]
|
||||
# (Optional) Time to sleep after rebuild before polling for status
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_rebuild_timeout*]
|
||||
# (Optional) Server rebuild timeout
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_rescue_poll_interval*]
|
||||
# (Optional) Server rescue poll interval
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_rescue_prepoll_delay*]
|
||||
# (Optional) Time to sleep after rescue before polling for status
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_rescue_timeout*]
|
||||
# (Optional) Server rescue timeout
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_resize_confirm_poll_interval*]
|
||||
# (Optional) Server resize_confirm poll interval
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_resize_confirm_prepoll_delay*]
|
||||
# (Optional) Time to sleep after resize_confirm before polling for status
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_resize_confirm_timeout*]
|
||||
# (Optional) Server resize_confirm timeout
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_resize_poll_interval*]
|
||||
# (Optional) Server resize poll interval
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_resize_prepoll_delay*]
|
||||
# (Optional) Time to sleep after resize before polling for status
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_resize_revert_poll_interval*]
|
||||
# (Optional) Server resize_revert poll interval
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_resize_revert_prepoll_delay*]
|
||||
# (Optional) Time to sleep after resize_revert before polling for status
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_resize_revert_timeout*]
|
||||
# (Optional) Server resize_revert timeout
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_resize_timeout*]
|
||||
# (Optional) Server resize timeout
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_resume_poll_interval*]
|
||||
# (Optional) Server resume poll interval
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_resume_prepoll_delay*]
|
||||
# (Optional) Time to sleep after resume before polling for status
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_resume_timeout*]
|
||||
# (Optional) Server resume timeout
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_shelve_poll_interval*]
|
||||
# (Optional) Server shelve poll interval
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_shelve_prepoll_delay*]
|
||||
# (Optional) Time to sleep after shelve before polling for status
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_shelve_timeout*]
|
||||
# (Optional) Server shelve timeout
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_start_poll_interval*]
|
||||
# (Optional) Server start poll interval
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_start_prepoll_delay*]
|
||||
# (Optional) Time to sleep after start before polling for status
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_start_timeout*]
|
||||
# (Optional) Server start timeout
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_stop_poll_interval*]
|
||||
# (Optional) Server stop poll interval
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_stop_prepoll_delay*]
|
||||
# (Optional) Time to sleep after stop before polling for status
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_stop_timeout*]
|
||||
# (Optional) Server stop timeout
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_suspend_poll_interval*]
|
||||
# (Optional) Server suspend poll interval
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_suspend_prepoll_delay*]
|
||||
# (Optional) Time to sleep after suspend before polling for status
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_suspend_timeout*]
|
||||
# (Optional) Server suspend timeout
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_unpause_poll_interval*]
|
||||
# (Optional) Server unpause poll interval
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_unpause_prepoll_delay*]
|
||||
# (Optional) Time to sleep after unpause before polling for status
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_unpause_timeout*]
|
||||
# (Optional) Server unpause timeout
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_unrescue_poll_interval*]
|
||||
# (Optional) Server unrescue poll interval
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_unrescue_prepoll_delay*]
|
||||
# (Optional) Time to sleep after unrescue before polling for status
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_unrescue_timeout*]
|
||||
# (Optional) Server unrescue timeout
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_unshelve_poll_interval*]
|
||||
# (Optional) Server unshelve poll interval
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_unshelve_prepoll_delay*]
|
||||
# (Optional) Time to sleep after unshelve before polling for status
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*server_unshelve_timeout*]
|
||||
# (Optional) Server unshelve timeout
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*vm_ping_poll_interval*]
|
||||
# (Optional) Interval between checks when waiting for a VM to become pingable
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*vm_ping_timeout*]
|
||||
# (Optional) Time to wait for a VM to become pingable
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
class rally::settings::nova (
|
||||
$detach_volume_poll_interval = $facts['os_service_default'],
|
||||
$detach_volume_timeout = $facts['os_service_default'],
|
||||
$server_boot_poll_interval = $facts['os_service_default'],
|
||||
$server_boot_prepoll_delay = $facts['os_service_default'],
|
||||
$server_boot_timeout = $facts['os_service_default'],
|
||||
$server_delete_poll_interval = $facts['os_service_default'],
|
||||
$server_delete_prepoll_delay = $facts['os_service_default'],
|
||||
$server_delete_timeout = $facts['os_service_default'],
|
||||
$server_image_create_poll_interval = $facts['os_service_default'],
|
||||
$server_image_create_prepoll_delay = $facts['os_service_default'],
|
||||
$server_image_create_timeout = $facts['os_service_default'],
|
||||
$server_image_delete_poll_interval = $facts['os_service_default'],
|
||||
$server_image_delete_prepoll_delay = $facts['os_service_default'],
|
||||
$server_image_delete_timeout = $facts['os_service_default'],
|
||||
$server_live_migrate_poll_interval = $facts['os_service_default'],
|
||||
$server_live_migrate_prepoll_delay = $facts['os_service_default'],
|
||||
$server_live_migrate_timeout = $facts['os_service_default'],
|
||||
$server_migrate_poll_interval = $facts['os_service_default'],
|
||||
$server_migrate_prepoll_delay = $facts['os_service_default'],
|
||||
$server_migrate_timeout = $facts['os_service_default'],
|
||||
$server_pause_poll_interval = $facts['os_service_default'],
|
||||
$server_pause_prepoll_delay = $facts['os_service_default'],
|
||||
$server_pause_timeout = $facts['os_service_default'],
|
||||
$server_reboot_poll_interval = $facts['os_service_default'],
|
||||
$server_reboot_prepoll_delay = $facts['os_service_default'],
|
||||
$server_reboot_timeout = $facts['os_service_default'],
|
||||
$server_rebuild_poll_interval = $facts['os_service_default'],
|
||||
$server_rebuild_prepoll_delay = $facts['os_service_default'],
|
||||
$server_rebuild_timeout = $facts['os_service_default'],
|
||||
$server_rescue_poll_interval = $facts['os_service_default'],
|
||||
$server_rescue_prepoll_delay = $facts['os_service_default'],
|
||||
$server_rescue_timeout = $facts['os_service_default'],
|
||||
$server_resize_confirm_poll_interval = $facts['os_service_default'],
|
||||
$server_resize_confirm_prepoll_delay = $facts['os_service_default'],
|
||||
$server_resize_confirm_timeout = $facts['os_service_default'],
|
||||
$server_resize_poll_interval = $facts['os_service_default'],
|
||||
$server_resize_prepoll_delay = $facts['os_service_default'],
|
||||
$server_resize_revert_poll_interval = $facts['os_service_default'],
|
||||
$server_resize_revert_prepoll_delay = $facts['os_service_default'],
|
||||
$server_resize_revert_timeout = $facts['os_service_default'],
|
||||
$server_resize_timeout = $facts['os_service_default'],
|
||||
$server_resume_poll_interval = $facts['os_service_default'],
|
||||
$server_resume_prepoll_delay = $facts['os_service_default'],
|
||||
$server_resume_timeout = $facts['os_service_default'],
|
||||
$server_shelve_poll_interval = $facts['os_service_default'],
|
||||
$server_shelve_prepoll_delay = $facts['os_service_default'],
|
||||
$server_shelve_timeout = $facts['os_service_default'],
|
||||
$server_start_poll_interval = $facts['os_service_default'],
|
||||
$server_start_prepoll_delay = $facts['os_service_default'],
|
||||
$server_start_timeout = $facts['os_service_default'],
|
||||
$server_stop_poll_interval = $facts['os_service_default'],
|
||||
$server_stop_prepoll_delay = $facts['os_service_default'],
|
||||
$server_stop_timeout = $facts['os_service_default'],
|
||||
$server_suspend_poll_interval = $facts['os_service_default'],
|
||||
$server_suspend_prepoll_delay = $facts['os_service_default'],
|
||||
$server_suspend_timeout = $facts['os_service_default'],
|
||||
$server_unpause_poll_interval = $facts['os_service_default'],
|
||||
$server_unpause_prepoll_delay = $facts['os_service_default'],
|
||||
$server_unpause_timeout = $facts['os_service_default'],
|
||||
$server_unrescue_poll_interval = $facts['os_service_default'],
|
||||
$server_unrescue_prepoll_delay = $facts['os_service_default'],
|
||||
$server_unrescue_timeout = $facts['os_service_default'],
|
||||
$server_unshelve_poll_interval = $facts['os_service_default'],
|
||||
$server_unshelve_prepoll_delay = $facts['os_service_default'],
|
||||
$server_unshelve_timeout = $facts['os_service_default'],
|
||||
$vm_ping_poll_interval = $facts['os_service_default'],
|
||||
$vm_ping_timeout = $facts['os_service_default'],
|
||||
) {
|
||||
|
||||
include rally::deps
|
||||
|
||||
rally_config {
|
||||
'openstack/nova_detach_volume_poll_interval': value => $detach_volume_poll_interval;
|
||||
'openstack/nova_detach_volume_timeout': value => $detach_volume_timeout;
|
||||
'openstack/nova_server_boot_poll_interval': value => $server_boot_poll_interval;
|
||||
'openstack/nova_server_boot_prepoll_delay': value => $server_boot_prepoll_delay;
|
||||
'openstack/nova_server_boot_timeout': value => $server_boot_timeout;
|
||||
'openstack/nova_server_delete_poll_interval': value => $server_delete_poll_interval;
|
||||
'openstack/nova_server_delete_prepoll_delay': value => $server_delete_prepoll_delay;
|
||||
'openstack/nova_server_delete_timeout': value => $server_delete_timeout;
|
||||
'openstack/nova_server_image_create_poll_interval': value => $server_image_create_poll_interval;
|
||||
'openstack/nova_server_image_create_prepoll_delay': value => $server_image_create_prepoll_delay;
|
||||
'openstack/nova_server_image_create_timeout': value => $server_image_create_timeout;
|
||||
'openstack/nova_server_image_delete_poll_interval': value => $server_image_delete_poll_interval;
|
||||
'openstack/nova_server_image_delete_prepoll_delay': value => $server_image_delete_prepoll_delay;
|
||||
'openstack/nova_server_image_delete_timeout': value => $server_image_delete_timeout;
|
||||
'openstack/nova_server_live_migrate_poll_interval': value => $server_live_migrate_poll_interval;
|
||||
'openstack/nova_server_live_migrate_prepoll_delay': value => $server_live_migrate_prepoll_delay;
|
||||
'openstack/nova_server_live_migrate_timeout': value => $server_live_migrate_timeout;
|
||||
'openstack/nova_server_migrate_poll_interval': value => $server_migrate_poll_interval;
|
||||
'openstack/nova_server_migrate_prepoll_delay': value => $server_migrate_prepoll_delay;
|
||||
'openstack/nova_server_migrate_timeout': value => $server_migrate_timeout;
|
||||
'openstack/nova_server_pause_poll_interval': value => $server_pause_poll_interval;
|
||||
'openstack/nova_server_pause_prepoll_delay': value => $server_pause_prepoll_delay;
|
||||
'openstack/nova_server_pause_timeout': value => $server_pause_timeout;
|
||||
'openstack/nova_server_reboot_poll_interval': value => $server_reboot_poll_interval;
|
||||
'openstack/nova_server_reboot_prepoll_delay': value => $server_reboot_prepoll_delay;
|
||||
'openstack/nova_server_reboot_timeout': value => $server_reboot_timeout;
|
||||
'openstack/nova_server_rebuild_poll_interval': value => $server_rebuild_poll_interval;
|
||||
'openstack/nova_server_rebuild_prepoll_delay': value => $server_rebuild_prepoll_delay;
|
||||
'openstack/nova_server_rebuild_timeout': value => $server_rebuild_timeout;
|
||||
'openstack/nova_server_rescue_poll_interval': value => $server_rescue_poll_interval;
|
||||
'openstack/nova_server_rescue_prepoll_delay': value => $server_rescue_prepoll_delay;
|
||||
'openstack/nova_server_rescue_timeout': value => $server_rescue_timeout;
|
||||
'openstack/nova_server_resize_confirm_poll_interval': value => $server_resize_confirm_poll_interval;
|
||||
'openstack/nova_server_resize_confirm_prepoll_delay': value => $server_resize_confirm_prepoll_delay;
|
||||
'openstack/nova_server_resize_confirm_timeout': value => $server_resize_confirm_timeout;
|
||||
'openstack/nova_server_resize_poll_interval': value => $server_resize_poll_interval;
|
||||
'openstack/nova_server_resize_prepoll_delay': value => $server_resize_prepoll_delay;
|
||||
'openstack/nova_server_resize_revert_poll_interval': value => $server_resize_revert_poll_interval;
|
||||
'openstack/nova_server_resize_revert_prepoll_delay': value => $server_resize_revert_prepoll_delay;
|
||||
'openstack/nova_server_resize_revert_timeout': value => $server_resize_revert_timeout;
|
||||
'openstack/nova_server_resize_timeout': value => $server_resize_timeout;
|
||||
'openstack/nova_server_resume_poll_interval': value => $server_resume_poll_interval;
|
||||
'openstack/nova_server_resume_prepoll_delay': value => $server_resume_prepoll_delay;
|
||||
'openstack/nova_server_resume_timeout': value => $server_resume_timeout;
|
||||
'openstack/nova_server_shelve_poll_interval': value => $server_shelve_poll_interval;
|
||||
'openstack/nova_server_shelve_prepoll_delay': value => $server_shelve_prepoll_delay;
|
||||
'openstack/nova_server_shelve_timeout': value => $server_shelve_timeout;
|
||||
'openstack/nova_server_start_poll_interval': value => $server_start_poll_interval;
|
||||
'openstack/nova_server_start_prepoll_delay': value => $server_start_prepoll_delay;
|
||||
'openstack/nova_server_start_timeout': value => $server_start_timeout;
|
||||
'openstack/nova_server_stop_poll_interval': value => $server_stop_poll_interval;
|
||||
'openstack/nova_server_stop_prepoll_delay': value => $server_stop_prepoll_delay;
|
||||
'openstack/nova_server_stop_timeout': value => $server_stop_timeout;
|
||||
'openstack/nova_server_suspend_poll_interval': value => $server_suspend_poll_interval;
|
||||
'openstack/nova_server_suspend_prepoll_delay': value => $server_suspend_prepoll_delay;
|
||||
'openstack/nova_server_suspend_timeout': value => $server_suspend_timeout;
|
||||
'openstack/nova_server_unpause_poll_interval': value => $server_unpause_poll_interval;
|
||||
'openstack/nova_server_unpause_prepoll_delay': value => $server_unpause_prepoll_delay;
|
||||
'openstack/nova_server_unpause_timeout': value => $server_unpause_timeout;
|
||||
'openstack/nova_server_unrescue_poll_interval': value => $server_unrescue_poll_interval;
|
||||
'openstack/nova_server_unrescue_prepoll_delay': value => $server_unrescue_prepoll_delay;
|
||||
'openstack/nova_server_unrescue_timeout': value => $server_unrescue_timeout;
|
||||
'openstack/nova_server_unshelve_poll_interval': value => $server_unshelve_poll_interval;
|
||||
'openstack/nova_server_unshelve_prepoll_delay': value => $server_unshelve_prepoll_delay;
|
||||
'openstack/nova_server_unshelve_timeout': value => $server_unshelve_timeout;
|
||||
'openstack/vm_ping_poll_interval': value => $vm_ping_poll_interval;
|
||||
'openstack/vm_ping_timeout': value => $vm_ping_timeout;
|
||||
}
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
# == Class: rally::settings::octavia
|
||||
#
|
||||
# Configure Rally benchmarking settings for Octavia
|
||||
#
|
||||
# === Parameters
|
||||
#
|
||||
# [*create_loadbalancer_timeout*]
|
||||
# (Optional) Octavia create loadbalancer timeout.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*delete_loadbalancer_timeout*]
|
||||
# (Optional) Octavia delete loadbalancer timeout.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*create_loadbalancer_poll_interval*]
|
||||
# (Optional) Octavia create loadbalancer pool interval.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
class rally::settings::octavia (
|
||||
$create_loadbalancer_timeout = $facts['os_service_default'],
|
||||
$delete_loadbalancer_timeout = $facts['os_service_default'],
|
||||
$create_loadbalancer_poll_interval = $facts['os_service_default'],
|
||||
) {
|
||||
|
||||
include rally::deps
|
||||
|
||||
rally_config {
|
||||
'openstack/octavia_create_loadbalancer_timeout': value => $create_loadbalancer_timeout;
|
||||
'openstack/octavia_delete_loadbalancer_timeout': value => $delete_loadbalancer_timeout;
|
||||
'openstack/octavia_create_loadbalancer_poll_interval': value => $create_loadbalancer_poll_interval;
|
||||
}
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
# == Class: rally::settings::sahara
|
||||
#
|
||||
# Configure Rally benchmarking settings for Sahara
|
||||
#
|
||||
# === Parameters
|
||||
#
|
||||
# [*cluster_check_interval*]
|
||||
# (Optional) Cluster status polling interval in seconds
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*cluster_create_timeout*]
|
||||
# (Optional) A timeout in seconds for a cluster create operation
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*cluster_delete_timeout*]
|
||||
# (Optional) A timeout in seconds for a cluster delete operation
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*job_check_interval*]
|
||||
# (Optional) Job Execution status polling interval in seconds
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*job_execution_timeout*]
|
||||
# (Optional) A timeout in seconds for a Job Execution to complete
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*workers_per_proxy*]
|
||||
# (Optional) Amount of workers one proxy should serve to.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
class rally::settings::sahara (
|
||||
$cluster_check_interval = $facts['os_service_default'],
|
||||
$cluster_create_timeout = $facts['os_service_default'],
|
||||
$cluster_delete_timeout = $facts['os_service_default'],
|
||||
$job_check_interval = $facts['os_service_default'],
|
||||
$job_execution_timeout = $facts['os_service_default'],
|
||||
$workers_per_proxy = $facts['os_service_default'],
|
||||
) {
|
||||
|
||||
include rally::deps
|
||||
|
||||
rally_config {
|
||||
'openstack/sahara_cluster_check_interval': value => $cluster_check_interval;
|
||||
'openstack/sahara_cluster_create_timeout': value => $cluster_create_timeout;
|
||||
'openstack/sahara_cluster_delete_timeout': value => $cluster_delete_timeout;
|
||||
'openstack/sahara_job_check_interval': value => $job_check_interval;
|
||||
'openstack/sahara_job_execution_timeout': value => $job_execution_timeout;
|
||||
'openstack/sahara_workers_per_proxy': value => $workers_per_proxy;
|
||||
}
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
# == Class: rally::settings::swift
|
||||
#
|
||||
# Configure Rally benchmarking settings
|
||||
#
|
||||
# === Parameters
|
||||
#
|
||||
class rally::settings::swift (
|
||||
) {
|
||||
include rally::deps
|
||||
}
|
@ -1,81 +0,0 @@
|
||||
# == Class: rally::settings::tempest
|
||||
#
|
||||
# Configure Rally benchmarking settings
|
||||
#
|
||||
# === Parameters
|
||||
#
|
||||
# [*img_url*]
|
||||
# (Optional) image URL.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*img_disk_format*]
|
||||
# (Optional) Image disk format to use when creating the image.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*img_container_format*]
|
||||
# (Optional) Image container format to use when creating the image.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*img_name_regex*]
|
||||
# (Optional) Regular expression for name of a public image to discover it in the cloud and use it for the tests.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*swift_operator_role*]
|
||||
# (Optional) Role required for users to be able to create Swift containers.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*swift_reseller_admin_role*]
|
||||
# (Optional) User role that has reseller admin.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*heat_stack_owner_role*]
|
||||
# (Optional) Role required for users to be able to manage Heat stacks.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*heat_stack_user_role*]
|
||||
# (Optional) Role for Heat template-defined users.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*flavor_ref_ram*]
|
||||
# (Optional) Primary flavor RAM size used by most of the test cases.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*flavor_ref_alt_ram*]
|
||||
# (Optional) Alternate reference flavor RAM size used by test thatneed two
|
||||
# flavors, like those that resize an instnace.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*heat_instance_type_ram*]
|
||||
# (Optional) RAM size flavor used for orchestration test cases.
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
class rally::settings::tempest (
|
||||
$img_url = $facts['os_service_default'],
|
||||
$img_disk_format = $facts['os_service_default'],
|
||||
$img_container_format = $facts['os_service_default'],
|
||||
$img_name_regex = $facts['os_service_default'],
|
||||
$swift_operator_role = $facts['os_service_default'],
|
||||
$swift_reseller_admin_role = $facts['os_service_default'],
|
||||
$heat_stack_owner_role = $facts['os_service_default'],
|
||||
$heat_stack_user_role = $facts['os_service_default'],
|
||||
$flavor_ref_ram = $facts['os_service_default'],
|
||||
$flavor_ref_alt_ram = $facts['os_service_default'],
|
||||
$heat_instance_type_ram = $facts['os_service_default']
|
||||
) {
|
||||
|
||||
include rally::deps
|
||||
|
||||
rally_config {
|
||||
'openstack/img_url': value => $img_url;
|
||||
'openstack/img_disk_format': value => $img_disk_format;
|
||||
'openstack/img_container_format': value => $img_container_format;
|
||||
'openstack/img_name_regex': value => $img_name_regex;
|
||||
'openstack/swift_operator_role': value => $swift_operator_role;
|
||||
'openstack/swift_reseller_admin_role': value => $swift_reseller_admin_role;
|
||||
'openstack/heat_stack_owner_role': value => $heat_stack_owner_role;
|
||||
'openstack/heat_stack_user_role': value => $heat_stack_user_role;
|
||||
'openstack/flavor_ref_ram': value => $flavor_ref_ram;
|
||||
'openstack/flavor_ref_alt_ram': value => $flavor_ref_alt_ram;
|
||||
'openstack/heat_instance_type_ram': value => $heat_instance_type_ram;
|
||||
}
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
# == Class: rally::settings::watcher
|
||||
#
|
||||
# Configure Rally benchmarking settings for Watcher
|
||||
#
|
||||
# === Parameters
|
||||
#
|
||||
# [*audit_launch_poll_interval*]
|
||||
# (Optional) Watcher audit launch interval
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
# [*audit_launch_timeout*]
|
||||
# (Optional) Watcher audit launch timeout
|
||||
# Defaults to $facts['os_service_default']
|
||||
#
|
||||
class rally::settings::watcher (
|
||||
$audit_launch_poll_interval = $facts['os_service_default'],
|
||||
$audit_launch_timeout = $facts['os_service_default'],
|
||||
) {
|
||||
|
||||
include rally::deps
|
||||
|
||||
rally_config {
|
||||
'openstack/watcher_audit_launch_poll_interval': value => $audit_launch_poll_interval;
|
||||
'openstack/watcher_audit_launch_timeout': value => $audit_launch_timeout;
|
||||
}
|
||||
}
|
@ -1,55 +0,0 @@
|
||||
{
|
||||
"name": "openstack-rally",
|
||||
"version": "10.0.0",
|
||||
"author": "OpenStack Contributors",
|
||||
"summary": "Puppet module for OpenStack Rally",
|
||||
"license": "Apache-2.0",
|
||||
"source": "https://opendev.org/openstack/puppet-rally.git",
|
||||
"project_page": "https://launchpad.net/puppet-rally",
|
||||
"issues_url": "https://bugs.launchpad.net/puppet-rally",
|
||||
"description": "Installs and configures OpenStack Rally.",
|
||||
"requirements": [
|
||||
{
|
||||
"name": "puppet",
|
||||
"version_requirement": ">= 6.0.0 < 8.0.0"
|
||||
}
|
||||
],
|
||||
"operatingsystem_support": [
|
||||
{
|
||||
"operatingsystem": "RedHat",
|
||||
"operatingsystemrelease": [
|
||||
"9"
|
||||
]
|
||||
},
|
||||
{
|
||||
"operatingsystem": "CentOS",
|
||||
"operatingsystemrelease": [
|
||||
"9"
|
||||
]
|
||||
},
|
||||
{
|
||||
"operatingsystem": "Ubuntu",
|
||||
"operatingsystemrelease": [
|
||||
"22.04"
|
||||
]
|
||||
}
|
||||
],
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "puppetlabs/inifile",
|
||||
"version_requirement": ">=2.0.0 <6.0.0"
|
||||
},
|
||||
{
|
||||
"name": "puppetlabs/stdlib",
|
||||
"version_requirement": ">= 5.0.0 <9.0.0"
|
||||
},
|
||||
{
|
||||
"name": "openstack/openstacklib",
|
||||
"version_requirement": ">=22.0.0 <23.0.0"
|
||||
},
|
||||
{
|
||||
"name": "openstack/oslo",
|
||||
"version_requirement": ">=22.0.0 <23.0.0"
|
||||
}
|
||||
]
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Adds the pool_timeout option for configuring oslo.db. This will
|
||||
configure this value for pool_timeout with SQLAlchemy.
|
@ -1,3 +0,0 @@
|
||||
---
|
||||
features:
|
||||
- Adds db_sync_timeout parameter to db sync.
|
@ -1,4 +0,0 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Add mysql_enable_ndb parameter to select mysql storage engine.
|
@ -1,4 +0,0 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
The new ``rally::logging::watch_log_file`` parameter has been added.
|
@ -1,4 +0,0 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Now this module supports CentOS 9 and Red Hat Enterprise Linux 9.
|
@ -1,8 +0,0 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
The ``rally::settings::cinder`` class now supports the following two new
|
||||
parameters.
|
||||
|
||||
- ``backup_restore_poll_interval``
|
||||
- ``backup_restore_timeout``
|
@ -1,6 +0,0 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
The new ``rally::db::sync::upgrade`` parameter has been added. When this
|
||||
parameter is set to ``true``, ``rally db upgrade`` command is executed
|
||||
instead of ``rally db create`` command.
|
@ -1,5 +0,0 @@
|
||||
---
|
||||
deprecations:
|
||||
- |
|
||||
The ``rally::settings::ec2`` class has been deprecated because rally
|
||||
no longer supports EC2 API.
|
@ -1,8 +0,0 @@
|
||||
---
|
||||
deprecations:
|
||||
- |
|
||||
The following parameters of the ``rally::settings::heat`` class have been
|
||||
deprecated and have no effect.
|
||||
|
||||
- ``stack_owner_role``
|
||||
- ``stack_user_role``
|
@ -1,10 +0,0 @@
|
||||
---
|
||||
deprecations:
|
||||
- |
|
||||
The following parameters have been deprecated and have no effect. These
|
||||
parameters will be removed in a future release.
|
||||
|
||||
- ``rally::settings::heat::stack_owner_role``
|
||||
- ``rally::settings::heat::stack_user_role``
|
||||
- ``rally::settings::swift::operator_role``
|
||||
- ``rally::settings::swift::reseller_admin_role``
|
@ -1,4 +0,0 @@
|
||||
---
|
||||
deprecations:
|
||||
- database_min_pool_size option is now deprecated for removal, the
|
||||
parameter has no effect.
|
@ -1,4 +0,0 @@
|
||||
---
|
||||
deprecations:
|
||||
- database_idle_timeout is deprecated and will be removed in a future
|
||||
release. Please use database_connection_recycle_time instead.
|
@ -1,4 +0,0 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
rally::logging is now not included in init class by default.
|
@ -1,10 +0,0 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
The following parameters have been added to the ``rally::settings::manila``
|
||||
class.
|
||||
|
||||
- ``access_create_poll_interval``
|
||||
- ``access_create_poll_timeout``
|
||||
- ``access_delete_poll_interval``
|
||||
- ``access_delete_poll_timeout``
|
@ -1,4 +0,0 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
The new ``rally::settings::octavia`` class has been added.
|
@ -1,3 +0,0 @@
|
||||
---
|
||||
features:
|
||||
- Add openstack-db tag to Exec that run db-sync.
|
@ -1,4 +0,0 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
This module now requires a puppetlabs-mysql version >= 6.0.0
|
@ -1,10 +0,0 @@
|
||||
---
|
||||
prelude: >
|
||||
In this release Ubuntu has moved all projects that supported it to python3
|
||||
which means that there will be a lot of changes. The Puppet OpenStack project
|
||||
does not test the upgrade path from python2 to python3 packages so there might
|
||||
be manual steps required when moving to the python3 packages.
|
||||
upgrade:
|
||||
- |
|
||||
Ubuntu packages are now using python3, the upgrade path is not tested by
|
||||
Puppet OpenStack. Manual steps may be required when upgrading.
|
@ -1,4 +0,0 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
CentOS 8 Stream is no longer supported by this module.
|
@ -1,10 +0,0 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
The following parameters have been removed.
|
||||
|
||||
- ``rally::settings::heat::stack_owner_role``
|
||||
- ``rally::settings::heat::stack_user_role``
|
||||
- ``rally::settings::swift::operator_role``
|
||||
- ``rally::settings::swift::reseller_admin_role``
|
||||
|
@ -1,3 +0,0 @@
|
||||
---
|
||||
upgrade:
|
||||
- Deprecated ensure_package option has been removed.
|
@ -1,3 +0,0 @@
|
||||
---
|
||||
upgrade:
|
||||
- Deprecated idle_timeout option has been removed.
|
@ -1,8 +0,0 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
This module now supports Ubuntu 22.04 (Jammy Jellyfish).
|
||||
|
||||
upgrade:
|
||||
- |
|
||||
This module no longer supports Ubuntu 20.04 (Focal Fossa).
|
@ -1,6 +0,0 @@
|
||||
===========================
|
||||
2023.1 Series Release Notes
|
||||
===========================
|
||||
|
||||
.. release-notes::
|
||||
:branch: stable/2023.1
|
@ -1,256 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# 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.
|
||||
#
|
||||
|
||||
# If extensions (or modules to document with autodoc) are in another directory,
|
||||
# add these directories to sys.path here. If the directory is relative to the
|
||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
||||
#sys.path.insert(0, os.path.abspath('.'))
|
||||
|
||||
# -- General configuration ------------------------------------------------
|
||||
|
||||
|
||||
# If your documentation needs a minimal Sphinx version, state it here.
|
||||
#needs_sphinx = '1.0'
|
||||
|
||||
# Add any Sphinx extension module names here, as strings. They can be
|
||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
||||
# ones.
|
||||
extensions = [
|
||||
'openstackdocstheme',
|
||||
'reno.sphinxext',
|
||||
]
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
templates_path = ['_templates']
|
||||
|
||||
# The suffix of source filenames.
|
||||
source_suffix = '.rst'
|
||||
|
||||
# The encoding of source files.
|
||||
#source_encoding = 'utf-8-sig'
|
||||
|
||||
# The master toctree document.
|
||||
master_doc = 'index'
|
||||
|
||||
# General information about the project.
|
||||
copyright = '2016, Puppet OpenStack Developers'
|
||||
|
||||
# The version info for the project you're documenting, acts as replacement for
|
||||
# |version| and |release|, also used in various other places throughout the
|
||||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = ''
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = ''
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
#language = None
|
||||
|
||||
# There are two options for replacing |today|: either, you set today to some
|
||||
# non-false value, then it is used:
|
||||
#today = ''
|
||||
# Else, today_fmt is used as the format for a strftime call.
|
||||
#today_fmt = '%B %d, %Y'
|
||||
|
||||
# List of patterns, relative to source directory, that match files and
|
||||
# directories to ignore when looking for source files.
|
||||
exclude_patterns = []
|
||||
|
||||
# The reST default role (used for this markup: `text`) to use for all
|
||||
# documents.
|
||||
#default_role = None
|
||||
|
||||
# If true, '()' will be appended to :func: etc. cross-reference text.
|
||||
#add_function_parentheses = True
|
||||
|
||||
# If true, the current module name will be prepended to all description
|
||||
# unit titles (such as .. function::).
|
||||
#add_module_names = True
|
||||
|
||||
# If true, sectionauthor and moduleauthor directives will be shown in the
|
||||
# output. They are ignored by default.
|
||||
#show_authors = False
|
||||
|
||||
# The name of the Pygments (syntax highlighting) style to use.
|
||||
pygments_style = 'native'
|
||||
|
||||
# A list of ignored prefixes for module index sorting.
|
||||
#modindex_common_prefix = []
|
||||
|
||||
# If true, keep warnings as "system message" paragraphs in the built documents.
|
||||
#keep_warnings = False
|
||||
|
||||
|
||||
# -- Options for HTML output ----------------------------------------------
|
||||
|
||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||
# a list of builtin themes.
|
||||
html_theme = 'openstackdocs'
|
||||
|
||||
# Theme options are theme-specific and customize the look and feel of a theme
|
||||
# further. For a list of options available for each theme, see the
|
||||
# documentation.
|
||||
#html_theme_options = {}
|
||||
|
||||
# Add any paths that contain custom themes here, relative to this directory.
|
||||
# html_theme_path = []
|
||||
|
||||
# The name for this set of Sphinx documents. If None, it defaults to
|
||||
# "<project> v<release> documentation".
|
||||
#html_title = None
|
||||
|
||||
# A shorter title for the navigation bar. Default is the same as html_title.
|
||||
#html_short_title = None
|
||||
|
||||
# The name of an image file (relative to this directory) to place at the top
|
||||
# of the sidebar.
|
||||
#html_logo = None
|
||||
|
||||
# The name of an image file (within the static path) to use as favicon of the
|
||||
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
|
||||
# pixels large.
|
||||
#html_favicon = None
|
||||
|
||||
# Add any paths that contain custom static files (such as style sheets) here,
|
||||
# relative to this directory. They are copied after the builtin static files,
|
||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
||||
html_static_path = ['_static']
|
||||
|
||||
# Add any extra paths that contain custom files (such as robots.txt or
|
||||
# .htaccess) here, relative to this directory. These files are copied
|
||||
# directly to the root of the documentation.
|
||||
#html_extra_path = []
|
||||
|
||||
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
|
||||
# using the given strftime format.
|
||||
|
||||
# If true, SmartyPants will be used to convert quotes and dashes to
|
||||
# typographically correct entities.
|
||||
#html_use_smartypants = True
|
||||
|
||||
# Custom sidebar templates, maps document names to template names.
|
||||
#html_sidebars = {}
|
||||
|
||||
# Additional templates that should be rendered to pages, maps page names to
|
||||
# template names.
|
||||
#html_additional_pages = {}
|
||||
|
||||
# If false, no module index is generated.
|
||||
#html_domain_indices = True
|
||||
|
||||
# If false, no index is generated.
|
||||
#html_use_index = True
|
||||
|
||||
# If true, the index is split into individual pages for each letter.
|
||||
#html_split_index = False
|
||||
|
||||
# If true, links to the reST sources are added to the pages.
|
||||
#html_show_sourcelink = True
|
||||
|
||||
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
|
||||
#html_show_sphinx = True
|
||||
|
||||
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
|
||||
#html_show_copyright = True
|
||||
|
||||
# If true, an OpenSearch description file will be output, and all pages will
|
||||
# contain a <link> tag referring to it. The value of this option must be the
|
||||
# base URL from which the finished HTML is served.
|
||||
#html_use_opensearch = ''
|
||||
|
||||
# This is the file name suffix for HTML files (e.g. ".xhtml").
|
||||
#html_file_suffix = None
|
||||
|
||||
# Output file base name for HTML help builder.
|
||||
htmlhelp_basename = 'puppet-rallyReleaseNotesdoc'
|
||||
|
||||
|
||||
# -- Options for LaTeX output ---------------------------------------------
|
||||
|
||||
# Grouping the document tree into LaTeX files. List of tuples
|
||||
# (source start file, target name, title,
|
||||
# author, documentclass [howto, manual, or own class]).
|
||||
latex_documents = [
|
||||
('index', 'puppet-rallyReleaseNotes.tex', 'puppet-rally Release Notes Documentation',
|
||||
'2016, Puppet OpenStack Developers', 'manual'),
|
||||
]
|
||||
|
||||
# The name of an image file (relative to this directory) to place at the top of
|
||||
# the title page.
|
||||
#latex_logo = None
|
||||
|
||||
# For "manual" documents, if this is true, then toplevel headings are parts,
|
||||
# not chapters.
|
||||
#latex_use_parts = False
|
||||
|
||||
# If true, show page references after internal links.
|
||||
#latex_show_pagerefs = False
|
||||
|
||||
# If true, show URL addresses after external links.
|
||||
#latex_show_urls = False
|
||||
|
||||
# Documents to append as an appendix to all manuals.
|
||||
#latex_appendices = []
|
||||
|
||||
# If false, no module index is generated.
|
||||
#latex_domain_indices = True
|
||||
|
||||
|
||||
# -- Options for manual page output ---------------------------------------
|
||||
|
||||
# One entry per manual page. List of tuples
|
||||
# (source start file, name, description, authors, manual section).
|
||||
man_pages = [
|
||||
('index', 'puppet-rallyreleasenotes', 'puppet-rally Release Notes Documentation',
|
||||
['2016, Puppet OpenStack Developers'], 1)
|
||||
]
|
||||
|
||||
# If true, show URL addresses after external links.
|
||||
#man_show_urls = False
|
||||
|
||||
|
||||
# -- Options for Texinfo output -------------------------------------------
|
||||
|
||||
# Grouping the document tree into Texinfo files. List of tuples
|
||||
# (source start file, target name, title, author,
|
||||
# dir menu entry, description, category)
|
||||
texinfo_documents = [
|
||||
('index', 'puppet-rallyReleaseNotes', 'puppet-rally Release Notes Documentation',
|
||||
'2016, Puppet OpenStack Developers', 'puppet-rallyReleaseNotes', 'One line description of project.',
|
||||
'Miscellaneous'),
|
||||
]
|
||||
|
||||
# Documents to append as an appendix to all manuals.
|
||||
#texinfo_appendices = []
|
||||
|
||||
# If false, no module index is generated.
|
||||
#texinfo_domain_indices = True
|
||||
|
||||
# How to display URL addresses: 'footnote', 'no', or 'inline'.
|
||||
#texinfo_show_urls = 'footnote'
|
||||
|
||||
# If true, do not generate a @detailmenu in the "Top" node's menu.
|
||||
#texinfo_no_detailmenu = False
|
||||
|
||||
# -- Options for Internationalization output ------------------------------
|
||||
locale_dirs = ['locale/']
|
||||
|
||||
# openstackdocstheme options
|
||||
openstackdocs_repo_name = 'openstack/puppet-rally'
|
||||
openstackdocs_bug_project = 'puppet-rally'
|
||||
openstackdocs_bug_tag = ''
|
||||
openstackdocs_auto_name = False
|
@ -1,29 +0,0 @@
|
||||
======================================
|
||||
Welcome to puppet-rally Release Notes!
|
||||
======================================
|
||||
|
||||
Contents
|
||||
========
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
unreleased
|
||||
2023.1
|
||||
zed
|
||||
yoga
|
||||
xena
|
||||
wallaby
|
||||
victoria
|
||||
ussuri
|
||||
train
|
||||
stein
|
||||
rocky
|
||||
queens
|
||||
|
||||
|
||||
Indices and tables
|
||||
==================
|
||||
|
||||
* :ref:`genindex`
|
||||
* :ref:`search`
|
@ -1,6 +0,0 @@
|
||||
===================================
|
||||
Queens Series Release Notes
|
||||
===================================
|
||||
|
||||
.. release-notes::
|
||||
:branch: stable/queens
|
@ -1,6 +0,0 @@
|
||||
===================================
|
||||
Rocky Series Release Notes
|
||||
===================================
|
||||
|
||||
.. release-notes::
|
||||
:branch: stable/rocky
|
@ -1,6 +0,0 @@
|
||||
===================================
|
||||
Stein Series Release Notes
|
||||
===================================
|
||||
|
||||
.. release-notes::
|
||||
:branch: stable/stein
|
@ -1,6 +0,0 @@
|
||||
==========================
|
||||
Train Series Release Notes
|
||||
==========================
|
||||
|
||||
.. release-notes::
|
||||
:branch: stable/train
|
@ -1,5 +0,0 @@
|
||||
==============================
|
||||
Current Series Release Notes
|
||||
==============================
|
||||
|
||||
.. release-notes::
|
@ -1,6 +0,0 @@
|
||||
===========================
|
||||
Ussuri Series Release Notes
|
||||
===========================
|
||||
|
||||
.. release-notes::
|
||||
:branch: stable/ussuri
|
@ -1,6 +0,0 @@
|
||||
=============================
|
||||
Victoria Series Release Notes
|
||||
=============================
|
||||
|
||||
.. release-notes::
|
||||
:branch: stable/victoria
|
@ -1,6 +0,0 @@
|
||||
============================
|
||||
Wallaby Series Release Notes
|
||||
============================
|
||||
|
||||
.. release-notes::
|
||||
:branch: stable/wallaby
|
@ -1,6 +0,0 @@
|
||||
=========================
|
||||
Xena Series Release Notes
|
||||
=========================
|
||||
|
||||
.. release-notes::
|
||||
:branch: stable/xena
|
@ -1,6 +0,0 @@
|
||||
=========================
|
||||
Yoga Series Release Notes
|
||||
=========================
|
||||
|
||||
.. release-notes::
|
||||
:branch: stable/yoga
|
@ -1,6 +0,0 @@
|
||||
========================
|
||||
Zed Series Release Notes
|
||||
========================
|
||||
|
||||
.. release-notes::
|
||||
:branch: stable/zed
|
15
setup.cfg
15
setup.cfg
@ -1,15 +0,0 @@
|
||||
[metadata]
|
||||
name = puppet-rally
|
||||
summary = Puppet module for OpenStack Rally
|
||||
description_file =
|
||||
README.md
|
||||
author = OpenStack
|
||||
author_email = openstack-discuss@lists.openstack.org
|
||||
home_page = https://docs.openstack.org/puppet-openstack-guide/latest
|
||||
license = Apache License, Version 2.0
|
||||
classifier =
|
||||
Intended Audience :: Developers
|
||||
Intended Audience :: Information Technology
|
||||
Intended Audience :: System Administrators
|
||||
License :: OSI Approved :: Apache Software License
|
||||
Operating System :: POSIX :: Linux
|
21
setup.py
21
setup.py
@ -1,21 +0,0 @@
|
||||
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
|
||||
#
|
||||
# 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.
|
||||
|
||||
import setuptools
|
||||
|
||||
setuptools.setup(
|
||||
setup_requires=['pbr>=2.0.0'],
|
||||
py_modules=[],
|
||||
pbr=True)
|
@ -1,37 +0,0 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'rally::config' do
|
||||
|
||||
let(:config_hash) do {
|
||||
'DEFAULT/foo' => { 'value' => 'fooValue' },
|
||||
'DEFAULT/bar' => { 'value' => 'barValue' },
|
||||
'DEFAULT/baz' => { 'ensure' => 'absent' }
|
||||
}
|
||||
end
|
||||
|
||||
shared_examples_for 'rally_config' do
|
||||
let :params do
|
||||
{ :rally_config => config_hash }
|
||||
end
|
||||
|
||||
it { is_expected.to contain_class('rally::deps') }
|
||||
|
||||
it 'configures arbitrary rally-config configurations' do
|
||||
is_expected.to contain_rally_config('DEFAULT/foo').with_value('fooValue')
|
||||
is_expected.to contain_rally_config('DEFAULT/bar').with_value('barValue')
|
||||
is_expected.to contain_rally_config('DEFAULT/baz').with_ensure('absent')
|
||||
end
|
||||
end
|
||||
|
||||
on_supported_os({
|
||||
:supported_os => OSDefaults.get_supported_os
|
||||
}).each do |os,facts|
|
||||
context "on #{os}" do
|
||||
let (:facts) do
|
||||
facts.merge!(OSDefaults.get_facts())
|
||||
end
|
||||
|
||||
it_configures 'rally_config'
|
||||
end
|
||||
end
|
||||
end
|
@ -1,72 +0,0 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'rally::db::mysql' do
|
||||
let :pre_condition do
|
||||
"include mysql::server"
|
||||
end
|
||||
|
||||
let :params do
|
||||
{
|
||||
:password => 'rallypass',
|
||||
}
|
||||
end
|
||||
|
||||
shared_examples 'rally::db::mysql' do
|
||||
it { should contain_class('rally::deps') }
|
||||
|
||||
context 'with only required params' do
|
||||
it { should contain_openstacklib__db__mysql('rally').with(
|
||||
:user => 'rally',
|
||||
:password => 'rallypass',
|
||||
:dbname => 'rally',
|
||||
:host => '127.0.0.1',
|
||||
:charset => 'utf8',
|
||||
:collate => 'utf8_general_ci',
|
||||
)}
|
||||
end
|
||||
|
||||
context 'overriding allowed_hosts param to array' do
|
||||
before do
|
||||
params.merge!( :allowed_hosts => ['127.0.0.1','%'] )
|
||||
end
|
||||
|
||||
it { should contain_openstacklib__db__mysql('rally').with(
|
||||
:user => 'rally',
|
||||
:password => 'rallypass',
|
||||
:dbname => 'rally',
|
||||
:host => '127.0.0.1',
|
||||
:charset => 'utf8',
|
||||
:collate => 'utf8_general_ci',
|
||||
:allowed_hosts => ['127.0.0.1','%']
|
||||
)}
|
||||
end
|
||||
|
||||
context 'overriding allowed_hosts param to string' do
|
||||
before do
|
||||
params.merge!( :allowed_hosts => '192.168.1.1' )
|
||||
end
|
||||
|
||||
it { should contain_openstacklib__db__mysql('rally').with(
|
||||
:user => 'rally',
|
||||
:password => 'rallypass',
|
||||
:dbname => 'rally',
|
||||
:host => '127.0.0.1',
|
||||
:charset => 'utf8',
|
||||
:collate => 'utf8_general_ci',
|
||||
:allowed_hosts => '192.168.1.1'
|
||||
)}
|
||||
end
|
||||
end
|
||||
|
||||
on_supported_os({
|
||||
:supported_os => OSDefaults.get_supported_os
|
||||
}).each do |os,facts|
|
||||
context "on #{os}" do
|
||||
let (:facts) do
|
||||
facts.merge!(OSDefaults.get_facts())
|
||||
end
|
||||
|
||||
it_behaves_like 'rally::db::mysql'
|
||||
end
|
||||
end
|
||||
end
|
@ -1,48 +0,0 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'rally::db::postgresql' do
|
||||
|
||||
shared_examples_for 'rally::db::postgresql' do
|
||||
let :req_params do
|
||||
{ :password => 'rallypass' }
|
||||
end
|
||||
|
||||
let :pre_condition do
|
||||
'include postgresql::server'
|
||||
end
|
||||
|
||||
context 'with only required parameters' do
|
||||
let :params do
|
||||
req_params
|
||||
end
|
||||
|
||||
it { is_expected.to contain_class('rally::deps') }
|
||||
|
||||
it { is_expected.to contain_openstacklib__db__postgresql('rally').with(
|
||||
:user => 'rally',
|
||||
:password => 'rallypass',
|
||||
:dbname => 'rally',
|
||||
:encoding => nil,
|
||||
:privileges => 'ALL',
|
||||
)}
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
on_supported_os({
|
||||
:supported_os => OSDefaults.get_supported_os
|
||||
}).each do |os,facts|
|
||||
context "on #{os}" do
|
||||
let (:facts) do
|
||||
facts.merge(OSDefaults.get_facts({
|
||||
# puppet-postgresql requires the service_provider fact provided by
|
||||
# puppetlabs-postgresql.
|
||||
:service_provider => 'systemd'
|
||||
}))
|
||||
end
|
||||
|
||||
it_configures 'rally::db::postgresql'
|
||||
end
|
||||
end
|
||||
|
||||
end
|
@ -1,73 +0,0 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'rally::db' do
|
||||
shared_examples 'rally::db' do
|
||||
context 'with default parameters' do
|
||||
it { should contain_class('rally::deps') }
|
||||
|
||||
it { should contain_oslo__db('rally_config').with(
|
||||
:db_max_retries => '<SERVICE DEFAULT>',
|
||||
:connection => 'sqlite:////var/lib/rally/rally.sqlite',
|
||||
:connection_recycle_time => '<SERVICE DEFAULT>',
|
||||
:max_pool_size => '<SERVICE DEFAULT>',
|
||||
:max_retries => '<SERVICE DEFAULT>',
|
||||
:retry_interval => '<SERVICE DEFAULT>',
|
||||
:max_overflow => '<SERVICE DEFAULT>',
|
||||
:pool_timeout => '<SERVICE DEFAULT>',
|
||||
:mysql_enable_ndb => '<SERVICE DEFAULT>',
|
||||
)}
|
||||
|
||||
it { should contain_file('/var/lib/rally').with(
|
||||
:ensure => 'directory',
|
||||
:owner => 'root',
|
||||
:group => 'root',
|
||||
:mode => '0755',
|
||||
:path => '/var/lib/rally',
|
||||
)}
|
||||
end
|
||||
|
||||
context 'with specific parameters' do
|
||||
let :params do
|
||||
{
|
||||
:database_connection => 'mysql://rally:rally@localhost/rally',
|
||||
:database_connection_recycle_time => '3601',
|
||||
:database_max_retries => '11',
|
||||
:database_retry_interval => '11',
|
||||
:database_max_pool_size => '11',
|
||||
:database_max_overflow => '21',
|
||||
:database_pool_timeout => '21',
|
||||
:mysql_enable_ndb => true,
|
||||
:database_db_max_retries => '-1',
|
||||
}
|
||||
end
|
||||
|
||||
it { should contain_class('rally::deps') }
|
||||
|
||||
it { should contain_oslo__db('rally_config').with(
|
||||
:db_max_retries => '-1',
|
||||
:connection => 'mysql://rally:rally@localhost/rally',
|
||||
:connection_recycle_time => '3601',
|
||||
:max_pool_size => '11',
|
||||
:max_retries => '11',
|
||||
:retry_interval => '11',
|
||||
:max_overflow => '21',
|
||||
:pool_timeout => '21',
|
||||
:mysql_enable_ndb => true,
|
||||
)}
|
||||
|
||||
it { should_not contain_file('create_sqlite_directory') }
|
||||
end
|
||||
end
|
||||
|
||||
on_supported_os({
|
||||
:supported_os => OSDefaults.get_supported_os
|
||||
}).each do |os,facts|
|
||||
context "on #{os}" do
|
||||
let (:facts) do
|
||||
facts.merge!(OSDefaults.get_facts())
|
||||
end
|
||||
|
||||
it_behaves_like 'rally::db'
|
||||
end
|
||||
end
|
||||
end
|
@ -1,93 +0,0 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'rally::db::sync' do
|
||||
|
||||
shared_examples_for 'rally-dbsync' do
|
||||
|
||||
it { is_expected.to contain_class('rally::deps') }
|
||||
|
||||
it 'runs rally db_sync' do
|
||||
is_expected.to contain_exec('rally db_sync').with(
|
||||
:command => 'rally --config-file /etc/rally/rally.conf db create',
|
||||
:user => 'root',
|
||||
:path => '/usr/bin',
|
||||
:refreshonly => 'true',
|
||||
:try_sleep => 5,
|
||||
:tries => 10,
|
||||
:timeout => 300,
|
||||
:logoutput => 'on_failure',
|
||||
:subscribe => ['Anchor[rally::install::end]',
|
||||
'Anchor[rally::config::end]',
|
||||
'Anchor[rally::dbsync::begin]'],
|
||||
:notify => 'Anchor[rally::dbsync::end]',
|
||||
:tag => 'openstack-db',
|
||||
)
|
||||
end
|
||||
|
||||
context "overriding params" do
|
||||
let :params do
|
||||
{
|
||||
:extra_params => '--config-file /var/lib/rally/rally.conf',
|
||||
:db_sync_timeout => 750,
|
||||
}
|
||||
end
|
||||
|
||||
it {
|
||||
is_expected.to contain_exec('rally db_sync').with(
|
||||
:command => 'rally --config-file /var/lib/rally/rally.conf db create',
|
||||
:user => 'root',
|
||||
:path => '/usr/bin',
|
||||
:refreshonly => 'true',
|
||||
:try_sleep => 5,
|
||||
:tries => 10,
|
||||
:timeout => 750,
|
||||
:logoutput => 'on_failure',
|
||||
:subscribe => ['Anchor[rally::install::end]',
|
||||
'Anchor[rally::config::end]',
|
||||
'Anchor[rally::dbsync::begin]'],
|
||||
:notify => 'Anchor[rally::dbsync::end]',
|
||||
:tag => 'openstack-db',
|
||||
)
|
||||
}
|
||||
end
|
||||
|
||||
context "upgrade enabled" do
|
||||
let :params do
|
||||
{
|
||||
:upgrade => true
|
||||
}
|
||||
end
|
||||
|
||||
it {
|
||||
is_expected.to contain_exec('rally db_sync').with(
|
||||
:command => 'rally --config-file /etc/rally/rally.conf db upgrade',
|
||||
:user => 'root',
|
||||
:path => '/usr/bin',
|
||||
:refreshonly => 'true',
|
||||
:try_sleep => 5,
|
||||
:tries => 10,
|
||||
:timeout => 300,
|
||||
:logoutput => 'on_failure',
|
||||
:subscribe => ['Anchor[rally::install::end]',
|
||||
'Anchor[rally::config::end]',
|
||||
'Anchor[rally::dbsync::begin]'],
|
||||
:notify => 'Anchor[rally::dbsync::end]',
|
||||
:tag => 'openstack-db',
|
||||
)
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
on_supported_os({
|
||||
:supported_os => OSDefaults.get_supported_os
|
||||
}).each do |os,facts|
|
||||
context "on #{os}" do
|
||||
let (:facts) do
|
||||
facts.merge(OSDefaults.get_facts({}))
|
||||
end
|
||||
|
||||
it_configures 'rally-dbsync'
|
||||
end
|
||||
end
|
||||
|
||||
end
|
@ -1,73 +0,0 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'rally' do
|
||||
|
||||
shared_examples 'rally' do
|
||||
|
||||
context 'with default parameters' do
|
||||
let :params do
|
||||
{ :purge_config => false }
|
||||
end
|
||||
|
||||
it 'installs packages' do
|
||||
is_expected.to contain_package('rally').with(
|
||||
:name => platform_params[:package_name],
|
||||
:ensure => 'present',
|
||||
:tag => ['openstack', 'rally-package']
|
||||
)
|
||||
is_expected.to contain_package('rally-openstack').with(
|
||||
:name => platform_params[:plugin_package_name],
|
||||
:ensure => 'present',
|
||||
:tag => ['openstack', 'rally-package']
|
||||
)
|
||||
end
|
||||
|
||||
it 'passes purge to resource' do
|
||||
is_expected.to contain_resources('rally_config').with({
|
||||
:purge => false
|
||||
})
|
||||
end
|
||||
|
||||
it 'configures default rally params' do
|
||||
is_expected.to contain_rally_config('DEFAULT/rally_debug').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('DEFAULT/openstack_client_http_timeout').with_value('<SERVICE DEFAULT>')
|
||||
end
|
||||
end
|
||||
|
||||
context 'with overridden parameters' do
|
||||
let :params do
|
||||
{ :rally_debug => true,
|
||||
:openstack_client_http_timeout => '200' }
|
||||
end
|
||||
|
||||
it 'configures default rally params' do
|
||||
is_expected.to contain_rally_config('DEFAULT/rally_debug').with_value(true)
|
||||
is_expected.to contain_rally_config('DEFAULT/openstack_client_http_timeout').with_value('200')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
on_supported_os({
|
||||
:supported_os => OSDefaults.get_supported_os
|
||||
}).each do |os,facts|
|
||||
context "on #{os}" do
|
||||
let (:facts) do
|
||||
facts.merge!(OSDefaults.get_facts())
|
||||
end
|
||||
|
||||
let(:platform_params) do
|
||||
case facts[:os]['family']
|
||||
when 'Debian'
|
||||
{ :package_name => 'rally',
|
||||
:plugin_package_name => 'python3-rally-openstack' }
|
||||
when 'RedHat'
|
||||
{ :package_name => 'openstack-rally',
|
||||
:plugin_package_name => 'openstack-rally-plugins' }
|
||||
end
|
||||
end
|
||||
it_behaves_like 'rally'
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
end
|
@ -1,136 +0,0 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'rally::logging' do
|
||||
|
||||
let :params do
|
||||
{
|
||||
}
|
||||
end
|
||||
|
||||
let :log_params do
|
||||
{
|
||||
:logging_context_format_string => '%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s',
|
||||
:logging_default_format_string => '%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s',
|
||||
:logging_debug_format_suffix => '%(funcName)s %(pathname)s:%(lineno)d',
|
||||
:logging_exception_prefix => '%(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s',
|
||||
:log_config_append => '/etc/rally/logging.conf',
|
||||
:publish_errors => true,
|
||||
:default_log_levels => {
|
||||
'amqp' => 'WARN', 'amqplib' => 'WARN', 'boto' => 'WARN',
|
||||
'sqlalchemy' => 'WARN', 'suds' => 'INFO', 'iso8601' => 'WARN',
|
||||
'requests.packages.urllib3.connectionpool' => 'WARN' },
|
||||
:fatal_deprecations => true,
|
||||
:instance_format => '[instance: %(uuid)s] ',
|
||||
:instance_uuid_format => '[instance: %(uuid)s] ',
|
||||
:log_date_format => '%Y-%m-%d %H:%M:%S',
|
||||
:use_syslog => true,
|
||||
:use_json => true,
|
||||
:use_journal => true,
|
||||
:use_stderr => false,
|
||||
:log_facility => 'LOG_FOO',
|
||||
:log_dir => '/var/log',
|
||||
:log_file => '/var/tmp/rally_random.log',
|
||||
:watch_log_file => true,
|
||||
:debug => true,
|
||||
}
|
||||
end
|
||||
|
||||
shared_examples_for 'rally-logging' do
|
||||
|
||||
context 'with basic logging options and default settings' do
|
||||
it_behaves_like 'basic default logging settings'
|
||||
end
|
||||
|
||||
context 'with basic logging options and non-default settings' do
|
||||
before { params.merge!( log_params ) }
|
||||
it_behaves_like 'basic non-default logging settings'
|
||||
end
|
||||
|
||||
context 'with extended logging options' do
|
||||
before { params.merge!( log_params ) }
|
||||
it_behaves_like 'logging params set'
|
||||
end
|
||||
|
||||
context 'without extended logging options' do
|
||||
it_behaves_like 'logging params unset'
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
shared_examples 'basic default logging settings' do
|
||||
it 'configures rally logging settings with default values' do
|
||||
is_expected.to contain_oslo__log('rally_config').with(
|
||||
:use_syslog => '<SERVICE DEFAULT>',
|
||||
:use_json => '<SERVICE DEFAULT>',
|
||||
:use_journal => '<SERVICE DEFAULT>',
|
||||
:use_stderr => '<SERVICE DEFAULT>',
|
||||
:log_dir => '/var/log/rally',
|
||||
:log_file => '<SERVICE DEFAULT>',
|
||||
:watch_log_file => '<SERVICE DEFAULT>',
|
||||
:debug => '<SERVICE DEFAULT>',
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
shared_examples 'basic non-default logging settings' do
|
||||
it 'configures rally logging settings with non-default values' do
|
||||
is_expected.to contain_oslo__log('rally_config').with(
|
||||
:use_syslog => true,
|
||||
:use_json => true,
|
||||
:use_journal => true,
|
||||
:use_stderr => false,
|
||||
:syslog_log_facility => 'LOG_FOO',
|
||||
:log_dir => '/var/log',
|
||||
:log_file => '/var/tmp/rally_random.log',
|
||||
:watch_log_file => true,
|
||||
:debug => true,
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
shared_examples_for 'logging params set' do
|
||||
it 'enables logging params' do
|
||||
is_expected.to contain_oslo__log('rally_config').with(
|
||||
:logging_context_format_string =>
|
||||
'%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s',
|
||||
:logging_default_format_string => '%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s',
|
||||
:logging_debug_format_suffix => '%(funcName)s %(pathname)s:%(lineno)d',
|
||||
:logging_exception_prefix => '%(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s',
|
||||
:log_config_append => '/etc/rally/logging.conf',
|
||||
:publish_errors => true,
|
||||
:default_log_levels => {
|
||||
'amqp' => 'WARN', 'amqplib' => 'WARN', 'boto' => 'WARN',
|
||||
'sqlalchemy' => 'WARN', 'suds' => 'INFO', 'iso8601' => 'WARN',
|
||||
'requests.packages.urllib3.connectionpool' => 'WARN' },
|
||||
:fatal_deprecations => true,
|
||||
:instance_format => '[instance: %(uuid)s] ',
|
||||
:instance_uuid_format => '[instance: %(uuid)s] ',
|
||||
:log_date_format => '%Y-%m-%d %H:%M:%S',
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
shared_examples_for 'logging params unset' do
|
||||
[ :logging_context_format_string, :logging_default_format_string,
|
||||
:logging_debug_format_suffix, :logging_exception_prefix,
|
||||
:log_config_append, :publish_errors,
|
||||
:default_log_levels, :fatal_deprecations,
|
||||
:instance_format, :instance_uuid_format,
|
||||
:log_date_format, ].each { |param|
|
||||
it { is_expected.to contain_oslo__log('rally_config').with("#{param}" => '<SERVICE DEFAULT>') }
|
||||
}
|
||||
end
|
||||
|
||||
on_supported_os({
|
||||
:supported_os => OSDefaults.get_supported_os
|
||||
}).each do |os,facts|
|
||||
context "on #{os}" do
|
||||
let (:facts) do
|
||||
facts.merge!(OSDefaults.get_facts({}))
|
||||
end
|
||||
|
||||
it_behaves_like 'rally-logging'
|
||||
end
|
||||
end
|
||||
|
||||
end
|
@ -1,59 +0,0 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'rally::settings::cinder' do
|
||||
|
||||
let :params do
|
||||
{
|
||||
}
|
||||
end
|
||||
|
||||
let :rally_cinder_params do
|
||||
{
|
||||
:volume_create_prepoll_delay => 2.0,
|
||||
:volume_create_timeout => 600.0,
|
||||
:volume_create_poll_interval => 3.0,
|
||||
:volume_delete_timeout => 601.0,
|
||||
:volume_delete_poll_interval => 4.0,
|
||||
:backup_restore_timeout => 602.0,
|
||||
:backup_restore_poll_interval => 5.0,
|
||||
}
|
||||
end
|
||||
|
||||
shared_examples_for 'with default parameters' do
|
||||
it 'configures rally cinder settings with default parameters' do
|
||||
is_expected.to contain_rally_config('openstack/cinder_volume_create_prepoll_delay').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/cinder_volume_create_timeout').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/cinder_volume_create_poll_interval').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/cinder_volume_delete_timeout').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/cinder_volume_delete_poll_interval').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/cinder_backup_restore_timeout').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/cinder_backup_restore_poll_interval').with(:value => '<SERVICE DEFAULT>')
|
||||
end
|
||||
end
|
||||
|
||||
shared_examples_for 'with all parameters' do
|
||||
before { params.merge!( rally_cinder_params ) }
|
||||
it 'configures rally-settings-cinder settings with all parameters' do
|
||||
is_expected.to contain_rally_config('openstack/cinder_volume_create_prepoll_delay').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/cinder_volume_create_timeout').with(:value => 600.0)
|
||||
is_expected.to contain_rally_config('openstack/cinder_volume_create_poll_interval').with(:value => 3.0)
|
||||
is_expected.to contain_rally_config('openstack/cinder_volume_delete_timeout').with(:value => 601.0)
|
||||
is_expected.to contain_rally_config('openstack/cinder_volume_delete_poll_interval').with(:value => 4.0)
|
||||
is_expected.to contain_rally_config('openstack/cinder_backup_restore_timeout').with(:value => 602.0)
|
||||
is_expected.to contain_rally_config('openstack/cinder_backup_restore_poll_interval').with(:value => 5.0)
|
||||
end
|
||||
end
|
||||
|
||||
on_supported_os({
|
||||
:supported_os => OSDefaults.get_supported_os
|
||||
}).each do |os,facts|
|
||||
context "on #{os}" do
|
||||
let (:facts) do
|
||||
facts.merge!(OSDefaults.get_facts())
|
||||
end
|
||||
|
||||
it_behaves_like 'with default parameters'
|
||||
it_behaves_like 'with all parameters'
|
||||
end
|
||||
end
|
||||
end
|
@ -1,47 +0,0 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'rally::settings::ec2' do
|
||||
|
||||
let :params do
|
||||
{
|
||||
}
|
||||
end
|
||||
|
||||
let :rally_ec2_params do
|
||||
{
|
||||
:server_boot_prepoll_delay => 1.0,
|
||||
:server_boot_timeout => 300.0,
|
||||
:server_boot_poll_interval => 1.0,
|
||||
}
|
||||
end
|
||||
|
||||
shared_examples_for 'with default parameters' do
|
||||
it 'configures rally ec2 settings with default parameters' do
|
||||
is_expected.to contain_rally_config('openstack/ec2_server_boot_prepoll_delay').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/ec2_server_boot_timeout').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/ec2_server_boot_poll_interval').with(:value => '<SERVICE DEFAULT>')
|
||||
end
|
||||
end
|
||||
|
||||
shared_examples_for 'with all parameters' do
|
||||
before { params.merge!( rally_ec2_params ) }
|
||||
it 'configures rally-settings-ec2 settings with all parameters' do
|
||||
is_expected.to contain_rally_config('openstack/ec2_server_boot_prepoll_delay').with(:value => 1.0)
|
||||
is_expected.to contain_rally_config('openstack/ec2_server_boot_timeout').with(:value => 300.0)
|
||||
is_expected.to contain_rally_config('openstack/ec2_server_boot_poll_interval').with(:value => 1.0)
|
||||
end
|
||||
end
|
||||
|
||||
on_supported_os({
|
||||
:supported_os => OSDefaults.get_supported_os
|
||||
}).each do |os,facts|
|
||||
context "on #{os}" do
|
||||
let (:facts) do
|
||||
facts.merge!(OSDefaults.get_facts())
|
||||
end
|
||||
|
||||
it_behaves_like 'with default parameters'
|
||||
it_behaves_like 'with all parameters'
|
||||
end
|
||||
end
|
||||
end
|
@ -1,53 +0,0 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'rally::settings::glance' do
|
||||
|
||||
let :params do
|
||||
{
|
||||
}
|
||||
end
|
||||
|
||||
let :rally_glance_params do
|
||||
{
|
||||
:image_create_prepoll_delay => 2.0,
|
||||
:image_create_timeout => 120.0,
|
||||
:image_create_poll_interval => 1.0,
|
||||
:image_delete_timeout => 120.0,
|
||||
:image_delete_poll_interval => 1.0,
|
||||
}
|
||||
end
|
||||
|
||||
shared_examples_for 'with default parameters' do
|
||||
it 'configures rally glance settings with default parameters' do
|
||||
is_expected.to contain_rally_config('openstack/glance_image_create_prepoll_delay').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/glance_image_create_timeout').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/glance_image_create_poll_interval').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/glance_image_delete_timeout').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/glance_image_delete_poll_interval').with(:value => '<SERVICE DEFAULT>')
|
||||
end
|
||||
end
|
||||
|
||||
shared_examples_for 'with all parameters' do
|
||||
before { params.merge!( rally_glance_params ) }
|
||||
it 'configures rally-settings-glance settings with all parameters' do
|
||||
is_expected.to contain_rally_config('openstack/glance_image_create_prepoll_delay').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/glance_image_create_timeout').with(:value => 120.0)
|
||||
is_expected.to contain_rally_config('openstack/glance_image_create_poll_interval').with(:value => 1.0)
|
||||
is_expected.to contain_rally_config('openstack/glance_image_delete_timeout').with(:value => 120.0)
|
||||
is_expected.to contain_rally_config('openstack/glance_image_delete_poll_interval').with(:value => 1.0)
|
||||
end
|
||||
end
|
||||
|
||||
on_supported_os({
|
||||
:supported_os => OSDefaults.get_supported_os
|
||||
}).each do |os,facts|
|
||||
context "on #{os}" do
|
||||
let (:facts) do
|
||||
facts.merge!(OSDefaults.get_facts())
|
||||
end
|
||||
|
||||
it_behaves_like 'with default parameters'
|
||||
it_behaves_like 'with all parameters'
|
||||
end
|
||||
end
|
||||
end
|
@ -1,98 +0,0 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'rally::settings::heat' do
|
||||
|
||||
let :params do
|
||||
{
|
||||
}
|
||||
end
|
||||
|
||||
let :rally_heat_params do
|
||||
{
|
||||
:stack_create_prepoll_delay => 2.0,
|
||||
:stack_create_timeout => 3600.0,
|
||||
:stack_create_poll_interval => 1.0,
|
||||
:stack_delete_timeout => 3600.0,
|
||||
:stack_delete_poll_interval => 1.0,
|
||||
:stack_check_timeout => 3600.0,
|
||||
:stack_check_poll_interval => 1.0,
|
||||
:stack_update_prepoll_delay => 2.0,
|
||||
:stack_update_timeout => 3600.0,
|
||||
:stack_update_poll_interval => 1.0,
|
||||
:stack_suspend_timeout => 3600.0,
|
||||
:stack_suspend_poll_interval => 1.0,
|
||||
:stack_resume_timeout => 3600.0,
|
||||
:stack_resume_poll_interval => 1.0,
|
||||
:stack_snapshot_timeout => 3600.0,
|
||||
:stack_snapshot_poll_interval => 1.0,
|
||||
:stack_restore_timeout => 3600.0,
|
||||
:stack_restore_poll_interval => 1.0,
|
||||
:stack_scale_timeout => 3600.0,
|
||||
:stack_scale_poll_interval => 1.0,
|
||||
}
|
||||
end
|
||||
|
||||
shared_examples_for 'with default parameters' do
|
||||
it 'configures rally heat settings with default parameters' do
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_create_prepoll_delay').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_create_timeout').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_create_poll_interval').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_delete_timeout').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_delete_poll_interval').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_check_timeout').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_check_poll_interval').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_update_prepoll_delay').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_update_timeout').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_update_poll_interval').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_suspend_timeout').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_suspend_poll_interval').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_resume_timeout').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_resume_poll_interval').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_snapshot_timeout').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_snapshot_poll_interval').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_restore_timeout').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_restore_poll_interval').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_scale_timeout').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_scale_poll_interval').with(:value => '<SERVICE DEFAULT>')
|
||||
end
|
||||
end
|
||||
|
||||
shared_examples_for 'with all parameters' do
|
||||
before { params.merge!( rally_heat_params ) }
|
||||
it 'configures rally-settings-heat settings with all parameters' do
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_create_prepoll_delay').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_create_timeout').with(:value => 3600.0)
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_create_poll_interval').with(:value => 1.0)
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_delete_timeout').with(:value => 3600.0)
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_delete_poll_interval').with(:value => 1.0)
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_check_timeout').with(:value => 3600.0)
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_check_poll_interval').with(:value => 1.0)
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_update_prepoll_delay').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_update_timeout').with(:value => 3600.0)
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_update_poll_interval').with(:value => 1.0)
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_suspend_timeout').with(:value => 3600.0)
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_suspend_poll_interval').with(:value => 1.0)
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_resume_timeout').with(:value => 3600.0)
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_resume_poll_interval').with(:value => 1.0)
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_snapshot_timeout').with(:value => 3600.0)
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_snapshot_poll_interval').with(:value => 1.0)
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_restore_timeout').with(:value => 3600.0)
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_restore_poll_interval').with(:value => 1.0)
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_scale_timeout').with(:value => 3600.0)
|
||||
is_expected.to contain_rally_config('openstack/heat_stack_scale_poll_interval').with(:value => 1.0)
|
||||
end
|
||||
end
|
||||
|
||||
on_supported_os({
|
||||
:supported_os => OSDefaults.get_supported_os
|
||||
}).each do |os,facts|
|
||||
context "on #{os}" do
|
||||
let (:facts) do
|
||||
facts.merge!(OSDefaults.get_facts())
|
||||
end
|
||||
|
||||
it_behaves_like 'with default parameters'
|
||||
it_behaves_like 'with all parameters'
|
||||
end
|
||||
end
|
||||
end
|
@ -1,41 +0,0 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'rally::settings::ironic' do
|
||||
|
||||
let :params do
|
||||
{
|
||||
}
|
||||
end
|
||||
|
||||
let :rally_ironic_params do
|
||||
{
|
||||
:node_create_poll_interval => 1.0,
|
||||
}
|
||||
end
|
||||
|
||||
shared_examples_for 'with default parameters' do
|
||||
it 'configures rally ironic settings with default parameters' do
|
||||
is_expected.to contain_rally_config('openstack/ironic_node_create_poll_interval').with(:value => '<SERVICE DEFAULT>')
|
||||
end
|
||||
end
|
||||
|
||||
shared_examples_for 'with all parameters' do
|
||||
before { params.merge!( rally_ironic_params ) }
|
||||
it 'configures rally-settings-ironic settings with all parameters' do
|
||||
is_expected.to contain_rally_config('openstack/ironic_node_create_poll_interval').with(:value => 1.0)
|
||||
end
|
||||
end
|
||||
|
||||
on_supported_os({
|
||||
:supported_os => OSDefaults.get_supported_os
|
||||
}).each do |os,facts|
|
||||
context "on #{os}" do
|
||||
let (:facts) do
|
||||
facts.merge!(OSDefaults.get_facts())
|
||||
end
|
||||
|
||||
it_behaves_like 'with default parameters'
|
||||
it_behaves_like 'with all parameters'
|
||||
end
|
||||
end
|
||||
end
|
@ -1,47 +0,0 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'rally::settings::magnum' do
|
||||
|
||||
let :params do
|
||||
{
|
||||
}
|
||||
end
|
||||
|
||||
let :rally_magnum_params do
|
||||
{
|
||||
:magnum_cluster_create_prepoll_delay => 9.0,
|
||||
:magnum_cluster_create_timeout => 600.0,
|
||||
:magnum_cluster_create_poll_interval => 2.0,
|
||||
}
|
||||
end
|
||||
|
||||
shared_examples_for 'with default parameters' do
|
||||
it 'configures rally magnum settings with default parameters' do
|
||||
is_expected.to contain_rally_config('openstack/magnum_cluster_create_prepoll_delay').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/magnum_cluster_create_timeout').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/magnum_cluster_create_poll_interval').with(:value => '<SERVICE DEFAULT>')
|
||||
end
|
||||
end
|
||||
|
||||
shared_examples_for 'with all parameters' do
|
||||
before { params.merge!( rally_magnum_params ) }
|
||||
it 'configures rally-settings-magnum settings with all parameters' do
|
||||
is_expected.to contain_rally_config('openstack/magnum_cluster_create_prepoll_delay').with(:value => 9.0)
|
||||
is_expected.to contain_rally_config('openstack/magnum_cluster_create_timeout').with(:value => 600.0)
|
||||
is_expected.to contain_rally_config('openstack/magnum_cluster_create_poll_interval').with(:value => 2.0)
|
||||
end
|
||||
end
|
||||
|
||||
on_supported_os({
|
||||
:supported_os => OSDefaults.get_supported_os
|
||||
}).each do |os,facts|
|
||||
context "on #{os}" do
|
||||
let (:facts) do
|
||||
facts.merge!(OSDefaults.get_facts())
|
||||
end
|
||||
|
||||
it_behaves_like 'with default parameters'
|
||||
it_behaves_like 'with all parameters'
|
||||
end
|
||||
end
|
||||
end
|
@ -1,65 +0,0 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'rally::settings::manila' do
|
||||
|
||||
let :params do
|
||||
{
|
||||
}
|
||||
end
|
||||
|
||||
let :rally_manila_params do
|
||||
{
|
||||
:share_create_prepoll_delay => 2.0,
|
||||
:share_create_timeout => 300.0,
|
||||
:share_create_poll_interval => 3.0,
|
||||
:share_delete_timeout => 180.0,
|
||||
:share_delete_poll_interval => 2.0,
|
||||
:access_create_timeout => 300.1,
|
||||
:access_create_poll_interval => 3.1,
|
||||
:access_delete_timeout => 180.1,
|
||||
:access_delete_poll_interval => 2.1,
|
||||
}
|
||||
end
|
||||
|
||||
shared_examples_for 'with default parameters' do
|
||||
it 'configures rally manila settings with default parameters' do
|
||||
is_expected.to contain_rally_config('openstack/manila_share_create_prepoll_delay').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/manila_share_create_timeout').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/manila_share_create_poll_interval').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/manila_share_delete_timeout').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/manila_share_delete_poll_interval').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/manila_access_create_timeout').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/manila_access_create_poll_interval').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/manila_access_delete_timeout').with_value('<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/manila_access_delete_poll_interval').with_value('<SERVICE DEFAULT>')
|
||||
end
|
||||
end
|
||||
|
||||
shared_examples_for 'with all parameters' do
|
||||
before { params.merge!( rally_manila_params ) }
|
||||
it 'configures rally-settings-manila settings with all parameters' do
|
||||
is_expected.to contain_rally_config('openstack/manila_share_create_prepoll_delay').with_value(2.0)
|
||||
is_expected.to contain_rally_config('openstack/manila_share_create_timeout').with_value(300.0)
|
||||
is_expected.to contain_rally_config('openstack/manila_share_create_poll_interval').with_value(3.0)
|
||||
is_expected.to contain_rally_config('openstack/manila_share_delete_timeout').with_value(180.0)
|
||||
is_expected.to contain_rally_config('openstack/manila_share_delete_poll_interval').with_value(2.0)
|
||||
is_expected.to contain_rally_config('openstack/manila_access_create_timeout').with_value(300.1)
|
||||
is_expected.to contain_rally_config('openstack/manila_access_create_poll_interval').with_value(3.1)
|
||||
is_expected.to contain_rally_config('openstack/manila_access_delete_timeout').with_value(180.1)
|
||||
is_expected.to contain_rally_config('openstack/manila_access_delete_poll_interval').with_value(2.1)
|
||||
end
|
||||
end
|
||||
|
||||
on_supported_os({
|
||||
:supported_os => OSDefaults.get_supported_os
|
||||
}).each do |os,facts|
|
||||
context "on #{os}" do
|
||||
let (:facts) do
|
||||
facts.merge!(OSDefaults.get_facts())
|
||||
end
|
||||
|
||||
it_behaves_like 'with default parameters'
|
||||
it_behaves_like 'with all parameters'
|
||||
end
|
||||
end
|
||||
end
|
@ -1,41 +0,0 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'rally::settings::mistral' do
|
||||
|
||||
let :params do
|
||||
{
|
||||
}
|
||||
end
|
||||
|
||||
let :rally_mistral_params do
|
||||
{
|
||||
:mistral_execution_timeout => 10.0,
|
||||
}
|
||||
end
|
||||
|
||||
shared_examples_for 'with default parameters' do
|
||||
it 'configures rally mistral settings with default parameters' do
|
||||
is_expected.to contain_rally_config('openstack/mistral_execution_timeout').with(:value => '<SERVICE DEFAULT>')
|
||||
end
|
||||
end
|
||||
|
||||
shared_examples_for 'with all parameters' do
|
||||
before { params.merge!( rally_mistral_params ) }
|
||||
it 'configures rally-settings-mistral settings with all parameters' do
|
||||
is_expected.to contain_rally_config('openstack/mistral_execution_timeout').with(:value => 10.0)
|
||||
end
|
||||
end
|
||||
|
||||
on_supported_os({
|
||||
:supported_os => OSDefaults.get_supported_os
|
||||
}).each do |os,facts|
|
||||
context "on #{os}" do
|
||||
let (:facts) do
|
||||
facts.merge!(OSDefaults.get_facts())
|
||||
end
|
||||
|
||||
it_behaves_like 'with default parameters'
|
||||
it_behaves_like 'with all parameters'
|
||||
end
|
||||
end
|
||||
end
|
@ -1,41 +0,0 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'rally::settings::monasca' do
|
||||
|
||||
let :params do
|
||||
{
|
||||
}
|
||||
end
|
||||
|
||||
let :rally_monasca_params do
|
||||
{
|
||||
:monasca_metric_create_prepoll_delay => 10.0,
|
||||
}
|
||||
end
|
||||
|
||||
shared_examples_for 'with default parameters' do
|
||||
it 'configures rally monasca settings with default parameters' do
|
||||
is_expected.to contain_rally_config('openstack/monasca_metric_create_prepoll_delay').with(:value => '<SERVICE DEFAULT>')
|
||||
end
|
||||
end
|
||||
|
||||
shared_examples_for 'with all parameters' do
|
||||
before { params.merge!( rally_monasca_params ) }
|
||||
it 'configures rally-settings-monasca settings with all parameters' do
|
||||
is_expected.to contain_rally_config('openstack/monasca_metric_create_prepoll_delay').with(:value => 10.0)
|
||||
end
|
||||
end
|
||||
|
||||
on_supported_os({
|
||||
:supported_os => OSDefaults.get_supported_os
|
||||
}).each do |os,facts|
|
||||
context "on #{os}" do
|
||||
let (:facts) do
|
||||
facts.merge!(OSDefaults.get_facts())
|
||||
end
|
||||
|
||||
it_behaves_like 'with default parameters'
|
||||
it_behaves_like 'with all parameters'
|
||||
end
|
||||
end
|
||||
end
|
@ -1,44 +0,0 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'rally::settings::murano' do
|
||||
|
||||
let :params do
|
||||
{
|
||||
}
|
||||
end
|
||||
|
||||
let :rally_murano_params do
|
||||
{
|
||||
:deploy_environment_timeout => 1200,
|
||||
:deploy_environment_check_interval => 5,
|
||||
}
|
||||
end
|
||||
|
||||
shared_examples_for 'with default parameters' do
|
||||
it 'configures rally murano settings with default parameters' do
|
||||
is_expected.to contain_rally_config('openstack/murano_deploy_environment_timeout').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/murano_deploy_environment_check_interval').with(:value => '<SERVICE DEFAULT>')
|
||||
end
|
||||
end
|
||||
|
||||
shared_examples_for 'with all parameters' do
|
||||
before { params.merge!( rally_murano_params ) }
|
||||
it 'configures rally-settings-murano settings with all parameters' do
|
||||
is_expected.to contain_rally_config('openstack/murano_deploy_environment_timeout').with(:value => 1200)
|
||||
is_expected.to contain_rally_config('openstack/murano_deploy_environment_check_interval').with(:value => 5)
|
||||
end
|
||||
end
|
||||
|
||||
on_supported_os({
|
||||
:supported_os => OSDefaults.get_supported_os
|
||||
}).each do |os,facts|
|
||||
context "on #{os}" do
|
||||
let (:facts) do
|
||||
facts.merge!(OSDefaults.get_facts())
|
||||
end
|
||||
|
||||
it_behaves_like 'with default parameters'
|
||||
it_behaves_like 'with all parameters'
|
||||
end
|
||||
end
|
||||
end
|
@ -1,210 +0,0 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'rally::settings::nova' do
|
||||
|
||||
let :params do
|
||||
{
|
||||
}
|
||||
end
|
||||
|
||||
let :rally_nova_params do
|
||||
{
|
||||
:server_start_prepoll_delay => 0.0,
|
||||
:server_start_timeout => 300.0,
|
||||
:server_start_poll_interval => 1.0,
|
||||
:server_stop_prepoll_delay => 0.0,
|
||||
:server_stop_timeout => 300.0,
|
||||
:server_stop_poll_interval => 2.0,
|
||||
:server_boot_prepoll_delay => 1.0,
|
||||
:server_boot_timeout => 300.0,
|
||||
:server_boot_poll_interval => 1.0,
|
||||
:server_delete_prepoll_delay => 2.0,
|
||||
:server_delete_timeout => 300.0,
|
||||
:server_delete_poll_interval => 2.0,
|
||||
:server_reboot_prepoll_delay => 2.0,
|
||||
:server_reboot_timeout => 300.0,
|
||||
:server_reboot_poll_interval => 2.0,
|
||||
:server_rebuild_prepoll_delay => 1.0,
|
||||
:server_rebuild_timeout => 300.0,
|
||||
:server_rebuild_poll_interval => 1.0,
|
||||
:server_rescue_prepoll_delay => 2.0,
|
||||
:server_rescue_timeout => 300.0,
|
||||
:server_rescue_poll_interval => 2.0,
|
||||
:server_unrescue_prepoll_delay => 2.0,
|
||||
:server_unrescue_timeout => 300.0,
|
||||
:server_unrescue_poll_interval => 2.0,
|
||||
:server_suspend_prepoll_delay => 2.0,
|
||||
:server_suspend_timeout => 300.0,
|
||||
:server_suspend_poll_interval => 2.0,
|
||||
:server_resume_prepoll_delay => 2.0,
|
||||
:server_resume_timeout => 300.0,
|
||||
:server_resume_poll_interval => 2.0,
|
||||
:server_pause_prepoll_delay => 2.0,
|
||||
:server_pause_timeout => 300.0,
|
||||
:server_pause_poll_interval => 2.0,
|
||||
:server_unpause_prepoll_delay => 2.0,
|
||||
:server_unpause_timeout => 300.0,
|
||||
:server_unpause_poll_interval => 2.0,
|
||||
:server_shelve_prepoll_delay => 2.0,
|
||||
:server_shelve_timeout => 300.0,
|
||||
:server_shelve_poll_interval => 2.0,
|
||||
:server_unshelve_prepoll_delay => 2.0,
|
||||
:server_unshelve_timeout => 300.0,
|
||||
:server_unshelve_poll_interval => 2.0,
|
||||
:server_image_create_prepoll_delay => 0.0,
|
||||
:server_image_create_timeout => 300.0,
|
||||
:server_image_create_poll_interval => 2.0,
|
||||
:server_image_delete_prepoll_delay => 0.0,
|
||||
:server_image_delete_timeout => 300.0,
|
||||
:server_image_delete_poll_interval => 2.0,
|
||||
:server_resize_prepoll_delay => 2.0,
|
||||
:server_resize_timeout => 400.0,
|
||||
:server_resize_poll_interval => 5.0,
|
||||
:server_resize_confirm_prepoll_delay => 0.0,
|
||||
:server_resize_confirm_timeout => 200.0,
|
||||
:server_resize_confirm_poll_interval => 2.0,
|
||||
:server_resize_revert_prepoll_delay => 0.0,
|
||||
:server_resize_revert_timeout => 200.0,
|
||||
:server_resize_revert_poll_interval => 2.0,
|
||||
:server_live_migrate_prepoll_delay => 1.0,
|
||||
:server_live_migrate_timeout => 400.0,
|
||||
:server_live_migrate_poll_interval => 2.0,
|
||||
:server_migrate_prepoll_delay => 1.0,
|
||||
:server_migrate_timeout => 400.0,
|
||||
:server_migrate_poll_interval => 2.0,
|
||||
:detach_volume_timeout => 200.0,
|
||||
:detach_volume_poll_interval => 2.0,
|
||||
:vm_ping_poll_interval => 1.0,
|
||||
:vm_ping_timeout => 120.0,
|
||||
}
|
||||
end
|
||||
|
||||
shared_examples_for 'with default parameters' do
|
||||
it 'configures rally nova settings with default parameters' do
|
||||
[ :server_start_prepoll_delay, :server_start_timeout,
|
||||
:server_start_poll_interval, :server_stop_prepoll_delay,
|
||||
:server_stop_timeout, :server_stop_poll_interval,
|
||||
:server_boot_prepoll_delay, :server_boot_timeout,
|
||||
:server_boot_poll_interval, :server_delete_prepoll_delay,
|
||||
:server_delete_timeout, :server_delete_poll_interval,
|
||||
:server_reboot_prepoll_delay, :server_reboot_timeout,
|
||||
:server_reboot_poll_interval, :server_rebuild_prepoll_delay,
|
||||
:server_rebuild_timeout, :server_rebuild_poll_interval,
|
||||
:server_rescue_prepoll_delay, :server_rescue_timeout,
|
||||
:server_rescue_poll_interval, :server_unrescue_prepoll_delay,
|
||||
:server_unrescue_timeout, :server_unrescue_poll_interval,
|
||||
:server_suspend_prepoll_delay, :server_suspend_timeout,
|
||||
:server_suspend_poll_interval, :server_resume_prepoll_delay,
|
||||
:server_resume_timeout, :server_resume_poll_interval,
|
||||
:server_pause_prepoll_delay, :server_pause_timeout,
|
||||
:server_pause_poll_interval, :server_unpause_prepoll_delay,
|
||||
:server_unpause_timeout, :server_unpause_poll_interval,
|
||||
:server_shelve_prepoll_delay, :server_shelve_timeout,
|
||||
:server_shelve_poll_interval, :server_unshelve_prepoll_delay,
|
||||
:server_unshelve_timeout, :server_unshelve_poll_interval,
|
||||
:server_image_create_prepoll_delay, :server_image_create_timeout,
|
||||
:server_image_create_poll_interval, :server_image_delete_prepoll_delay,
|
||||
:server_image_delete_timeout, :server_image_delete_poll_interval,
|
||||
:server_resize_prepoll_delay, :server_resize_timeout,
|
||||
:server_resize_poll_interval, :server_resize_confirm_prepoll_delay,
|
||||
:server_resize_confirm_timeout, :server_resize_confirm_poll_interval,
|
||||
:server_resize_revert_prepoll_delay, :server_resize_revert_timeout,
|
||||
:server_resize_revert_poll_interval, :server_live_migrate_prepoll_delay,
|
||||
:server_live_migrate_timeout, :server_live_migrate_poll_interval,
|
||||
:server_migrate_prepoll_delay, :server_migrate_timeout,
|
||||
:server_migrate_poll_interval, :detach_volume_timeout,
|
||||
:detach_volume_poll_interval, ].each { |param|
|
||||
is_expected.to contain_rally_config("openstack/nova_#{param}").with_value('<SERVICE DEFAULT>')
|
||||
}
|
||||
|
||||
is_expected.to contain_rally_config('openstack/vm_ping_poll_interval').with(:value => '<SERVICE DEFAULT>')
|
||||
is_expected.to contain_rally_config('openstack/vm_ping_timeout').with(:value => '<SERVICE DEFAULT>')
|
||||
end
|
||||
end
|
||||
|
||||
shared_examples_for 'with all parameters' do
|
||||
before { params.merge!( rally_nova_params ) }
|
||||
it 'configures rally-settings-nova settings with all parameters' do
|
||||
is_expected.to contain_rally_config('openstack/nova_server_start_prepoll_delay').with(:value => 0.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_start_timeout').with(:value => 300.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_start_poll_interval').with(:value => 1.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_stop_prepoll_delay').with(:value => 0.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_stop_timeout').with(:value => 300.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_stop_poll_interval').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_boot_prepoll_delay').with(:value => 1.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_boot_timeout').with(:value => 300.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_boot_poll_interval').with(:value => 1.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_delete_prepoll_delay').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_delete_timeout').with(:value => 300.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_delete_poll_interval').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_reboot_prepoll_delay').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_reboot_timeout').with(:value => 300.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_reboot_poll_interval').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_rebuild_prepoll_delay').with(:value => 1.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_rebuild_timeout').with(:value => 300.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_rebuild_poll_interval').with(:value => 1.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_rescue_prepoll_delay').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_rescue_timeout').with(:value => 300.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_rescue_poll_interval').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_unrescue_prepoll_delay').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_unrescue_timeout').with(:value => 300.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_unrescue_poll_interval').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_suspend_prepoll_delay').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_suspend_timeout').with(:value => 300.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_suspend_poll_interval').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_resume_prepoll_delay').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_resume_timeout').with(:value => 300.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_resume_poll_interval').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_pause_prepoll_delay').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_pause_timeout').with(:value => 300.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_pause_poll_interval').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_unpause_prepoll_delay').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_unpause_timeout').with(:value => 300.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_unpause_poll_interval').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_shelve_prepoll_delay').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_shelve_timeout').with(:value => 300.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_shelve_poll_interval').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_unshelve_prepoll_delay').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_unshelve_timeout').with(:value => 300.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_unshelve_poll_interval').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_image_create_prepoll_delay').with(:value => 0.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_image_create_timeout').with(:value => 300.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_image_create_poll_interval').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_image_delete_prepoll_delay').with(:value => 0.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_image_delete_timeout').with(:value => 300.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_image_delete_poll_interval').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_resize_prepoll_delay').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_resize_timeout').with(:value => 400.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_resize_poll_interval').with(:value => 5.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_resize_confirm_prepoll_delay').with(:value => 0.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_resize_confirm_timeout').with(:value => 200.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_resize_confirm_poll_interval').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_resize_revert_prepoll_delay').with(:value => 0.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_resize_revert_timeout').with(:value => 200.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_resize_revert_poll_interval').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_live_migrate_prepoll_delay').with(:value => 1.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_live_migrate_timeout').with(:value => 400.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_live_migrate_poll_interval').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_migrate_prepoll_delay').with(:value => 1.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_migrate_timeout').with(:value => 400.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_server_migrate_poll_interval').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_detach_volume_timeout').with(:value => 200.0)
|
||||
is_expected.to contain_rally_config('openstack/nova_detach_volume_poll_interval').with(:value => 2.0)
|
||||
is_expected.to contain_rally_config('openstack/vm_ping_poll_interval').with(:value => 1.0)
|
||||
is_expected.to contain_rally_config('openstack/vm_ping_timeout').with(:value => 120.0)
|
||||
end
|
||||
end
|
||||
|
||||
on_supported_os({
|
||||
:supported_os => OSDefaults.get_supported_os
|
||||
}).each do |os,facts|
|
||||
context "on #{os}" do
|
||||
let (:facts) do
|
||||
facts.merge!(OSDefaults.get_facts())
|
||||
end
|
||||
|
||||
it_behaves_like 'with default parameters'
|
||||
it_behaves_like 'with all parameters'
|
||||
end
|
||||
end
|
||||
end
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user