Retire Tripleo: remove repo content
TripleO project is retiring - https://review.opendev.org/c/openstack/governance/+/905145 this commit remove the content of this project repo Change-Id: I235b08d63bab01a94a41b29b40724f05c88a534f
This commit is contained in:
parent
0d776f734a
commit
c49552281f
@ -1,27 +0,0 @@
|
||||
---
|
||||
parseable: true
|
||||
exclude_paths:
|
||||
- config/
|
||||
- releasenotes/
|
||||
# this file tries to execute a file that is part of tripleo-quickstart-extras
|
||||
# so it will never pass.
|
||||
- playbooks/build-images-and-quickstart.yml
|
||||
skip_list:
|
||||
# One two excuses for adding skips: bugs in linter and recent linter bumping
|
||||
- '204' # [E204] Lines should be no longer than 120 chars
|
||||
# E602 https://github.com/ansible/ansible-lint/issues/450
|
||||
- '602' # [E602] Don't compare to empty string
|
||||
- '701' # [E701] No 'galaxy_info' found
|
||||
- '208' # [E208] File permissions unset or incorrect
|
||||
- '106' # [E106] Role name {} does not match ^[a-z][a-z0-9_]+$ pattern
|
||||
- '303' # [E303] Using command rather than module
|
||||
mock_roles:
|
||||
- extras-common
|
||||
- image-build
|
||||
mock_modules:
|
||||
- authorized_key
|
||||
- modprobe
|
||||
- openvswitch_bridge
|
||||
- virt
|
||||
- virt_net
|
||||
- virt_pool
|
75
.gitignore
vendored
75
.gitignore
vendored
@ -1,75 +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'
|
||||
|
||||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
|
||||
# C extensions
|
||||
*.so
|
||||
|
||||
# Distribution / packaging
|
||||
.Python
|
||||
env/
|
||||
develop-eggs/
|
||||
dist/
|
||||
downloads/
|
||||
eggs/
|
||||
.eggs/
|
||||
lib/
|
||||
lib64/
|
||||
sdist/
|
||||
var/
|
||||
*.egg-info/
|
||||
.installed.cfg
|
||||
*.egg
|
||||
|
||||
# PyInstaller
|
||||
# Usually these files are written by a python script from a template
|
||||
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
||||
*.manifest
|
||||
*.spec
|
||||
|
||||
# Installer logs
|
||||
pip-log.txt
|
||||
pip-delete-this-directory.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
htmlcov/
|
||||
.tox/
|
||||
.coverage
|
||||
.coverage.*
|
||||
.cache
|
||||
nosetests.xml
|
||||
coverage.xml
|
||||
*.cover
|
||||
|
||||
# Translations
|
||||
*.mo
|
||||
*.pot
|
||||
|
||||
# Django stuff:
|
||||
*.log
|
||||
|
||||
# Sphinx documentation
|
||||
doc/build/
|
||||
|
||||
# PyBuilder
|
||||
target/
|
||||
|
||||
# virtualenv
|
||||
.venv*
|
||||
|
||||
# Files created by releasenotes build
|
||||
releasenotes/build
|
||||
|
||||
# Ansible facts cache
|
||||
ansible_facts_cache/
|
@ -1,54 +0,0 @@
|
||||
---
|
||||
repos:
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: build-fs-matrix
|
||||
name: build-fs-matrix
|
||||
entry: python fs-matrix.py > doc/source/feature-configuration-generated.rst
|
||||
files: config/general_config
|
||||
language: python
|
||||
language_version: python3
|
||||
always_run: true
|
||||
additional_dependencies:
|
||||
- texttable
|
||||
- pyyaml
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v2.4.0
|
||||
hooks:
|
||||
- id: end-of-file-fixer
|
||||
- id: trailing-whitespace
|
||||
- id: mixed-line-ending
|
||||
- id: check-byte-order-marker
|
||||
- id: check-executables-have-shebangs
|
||||
- id: check-merge-conflict
|
||||
- id: check-symlinks
|
||||
- id: debug-statements
|
||||
- id: flake8
|
||||
- id: check-yaml
|
||||
files: .*\.(yaml|yml)$
|
||||
- repo: https://github.com/ansible-community/ansible-lint.git
|
||||
rev: v5.3.2
|
||||
hooks:
|
||||
- id: ansible-lint
|
||||
always_run: true
|
||||
pass_filenames: false
|
||||
# do not add file filters here as ansible-lint does not give reliable
|
||||
# results when called with individual files.
|
||||
# https://github.com/ansible/ansible-lint/issues/611
|
||||
verbose: true
|
||||
entry: env ANSIBLE_LIBRARY=library ansible-lint --force-color -p -v
|
||||
additional_dependencies:
|
||||
- 'ansible-core>=2.11,<2.12'
|
||||
- yamllint
|
||||
- repo: https://github.com/openstack-dev/bashate.git
|
||||
rev: 2.0.0
|
||||
hooks:
|
||||
- id: bashate
|
||||
entry: bashate --error . --ignore=E006,E040
|
||||
# Run bashate check for all bash scripts
|
||||
# Ignores the following rules:
|
||||
# E006: Line longer than 79 columns (as many scripts use jinja
|
||||
# templating, this is very difficult)
|
||||
# E040: Syntax error determined using `bash -n` (as many scripts
|
||||
# use jinja templating, this will often fail and the syntax
|
||||
# error will be discovered in execution anyway)
|
12
.yamllint
12
.yamllint
@ -1,12 +0,0 @@
|
||||
---
|
||||
extends: default
|
||||
|
||||
rules:
|
||||
document-start: disable
|
||||
line-length:
|
||||
max: 999
|
||||
allow-non-breakable-words: true
|
||||
allow-non-breakable-inline-mappings: true
|
||||
key-duplicates: enable
|
||||
ignore: |
|
||||
.tox
|
11
Dockerfile
11
Dockerfile
@ -1,11 +0,0 @@
|
||||
FROM centos
|
||||
LABEL maintainer=rdoci
|
||||
LABEL name=quickstart
|
||||
|
||||
|
||||
COPY . /quickstart
|
||||
WORKDIR /quickstart
|
||||
|
||||
RUN yum install -y sudo && ./quickstart.sh --install-deps
|
||||
|
||||
CMD ["/quickstart/quickstart.sh", "--no-clone", "--bootstrap", "${VIRTHOST}"]
|
201
LICENSE
201
LICENSE
@ -1,201 +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.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "{}"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright {yyyy} {name of copyright owner}
|
||||
|
||||
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.
|
89
README.rst
89
README.rst
@ -1,83 +1,10 @@
|
||||
========================
|
||||
Team and repository tags
|
||||
========================
|
||||
This project is no longer maintained.
|
||||
|
||||
.. image:: https://governance.openstack.org/tc/badges/tripleo-quickstart.svg
|
||||
:target: https://governance.openstack.org/tc/reference/tags/index.html
|
||||
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".
|
||||
|
||||
.. Change things from this point on
|
||||
|
||||
tripleo-quickstart
|
||||
==================
|
||||
|
||||
An up-to-date HTML version is available on docs.openstack.org_.
|
||||
|
||||
.. _docs.openstack.org: https://docs.openstack.org/tripleo-quickstart/latest/
|
||||
|
||||
Release notes for the project can be found at:
|
||||
https://docs.openstack.org/releasenotes/tripleo-quickstart/
|
||||
|
||||
One of the barriers to entry for trying out TripleO and its derivatives has
|
||||
been the relative difficulty in getting an environment up quickly.
|
||||
|
||||
This set of ansible roles is meant to help.
|
||||
|
||||
Quickstart's default deployment method uses a physical machine, which is
|
||||
referred to as ``$VIRTHOST`` throughout this documentation. On this physical
|
||||
machine Quickstart sets up multiple virtual machines (VMs) and virtual networks
|
||||
using libvirt.
|
||||
|
||||
One of the VMs is set up as **undercloud**, an all-in-one OpenStack cloud used
|
||||
by system administrators to deploy the **overcloud**, the end-user facing
|
||||
OpenStack installation, usually consisting of multiple VMs.
|
||||
|
||||
You will need a ``$VIRTHOST`` with at least **16 GB** of RAM, preferably **32
|
||||
GB**, and you must be able to ``ssh`` to the virthost machine as root without a
|
||||
password from the machine running ansible. Currently the virthost machine must
|
||||
be running a recent Red Hat-based Linux distribution (CentOS 7.x, RHEL 7.x).
|
||||
Other distributions could work but will not be supported with out CI validation.
|
||||
|
||||
Quickstart tool runs commands with superuser privileges as installing packages
|
||||
to the deployer system. The script should be run by a sudo user, e.g.
|
||||
``deployer``, which should be added to the sudoers configuration, as shown
|
||||
below::
|
||||
|
||||
deployer ALL=(ALL) NOPASSWD: ALL
|
||||
|
||||
.. note::
|
||||
Running quickstart.sh commands as root is not suggested or supported.
|
||||
|
||||
The SSH server on your ``$VIRTHOST`` must be accessible via public keys for
|
||||
both the root and stack users.
|
||||
|
||||
A quick way to test that root to your virthost machine is ready to rock is::
|
||||
|
||||
ssh root@$VIRTHOST uname -a
|
||||
|
||||
The ``stack`` user is not added until the quickstart deploy runs, so this cannot
|
||||
be tested in advance. However, if you lock down on a per-user basis, ensure
|
||||
``AllowUsers`` includes ``stack``.
|
||||
|
||||
Timeouts can be an issue if the SSH server is configured to disconnect users
|
||||
after periods of inactivity. This can be addressed for example by::
|
||||
|
||||
ClientAliveInterval 120
|
||||
ClientAliveCountMax 720
|
||||
|
||||
The quickstart defaults are meant to "just work", so it is as easy as
|
||||
downloading and running the ``quickstart.sh`` script.
|
||||
|
||||
Copyright
|
||||
---------
|
||||
|
||||
Copyright 2015-2016 Red Hat, Inc.
|
||||
|
||||
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.
|
||||
For any further questions, please email
|
||||
openstack-discuss@lists.openstack.org or join #openstack-dev on
|
||||
OFTC.
|
||||
|
@ -1,46 +0,0 @@
|
||||
---
|
||||
collections:
|
||||
# FIXME(bogdando): LP#1954761: keep these in sync with:
|
||||
# https://opendev.org/openstack/tripleo-ci/src/branch/master/zuul.d/base.yaml
|
||||
#
|
||||
# FIXME(jmeng): Keep these in sync with RDO RPMs which are installed by TripleO.
|
||||
#
|
||||
# The optional attribute 'version:' must be a valid semantic version [1] because
|
||||
# ansible-galaxy will use 'version:' to compare with existing collection installs
|
||||
# and otherwise will fail with "Non integer values in LooseVersion" [2].
|
||||
# [1] https://semver.org/
|
||||
# [2] https://bugzilla.redhat.com/show_bug.cgi?id=2109807
|
||||
#
|
||||
# FIXME(jmeng): Collection openstack.cloud aka git+https://opendev.org/openstack/
|
||||
# ansible-collections-openstack is installed with quickstart.sh because the
|
||||
# version to be installed depends on the RDO release.
|
||||
- name: ansible.utils
|
||||
source: https://galaxy.ansible.com
|
||||
version: 2.4.2
|
||||
- name: ansible.posix
|
||||
source: https://galaxy.ansible.com
|
||||
version: 1.3.0
|
||||
- name: ansible.netcommon
|
||||
source: https://old-galaxy.ansible.com/
|
||||
version: 2.4.0
|
||||
- name: community.general
|
||||
source: https://old-galaxy.ansible.com/
|
||||
version: 4.7.0
|
||||
- name: community.libvirt
|
||||
source: https://old-galaxy.ansible.com/
|
||||
version: 1.0.2
|
||||
- name: community.docker
|
||||
source: https://old-galaxy.ansible.com/
|
||||
version: 2.7.0
|
||||
- name: openvswitch.openvswitch
|
||||
source: https://galaxy.ansible.com
|
||||
version: 2.0.2
|
||||
- name: openstack.config_template
|
||||
source: git+https://opendev.org/openstack/ansible-config_template.git
|
||||
type: git
|
||||
- name: tripleo.operator
|
||||
source: git+https://opendev.org/openstack/tripleo-operator-ansible/
|
||||
type: git
|
||||
- name: tripleo.collect_logs
|
||||
source: git+https://opendev.org/openstack/ansible-role-collect-logs/
|
||||
type: git
|
@ -1,7 +0,0 @@
|
||||
---
|
||||
- src: git+https://opendev.org/openstack/openstack-ansible-os_tempest.git
|
||||
version: 0a8459bec03b433b1487b89368e69fad8d92cfd7
|
||||
name: os_tempest
|
||||
- src: git+https://opendev.org/openstack/ansible-role-python_venv_build.git
|
||||
version: master
|
||||
name: python_venv_build
|
26
ansible.cfg
26
ansible.cfg
@ -1,26 +0,0 @@
|
||||
[defaults]
|
||||
retry_files_enabled = False
|
||||
callbacks_enabled = profile_tasks
|
||||
host_key_checking = False
|
||||
gathering = smart
|
||||
fact_caching = jsonfile
|
||||
fact_caching_connection = $VIRTUAL_ENV/ansible_facts_cache
|
||||
fact_caching_timeout = 0
|
||||
# https://docs.ansible.com/ansible/latest/reference_appendices/interpreter_discovery.html
|
||||
# this may fix a few things in the future
|
||||
interpreter_python = auto
|
||||
|
||||
# Attempt to load custom modules whether it's installed system-wide or from a virtual environment
|
||||
callback_plugins = /usr/lib/python2.7/site-packages/ara/plugins/callbacks:$VIRTUAL_ENV/lib/python2.7/site-packages/ara/plugins/callbacks:$VIRTUAL_ENV/lib/python3.6/site-packages/ara/plugins/callbacks:/usr/local/lib/python2.7/dist-packages/ara/plugins/callbacks
|
||||
test_plugins = /usr/lib/python2.7/site-packages/tripleo-quickstart/test_plugins:$VIRTUAL_ENV/usr/local/share/tripleo-quickstart/test_plugins:test_plugins
|
||||
library = /usr/lib/python2.7/site-packages/tripleo-quickstart/library:$VIRTUAL_ENV/usr/local/share/tripleo-quickstart/library:library:$VIRTUAL_ENV/share/ansible/plugins/modules:/usr/share/ansible/plugins/modules
|
||||
module_utils = $VIRTUAL_ENV/share/ansible/plugins/module_utils:/usr/share/ansible/plugins/module_utils
|
||||
roles_path = roles:$VIRTUAL_ENV/usr/local/share/tripleo-quickstart/roles:$VIRTUAL_ENV/usr/local/share/ansible/roles:$VIRTUAL_ENV/usr/local/share/opstools-ansible/roles:$VIRTUAL_ENV/share/ansible/roles:$VIRTUAL_ENV/usr/share/ansible/roles:/usr/share/ansible/roles
|
||||
collections_paths = collections:$VIRTUAL_ENV/share/ansible/collections:/usr/share/ansible/collections:$HOME/.ansible/collections/
|
||||
action_plugins = /usr/share/ansible/plugins/action:$VIRTUAL_ENV/share/ansible/plugins/action:$VIRTUAL_ENV/lib/python2.7/site-packages/ara/plugins/actions:$VIRTUAL_ENV/lib/python3.6/site-packages/ara/plugins/actions
|
||||
|
||||
[ssh_connection]
|
||||
pipelining = True
|
||||
control_path = %(directory)s/%%h-%%r
|
||||
ssh_args = -o ControlMaster=auto -o ControlPersist=270s -o ServerAliveInterval=30 -o GSSAPIAuthentication=no
|
||||
retries = 3
|
@ -1,7 +0,0 @@
|
||||
export OPT_WORKDIR=${OPT_WORKDIR:=$HOME/.quickstart}
|
||||
|
||||
#ssh config
|
||||
export SSH_CONFIG=${SSH_CONFIG=$OPT_WORKDIR/ssh.config.ansible}
|
||||
#make sure ssh config exists
|
||||
touch $SSH_CONFIG
|
||||
export ANSIBLE_SSH_ARGS=${ANSIBLE_SSH_ARGS="-F ${SSH_CONFIG}"}
|
50
bindep.txt
50
bindep.txt
@ -1,50 +0,0 @@
|
||||
# possible bug in ansible, f29 python 3 env fails
|
||||
# w/o both python-libselinux packages installed
|
||||
# https://bugs.launchpad.net/tripleo/+bug/1812324
|
||||
dnf-utils [platform:fedora]
|
||||
yum-utils [platform:centos]
|
||||
gcc [platform:rpm]
|
||||
git [platform:rpm]
|
||||
iproute [platform:rpm]
|
||||
libyaml [platform:rpm]
|
||||
libffi-devel [platform:rpm]
|
||||
openssl-devel [platform:rpm]
|
||||
# rhel 8
|
||||
python3-libselinux [platform:rhel-8]
|
||||
python3-netaddr [platform:rhel-8]
|
||||
python3-setuptools [platform:rhel-8]
|
||||
python3-virtualenv [platform:rhel-8]
|
||||
python3-pip [platform:rhel-8]
|
||||
|
||||
# fedora 29
|
||||
python3-libselinux [platform:fedora-29]
|
||||
python3-netaddr [platform:fedora-29]
|
||||
python3-setuptools [platform:fedora-29]
|
||||
python3-virtualenv [platform:fedora-29]
|
||||
python3-pip [platform:fedora-29]
|
||||
# fedora 28
|
||||
python2-libselinux [platform:fedora-28]
|
||||
python3-libselinux [platform:fedora-28]
|
||||
python3-netaddr [platform:fedora-28]
|
||||
python3-setuptools [platform:fedora-28]
|
||||
python3-virtualenv [platform:fedora-28]
|
||||
python3-pip [platform:fedora-28]
|
||||
# fedora 27
|
||||
python2-libselinux [platform:fedora-27]
|
||||
python3-libselinux [platform:fedora-27]
|
||||
python2-netaddr [platform:fedora-27]
|
||||
python2-setuptools [platform:fedora-27]
|
||||
python2-virtualenv [platform:fedora-27]
|
||||
python2-pip [platform:fedora-27]
|
||||
# centos-7
|
||||
libselinux-python [platform:centos-7]
|
||||
python-netaddr [platform:centos-7]
|
||||
python-setuptools [platform:centos-7]
|
||||
# build-test-packages failing in queens
|
||||
python-virtualenv [platform:centos-7]
|
||||
#
|
||||
redhat-rpm-config [platform:rpm]
|
||||
|
||||
# other-requirements
|
||||
libffi-dev [platform:dpkg]
|
||||
libffi-devel [platform:rpm]
|
@ -1,43 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Basic CI test that runs quickstart.sh with only the
|
||||
# release argument
|
||||
# Usage: basic.sh <release> <build_system> <config> <job_type>
|
||||
set -eux
|
||||
|
||||
: ${OPT_ADDITIONAL_PARAMETERS:=""}
|
||||
: ${DISTRO_PATH:=""}
|
||||
|
||||
# CONFIG and JOB_TYPE are not used here, but kept for
|
||||
# consistency with other jobs to make JJB cleaner.
|
||||
RELEASE=$1
|
||||
# unused variable in script, kept for consistency
|
||||
BUILD_SYS=$2
|
||||
CONFIG=$3
|
||||
JOB_TYPE=$4
|
||||
|
||||
# Default to using a user other than "stack" as the virthost user.
|
||||
# This will flush out code that makes assumptions about
|
||||
# usernames or working directories.
|
||||
: ${VIRTHOST_USER:=cistack}
|
||||
|
||||
# (trown) This is so that we ensure separate ssh sockets for
|
||||
# concurrent jobs. Without this, two jobs running in parallel
|
||||
# would try to use the same undercloud-stack socket.
|
||||
socketdir=$(mktemp -d /tmp/sockXXXXXX)
|
||||
export ANSIBLE_SSH_CONTROL_PATH=$socketdir/%%h-%%r
|
||||
|
||||
# preparation steps to run with the gated roles
|
||||
CI_SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
|
||||
source $CI_SCRIPT_DIR/include-gate-changes.sh
|
||||
|
||||
# CI_ENV is set on the slave running the jobs
|
||||
# REL_TYPE can be specific release type like 'testing'
|
||||
|
||||
bash quickstart.sh \
|
||||
--playbook quickstart-extras.yml \
|
||||
--working-dir $WORKSPACE/ \
|
||||
--no-clone \
|
||||
--bootstrap \
|
||||
-e virthost_user=$VIRTHOST_USER \
|
||||
--release ${CI_ENV:+$CI_ENV/}${DISTRO_PATH:+$DISTRO_PATH/}$RELEASE${REL_TYPE:+-$REL_TYPE} \
|
||||
$VIRTHOST
|
@ -1,6 +0,0 @@
|
||||
python-cicoclient
|
||||
# As there is no sudo access on ci.centos slave node
|
||||
# So tripleo-operator-ansible needs to be installed on
|
||||
# ci.centos slave node so that quickstart will discover
|
||||
# the tripleo operator collections.
|
||||
git+https://opendev.org/openstack/tripleo-operator-ansible/#egg=tripleo-operator-ansible
|
@ -1,28 +0,0 @@
|
||||
#!/bin/bash
|
||||
# CI test that cleans up a deploy and image on Openstack Virtual Baremetal.
|
||||
# Usage: cleanup-stack-image-ovb.sh \
|
||||
# <ovb-creds-file> \
|
||||
# <playbook>
|
||||
|
||||
set -eux
|
||||
|
||||
OVB_CREDS_FILE=$1
|
||||
PLAYBOOK=$2
|
||||
|
||||
# env file is named env-{{ idnum }}.yaml
|
||||
# idnum is built from:
|
||||
# "{{ 100000 |random }}"
|
||||
|
||||
export IDNUM=$(ls $WORKSPACE | grep -h 'env-.*\.yaml' | sed -e 's/env-\(.*\).yaml/\1/')
|
||||
echo $IDNUM
|
||||
|
||||
pushd $WORKSPACE/tripleo-quickstart
|
||||
|
||||
bash quickstart.sh \
|
||||
--bootstrap \
|
||||
--working-dir $WORKSPACE/ \
|
||||
--extra-vars idnum=$IDNUM \
|
||||
--extra-vars @$OVB_CREDS_FILE \
|
||||
--playbook $PLAYBOOK \
|
||||
localhost
|
||||
popd
|
@ -1,53 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Collect the logs from a CI job
|
||||
|
||||
set -eux
|
||||
|
||||
# Note(hrybacki): Config used by collect-logs should be the same used by
|
||||
# TripleO Quickstart during deployment
|
||||
CONFIG=$1
|
||||
LOG_ENV=${2:-centosci}
|
||||
JOB_TYPE=${3:-default}
|
||||
|
||||
export ANSIBLE_INVENTORY=$WORKSPACE/hosts
|
||||
export ANSIBLE_CONFIG=$WORKSPACE/tripleo-quickstart/ansible.cfg
|
||||
export SSH_CONFIG=$WORKSPACE/ssh.config.ansible
|
||||
export ANSIBLE_SSH_ARGS="-F ${SSH_CONFIG}"
|
||||
|
||||
# (trown) This is so that we ensure separate ssh sockets for
|
||||
# concurrent jobs. Without this, two jobs running in parallel
|
||||
# would try to use the same undercloud-stack socket.
|
||||
socketdir=$(mktemp -d /tmp/sockXXXXXX)
|
||||
export ANSIBLE_SSH_CONTROL_PATH=$socketdir/%%h-%%r
|
||||
|
||||
export ARA_DATABASE="sqlite:///${WORKSPACE}/ara.sqlite"
|
||||
$WORKSPACE/bin/ara generate html $WORKSPACE/ara || true
|
||||
gzip --recursive --best $WORKSPACE/ara || true
|
||||
|
||||
# Check for existence of the config file in the default
|
||||
# directory or as a full path
|
||||
if [ -f $WORKSPACE/config/general_config/$CONFIG.yml ]; then
|
||||
CONFIG_PATH=$WORKSPACE/config/general_config/$CONFIG.yml
|
||||
elif [ -f $CONFIG ]; then
|
||||
CONFIG_PATH=$CONFIG
|
||||
else
|
||||
echo "ERROR: Config file $CONFIG is not found." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$JOB_TYPE" = "gate" ]; then
|
||||
VERIFY_SPHINX=true
|
||||
else
|
||||
VERIFY_SPHINX=false
|
||||
fi
|
||||
|
||||
bash quickstart.sh \
|
||||
--working-dir $WORKSPACE/ \
|
||||
--no-clone \
|
||||
--bootstrap \
|
||||
--retain-inventory \
|
||||
--config $CONFIG_PATH \
|
||||
--playbook collect-logs.yml \
|
||||
--extra-vars @$WORKSPACE/config/general_config/${LOG_ENV}-logs.yml \
|
||||
--extra-vars artcl_verify_sphinx_build=$VERIFY_SPHINX \
|
||||
127.0.0.2
|
@ -1,30 +0,0 @@
|
||||
#!/bin/bash
|
||||
# CI test that updates upstream images to latest delorean and runs tempest.
|
||||
# Usage: tempest.sh <release> <build_system> <config> <job_type>
|
||||
set -eux
|
||||
|
||||
RELEASE=$1
|
||||
BUILD_SYS=$2
|
||||
CONFIG=$3
|
||||
JOB_TYPE=$4
|
||||
|
||||
# (trown) This is so that we ensure separate ssh sockets for
|
||||
# concurrent jobs. Without this, two jobs running in parallel
|
||||
# would try to use the same undercloud-stack socket.
|
||||
socketdir=$(mktemp -d /tmp/sockXXXXXX)
|
||||
export ANSIBLE_SSH_CONTROL_PATH=$socketdir/%%h-%%r
|
||||
|
||||
pushd $WORKSPACE/tripleo-quickstart
|
||||
|
||||
bash quickstart.sh \
|
||||
--bootstrap \
|
||||
--tags all \
|
||||
--config $WORKSPACE/config/general_config/$CONFIG.yml \
|
||||
--working-dir $WORKSPACE/ \
|
||||
--no-clone \
|
||||
--release master-tripleo-ci \
|
||||
--extra-vars test_ping=False \
|
||||
--extra-vars run_tempest=True \
|
||||
$VIRTHOST
|
||||
|
||||
popd
|
@ -1,57 +0,0 @@
|
||||
#!/bin/bash
|
||||
# CI test that does a full deploy, scales a compute node, and validates
|
||||
# the overcloud for both promote and gate jobs
|
||||
# Usage: full-deploy-with-scale.sh <release> <build_system> <config> <job_type>
|
||||
set -eux
|
||||
|
||||
RELEASE=$1
|
||||
# unused variable in script, kept for consistency
|
||||
BUILD_SYS=$2
|
||||
CONFIG=$3
|
||||
JOB_TYPE=$4
|
||||
|
||||
: ${DISTRO_PATH:=""}
|
||||
|
||||
# CI_ENV is set on the slave running the jobs
|
||||
# REL_TYPE can be specific release type like 'testing'
|
||||
|
||||
if [ "$JOB_TYPE" = "gate" ] || [ "$JOB_TYPE" = "periodic" ]; then
|
||||
unset REL_TYPE
|
||||
elif [ "$JOB_TYPE" = "promote" ]; then
|
||||
REL_TYPE=$LOCATION
|
||||
else
|
||||
echo "Job type must be one of gate, periodic, or promote"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# (trown) This is so that we ensure separate ssh sockets for
|
||||
# concurrent jobs. Without this, two jobs running in parallel
|
||||
# would try to use the same undercloud-stack socket.
|
||||
socketdir=$(mktemp -d /tmp/sockXXXXXX)
|
||||
export ANSIBLE_SSH_CONTROL_PATH=$socketdir/%%h-%%r
|
||||
|
||||
# run scale phase 1 against the gate job: Scale new compute node -> Delete original compute node
|
||||
bash quickstart.sh \
|
||||
--working-dir $WORKSPACE/ \
|
||||
--bootstrap \
|
||||
--no-clone \
|
||||
-e deploy_timeout=75 \
|
||||
--config $WORKSPACE/config/general_config/$CONFIG.yml \
|
||||
--tags all \
|
||||
--release ${CI_ENV:+$CI_ENV/}${DISTRO_PATH:+$DISTRO_PATH/}$RELEASE${REL_TYPE:+-$REL_TYPE} \
|
||||
--playbook scale_nodes.yml \
|
||||
$VIRTHOST
|
||||
|
||||
# run scale phase 2 against the gate job: Re-inventory overcloud -> Validate
|
||||
# Note(hrybacki): The reason we need seperate playbook execution: During scale we create
|
||||
# one /additional/ compute node and then delete the /original/ compute node.
|
||||
# The deleted node is still in memory and subsequently will cause issues
|
||||
# while re-inventorying and validating the overcloud
|
||||
bash quickstart.sh \
|
||||
--working-dir $WORKSPACE/ \
|
||||
--retain-inventory \
|
||||
--config $WORKSPACE/config/general_config/$CONFIG.yml \
|
||||
--tags all \
|
||||
--release ${CI_ENV:+$CI_ENV/}${DISTRO_PATH:+$DISTRO_PATH/}$RELEASE${REL_TYPE:+-$REL_TYPE} \
|
||||
--playbook scale_nodes_verify.yml \
|
||||
$VIRTHOST
|
@ -1,38 +0,0 @@
|
||||
#!/bin/bash
|
||||
# CI test that does a full deploy on baremetal hardware.
|
||||
# $HW_ENV_DIR is the directory where environment-specific files are kept.
|
||||
# Usage: full-deploy-baremetal.sh \
|
||||
# <release> \
|
||||
# <hw-env-dir> \
|
||||
# <network-isolation> \
|
||||
# <config-file> \
|
||||
# <playbook>
|
||||
|
||||
set -eux
|
||||
|
||||
: ${OPT_ADDITIONAL_PARAMETERS:=""}
|
||||
: ${DISTRO_PATH:=""}
|
||||
|
||||
RELEASE=$1
|
||||
HW_ENV_DIR=$2
|
||||
NETWORK_ISOLATION=$3
|
||||
CONFIG_FILE=$4
|
||||
PLAYBOOK=$5
|
||||
socketdir=$(mktemp -d /tmp/sockXXXXXX)
|
||||
export ANSIBLE_SSH_CONTROL_PATH=$socketdir/%%h-%%r
|
||||
|
||||
bash quickstart.sh \
|
||||
--bootstrap \
|
||||
--working-dir $WORKSPACE/ \
|
||||
--tags all \
|
||||
--no-clone \
|
||||
--teardown all \
|
||||
--config $WORKSPACE/$HW_ENV_DIR/network_configs/$NETWORK_ISOLATION/config_files/$CONFIG_FILE \
|
||||
--environment $WORKSPACE/$HW_ENV_DIR/network_configs/$NETWORK_ISOLATION/env_settings.yml \
|
||||
--playbook $PLAYBOOK \
|
||||
--extra-vars undercloud_instackenv_template=$WORKSPACE/$HW_ENV_DIR/instackenv.json \
|
||||
--extra-vars network_environment_file=$WORKSPACE/$HW_ENV_DIR/network_configs/$NETWORK_ISOLATION/${NETWORK_ISOLATION}.yml \
|
||||
--extra-vars nic_configs_dir=$WORKSPACE/$HW_ENV_DIR/network_configs/$NETWORK_ISOLATION/nic_configs/ \
|
||||
--release ${CI_ENV:+$CI_ENV/}${DISTRO_PATH:+$DISTRO_PATH/}$RELEASE${REL_TYPE:+-$REL_TYPE} \
|
||||
$OPT_ADDITIONAL_PARAMETERS \
|
||||
$VIRTHOST
|
@ -1,175 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Used to gate ansible-role-tripleo-* repositories
|
||||
# Usage: gate-roles.sh <release> <build_system> <config> <job_type>
|
||||
|
||||
# Note: this script assumes that $WORKSPACE is set prior to calling.
|
||||
|
||||
set -eux
|
||||
|
||||
source $WORKSPACE/tripleo-environments/ci-scripts/internal-functions.sh
|
||||
|
||||
: ${OPT_ADDITIONAL_PARAMETERS:=""}
|
||||
: ${OPT_SELINUX_PERMISSIVE_UC_INSTALL:="true"}
|
||||
: ${OPT_INSTALL_UNDERCLOUD_ONLY:="false"}
|
||||
|
||||
# JOB_TYPE is not used here, but kept for consistency with other jobs to make JJB cleaner.
|
||||
|
||||
RELEASE=$1 # promote: {build-version} (rhos-8, rhos-9, rhos-10, master)
|
||||
BUILD_SYS=$2 # promote: poodle, puddle (note: unused parameter)
|
||||
CONFIG=$3 # promote: minimal, pacemaker,
|
||||
TOPOLOGY=$4 # promote: 3ctlr_1comp_64gb, 3ctlr_1comp_192gb, etc
|
||||
JOB_TYPE=$5 # promote: promote
|
||||
PLATFORM=$6 # promote: rhel
|
||||
|
||||
# promote: $5 is used to construct the URL we are testing
|
||||
if [ "$#" -eq 7 ]; then
|
||||
export OPT_BUILD_ID=$7
|
||||
else
|
||||
export OPT_BUILD_ID="latest" # optional
|
||||
fi
|
||||
|
||||
cat << EOF > $WORKSPACE/internal-deploy-vars.txt
|
||||
Workspace : $WORKSPACE
|
||||
Release : $RELEASE
|
||||
Build_sys : $BUILD_SYS
|
||||
Config : $CONFIG
|
||||
Topology : $TOPOLOGY
|
||||
Job Type : $JOB_TYPE
|
||||
Platform : $PLATFORM
|
||||
Build ID : $OPT_BUILD_ID
|
||||
EOF
|
||||
|
||||
# note: presently LOCATION isn't used for anything here (yet)
|
||||
if [ "$JOB_TYPE" = "gate" ] || [ "$JOB_TYPE" = "periodic" ]; then
|
||||
LOCATION='stable'
|
||||
elif [ "$JOB_TYPE" = "promote" ]; then
|
||||
LOCATION='testing'
|
||||
else
|
||||
echo "Job type must be one of gate, periodic, or promote"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# (trown) This is so that we ensure separate ssh sockets for
|
||||
# concurrent jobs. Without this, two jobs running in parallel
|
||||
# would try to use the same undercloud-stack socket.
|
||||
socketdir=$(mktemp -d /tmp/sockXXXXXX)
|
||||
export ANSIBLE_SSH_CONTROL_PATH=$socketdir/%%h-%%r
|
||||
|
||||
# TODO / NOTE: this is not used at all internally and should be nuked. It is merely a place to drift
|
||||
if [ "$JOB_TYPE" = "gate" ]; then
|
||||
# set up the gated repos and modify the requirements file to use them
|
||||
bash $WORKSPACE/tripleo-quickstart/quickstart.sh \
|
||||
--working-dir $WORKSPACE/ \
|
||||
--no-clone \
|
||||
--bootstrap \
|
||||
--environment $WORKSPACE/config/environments/oooq-internal.yml \
|
||||
--playbook gate-roles.yml \
|
||||
--release $RELEASE \
|
||||
$OPT_ADDITIONAL_PARAMETERS \
|
||||
$VIRTHOST
|
||||
|
||||
# once more to let the gating role be gated as well
|
||||
bash $WORKSPACE/tripleo-quickstart/quickstart.sh \
|
||||
--working-dir $WORKSPACE/ \
|
||||
--no-clone \
|
||||
--bootstrap \
|
||||
--environment $WORKSPACE/config/environments/oooq-internal.yml \
|
||||
--playbook gate-roles.yml \
|
||||
--release $RELEASE \
|
||||
$OPT_ADDITIONAL_PARAMETERS \
|
||||
$VIRTHOST
|
||||
fi
|
||||
|
||||
# note: if job type is promote, we're specifying the image URL via an explicit link. If not, use --release instead
|
||||
# note: undercloud_image_url takes precedence over the same thing defined in config/release/$RELEASE.yml
|
||||
if [ "$JOB_TYPE" = "promote" ]; then
|
||||
|
||||
# for RDO on RHEL jobs, BUILD_ID ends up being a full url to a delorean repo. For internal OSP (rhos-n), it's just a build tag
|
||||
# this is because the OSP jobs use rhos-release (which wants a date tag), and for RDO on RHEL builds, we need the actual URL.
|
||||
if [[ $RELEASE = "master" || $RELEASE = "queens" || $RELEASE = "pike" || $RELEASE = "ocata" || $RELEASE = "newton" ]]; then
|
||||
# ex: http://trunk.rdoproject.org/centos7/5b/b1/5bb13005806597e38ee504bf5a3f42b437ec0890_af9bddfb
|
||||
# ^----- $7
|
||||
OPT_DELOREAN_URI=$OPT_BUILD_ID
|
||||
OPT_BUILD_ID=$(get_delorean_hash_from_url $OPT_DELOREAN_URI)
|
||||
fi
|
||||
|
||||
touch $WORKSPACE/build-id.$OPT_BUILD_ID
|
||||
|
||||
# map $CONFIG (aka {functional_config} in JJB) to an actual yml
|
||||
FEATURESET=$(get_featureset_from_functional_config $CONFIG)
|
||||
|
||||
# this is a temporary fix to unstick RDO on RHEL: master for OSP 10 beta import
|
||||
# we can't park this in --release loaded config file for reasons. using image config location instead
|
||||
# https://trello.com/c/gdKD9x1K/197-rdo-on-rhel-master-make-undercloud-selinux-permissive-post-uc-install
|
||||
#
|
||||
# OPT_SELINUX_PERMISSIVE_UC_INSTALL --> not "true" will disable
|
||||
|
||||
# TODO: Fix quickstart.sh - has a latent bug, init to =() is not enough)
|
||||
OPT_VARS+=("")
|
||||
|
||||
if [ "$OPT_SELINUX_PERMISSIVE_UC_INSTALL" = "true" ]; then
|
||||
if [[ $RELEASE = "master" || $RELEASE = "queens" || $RELEASE = "pike" || $RELEASE = "ocata" || $RELEASE = "newton" ]]; then
|
||||
OPT_VARS+=("-e")
|
||||
OPT_VARS+=("undercloud_install_script=$WORKSPACE/image-build/$RELEASE/latest/undercloud-install-selinux-permissive.sh.j2")
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ $RELEASE = "rhos-12" || $RELEASE = "rhos-13" ]]; then
|
||||
export FEATURESET=featureset022
|
||||
|
||||
# TODO: remove when/if https://review.opendev.org/#/c/529408 lands
|
||||
OPT_VARS+=("-e tempest_config=true")
|
||||
OPT_VARS+=("-e run_tempest=true")
|
||||
OPT_VARS+=("-e tempest_workers=4")
|
||||
OPT_VARS+=("-e test_white_regex=smoke|test_minimum_basic|test_network_basic_ops|test_snapshot_pattern|test_volume_boot_pattern")
|
||||
fi
|
||||
|
||||
# This passes the correct tq release config file for rdo on rhel
|
||||
if [[ $RELEASE = "master" || $RELEASE = "queens" || $RELEASE = "pike" || $RELEASE = "ocata" || $RELEASE = "newton" ]]; then
|
||||
if [[ $PLATFORM = "rhel" ]]; then
|
||||
RELEASE=$RELEASE-rhel
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$OPT_INSTALL_UNDERCLOUD_ONLY" = "true" ]; then
|
||||
# if we don't provide --tags it picks up oooq default (UC only)
|
||||
# https://github.com/openstack/tripleo-quickstart/blob/master/quickstart.sh#L8
|
||||
# DEFAULT_OPT_TAGS="untagged,provision,environment,undercloud-scripts,overcloud-scripts,undercloud-install,undercloud-post-install"
|
||||
TAG_PARAMETER=""
|
||||
else
|
||||
TAG_PARAMETER="--tags all"
|
||||
fi
|
||||
|
||||
bash $WORKSPACE/tripleo-quickstart/quickstart.sh \
|
||||
--working-dir $WORKSPACE/ \
|
||||
--no-clone \
|
||||
--bootstrap \
|
||||
--environment $WORKSPACE/config/environments/oooq-internal.yml \
|
||||
--teardown all \
|
||||
--config $WORKSPACE/config/general_config/$FEATURESET.yml \
|
||||
--nodes $WORKSPACE/config/nodes/$TOPOLOGY.yml \
|
||||
--playbook quickstart-extras.yml \
|
||||
$TAG_PARAMETER \
|
||||
--release $RELEASE \
|
||||
-e current_build=$OPT_BUILD_ID \
|
||||
${OPT_VARS[@]} \
|
||||
$OPT_ADDITIONAL_PARAMETERS \
|
||||
$VIRTHOST
|
||||
|
||||
else
|
||||
|
||||
# TODO / NOTE: this is not used at all internally and should be nuked. It is merely a place to drift
|
||||
bash $WORKSPACE/tripleo-quickstart/quickstart.sh \
|
||||
--working-dir $WORKSPACE/ \
|
||||
--no-clone \
|
||||
--bootstrap \
|
||||
--environment $WORKSPACE/config/environments/oooq-internal.yml \
|
||||
--teardown all \
|
||||
--config $WORKSPACE/config/general_config/$CONFIG.yml \
|
||||
--playbook quickstart-extras.yml \
|
||||
--tags all \
|
||||
--release $RELEASE \
|
||||
$OPT_ADDITIONAL_PARAMETERS \
|
||||
$VIRTHOST
|
||||
|
||||
fi
|
@ -1,106 +0,0 @@
|
||||
#!/bin/bash
|
||||
# CI test that does a full deploy on Openstack Virtual Baremetal.
|
||||
# $HW_ENV_DIR is the directory where environment-specific files are kept.
|
||||
# $JOB_TYPE used are 'periodic' and 'gate'
|
||||
# Usage: full-deploy-ovb.sh \
|
||||
# <release> \
|
||||
# <config> \
|
||||
# <job-type> \
|
||||
# <environment-file> \
|
||||
# <custom-requirements-install> \
|
||||
# <delete-all-stacks> \
|
||||
# <playbook (optional)>
|
||||
|
||||
set -eux
|
||||
|
||||
: ${OPT_ADDITIONAL_PARAMETERS:=""}
|
||||
|
||||
DEFAULT_PLAYBOOK='baremetal-full-deploy.yml'
|
||||
|
||||
RELEASE=$1
|
||||
CONFIG=$2
|
||||
JOB_TYPE=$3
|
||||
ENVIRONMENT=$4
|
||||
CUSTOM_REQUIREMENTS_INSTALL=$5
|
||||
DELETE_ALL_STACKS=$6
|
||||
PLAYBOOK=${7:-$DEFAULT_PLAYBOOK}
|
||||
VIRTHOST=localhost
|
||||
|
||||
if [ "$JOB_TYPE" = "gate" ] || \
|
||||
[ "$JOB_TYPE" = "periodic" ] || \
|
||||
[ "$JOB_TYPE" = "dlrn-gate" ]; then
|
||||
unset REL_TYPE
|
||||
if [ "$RELEASE" = "master-tripleo-ci" ]; then
|
||||
# we don't have a local mirror for the tripleo-ci images
|
||||
unset CI_ENV
|
||||
fi
|
||||
elif [ "$JOB_TYPE" = "dlrn-gate-check" ]; then
|
||||
# setup a test patch to be built
|
||||
export ZUUL_HOST=review.opendev.org
|
||||
export ZUUL_CHANGES=openstack/tripleo-heat-templates:master:refs/changes/70/528770/1
|
||||
unset REL_TYPE
|
||||
if [ "$RELEASE" = "master-tripleo-ci" ]; then
|
||||
# we don't have a local mirror for the tripleo-ci images
|
||||
unset CI_ENV
|
||||
fi
|
||||
elif [ "$JOB_TYPE" = "promote" ]; then
|
||||
export REL_TYPE=$LOCATION
|
||||
else
|
||||
echo "Job type must be one of the following:"
|
||||
echo " * gate - for gating changes on tripleo-quickstart or -extras"
|
||||
echo " * promote - for running promotion jobs"
|
||||
echo " * periodic - for running periodic jobs"
|
||||
echo " * dlrn-gate - for gating upstream changes"
|
||||
echo " * dlrn-gate-check - for gating upstream changes"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# (trown) This is so that we ensure separate ssh sockets for
|
||||
# concurrent jobs. Without this, two jobs running in parallel
|
||||
# would try to use the same undercloud-stack socket.
|
||||
socketdir=$(mktemp -d /tmp/sockXXXXXX)
|
||||
export ANSIBLE_SSH_CONTROL_PATH=$socketdir/%%h-%%r
|
||||
|
||||
# Preparation steps to run with the gated roles
|
||||
CI_SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
source $CI_SCRIPT_DIR/include-gate-changes.sh
|
||||
|
||||
# Add custom repository
|
||||
if [[ $CUSTOM_REQUIREMENTS_INSTALL != "none" ]] && [[ ! $(grep "$CUSTOM_REQUIREMENTS_INSTALL" quickstart-extras-requirements.txt) ]]; then
|
||||
echo "$CUSTOM_REQUIREMENTS_INSTALL" >> $CI_SCRIPT_DIR/../quickstart-extras-requirements.txt
|
||||
fi
|
||||
|
||||
# Define nodes
|
||||
export OPT_NODES=${OPT_NODES:="$WORKSPACE/config/nodes/1ctlr_1comp.yml"}
|
||||
|
||||
# We need to run differently when gating upstream changes
|
||||
if [ "$JOB_TYPE" = "dlrn-gate" ] || [ "$JOB_TYPE" = "dlrn-gate-check" ]; then
|
||||
bash quickstart.sh \
|
||||
--bootstrap \
|
||||
--working-dir $WORKSPACE/ \
|
||||
--tags all \
|
||||
--no-clone \
|
||||
--extra-vars build_test_packages="true" \
|
||||
--extra-vars @$WORKSPACE/config/environments/ovb-common.yml \
|
||||
--config $WORKSPACE/config/general_config/${CONFIG}.yml \
|
||||
--environment $WORKSPACE/config/environments/${ENVIRONMENT}.yml \
|
||||
--extra-vars cleanup_stacks_keypairs=$DELETE_ALL_STACKS \
|
||||
--playbook $PLAYBOOK \
|
||||
--release $RELEASE \
|
||||
$OPT_ADDITIONAL_PARAMETERS \
|
||||
$VIRTHOST
|
||||
else
|
||||
bash quickstart.sh \
|
||||
--bootstrap \
|
||||
--working-dir $WORKSPACE/ \
|
||||
--tags all \
|
||||
--no-clone \
|
||||
--extra-vars @$WORKSPACE/config/environments/ovb-common.yml \
|
||||
--config $WORKSPACE/config/general_config/${CONFIG}.yml \
|
||||
--environment $WORKSPACE/config/environments/${ENVIRONMENT}.yml \
|
||||
--extra-vars cleanup_stacks_keypairs=$DELETE_ALL_STACKS \
|
||||
--playbook baremetal-full-deploy.yml \
|
||||
--release $RELEASE \
|
||||
$OPT_ADDITIONAL_PARAMETERS \
|
||||
$VIRTHOST
|
||||
fi
|
@ -1,158 +0,0 @@
|
||||
#!/bin/bash
|
||||
# CI test that does a full deploy for both promote and gate jobs.
|
||||
# For the promote jobs it runs against the image in the testing location.
|
||||
# For the gate jobs it runs against the image in the stable location.
|
||||
# Usage: full-deploy.sh <release> <build_system> <config> <job_type>
|
||||
set -eux
|
||||
|
||||
: ${OPT_ADDITIONAL_PARAMETERS:=""}
|
||||
: ${WORKSPACE:=$HOME/.quickstart}
|
||||
: ${VIRTHOST:=127.0.0.1}
|
||||
: ${DISTRO_PATH:=""}
|
||||
: ${OPT_ENVIRONMENT:=/$WORKSPACE/config/environments/default_libvirt.yml}
|
||||
|
||||
RELEASE=${1:-master-tripleo-ci}
|
||||
# unused variable in script, kept for consistency
|
||||
BUILD_SYS=${2:-delorean}
|
||||
CONFIG=${3:-minimal}
|
||||
JOB_TYPE=${4:-standalone}
|
||||
|
||||
if [ "$JOB_TYPE" = "gate" ] || \
|
||||
[ "$JOB_TYPE" = "periodic" ] || \
|
||||
[ "$JOB_TYPE" = "dlrn-gate" ]; then
|
||||
unset REL_TYPE
|
||||
if [ "$RELEASE" = "master-tripleo-ci" ]; then
|
||||
# we don't have a local mirror for the tripleo-ci images
|
||||
unset CI_ENV
|
||||
fi
|
||||
elif [ "$JOB_TYPE" = "dlrn-gate-check" ]; then
|
||||
# setup a test patch to be built
|
||||
export ZUUL_HOST=review.opendev.org
|
||||
export ZUUL_CHANGES=openstack/tripleo-heat-templates:master:refs/changes/70/528770/1
|
||||
unset REL_TYPE
|
||||
if [ "$RELEASE" = "master-tripleo-ci" ]; then
|
||||
# we don't have a local mirror for the tripleo-ci images
|
||||
unset CI_ENV
|
||||
fi
|
||||
elif [ "$JOB_TYPE" = "promote" ]; then
|
||||
REL_TYPE=$LOCATION
|
||||
elif [ "$JOB_TYPE" = "standalone" ] || [ "$JOB_TYPE" = "standalone3" ]; then
|
||||
echo "using standalone, single node deployment"
|
||||
else
|
||||
echo "Job type must be one of the following:"
|
||||
echo " * gate - for gating changes on tripleo-quickstart or -extras"
|
||||
echo " * promote - for running promotion jobs"
|
||||
echo " * periodic - for running periodic jobs"
|
||||
echo " * dlrn-gate - for gating upstream changes"
|
||||
echo " * dlrn-gate-check - for gating upstream changes"
|
||||
echo " * standalone - for standalone deployments"
|
||||
echo " * standalone3 - for standalone deployments"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# (trown) This is so that we ensure separate ssh sockets for
|
||||
# concurrent jobs. Without this, two jobs running in parallel
|
||||
# would try to use the same undercloud-stack socket.
|
||||
socketdir=$(mktemp -d /tmp/sockXXXXXX)
|
||||
export ANSIBLE_SSH_CONTROL_PATH=$socketdir/%%h-%%r
|
||||
|
||||
# preparation steps to run with the gated roles
|
||||
CI_SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
source $CI_SCRIPT_DIR/include-gate-changes.sh
|
||||
|
||||
# we need to run differently (and twice) when gating upstream changes
|
||||
case "$JOB_TYPE" in
|
||||
dlrn-gate*)
|
||||
# provison the virthost and build the gated DLRN packages
|
||||
bash quickstart.sh \
|
||||
--working-dir $WORKSPACE/ \
|
||||
--no-clone \
|
||||
--bootstrap \
|
||||
--extra-vars artg_compressed_gating_repo="/home/stack/gating_repo.tar.gz" \
|
||||
--playbook build-test-packages.yml \
|
||||
--tags all \
|
||||
--teardown all \
|
||||
--release ${CI_ENV:+$CI_ENV/}${DISTRO_PATH:+$DISTRO_PATH/}$RELEASE${REL_TYPE:+-$REL_TYPE} \
|
||||
$OPT_ADDITIONAL_PARAMETERS \
|
||||
$VIRTHOST
|
||||
# skip provisioning and run the gate using the previously built RPMs
|
||||
bash quickstart.sh \
|
||||
--working-dir $WORKSPACE/ \
|
||||
--no-clone \
|
||||
--retain-inventory \
|
||||
--extra-vars compressed_gating_repo="/home/stack/gating_repo.tar.gz" \
|
||||
--config $WORKSPACE/config/general_config/$CONFIG.yml \
|
||||
--skip-tags provision \
|
||||
--tags all \
|
||||
--teardown none \
|
||||
--release ${CI_ENV:+$CI_ENV/}${DISTRO_PATH:+$DISTRO_PATH/}$RELEASE${REL_TYPE:+-$REL_TYPE} \
|
||||
$OPT_ADDITIONAL_PARAMETERS \
|
||||
$VIRTHOST
|
||||
;;
|
||||
standalone)
|
||||
bash quickstart.sh \
|
||||
--working-dir $WORKSPACE/ \
|
||||
--no-clone \
|
||||
--bootstrap \
|
||||
--extra-vars artg_compressed_gating_repo="/home/stack/gating_repo.tar.gz" \
|
||||
--extra-vars virthost_repo_setup=true \
|
||||
--playbook build-test-packages.yml \
|
||||
--tags all \
|
||||
--teardown all \
|
||||
--release ${CI_ENV:+$CI_ENV/}${DISTRO_PATH:+$DISTRO_PATH/}$RELEASE${REL_TYPE:+-$REL_TYPE} \
|
||||
$OPT_ADDITIONAL_PARAMETERS \
|
||||
$VIRTHOST
|
||||
|
||||
bash quickstart.sh \
|
||||
--working-dir $WORKSPACE/ \
|
||||
--no-clone \
|
||||
--retain-inventory \
|
||||
--config $WORKSPACE/config/general_config/$CONFIG.yml \
|
||||
--environment $WORKSPACE/config/environments/standalone_centos_libvirt.yml \
|
||||
--skip-tags provision \
|
||||
--tags all \
|
||||
--teardown none \
|
||||
--playbook quickstart-extras-standalone.yml \
|
||||
--release ${CI_ENV:+$CI_ENV/}${DISTRO_PATH:+$DISTRO_PATH/}$RELEASE${REL_TYPE:+-$REL_TYPE} \
|
||||
$OPT_ADDITIONAL_PARAMETERS \
|
||||
$VIRTHOST
|
||||
;;
|
||||
standalone3)
|
||||
bash quickstart.sh \
|
||||
--working-dir $WORKSPACE/ \
|
||||
--no-clone \
|
||||
--bootstrap \
|
||||
--extra-vars artg_compressed_gating_repo="/home/stack/gating_repo.tar.gz" \
|
||||
--playbook build-test-packages.yml \
|
||||
--tags all \
|
||||
--teardown all \
|
||||
--release ${CI_ENV:+$CI_ENV/}${DISTRO_PATH:+$DISTRO_PATH/}$RELEASE${REL_TYPE:+-$REL_TYPE} \
|
||||
$OPT_ADDITIONAL_PARAMETERS \
|
||||
$VIRTHOST
|
||||
|
||||
bash quickstart.sh \
|
||||
--working-dir $WORKSPACE/ \
|
||||
--no-clone \
|
||||
--retain-inventory \
|
||||
--config $WORKSPACE/config/general_config/$CONFIG.yml \
|
||||
--environment $WORKSPACE/config/environments/standalone_fedora_libvirt.yml \
|
||||
--skip-tags provision \
|
||||
--tags all \
|
||||
--teardown none \
|
||||
--playbook quickstart-extras-standalone.yml \
|
||||
--release tripleo-ci/master_fedora28 \
|
||||
$OPT_ADDITIONAL_PARAMETERS \
|
||||
$VIRTHOST
|
||||
;;
|
||||
*)
|
||||
bash quickstart.sh \
|
||||
--bootstrap \
|
||||
--tags all \
|
||||
--config $WORKSPACE/config/general_config/$CONFIG.yml \
|
||||
--environment $OPT_ENVIRONMENT \
|
||||
--working-dir $WORKSPACE/ \
|
||||
--no-clone \
|
||||
--release ${CI_ENV:+$CI_ENV/}${DISTRO_PATH:+$DISTRO_PATH/}$RELEASE${REL_TYPE:+-$REL_TYPE} \
|
||||
$OPT_ADDITIONAL_PARAMETERS \
|
||||
$VIRTHOST
|
||||
esac
|
@ -1,83 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Get a CI node
|
||||
|
||||
set -eux
|
||||
|
||||
function usage {
|
||||
echo "get-node.sh args"
|
||||
echo ""
|
||||
echo "./get-node.sh"
|
||||
echo "-h --help"
|
||||
echo "-r --centos-release=$CENTOS_RELEASE ( defaults to $CENTOS_RELEASE)"
|
||||
echo ""
|
||||
}
|
||||
|
||||
# set a reasonable default
|
||||
CENTOS_RELEASE=7
|
||||
|
||||
PARAMS=""
|
||||
while (( "$#" )); do
|
||||
case "$1" in
|
||||
-r|--centos-release)
|
||||
# default centos-7
|
||||
CENTOS_RELEASE=${2:-$CENTOS_RELEASE}
|
||||
shift 2
|
||||
;;
|
||||
--) # end argument parsing
|
||||
shift
|
||||
break
|
||||
;;
|
||||
-h|--help)
|
||||
usage
|
||||
break
|
||||
;;
|
||||
-*|--*=) # unsupported flags
|
||||
echo "Error: Unsupported flag $1" >&2
|
||||
usage
|
||||
exit 1
|
||||
;;
|
||||
*) # preserve positional arguments
|
||||
PARAMS="$PARAMS $1"
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
done
|
||||
# set positional arguments in their proper place
|
||||
eval set -- "$PARAMS"
|
||||
|
||||
pushd $WORKSPACE/tripleo-quickstart
|
||||
# (trown) Use quickstart.sh to set up the environment.
|
||||
# This serves as a fail-fast syntax check for quickstart gates.
|
||||
./quickstart.sh \
|
||||
--working-dir $WORKSPACE/ \
|
||||
--no-clone \
|
||||
--bootstrap \
|
||||
--requirements requirements.txt \
|
||||
--requirements quickstart-extras-requirements.txt \
|
||||
--requirements ci-scripts/ci-base-requirements.txt \
|
||||
--playbook noop.yml \
|
||||
127.0.0.2
|
||||
popd
|
||||
|
||||
$WORKSPACE/bin/cico inventory --all
|
||||
|
||||
$WORKSPACE/bin/cico node get \
|
||||
--arch x86_64 \
|
||||
--release $CENTOS_RELEASE \
|
||||
--count 1 \
|
||||
--retry-count 15 \
|
||||
--retry-interval 60 \
|
||||
-f csv | sed "1d" > $WORKSPACE/provisioned.csv
|
||||
|
||||
$WORKSPACE/bin/cico inventory --all
|
||||
if [ -s $WORKSPACE/provisioned.csv ]; then
|
||||
cat $WORKSPACE/provisioned.csv
|
||||
else
|
||||
echo "FATAL: no nodes were provisioned"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
export VIRTHOST=`cat provisioned.csv | tail -1 | cut -d "," -f 3| sed -e 's/"//g'`
|
||||
export VIRTHOST_KEY=`cat provisioned.csv | tail -1 | cut -d "," -f 7| sed -e 's/"//g'`
|
||||
echo $VIRTHOST > $WORKSPACE/virthost
|
||||
echo $VIRTHOST_KEY > $WORKSPACE/cico_key.txt
|
@ -1,51 +0,0 @@
|
||||
#!/bin/bash
|
||||
# CI test that builds images for both promote and gate jobs.
|
||||
# For the promote jobs it publishes the image to the testing location.
|
||||
# For the gate jobs it tests them with a full deploy.
|
||||
# Usage: images.sh <release> <build_system> <config> <job_type>
|
||||
set -eux
|
||||
|
||||
RELEASE=$1
|
||||
BUILD_SYS=$2
|
||||
CONFIG=$3
|
||||
JOB_TYPE=$4
|
||||
|
||||
: ${DISTRO_PATH:=""}
|
||||
|
||||
# These are set here to make it possible to locally reproduce the promote
|
||||
# image building job in the same way as the other jobs.
|
||||
PUBLISH=${PUBLISH:-"false"}
|
||||
delorean_current_hash=${delorean_current_hash:-"consistent"}
|
||||
REL_TYPE=${LOCATION:-"testing"}
|
||||
|
||||
if [ "$JOB_TYPE" = "gate" ] || [ "$JOB_TYPE" = "periodic" ]; then
|
||||
PLAYBOOK='build-images-and-quickstart.yml'
|
||||
delorean_current_hash='current-passed-ci'
|
||||
elif [ "$JOB_TYPE" = "promote" ]; then
|
||||
PLAYBOOK='build-images.yml'
|
||||
else
|
||||
echo "Job type must be one of gate, periodic, or promote"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# (trown) This is so that we ensure separate ssh sockets for
|
||||
# concurrent jobs. Without this, two jobs running in parallel
|
||||
# would try to use the same undercloud-stack socket.
|
||||
socketdir=$(mktemp -d /tmp/sockXXXXXX)
|
||||
export ANSIBLE_SSH_CONTROL_PATH=$socketdir/%%h-%%r
|
||||
|
||||
bash quickstart.sh \
|
||||
--tags all \
|
||||
--config $WORKSPACE/config/general_config/$CONFIG.yml \
|
||||
--working-dir $WORKSPACE/ \
|
||||
--playbook $PLAYBOOK \
|
||||
--extra-vars undercloud_image_url="file:///var/lib/oooq-images/undercloud.qcow2" \
|
||||
--extra-vars artib_release=$RELEASE \
|
||||
--extra-vars artib_build_system=$BUILD_SYS \
|
||||
--extra-vars artib_delorean_hash=$delorean_current_hash \
|
||||
--extra-vars publish=$PUBLISH \
|
||||
--extra-vars artib_image_stage_location="$REL_TYPE" \
|
||||
--bootstrap \
|
||||
--no-clone \
|
||||
--release ${CI_ENV:+$CI_ENV/}${DISTRO_PATH:+$DISTRO_PATH/}$RELEASE \
|
||||
$VIRTHOST
|
@ -1,34 +0,0 @@
|
||||
# Source this script from within other gating scripts to provide depends-on
|
||||
# functionality for quickstart and quickstart-extras
|
||||
|
||||
: ${OPT_ADDITIONAL_PARAMETERS:=""}
|
||||
: ${DISTRO_PATH:=""}
|
||||
|
||||
# preparation steps to run with the gated changes
|
||||
if [ "$JOB_TYPE" = "gate" ] || \
|
||||
[ "$JOB_TYPE" = "dlrn-gate-check" ] || \
|
||||
[ "$JOB_TYPE" = "standalone" ]; then
|
||||
|
||||
pushd $WORKSPACE/tripleo-quickstart
|
||||
sed -i.bak '/extras/d' $WORKSPACE/tripleo-quickstart/quickstart-extras-requirements.txt
|
||||
echo "file://$WORKSPACE/tripleo-quickstart-extras" >> $WORKSPACE/tripleo-quickstart/quickstart-extras-requirements.txt
|
||||
popd
|
||||
|
||||
bash quickstart.sh \
|
||||
--working-dir $WORKSPACE/ \
|
||||
--no-clone \
|
||||
--bootstrap \
|
||||
--playbook gate-quickstart.yml \
|
||||
--release ${CI_ENV:+$CI_ENV/}${DISTRO_PATH:+$DISTRO_PATH/}$RELEASE${REL_TYPE:+-$REL_TYPE} \
|
||||
$OPT_ADDITIONAL_PARAMETERS \
|
||||
$VIRTHOST
|
||||
fi
|
||||
|
||||
# Rename tripleo-quickstart directory to include the gated change
|
||||
if [ -d $WORKSPACE/tripleo-quickstart-gate-repo ]; then
|
||||
mv $WORKSPACE/tripleo-quickstart $WORKSPACE/tripleo-quickstart-old
|
||||
mv $WORKSPACE/tripleo-quickstart-gate-repo $WORKSPACE/tripleo-quickstart
|
||||
cp $WORKSPACE/tripleo-quickstart-old/*requirements* $WORKSPACE/tripleo-quickstart/
|
||||
# Change into the new quickstart directory to use the new changes
|
||||
cd $WORKSPACE/tripleo-quickstart
|
||||
fi
|
@ -1,75 +0,0 @@
|
||||
#!/bin/bash
|
||||
# CI test that tests the USB key method of using tripleo-quickstart
|
||||
# Usage: basic.sh <release> <build_system> <config> <job_type>
|
||||
set -eux
|
||||
|
||||
# CONFIG and JOB_TYPE are not used here, but kept for
|
||||
# consistency with other jobs to make JJB cleaner.
|
||||
RELEASE=$1
|
||||
BUILD_SYS=$2
|
||||
CONFIG=$3
|
||||
JOB_TYPE=$4
|
||||
|
||||
URL=http://artifacts.ci.centos.org/artifacts/rdo/images
|
||||
UNDERCLOUD=$URL/$RELEASE/$BUILD_SYS/stable/undercloud.qcow2
|
||||
sshcmd='ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
|
||||
scpcmd='scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
|
||||
|
||||
# Create a non-root user with passwordless sudo permissions on the virthost
|
||||
# This is a requirement of the usbkey script, but the CI nodes do not have it
|
||||
$sshcmd root@$VIRTHOST <<-EOF
|
||||
useradd stack
|
||||
mkdir /home/stack/.ssh
|
||||
cp /root/.ssh/authorized_keys /home/stack/.ssh/
|
||||
chown -R stack:stack /home/stack
|
||||
echo "Defaults:stack !requiretty" > /etc/sudoers.d/stack
|
||||
echo "stack ALL=(root) NOPASSWD:ALL" >> /etc/sudoers.d/stack
|
||||
chmod 0440 /etc/sudoers.d/stack
|
||||
EOF
|
||||
|
||||
# Copy artifacts to the CI provided virthost to simulate USB key
|
||||
$sshcmd stack@$VIRTHOST <<-EOF
|
||||
if [[ ! -f /tmp/usb/undercloud.qcow2 ]]; then
|
||||
mkdir -p /tmp/usb
|
||||
curl -o /tmp/usb/undercloud.qcow2 $UNDERCLOUD
|
||||
curl -o /tmp/usb/undercloud.qcow2.md5 $UNDERCLOUD.md5
|
||||
else
|
||||
echo "undercloud.qcow2 file was found, skipping download"
|
||||
fi
|
||||
EOF
|
||||
|
||||
#Ensure rsync is installed on target, required w/ ssh as the protocol
|
||||
$sshcmd root@$VIRTHOST <<-EOF
|
||||
yum -y install rsync
|
||||
EOF
|
||||
|
||||
#$scpcmd -r $WORKSPACE/tripleo-quickstart stack@$VIRTHOST:/tmp/usb/
|
||||
rsync -avz -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" --progress $WORKSPACE/tripleo-quickstart stack@$VIRTHOST:/tmp/usb/
|
||||
$sshcmd stack@$VIRTHOST "cp /tmp/usb/tripleo-quickstart/ci-scripts/usbkey/* /tmp/usb/"
|
||||
$sshcmd stack@$VIRTHOST "cp /tmp/usb/tripleo-quickstart/ci-scripts/usbkey/quickstart-usb.yml /tmp/usb/tripleo-quickstart/playbooks/"
|
||||
|
||||
#quickstart.sh has changed since the usbkey image was pressed.
|
||||
# The ci-scripts/usbkey/usb_requirements.txt has to be the requirements file now that
|
||||
# requirements are additive vs. a selection.
|
||||
$sshcmd stack@$VIRTHOST "mv /tmp/usb/tripleo-quickstart/ci-scripts/usbkey/usb_requirements.txt /tmp/usb/tripleo-quickstart/requirements.txt"
|
||||
|
||||
#Use the version of quickstart.sh that was shipped on the usbkey
|
||||
$sshcmd stack@$VIRTHOST "mv /tmp/usb/tripleo-quickstart/ci-scripts/usbkey/quickstart.sh /tmp/usb/tripleo-quickstart/quickstart.sh"
|
||||
|
||||
|
||||
# Simulate executable bit being unset when mounting usbkey
|
||||
$sshcmd stack@$VIRTHOST "chmod -x /tmp/usb/RUN_ME.sh /tmp/usb/tripleo-quickstart/quickstart.sh"
|
||||
# Simulate the usbkey not being writable
|
||||
$sshcmd stack@$VIRTHOST "chmod -w -R /tmp/usb"
|
||||
|
||||
# Run the USB script
|
||||
$sshcmd stack@$VIRTHOST 'bash /tmp/usb/RUN_ME.sh'
|
||||
|
||||
# Support collect logs on the virthost by providing hosts and ssh config
|
||||
export ANSIBLE_INVENTORY=$WORKSPACE/hosts
|
||||
export SSH_CONFIG=$WORKSPACE/ssh.config.ansible
|
||||
export ANSIBLE_SSH_ARGS="-F ${SSH_CONFIG}"
|
||||
$scpcmd stack@$VIRTHOST:~/.quickstart/ssh.config* $WORKSPACE/
|
||||
$scpcmd stack@$VIRTHOST:~/.quickstart/hosts* $WORKSPACE/
|
||||
$scpcmd stack@$VIRTHOST:~/.quickstart/id_* $WORKSPACE/
|
||||
sed -i 's,\/home\/stack\/\.quickstart,'"$WORKSPACE"',g' $WORKSPACE/ssh.config.ansible
|
@ -1,30 +0,0 @@
|
||||
#!/bin/bash
|
||||
# CI script to upload an undercloud image to Openstack Virtual Baremetal.
|
||||
# $HW_ENV_DIR is the directory where environment-specific files are kept.
|
||||
# Usage: ovb-image-upload.sh \
|
||||
# <release> \
|
||||
# <hw-env-dir> \
|
||||
# <network-isolation> \
|
||||
# <ovb-creds-file> \
|
||||
# <playbook>
|
||||
|
||||
set -eux
|
||||
|
||||
RELEASE=$1
|
||||
HW_ENV_DIR=$2
|
||||
NETWORK_ISOLATION=$3
|
||||
OVB_CREDS_FILE=$4
|
||||
PLAYBOOK=$5
|
||||
|
||||
pushd $WORKSPACE/tripleo-quickstart
|
||||
|
||||
bash quickstart.sh \
|
||||
--ansible-debug \
|
||||
--bootstrap \
|
||||
--working-dir $WORKSPACE/ \
|
||||
--release $RELEASE \
|
||||
--extra-vars @$OVB_CREDS_FILE \
|
||||
--extra-vars get_latest_image='upload' \
|
||||
--playbook $PLAYBOOK \
|
||||
localhost
|
||||
popd
|
@ -1,39 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Install this into .git/hooks/pre-commit
|
||||
|
||||
echo "running commit checks"
|
||||
|
||||
(
|
||||
tmpfile=$(mktemp -t gitXXXXXX)
|
||||
trap "rm -f $tmpfile" EXIT
|
||||
|
||||
for x in ci-scripts/pre-commit.d/*; do
|
||||
[ -x "$x" ] || continue
|
||||
|
||||
tput setaf 3
|
||||
printf "%-50s" $x
|
||||
tput sgr0
|
||||
|
||||
if $x > $tmpfile 2>&1 ; then
|
||||
tput setaf 2
|
||||
printf "[OK]\n"
|
||||
tput sgr0
|
||||
else
|
||||
tput setaf 1
|
||||
printf "[OK]\n"
|
||||
tput sgr0
|
||||
cat $tmpfile >&2
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
)
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
tput setaf 1
|
||||
echo "*** COMMIT CHECK FAILED ***" >&2
|
||||
tput sgr0
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exit 0
|
@ -1,18 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
SCRIPTS="$PWD/ci-scripts"
|
||||
|
||||
tmpdir=$(mktemp -d commitXXXXXX)
|
||||
trap "rm -rf $tmpdir" EXIT
|
||||
|
||||
# This checks out the index into a temporary directory, which is
|
||||
# necessary if you want to validate the files that are actually
|
||||
# part of the commit (because when performing an interactive add,
|
||||
# for example, files in a commit may not actually match the content
|
||||
# of files in the working directory).
|
||||
|
||||
git checkout-index --prefix=$tmpdir/ -af
|
||||
git diff --cached --name-only --diff-filter=ACM | grep '.yml' | (
|
||||
cd $tmpdir
|
||||
xargs --no-run-if-empty $SCRIPTS/validate-yaml
|
||||
)
|
@ -1,27 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
rm -rf releasenotes/build
|
||||
|
||||
sphinx-build -a -E -W \
|
||||
-d releasenotes/build/doctrees \
|
||||
-b html \
|
||||
releasenotes/source releasenotes/build/html
|
||||
BUILD_RESULT=$?
|
||||
|
||||
UNCOMMITTED_NOTES=$(git status --porcelain | \
|
||||
awk '$1 == "M" && $2 ~ /releasenotes\/notes/ {print $2}')
|
||||
|
||||
if [ "${UNCOMMITTED_NOTES}" ]; then
|
||||
cat <<EOF
|
||||
|
||||
REMINDER: The following changes to release notes have not been committed:
|
||||
|
||||
${UNCOMMITTED_NOTES}
|
||||
|
||||
While that may be intentional, keep in mind that release notes are built from
|
||||
committed changes, not the working directory.
|
||||
|
||||
EOF
|
||||
fi
|
||||
|
||||
exit ${BUILD_RESULT}
|
@ -1,8 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Return a CI node
|
||||
|
||||
set -eux
|
||||
|
||||
VIRTHOST_KEY=$(head -n1 $WORKSPACE/cico_key.txt)
|
||||
$WORKSPACE/bin/cico node done $VIRTHOST_KEY
|
||||
$WORKSPACE/bin/cico inventory
|
@ -1,44 +0,0 @@
|
||||
#!/bin/bash
|
||||
# CI test that does an upgrade of a full oooq deployment on baremetal.
|
||||
# Use the major_upgrade flag to switch between major and minor upgrade
|
||||
# $HW_ENV_DIR is the directory where environment-specific files are kept.
|
||||
set -eux
|
||||
|
||||
RELEASE=$1
|
||||
DELOREAN_HASH=$2
|
||||
MAJOR_UPGRADE=$3
|
||||
PACEMAKER=$4
|
||||
TARGET_VERSION=$5
|
||||
HW_ENV_DIR=$6
|
||||
NETWORK_ISOLATION=$7
|
||||
CONFIG=$8
|
||||
|
||||
: ${DISTRO_PATH:=""}
|
||||
|
||||
# (trown) This is so that we ensure separate ssh sockets for
|
||||
# concurrent jobs. Without this, two jobs running in parallel
|
||||
# would try to use the same undercloud-stack socket.
|
||||
socketdir=$(mktemp -d /tmp/sockXXXXXX)
|
||||
export ANSIBLE_SSH_CONTROL_PATH=$socketdir/%%h-%%r
|
||||
|
||||
bash quickstart.sh \
|
||||
--extra-vars upgrade_delorean_hash=$DELOREAN_HASH \
|
||||
--extra-vars deployment_type=baremetal \
|
||||
--extra-vars major_upgrade=$MAJOR_UPGRADE \
|
||||
--extra-vars enable_pacemaker=$PACEMAKER \
|
||||
--extra-vars target_upgrade_version=$TARGET_VERSION \
|
||||
--extra-vars step_upgrade_overcloud=true \
|
||||
--extra-vars set_overcloud_workers=false \
|
||||
--working-dir $WORKSPACE/ \
|
||||
--no-clone \
|
||||
--bootstrap \
|
||||
--tags all \
|
||||
--teardown all \
|
||||
--config $WORKSPACE/$HW_ENV_DIR/network_configs/$NETWORK_ISOLATION/config_files/$CONFIG \
|
||||
--environment $WORKSPACE/$HW_ENV_DIR/network_configs/$NETWORK_ISOLATION/env_settings.yml \
|
||||
--playbook upgrade-baremetal.yml \
|
||||
--extra-vars undercloud_instackenv_template=$WORKSPACE/$HW_ENV_DIR/instackenv.json \
|
||||
--extra-vars network_environment_file=$WORKSPACE/$HW_ENV_DIR/network_configs/$NETWORK_ISOLATION/$NETWORK_ISOLATION.yml \
|
||||
--extra-vars nic_configs_dir=$WORKSPACE/$HW_ENV_DIR/network_configs/$NETWORK_ISOLATION/nic_configs/ \
|
||||
--release ${CI_ENV:+$CI_ENV/}${DISTRO_PATH:+$DISTRO_PATH/}$RELEASE${REL_TYPE:+-$REL_TYPE} \
|
||||
$VIRTHOST
|
@ -1,47 +0,0 @@
|
||||
#!/bin/bash
|
||||
# CI test that does an upgrade of a full oooq deployment.
|
||||
# Use the major_upgrade flag to switch between major and minor upgrade
|
||||
# Usage: upgrade.sh <release> <build_system> <config> <job_type> <delorean_hahs> <major_upgrade> <enable_pacemaker> [<target_upgrade_version>]
|
||||
set -eux
|
||||
|
||||
RELEASE=$1
|
||||
BUILD_SYS=$2
|
||||
CONFIG=$3
|
||||
JOB_TYPE=$4
|
||||
DELOREAN_HASH=$5
|
||||
MAJOR_UPGRADE=$6
|
||||
PACEMAKER=$7
|
||||
TARGET_VERSION=$8
|
||||
|
||||
: ${DISTRO_PATH:=""}
|
||||
|
||||
if [ "$JOB_TYPE" = "gate" ] || [ "$JOB_TYPE" = "periodic" ]; then
|
||||
unset REL_TYPE
|
||||
elif [ "$JOB_TYPE" = "promote" ]; then
|
||||
REL_TYPE=$LOCATION
|
||||
else
|
||||
echo "Job type must be one of gate, periodic, or promote"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# (trown) This is so that we ensure separate ssh sockets for
|
||||
# concurrent jobs. Without this, two jobs running in parallel
|
||||
# would try to use the same undercloud-stack socket.
|
||||
socketdir=$(mktemp -d /tmp/sockXXXXXX)
|
||||
export ANSIBLE_SSH_CONTROL_PATH=$socketdir/%%h-%%r
|
||||
|
||||
bash quickstart.sh \
|
||||
--config $WORKSPACE/config/general_config/$CONFIG.yml \
|
||||
--extra-vars upgrade_delorean_hash=$DELOREAN_HASH \
|
||||
--extra-vars major_upgrade=$MAJOR_UPGRADE \
|
||||
--extra-vars enable_pacemaker=$PACEMAKER \
|
||||
--extra-vars target_upgrade_version=$TARGET_VERSION \
|
||||
--extra-vars set_overcloud_workers=false \
|
||||
--working-dir $WORKSPACE/ \
|
||||
--no-clone \
|
||||
--bootstrap \
|
||||
--tags all \
|
||||
--teardown all \
|
||||
--playbook upgrade.yml \
|
||||
--release ${CI_ENV:+$CI_ENV/}${DISTRO_PATH:+$DISTRO_PATH/}$RELEASE${REL_TYPE:+-$REL_TYPE} \
|
||||
$VIRTHOST
|
@ -1,94 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
# 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 argparse
|
||||
import logging
|
||||
import os
|
||||
import sys
|
||||
import yaml
|
||||
|
||||
|
||||
def parse_args():
|
||||
p = argparse.ArgumentParser()
|
||||
p.add_argument('--verbose', '-v',
|
||||
action='store_const',
|
||||
const='INFO',
|
||||
dest='loglevel')
|
||||
p.add_argument('--fail-fast', '-x',
|
||||
action='store_true')
|
||||
p.add_argument('path', nargs='+')
|
||||
p.set_defaults(loglevel='WARNING')
|
||||
return p.parse_args()
|
||||
|
||||
|
||||
def validate_file(path):
|
||||
global args
|
||||
valid = True
|
||||
|
||||
logging.info('checking: %s', path)
|
||||
with open(path) as fd:
|
||||
try:
|
||||
yaml.safe_load(fd)
|
||||
except yaml.error.YAMLError as error:
|
||||
valid = False
|
||||
logging.error('%s failed validation: %s',
|
||||
path, error)
|
||||
|
||||
return valid
|
||||
|
||||
|
||||
def validate_directory(path):
|
||||
global args
|
||||
all_valid = True
|
||||
|
||||
for dirpath, dirnames, filenames in os.walk(path):
|
||||
for filename in filenames:
|
||||
if not (filename.endswith('.yml') or filename.endswith('.yaml')):
|
||||
continue
|
||||
|
||||
filename = os.path.join(dirpath, filename)
|
||||
all_valid = validate_file(filename) and all_valid
|
||||
if not all_valid and args.fail_fast: # noqa : F821
|
||||
break
|
||||
else:
|
||||
continue
|
||||
|
||||
break
|
||||
|
||||
return all_valid
|
||||
|
||||
|
||||
def main():
|
||||
global args
|
||||
|
||||
args = parse_args()
|
||||
logging.basicConfig(level=args.loglevel)
|
||||
|
||||
for path in args.path:
|
||||
if os.path.isdir(path):
|
||||
all_valid = validate_directory(path)
|
||||
elif os.path.isfile(path):
|
||||
all_valid = validate_file(path)
|
||||
else:
|
||||
logging.error('%s is not a file or directory (skipping)',
|
||||
path)
|
||||
|
||||
if not all_valid and args.fail_fast:
|
||||
break
|
||||
|
||||
return 0 if all_valid else 1
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.exit(main())
|
@ -1,33 +0,0 @@
|
||||
# This environment can be used to use a base CentOS qcow2 image for the undercloud
|
||||
# instead of the default pre-built undercloud qcow2
|
||||
|
||||
# baseos undercloud settings
|
||||
undercloud_image_url: https://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-1802.qcow2
|
||||
|
||||
# Libvirt environments do not yet support whole-disk images, for example
|
||||
# https://bugs.launchpad.net/tripleo/+bug/1950383
|
||||
whole_disk_images: false
|
||||
|
||||
images:
|
||||
- name: centos
|
||||
url: "{{ undercloud_image_url }}"
|
||||
type: qcow2
|
||||
md5sum: "b3ff9077d80b5f17bcbb7356f7982fd4 *CentOS-7-x86_64-GenericCloud-1802.qcow2"
|
||||
- name: overcloud-full
|
||||
url: "{{ overcloud_image_url }}"
|
||||
type: tar
|
||||
- name: ipa_images
|
||||
url: "{{ ipa_image_url }}"
|
||||
type: tar
|
||||
|
||||
baseos_as_undercloud: true
|
||||
undercloud_setup: true
|
||||
use_external_images: true
|
||||
ovb_setup_connectivity: false
|
||||
non_root_user_setup: true
|
||||
package_installs: true
|
||||
hostname_correction: true
|
||||
|
||||
# standalone interface
|
||||
standalone_interface: eth1
|
||||
standalone_ip: 192.168.24.2
|
@ -1,39 +0,0 @@
|
||||
# This environment can be used to use a base RHEL qcow2 image for the undercloud
|
||||
# instead of the default pre-built undercloud qcow2
|
||||
|
||||
# baseos undercloud settings
|
||||
undercloud_image_url: http://uri to a RHEL 7.3. qcow2 file
|
||||
|
||||
# Libvirt environments do not yet support whole-disk images, for example
|
||||
# https://bugs.launchpad.net/tripleo/+bug/1950383
|
||||
whole_disk_images: false
|
||||
|
||||
images:
|
||||
- name: centos
|
||||
url: "{{ undercloud_image_url }}"
|
||||
type: qcow2
|
||||
md5sum: A md5sum of the rhel 7.3 qcow2 file e.g. "0bfff47b55a9428c83d2235da9d470de rhel-guest-image-7.3.x86_64.qcow2"
|
||||
- name: overcloud-full
|
||||
url: "{{ overcloud_image_url }}"
|
||||
type: tar
|
||||
- name: ipa_images
|
||||
url: "{{ ipa_image_url }}"
|
||||
type: tar
|
||||
|
||||
# SELINUX Configuration
|
||||
#selinux_enforcing: true
|
||||
|
||||
undercloud_setup: true
|
||||
virthost_repo_setup: true
|
||||
baseos_as_undercloud: true
|
||||
use_external_images: true
|
||||
download_overcloud_images: false
|
||||
ovb_setup_connectivity: false
|
||||
non_root_user_setup: true
|
||||
package_installs: true
|
||||
hostname_correction: true
|
||||
|
||||
|
||||
# standalone interface
|
||||
standalone_interface: eth1
|
||||
standalone_ip: 192.168.24.2
|
@ -1,33 +0,0 @@
|
||||
environment_type: libvirt
|
||||
|
||||
# This allows one to browse to the tripleo-ui on the undercloud
|
||||
# This is only required in libvirt based deployments
|
||||
enable_port_forward_for_tripleo_ui: true
|
||||
# Setup for SSL access to the tripleo-ui.
|
||||
# Please consult the tripleo-quickstart documentation prior to enabling this option
|
||||
tripleo_ui_secure_access: true
|
||||
validate_ui_simple: true
|
||||
|
||||
# Note this needs to be false for freeIPA
|
||||
# https://bugs.launchpad.net/tripleo/+bug/1709333
|
||||
nameserver_from_virthost: >-
|
||||
{% if overcloud_cloud_domain is defined -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
|
||||
test_ping: true
|
||||
tempest_config: false
|
||||
run_tempest: false
|
||||
|
||||
# undercloud settings
|
||||
undercloud_extra_grub_params: net.ifnames=0 biosdevname=0
|
||||
|
||||
# standalone interface
|
||||
standalone_interface: eth1
|
||||
standalone_ip: 192.168.24.2
|
||||
|
||||
# timeout overrides due to slow hardware
|
||||
# default is 90
|
||||
deploy_timeout: 120
|
@ -1,27 +0,0 @@
|
||||
environment_type: libvirt
|
||||
|
||||
# Libvirt environments do not yet support whole-disk images, for example
|
||||
# https://bugs.launchpad.net/tripleo/+bug/1950383
|
||||
whole_disk_images: false
|
||||
|
||||
# This allows one to browse to the tripleo-ui on the undercloud
|
||||
# This is only required in libvirt based deployments
|
||||
enable_port_forward_for_tripleo_ui: true
|
||||
# Setup for SSL access to the tripleo-ui.
|
||||
# Please consult the tripleo-quickstart documentation prior to enabling this option
|
||||
tripleo_ui_secure_access: true
|
||||
validate_ui_simple: true
|
||||
|
||||
# Note this needs to be false for freeIPA
|
||||
# https://bugs.launchpad.net/tripleo/+bug/1709333
|
||||
nameserver_from_virthost: >-
|
||||
{% if overcloud_cloud_domain is defined -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
|
||||
# standalone interface
|
||||
standalone_interface: eth1
|
||||
standalone_ip: 192.168.24.2
|
||||
undercloud_extra_grub_params: net.ifnames=0 biosdevname=0
|
@ -1,38 +0,0 @@
|
||||
# If you prefer privileged VMs in order to use tools like virt-manager on the host
|
||||
# you can use these options. This also makes VMs survive reboots \o/
|
||||
# This is particularly useful for local development environments
|
||||
non_root_chown: true
|
||||
non_root_user: stack
|
||||
undercloud_user: stack
|
||||
working_dir: "/home/{{ non_root_user }}"
|
||||
ssh_user: root
|
||||
libvirt_uri: qemu:///system
|
||||
|
||||
# Below is the default_libvirt.yml values, so you can select this file via
|
||||
# -E and not lose these settings
|
||||
environment_type: libvirt
|
||||
|
||||
# Libvirt environments do not yet support whole-disk images, for example
|
||||
# https://bugs.launchpad.net/tripleo/+bug/1950383
|
||||
whole_disk_images: false
|
||||
|
||||
# This allows one to browse to the tripleo-ui on the undercloud
|
||||
# This is only required in libvirt based deployments
|
||||
enable_port_forward_for_tripleo_ui: true
|
||||
# Setup for SSL access to the tripleo-ui.
|
||||
# Please consult the tripleo-quickstart documentation prior to enabling this option
|
||||
tripleo_ui_secure_access: true
|
||||
validate_ui_simple: true
|
||||
|
||||
# Note this needs to be false for freeIPA
|
||||
# https://bugs.launchpad.net/tripleo/+bug/1709333
|
||||
nameserver_from_virthost: >-
|
||||
{% if overcloud_cloud_domain is defined -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
|
||||
# standalone interface
|
||||
standalone_interface: eth1
|
||||
standalone_ip: 192.168.24.2
|
@ -1,74 +0,0 @@
|
||||
# This environment can be used to use a base CentOS qcow2 image for the undercloud
|
||||
# instead of the default pre-built undercloud qcow2
|
||||
|
||||
# baseos undercloud settings
|
||||
undercloud_image_url: https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-20220726.1.x86_64.qcow2
|
||||
|
||||
# Libvirt environments do not yet support whole-disk images, for example
|
||||
# https://bugs.launchpad.net/tripleo/+bug/1950383
|
||||
whole_disk_images: false
|
||||
|
||||
# this must be named undercloud
|
||||
# Update md5sum whenever updating undercloud_image_url
|
||||
images:
|
||||
- name: undercloud
|
||||
url: "{{ undercloud_image_url }}"
|
||||
type: qcow2
|
||||
md5sum: "165133b99f9c5b69f449e88f94323c8e CentOS-Stream-GenericCloud-9-20220726.1.x86_64.qcow2"
|
||||
|
||||
inject_images: []
|
||||
|
||||
guest_partition: /dev/sda1
|
||||
baseos_as_undercloud: true
|
||||
overcloud_as_undercloud: false
|
||||
undercloud_setup: false
|
||||
use_external_images: true
|
||||
ovb_setup_connectivity: false
|
||||
non_root_user_setup: true
|
||||
package_installs: true
|
||||
hostname_correction: true
|
||||
|
||||
# standalone interface
|
||||
standalone_interface: eth1
|
||||
standalone_ip: 192.168.24.2
|
||||
local_docker_registry_host: 192.168.24.2
|
||||
overcloud_nodes: []
|
||||
node_count: 0
|
||||
tripleo_generate_scripts: true
|
||||
standalone_neutron_bridge_mappings: "datacentre:br-ctlplane"
|
||||
standalone_libvirt_type: qemu
|
||||
build_container_images: true
|
||||
# https://bugs.launchpad.net/tripleo/+bug/1902846
|
||||
containers_base_image: "quay.io/centos/centos:stream9"
|
||||
|
||||
# having connectivity with external world.
|
||||
tempest_public_net_physical_name: datacentre
|
||||
|
||||
# Setting the tempest_cidr as it is required while creating public subnet from which
|
||||
# floating IPs gets assigned
|
||||
tempest_cidr: '192.168.24.0/24'
|
||||
|
||||
tempest_private_net_seg_id: ''
|
||||
|
||||
tempest_install_method: distro
|
||||
|
||||
# Having tempest_network_ping_gateway set to true allows to ping any of the IP from
|
||||
# router to find out network related issue in the deployment early
|
||||
tempest_network_ping_gateway: true
|
||||
|
||||
# It is the python-tempestconf profile which also consumes tempest-deployer-input file
|
||||
tempest_tempestconf_profile:
|
||||
debug: true
|
||||
create: true
|
||||
deployer-input: "{{ ansible_user_dir }}/tempest-deployer-input.conf"
|
||||
os-cloud: "{{ tempest_cloud_name }}"
|
||||
out: "{{ tempest_workspace }}/etc/tempest.conf"
|
||||
network-id: "{{ tempest_neutron_public_network_id }}"
|
||||
overrides: "{{ tempest_tempest_conf_overrides | default({}) | combine(tempest_tempestconf_profile_overrides | default({}), recursive=True) }}"
|
||||
|
||||
# looking for a small set of tempest tests to validate
|
||||
# tempest config and execution are working
|
||||
test_white_regex: 'tempest.api.compute.admin'
|
||||
|
||||
tempest_test_whitelist:
|
||||
- 'tempest.api.compute.admin'
|
@ -1,31 +0,0 @@
|
||||
# This environment can be used to use an upstream OpenStack Fedora qcow2 image for the undercloud
|
||||
# instead of the default pre-built undercloud qcow2
|
||||
|
||||
undercloud_image_url: https://images.rdoproject.org/fedora-stable/Fedora-Cloud-Base-RDO-28-latest.qcow2
|
||||
# https://download.fedoraproject.org/pub/fedora/linux/releases/28/Cloud/x86_64/images/Fedora-Cloud-Base-28-1.1.x86_64.qcow2
|
||||
|
||||
# Libvirt environments do not yet support whole-disk images, for example
|
||||
# https://bugs.launchpad.net/tripleo/+bug/1950383
|
||||
whole_disk_images: false
|
||||
|
||||
# the name should always be undercloud
|
||||
images:
|
||||
- name: undercloud
|
||||
url: "{{ undercloud_image_url }}"
|
||||
type: qcow2
|
||||
|
||||
inject_images: []
|
||||
|
||||
guest_partition: /dev/sda1
|
||||
baseos_as_undercloud: true
|
||||
overcloud_as_undercloud: false
|
||||
undercloud_setup: true
|
||||
use_external_images: true
|
||||
ovb_setup_connectivity: false
|
||||
non_root_user_setup: true
|
||||
package_installs: true
|
||||
hostname_correction: true
|
||||
|
||||
# standalone interface
|
||||
standalone_interface: ens4
|
||||
standalone_ip: 192.168.24.2
|
@ -1,37 +0,0 @@
|
||||
# image build playbook connects to the host as root
|
||||
# We must write the user `root` as the ssh-user
|
||||
# so collect logs also connects as root, and not the default stack
|
||||
ssh_user: root
|
||||
|
||||
# this is required for image builds
|
||||
# Reference: https://github.com/openstack/tripleo-quickstart-extras/blob/master/roles/build-images/defaults/main.yml#L15
|
||||
# use an overcloud image as the undercloud after removing a few key rpms
|
||||
overcloud_as_undercloud: true
|
||||
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: false
|
||||
|
||||
artcl_collect_list:
|
||||
- /var/lib/oooq-images/*.log
|
||||
- /var/lib/oooq-images/*.sh
|
||||
- /var/log/
|
||||
- /var/tmp/sosreport*
|
||||
- /etc/
|
||||
- /home/*/*.log
|
||||
- /home/*/*.json
|
||||
- /home/*/*.conf
|
||||
- /home/*/*.yml
|
||||
- /home/*/*.yaml
|
||||
- /home/*/*.sh
|
||||
- /home/*/*.rst
|
||||
- /home/*/*.pem
|
||||
- /home/*/gating_repo.tar.gz
|
||||
artcl_exclude_list:
|
||||
- /etc/udev/hwdb.bin
|
||||
- /etc/puppet/modules
|
||||
- /etc/project-config
|
||||
- /etc/services
|
||||
- /etc/selinux/targeted
|
||||
- /etc/pki/ca-trust/extracted
|
||||
- /etc/alternatives
|
||||
- /var/log/journal
|
@ -1,75 +0,0 @@
|
||||
# We set introspection to true and use only the minimal amount of nodes
|
||||
# for this job, but test all defaults otherwise.
|
||||
step_introspect: true
|
||||
|
||||
# Define a single controller node
|
||||
overcloud_nodes:
|
||||
- name: control_0
|
||||
flavor: control
|
||||
virtualbmc_port: 6230
|
||||
|
||||
- name: compute_0
|
||||
flavor: compute
|
||||
virtualbmc_port: 6233
|
||||
|
||||
# Tell tripleo how we want things done.
|
||||
extra_args: >-
|
||||
--compute-scale 1
|
||||
|
||||
network_isolation: true
|
||||
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
undercloud_generate_service_certificate: true
|
||||
|
||||
# This enables the deployment of the overcloud with SSL.
|
||||
ssl_overcloud: false
|
||||
|
||||
# If `test_tempest` is `true`, run tempests tests, otherwise do not
|
||||
# run them.
|
||||
test_ping: false
|
||||
enable_pacemaker: false
|
||||
composable_scenario: multinode_major_upgrade.yaml
|
||||
upgrade_composable_scenario: multinode_major_upgrade.yaml
|
||||
overcloud_release: newton
|
||||
overcloud_templates_path: "{{ working_dir }}/tripleo-heat-templates"
|
||||
download_overcloud_templates_rpm: true
|
||||
|
||||
# Upgrade required templates
|
||||
upgrade_custom_templates_script_delivery:
|
||||
- overcloud-repo.yaml
|
||||
upgrade_custom_templates: {}
|
||||
|
||||
use_git_tht_repo: true
|
||||
download_overcloud_image: true
|
||||
step_pre_undercloud_upgrade: false
|
||||
step_upgrade_undercloud: false
|
||||
step_pre_overcloud_upgrade: true
|
||||
mixed_upgrade: true
|
||||
tht_rpm_url: https://trunk.rdoproject.org/centos7-{{ overcloud_release }}/current/
|
||||
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
- overcloud-upgrade
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
@ -1,72 +0,0 @@
|
||||
enable_pacemaker: false
|
||||
set_overcloud_workers: false
|
||||
|
||||
node_count: 2
|
||||
overcloud_nodes:
|
||||
|
||||
# Remove when https://review.opendev.org/#/c/414167/ is merged
|
||||
validation_args: " "
|
||||
|
||||
extra_args: " --control-flavor baremetal --compute-flavor baremetal \
|
||||
-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
|
||||
-e ~/network-environment.yaml --ntp-server {{ ntp_server }} "
|
||||
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
undercloud_generate_service_certificate: true
|
||||
|
||||
# This enables the deployment of the overcloud with SSL.
|
||||
ssl_overcloud: false
|
||||
|
||||
test_ping: false
|
||||
|
||||
# overcloud network config
|
||||
floating_ip_cidr: 10.0.0.0/24
|
||||
public_net_pool_start: 10.0.0.50
|
||||
public_net_pool_end: 10.0.0.100
|
||||
public_net_gateway: 10.0.0.1
|
||||
|
||||
composable_scenario: multinode_major_upgrade.yaml
|
||||
upgrade_composable_scenario: multinode_major_upgrade.yaml
|
||||
overcloud_release: newton
|
||||
overcloud_templates_path: "{{ working_dir }}/tripleo-heat-templates"
|
||||
download_overcloud_templates_rpm: true
|
||||
|
||||
# Upgrade required templates
|
||||
upgrade_custom_templates_script_delivery:
|
||||
- overcloud-repo.yaml
|
||||
upgrade_custom_templates: {}
|
||||
|
||||
use_git_tht_repo: true
|
||||
download_overcloud_image: true
|
||||
step_pre_undercloud_upgrade: false
|
||||
step_upgrade_undercloud: false
|
||||
step_pre_overcloud_upgrade: true
|
||||
mixed_upgrade: true
|
||||
tht_rpm_url: https://trunk.rdoproject.org/centos7-{{ overcloud_release }}/current/
|
||||
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
- overcloud-upgrade
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
@ -1,25 +0,0 @@
|
||||
#Warning: This feature set is deprecated
|
||||
|
||||
undercloud_generate_service_certificate: false
|
||||
ssl_overcloud: false
|
||||
test_ping: true
|
||||
deployed_server: true
|
||||
|
||||
composable_scenario: multinode.yaml
|
||||
composable_services: false
|
||||
# Use default test template
|
||||
# validate_template: tenantvm-floatingip.yaml
|
||||
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
@ -1,85 +0,0 @@
|
||||
# Summary of the feature set.
|
||||
# Deploy an Openstack environment with a non-containerized overcloud,
|
||||
# and upgrade it to a containerized overcloud.
|
||||
|
||||
# WARNING: This feature set is deprecated
|
||||
|
||||
undercloud_setup: true
|
||||
network_isolation: false
|
||||
enable_pacemaker: false
|
||||
overcloud_ipv6: false
|
||||
|
||||
# we're upgrading from non-containers to containers, so first we
|
||||
# deploy non-containerized overcloud
|
||||
containerized_overcloud: false
|
||||
containerized_overcloud_upgrade: true
|
||||
|
||||
# save time by doing a mixed upgrade
|
||||
mixed_upgrade: true
|
||||
|
||||
undercloud_generate_service_certificate: false
|
||||
|
||||
ssl_overcloud: false
|
||||
|
||||
test_ping: true
|
||||
use_os_tempest: false
|
||||
step_introspect: false
|
||||
|
||||
composable_scenario: multinode.yaml
|
||||
upgrade_composable_scenario: multinode-containers.yaml
|
||||
deployed_server: true
|
||||
|
||||
# Tripleo_upgrade role parameters
|
||||
# Major Ugrade: baremetal -> containers
|
||||
undercloud_upgrade: false
|
||||
overcloud_upgrade: true
|
||||
tht_directory: "/usr/share/openstack-tripleo-heat-templates"
|
||||
upstream_container_images: true
|
||||
create_container_images_download_script: false
|
||||
container_images_download_script: '{{ working_dir }}/upgrade_overcloud_prep_containers.sh'
|
||||
containers_default_parameters: "{{ working_dir }}/containers-default-parameters.yaml"
|
||||
create_docker_registry: false
|
||||
tripleo_ci: true
|
||||
use_oooq: true
|
||||
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
@ -1,150 +0,0 @@
|
||||
# Summary of the feature set.
|
||||
# Deploy an Openstack environment with ssl undercloud, introspect, and use network isolation
|
||||
# Note: this is the same featureset as 001 but it runs a minimal Browbeat test deployment.
|
||||
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
undercloud_generate_service_certificate: true
|
||||
ssl_overcloud: false
|
||||
overcloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
undercloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
step_introspect: true
|
||||
|
||||
# This enables container deployements after Pike
|
||||
containerized_overcloud: >-
|
||||
{% if release in ['newton', 'ocata', 'pike'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
delete_docker_cache: true
|
||||
|
||||
containerized_undercloud: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
ctlplane_masquerade: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_enable_routed_networks: >-
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_clean_nodes: >-
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_inspection_extras: false
|
||||
|
||||
undercloud_custom_env_files: "{{ working_dir }}/undercloud-parameter-defaults.yaml"
|
||||
undercloud_cloud_domain: "localdomain"
|
||||
undercloud_undercloud_hostname: "undercloud.{{ undercloud_cloud_domain }}"
|
||||
|
||||
# Tell tripleo about our environment.
|
||||
enable_pacemaker: true
|
||||
network_isolation: true
|
||||
network_isolation_type: "multiple-nics"
|
||||
network_isolation_args: >-
|
||||
-e {{ overcloud_templates_path }}/ci/environments/network/multiple-nics/network-isolation-absolute.yaml
|
||||
-e {{ overcloud_templates_path }}/ci/environments/network/multiple-nics/network-environment.yaml
|
||||
|
||||
# This featureset is extremely resource intensive, so we disable telemetry
|
||||
# in order to reduce the overall memory footprint
|
||||
# Disabled by default in ussuri
|
||||
telemetry_args: >-
|
||||
{% if release in ['queens', 'stein', 'train'] %}
|
||||
-e {{ overcloud_templates_path }}/environments/disable-telemetry.yaml
|
||||
{% endif %}
|
||||
|
||||
extra_args: >-
|
||||
{% if release not in ['newton', 'ocata', 'pike'] %}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/ovb-ha.yaml
|
||||
{% endif %}
|
||||
{% if release not in ['newton','ocata','pike','queens','stein','train'] -%}
|
||||
--disable-validations
|
||||
{%- endif -%}
|
||||
|
||||
# keep the doc gen settings at the bottom of the config file.
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- "{% if release not in ['newton', 'ocata', 'pike'] -%}overcloud-prep-containers{%- endif -%}"
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
- tempest-setup
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- "{% if release not in ['newton', 'ocata', 'pike'] -%}overcloud-prep-containers{%- endif -%}"
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
- tempest-setup
|
||||
|
||||
# Use the traditional ping test in newton, ocata and pike
|
||||
# Run tempest in queens+
|
||||
|
||||
test_ping: >-
|
||||
{% if release in ['newton', 'ocata', 'pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
test_white_regex: ''
|
||||
tempest_whitelist:
|
||||
- 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'
|
||||
|
||||
deploy_steps_ansible_workflow: >-
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
config_download_args: >-
|
||||
{% if release in ['queens'] -%}
|
||||
-e /usr/share/openstack-tripleo-heat-templates/environments/config-download-environment.yaml
|
||||
--config-download
|
||||
--verbose
|
||||
{%- endif -%}
|
||||
|
||||
enable_minimal_browbeat: true
|
||||
# Browbeat specific settings
|
||||
elastic_enabled: false
|
||||
grafana_enabled: false
|
||||
statsd_enabled: false
|
||||
rsyslog_forwarding: false
|
||||
browbeat_config_file: browbeat-minimal-ci.yaml.j2
|
||||
|
||||
baremetal_provision: >-
|
||||
{% if release in ['newton','ocata','pike','queens','stein','train'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
{%- endif -%}
|
@ -1,101 +0,0 @@
|
||||
# Deploy an HA openstack environment with IPV6.
|
||||
|
||||
# We don't need introspection in a virtual environment (because we are
|
||||
# creating all the "hardware" we really know the necessary
|
||||
# information).
|
||||
step_introspect: false
|
||||
|
||||
# Tell tripleo about our environment.
|
||||
network_isolation: true
|
||||
network_isolation_type: 'single-nic-vlans'
|
||||
extra_args: ''
|
||||
test_ping: true
|
||||
enable_pacemaker: true
|
||||
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
|
||||
overcloud_ipv6: true
|
||||
ssl_overcloud: false
|
||||
|
||||
floating_ip_cidr: 10.0.0.0/24
|
||||
external_network_cidr: 192.168.23.0/24
|
||||
undercloud_networks:
|
||||
external:
|
||||
address: "{{ undercloud_external_network_cidr|nthhost(1) }}"
|
||||
netmask: "{{ undercloud_external_network_cidr|ipaddr('netmask') }}"
|
||||
address6: "{{ undercloud_external_network_cidr6|nthhost(1) }}"
|
||||
device_type: ovs
|
||||
type: OVSIntPort
|
||||
ovs_bridge: br-ctlplane
|
||||
|
||||
|
||||
network_environment_args:
|
||||
ControlPlaneSubnetCidr: "{{ undercloud_network_cidr|ipaddr('prefix') }}"
|
||||
ControlPlaneDefaultRoute: "{{ undercloud_network_cidr|nthhost(1) }}"
|
||||
EC2MetadataIp: "{{ undercloud_network_cidr|nthhost(1) }}"
|
||||
ExternalNetCidr: 2001:db8:fd00:1000::/64
|
||||
ExternalAllocationPools: [{"start": "2001:db8:fd00:1000::10", "end": "2001:db8:fd00:1000:ffff:ffff:ffff:fffe"}]
|
||||
ExternalInterfaceDefaultRoute: 2001:db8:fd00:1000::1
|
||||
NeutronExternalNetworkBridge: "''"
|
||||
InternalApiNetCidr: fd00:fd00:fd00:2000::/64
|
||||
InternalApiAllocationPools: [{"start": "fd00:fd00:fd00:2000::10", "end": "fd00:fd00:fd00:2000:ffff:ffff:ffff:fffe"}]
|
||||
StorageNetCidr: fd00:fd00:fd00:3000::/64
|
||||
StorageAllocationPools: [{"start": "fd00:fd00:fd00:3000::10", "end": "fd00:fd00:fd00:3000:ffff:ffff:ffff:fffe"}]
|
||||
StorageMgmtNetCidr: fd00:fd00:fd00:4000::/64
|
||||
StorageMgmtAllocationPools: [{"start": "fd00:fd00:fd00:4000::10", "end": "fd00:fd00:fd00:4000:ffff:ffff:ffff:fffe"}]
|
||||
TenantNetCidr: 172.16.0.0/24
|
||||
TenantAllocationPools: [{"start": "172.16.0.10", "end": "172.16.0.250"}]
|
||||
DnsServers: ['{{ external_network_cidr6|nthhost(1) }}']
|
||||
|
||||
networks:
|
||||
- name: external
|
||||
bridge: brext
|
||||
forward_mode: nat
|
||||
address: "{{ external_network_cidr|nthhost(1) }}"
|
||||
netmask: "{{ external_network_cidr|ipaddr('netmask') }}"
|
||||
dhcp_range:
|
||||
- "{{ external_network_cidr|nthhost(10) }}"
|
||||
- "{{ external_network_cidr|nthhost(50) }}"
|
||||
nat_port_range:
|
||||
- 1024
|
||||
- 65535
|
||||
|
||||
- name: overcloud
|
||||
bridge: brovc
|
||||
|
||||
- name: overcloud2
|
||||
bridge: brovc2
|
||||
|
||||
- name: overcloud3
|
||||
bridge: brovc3
|
||||
|
||||
- name: overcloud4
|
||||
bridge: brovc4
|
||||
|
||||
- name: overcloud5
|
||||
bridge: brovc5
|
||||
|
||||
- name: overcloud6
|
||||
bridge: brovc6
|
@ -1,58 +0,0 @@
|
||||
# This config deploys a minimal configuration but with pacemaker to
|
||||
# simulate a configuration close to HA without requiring 3 controllers
|
||||
|
||||
# Define a controller node and a compute node
|
||||
overcloud_nodes:
|
||||
- name: control_0
|
||||
flavor: control
|
||||
virtualbmc_port: 6230
|
||||
|
||||
- name: compute_0
|
||||
flavor: compute
|
||||
virtualbmc_port: 6231
|
||||
|
||||
# Tell tripleo how we want things done.
|
||||
extra_args: ''
|
||||
|
||||
# This featureset is extremely resource intensive, so we disable telemetry
|
||||
# in order to reduce the overall memory footprint
|
||||
# Disabled by default in ussuri
|
||||
telemetry_args: >-
|
||||
{% if release in ['queens', 'stein', 'train'] %}
|
||||
-e {{ overcloud_templates_path }}/environments/disable-telemetry.yaml
|
||||
{% endif %}
|
||||
|
||||
network_isolation: true
|
||||
network_isolation_type: 'single-nic-vlans'
|
||||
|
||||
enable_pacemaker: true
|
||||
|
||||
test_ping: false
|
||||
tempest_config: true
|
||||
tempest_workers: 4
|
||||
test_white_regex: smoke|test_minimum_basic|test_network_basic_ops|test_snapshot_pattern|test_volume_boot_pattern
|
||||
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
@ -1,9 +0,0 @@
|
||||
# TO DO, REMOVE THIS CONFIG IN FAVOR OF OVERRIDING THE ONE VARIABLE
|
||||
# We set introspection to true and use only the minimal amount of nodes
|
||||
# for this job, but test all defaults otherwise
|
||||
step_introspect: true
|
||||
network_isolation: false
|
||||
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
undercloud_generate_service_certificate: true
|
@ -1,24 +0,0 @@
|
||||
# Run an undercloud without glance or nova
|
||||
undercloud_enable_nova: >-
|
||||
{% if release in ['newton','ocata','pike','queens','stein', 'train'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
step_glance_upload: >-
|
||||
{% if release in ['newton','ocata','pike','queens','stein', 'train'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
# general multinode job configuration
|
||||
enable_vbmc: false
|
||||
gating_repo_enabled: true
|
||||
deploy_multinode: true
|
||||
step_overcloud_image: false
|
||||
step_register: false
|
||||
hypervisor_wait: false
|
||||
network_isolation: false
|
||||
package_installs: true
|
||||
non_root_user_setup: true
|
@ -1,184 +0,0 @@
|
||||
# Summary of the feature set.
|
||||
# Deploy an Openstack environment with ssl undercloud, introspect, and use network isolation
|
||||
# Note: any change in this featureset must also be done in featureset035 and featureset053.
|
||||
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
undercloud_generate_service_certificate: true
|
||||
ssl_overcloud: true
|
||||
overcloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
undercloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
step_introspect: true
|
||||
|
||||
ctlplane_masquerade: true
|
||||
undercloud_enable_routed_networks: true
|
||||
|
||||
undercloud_clean_nodes: true
|
||||
|
||||
undercloud_inspection_extras: false
|
||||
|
||||
# Deploy ml2/ovn on Undercloud with zed+ release
|
||||
undercloud_custom_env_files: >-
|
||||
{% if release not in ['train', 'wallaby'] -%}
|
||||
{{ working_dir }}/undercloud-parameter-defaults.yaml {{ undercloud_templates_path }}/environments/services/undercloud-neutron-ovn-dhcp.yaml
|
||||
{%- else -%}
|
||||
{{ working_dir }}/undercloud-parameter-defaults.yaml
|
||||
{%- endif %}
|
||||
|
||||
undercloud_cloud_domain: "localdomain"
|
||||
undercloud_undercloud_hostname: "undercloud.{{ undercloud_cloud_domain }}"
|
||||
|
||||
# Tell tripleo about our environment.
|
||||
enable_pacemaker: true
|
||||
network_isolation: true
|
||||
network_isolation_type: "multiple-nics"
|
||||
network_isolation_args: >-
|
||||
{% if not release in ['train','ussuri','victoria'] -%}
|
||||
--networks-file {{ overcloud_templates_path }}/ci/network_data.yaml
|
||||
-e {{ working_dir }}/overcloud-networks-deployed.yaml
|
||||
-e {{ working_dir }}/overcloud-vips-deployed.yaml
|
||||
{% else %}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/network/multiple-nics/network-isolation-absolute.yaml
|
||||
{% endif %}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/network/multiple-nics/network-environment.yaml
|
||||
|
||||
# This featureset is extremely resource intensive, so we disable telemetry
|
||||
# in order to reduce the overall memory footprint
|
||||
# Disabled by default from ussuri
|
||||
telemetry_args: >-
|
||||
{% if release in ['train'] %}
|
||||
-e {{ overcloud_templates_path }}/environments/disable-telemetry.yaml
|
||||
{% endif %}
|
||||
|
||||
extra_args: >-
|
||||
{% if ansible_distribution in ["RedHat"] and osp_release|default('') in ['rhos-17.1'] and ansible_distribution_major_version|int == 8 -%}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/ovb-ha-parameter-for-rhel8.yaml
|
||||
{% endif %}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/ovb-ha.yaml
|
||||
{% if release not in ['train'] -%}
|
||||
--disable-validations
|
||||
{% endif %}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/neutron_dns_domain.yaml
|
||||
{% if release not in ['train','wallaby'] %}
|
||||
-e {{ working_dir }}/ci_custom_firewall_rules.yaml
|
||||
{% endif %}
|
||||
{% if release not in ['train','ussuri','victoria'] and
|
||||
job is defined and
|
||||
job.enable_secure_rbac is defined and
|
||||
job.enable_secure_rbac|default(false)|bool or
|
||||
enable_secure_rbac|default(false)|bool -%}
|
||||
-e {{ overcloud_templates_path }}/environments/enable-secure-rbac.yaml
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_ntp_servers: pool.ntp.org
|
||||
# keep the doc gen settings at the bottom of the config file.
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
|
||||
deploy_steps_ansible_workflow: true
|
||||
|
||||
ephemeral_heat: "{{ (release not in ['train','ussuri','victoria']) | bool }}"
|
||||
ephemeral_heat_args: "{{ '--heat-type pod' if ephemeral_heat|bool else '' }}"
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
# Use the traditional ping test in newton, ocata and pike
|
||||
# Run tempest in queens+
|
||||
test_ping: false
|
||||
|
||||
use_os_tempest: true
|
||||
|
||||
# It will create a public network name 'public' using os_tempest
|
||||
tempest_interface_name: public
|
||||
|
||||
# In order to have a public network with external connectivity, we need to use
|
||||
# flat network type
|
||||
tempest_public_net_provider_type: flat
|
||||
|
||||
# It is the physical network name through which public network will be created
|
||||
# having connectivity with external world.
|
||||
tempest_public_net_physical_name: datacentre
|
||||
|
||||
# Setting the tempest_cidr as it is required while creating public subnet from which
|
||||
# floating IPs gets assigned
|
||||
tempest_cidr: '10.0.0.0/24'
|
||||
|
||||
tempest_private_net_seg_id: ''
|
||||
|
||||
tempest_install_method: distro
|
||||
|
||||
# Having tempest_network_ping_gateway set to true allows to ping any of the IP from
|
||||
# router to find out network related issue in the deployment early
|
||||
tempest_network_ping_gateway: true
|
||||
|
||||
# It is the python-tempestconf profile which also consumes tempest-deployer-input file
|
||||
tempest_tempestconf_profile:
|
||||
debug: true
|
||||
create: true
|
||||
deployer-input: "{{ ansible_user_dir }}/tempest-deployer-input.conf"
|
||||
os-cloud: "{{ tempest_cloud_name }}"
|
||||
out: "{{ tempest_workspace }}/etc/tempest.conf"
|
||||
network-id: "{{ tempest_neutron_public_network_id }}"
|
||||
overrides: "{{ tempest_tempest_conf_overrides | default({}) | combine(tempest_tempestconf_profile_overrides | default({}), recursive=True) }}"
|
||||
|
||||
tempest_tempest_conf_overrides:
|
||||
auth.use_dynamic_credentials: 'True'
|
||||
|
||||
tempest_allowed_group_check: "featureset001"
|
||||
tempest_allowed_group_periodic: "featureset001_periodic"
|
||||
|
||||
tempest_allowed_group: >-
|
||||
{% if ('periodic' in zuul.pipeline and not job.force_non_periodic|default(false)|bool) or (job.force_periodic|default(false)|bool) or (job.component is defined) -%}
|
||||
{{ tempest_allowed_group_periodic }}
|
||||
{%- else -%}
|
||||
{{ tempest_allowed_group_check }}
|
||||
{%- endif -%}
|
||||
|
||||
tempest_run_concurrency: 4
|
||||
|
||||
tempest_extra_config: {'compute_feature_enabled.config_drive': 'True'}
|
||||
|
||||
# Run an undercloud without glance or nova
|
||||
undercloud_enable_nova: >-
|
||||
{% if release in ['train'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
baremetal_provision: >-
|
||||
{% if release in ['train'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
|
||||
# Provision composable networks prior to creating the heat stack
|
||||
network_provision: >-
|
||||
{% if release in ['train','ussuri','victoria'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
{%- endif -%}
|
@ -1,165 +0,0 @@
|
||||
# Summary of the feature set.
|
||||
# Deploy an Openstack environment with ssl undercloud, introspect, and use network isolation
|
||||
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
undercloud_generate_service_certificate: true
|
||||
ssl_overcloud: true
|
||||
overcloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
undercloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
step_introspect: true
|
||||
# force image building
|
||||
# TODO(gcerami) tripleo-ci specific content. This has to be implemented in another way
|
||||
to_build: true
|
||||
# Delete the overcloud after deployment
|
||||
step_delete_overcloud: true
|
||||
|
||||
undercloud_check_idempotency: false
|
||||
|
||||
ctlplane_masquerade: true
|
||||
|
||||
undercloud_enable_routed_networks: true
|
||||
|
||||
undercloud_clean_nodes: true
|
||||
|
||||
baremetal_provision: >-
|
||||
{% if release in ['train'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_enable_nova: >-
|
||||
{% if release in ['train'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
# Provision composable networks prior to creating the heat stack
|
||||
network_provision: >-
|
||||
{% if release in ['train','ussuri','victoria'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_inspection_extras: false
|
||||
|
||||
undercloud_custom_env_files: "{{ working_dir }}/undercloud-parameter-defaults.yaml"
|
||||
undercloud_cloud_domain: "localdomain"
|
||||
undercloud_undercloud_hostname: "undercloud.{{ undercloud_cloud_domain }}"
|
||||
|
||||
# Tell tripleo about our environment.
|
||||
enable_pacemaker: true
|
||||
network_isolation: true
|
||||
network_isolation_type: "multiple-nics"
|
||||
network_isolation_args: >-
|
||||
{% if not release in ['train','ussuri','victoria'] -%}
|
||||
--networks-file {{ overcloud_templates_path }}/ci/network_data.yaml
|
||||
-e {{ working_dir }}/overcloud-networks-deployed.yaml
|
||||
-e {{ working_dir }}/overcloud-vips-deployed.yaml
|
||||
{% else %}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/network/multiple-nics/network-isolation-absolute.yaml
|
||||
{% endif %}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/network/multiple-nics/network-environment.yaml
|
||||
|
||||
# This featureset is extremely resource intensive, so we disable telemetry
|
||||
# in order to reduce the overall memory footprint
|
||||
# Disabled by default in ussuri
|
||||
telemetry_args: >-
|
||||
{% if release in ['train'] %}
|
||||
-e {{ overcloud_templates_path }}/environments/disable-telemetry.yaml
|
||||
{% endif %}
|
||||
|
||||
extra_args: >-
|
||||
-e {{ overcloud_templates_path }}/ci/environments/ovb-ha.yaml
|
||||
{% if release not in ['train','wallaby'] %}
|
||||
-e {{ working_dir }}/ci_custom_firewall_rules.yaml
|
||||
{% endif %}
|
||||
{% if release not in ['train'] -%}
|
||||
--disable-validations
|
||||
{%- endif -%}
|
||||
# keep the doc gen settings at the bottom of the config file.
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
- "{% if release in ['train','ussuri','victoria'] -%}overcloud-delete{%- endif -%}"
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
- "{% if release in ['train','ussuri','victoria'] -%}overcloud-delete{%- endif -%}"
|
||||
|
||||
deploy_steps_ansible_workflow: true
|
||||
|
||||
ephemeral_heat: "{{ (release not in ['train','ussuri','victoria']) | bool }}"
|
||||
ephemeral_heat_args: "{{ '--heat-type pod' if ephemeral_heat|bool else '' }}"
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
# Use the traditional ping test in newton, ocata and pike
|
||||
# Run tempest in queens+
|
||||
|
||||
test_ping: false
|
||||
|
||||
# Settings for os_tempest
|
||||
|
||||
use_os_tempest: true
|
||||
|
||||
# It will create a public network name 'public' using os_tempest
|
||||
tempest_interface_name: public
|
||||
|
||||
# In order to have a public network with external connectivity, we need to use
|
||||
# flat network type
|
||||
tempest_public_net_provider_type: flat
|
||||
|
||||
# It is the physical network name through which public network will be created
|
||||
# having connectivity with external world.
|
||||
tempest_public_net_physical_name: datacentre
|
||||
|
||||
# Setting the tempest_cidr as it is required while creating public subnet from which
|
||||
# floating IPs gets assigned
|
||||
tempest_cidr: '10.0.0.0/24'
|
||||
|
||||
tempest_private_net_seg_id: ''
|
||||
|
||||
tempest_install_method: distro
|
||||
|
||||
# Having tempest_network_ping_gateway set to true allows to ping any of the IP from
|
||||
# router to find out network related issue in the deployment early
|
||||
tempest_network_ping_gateway: true
|
||||
|
||||
# It is the python-tempestconf profile which also consumes tempest-deployer-input file
|
||||
tempest_tempestconf_profile:
|
||||
debug: true
|
||||
create: true
|
||||
deployer-input: "{{ ansible_user_dir }}/tempest-deployer-input.conf"
|
||||
os-cloud: "{{ tempest_cloud_name }}"
|
||||
out: "{{ tempest_workspace }}/etc/tempest.conf"
|
||||
network-id: "{{ tempest_neutron_public_network_id }}"
|
||||
overrides: "{{ tempest_tempest_conf_overrides | default({}) | combine(tempest_tempestconf_profile_overrides | default({}), recursive=True) }}"
|
||||
|
||||
tempest_allowed_group: "featureset002"
|
||||
|
||||
tempest_run_concurrency: 4
|
||||
|
||||
tempest_extra_config: {'compute_feature_enabled.config_drive': 'True'}
|
@ -1,46 +0,0 @@
|
||||
undercloud_generate_service_certificate: false
|
||||
ssl_overcloud: false
|
||||
undercloud_check_idempotency: true
|
||||
undercloud_check_sanity: false
|
||||
containerized_undercloud: false
|
||||
|
||||
# in order to still support running this job on instack-undercloud, we need
|
||||
# to specify a different install command for >= Stein since we dropped the
|
||||
# python-tripleoclient integration
|
||||
undercloud_install_cmd: >-
|
||||
{% if containerized_undercloud|bool or release in ['ocata', 'pike', 'queens'] -%}
|
||||
openstack undercloud install
|
||||
{%- else -%}
|
||||
instack-undercloud
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_rpm_dependencies: >-
|
||||
{% if containerized_undercloud|bool or release in ['ocata', 'pike', 'queens'] -%}
|
||||
python-tripleoclient
|
||||
{%- else -%}
|
||||
instack-undercloud python-tripleoclient
|
||||
{%- endif -%}
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
tempest_cloud_name: 'undercloud'
|
||||
test_ping: false
|
||||
test_regex: ''
|
||||
tempest_undercloud: true
|
||||
tempest_overcloud: false
|
||||
# Basic set of tempest tests to validate undercloud
|
||||
tempest_test_whitelist:
|
||||
- 'tempest.api.identity'
|
||||
- 'tempest.api.image.v2.test_images.BasicOperationsImagesTest'
|
||||
- 'tempest.api.image.v2.test_images_tags_negative.ImagesTagsNegativeTest'
|
||||
- 'tempest.api.image.v2.test_images_member_negative.ImagesMemberNegativeTest'
|
||||
- 'tempest.api.compute.admin.test_flavors'
|
||||
- 'tempest.api.compute.flavors'
|
||||
- 'tempest.api.compute.keypairs'
|
||||
- 'tempest.api.compute.admin.test_quotas'
|
||||
- 'tempest.api.compute.admin.test_aggregates_negative'
|
||||
- 'tempest.api.compute.security_groups'
|
||||
- 'tempest.api.network.test_networks'
|
||||
- 'tempest.api.network.test_networks_negative'
|
||||
- 'tempest.api.network.test_security_groups_negative'
|
||||
- 'tempest.api.network.test_ports'
|
||||
- 'tempest.api.network.test_routers_negative'
|
@ -1,60 +0,0 @@
|
||||
undercloud_generate_service_certificate: false
|
||||
enable_opstools_repo: true
|
||||
|
||||
deployed_server: true
|
||||
composable_scenario: scenario001-multinode.yaml
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
||||
validate_template: scenario001-multinode.yaml
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
tempest_whitelist_old:
|
||||
- 'tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern'
|
||||
- 'ceilometer.tests.tempest.scenario.test_telemetry_integration.TestTelemetryIntegration'
|
||||
tempest_whitelist_new:
|
||||
- 'tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern'
|
||||
- 'telemetry_tempest_plugin.scenario.test_telemetry_integration.TestTelemetryIntegration'
|
||||
|
||||
# Use the traditional ping test in newton and ocata
|
||||
# Run tempest in pike+
|
||||
|
||||
test_ping: >-
|
||||
{% if release in ['newton', 'ocata'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
test_white_regex: ''
|
||||
|
||||
|
||||
tempest_whitelist: >-
|
||||
{% if release not in ['newton', 'ocata', 'pike'] -%}{{ tempest_whitelist_new }}
|
||||
{%- else -%}{{ tempest_whitelist_old }}
|
||||
{%- endif -%}
|
||||
|
||||
tempest_plugins_old:
|
||||
- python-aodh-tests
|
||||
- python-ceilometer-tests
|
||||
- python-gnocchi-tests
|
||||
- python-panko-tests
|
||||
|
||||
tempest_plugins_new:
|
||||
- python-telemetry-tests-tempest
|
||||
- python-heat-tests-tempest
|
||||
|
||||
tempest_plugins: >-
|
||||
{% if release not in ['newton', 'ocata', 'pike'] -%}{{ tempest_plugins_new }}
|
||||
{%- else -%}{{ tempest_plugins_old }}
|
||||
{%- endif -%}
|
@ -1,88 +0,0 @@
|
||||
undercloud_generate_service_certificate: false
|
||||
|
||||
# pacemaker settings are configured in the scenario template
|
||||
# do not set `enable_pacemaker` in the featureset
|
||||
|
||||
deployed_server: true
|
||||
composable_scenario: scenario002-multinode.yaml
|
||||
validate_template: scenario002-multinode.yaml
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
# Use the traditional ping test in newton and ocata
|
||||
# Run tempest in pike+
|
||||
|
||||
test_ping: >-
|
||||
{% if release in ['newton', 'ocata'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
|
||||
test_white_regex: ''
|
||||
tempest_whitelist_old:
|
||||
# Testing zaqar doesn't work yet, but it's in progress
|
||||
# - 'zaqar.tests.tempest_plugin.tests.v2.test_queues.TestManageQueue'
|
||||
# Testing boot from volume and server connectivity
|
||||
- 'tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern'
|
||||
# Testing swift
|
||||
- 'tempest.api.object_storage.test_object_services.ObjectTest'
|
||||
# Testing cinder volumes encrypted by barbican:
|
||||
- 'barbican_tempest_plugin.tests.scenario.test_volume_encryption.VolumeEncryptionTest'
|
||||
# TODO(emilien) run autoscaling tests when telemetry works in python-tempestconf
|
||||
# - 'ceilometer.tests.tempest.scenario.test_telemetry_integration.TestTelemetryIntegration'
|
||||
# TODO(emilien) run ec2api tests when ec2api is supported in python-tempestconf
|
||||
# - 'ec2api.tests.functional.api.test_key_pairs.KeyPairTest'
|
||||
|
||||
tempest_whitelist_new:
|
||||
# Testing zaqar doesn't work yet, but it's in progress
|
||||
# - 'zaqar_tempest_plugin.tests.v2.test_queues.TestManageQueue'
|
||||
# Testing boot from volume and server connectivity
|
||||
- 'tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern'
|
||||
# Testing swift
|
||||
- 'tempest.api.object_storage.test_object_services.ObjectTest'
|
||||
# Testing cinder volumes encrypted by barbican:
|
||||
- 'barbican_tempest_plugin.tests.scenario.test_volume_encryption.VolumeEncryptionTest'
|
||||
# - 'telemetry_tempest_plugin.scenario.test_telemetry_integration.TestTelemetryIntegration'
|
||||
# TODO(emilien) run ec2api tests when ec2api is supported in python-tempestconf
|
||||
# - 'ec2api_tempest_plugin.api.test_key_pairs.KeyPairTest'
|
||||
|
||||
tempest_whitelist: >-
|
||||
{% if release not in ['newton', 'ocata', 'pike'] -%}{{ tempest_whitelist_new }}
|
||||
{%- else -%}{{ tempest_whitelist_old }}
|
||||
{%- endif -%}
|
||||
|
||||
tempest_plugins_old:
|
||||
- python-aodh-tests
|
||||
- python-ceilometer-tests
|
||||
- python-gnocchi-tests
|
||||
- python-barbican-tests-tempest
|
||||
- python-zaqar-tests
|
||||
- python-ec2-api-tests
|
||||
tempest_plugins_new:
|
||||
- python-telemetry-tests-tempest
|
||||
- python-barbican-tests-tempest
|
||||
- python-zaqar-tests-tempest
|
||||
- python-ec2api-tests-tempest
|
||||
- python-heat-tests-tempest
|
||||
tempest_plugins: >-
|
||||
{% if release not in ['newton', 'ocata', 'pike'] -%}{{ tempest_plugins_new }}
|
||||
{%- else -%}{{ tempest_plugins_old }}
|
||||
{%- endif -%}
|
||||
tempest_extra_config: >-
|
||||
{% if release not in ['newton', 'ocata'] -%}
|
||||
{'auth.tempest_roles': '"Member, creator"'}
|
||||
{%- endif -%}
|
@ -1,49 +0,0 @@
|
||||
undercloud_generate_service_certificate: false
|
||||
|
||||
# pacemaker settings are configured in the scenario template
|
||||
# do not set `enable_pacemaker` in the featureset
|
||||
|
||||
deployed_server: true
|
||||
composable_scenario: scenario003-multinode.yaml
|
||||
validate_template: scenario003-multinode.yaml
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
# Use the traditional ping test in newton and ocata
|
||||
# Run tempest in pike+
|
||||
|
||||
test_ping: >-
|
||||
{% if release in ['newton', 'ocata'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
test_white_regex: ''
|
||||
tempest_whitelist:
|
||||
- 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'
|
||||
- 'sahara_tempest_plugin.tests.api.test_data_sources.DataSourceTest'
|
||||
- 'mistral_tempest_tests.tests.api.v2.test_actions.ActionTestsV2'
|
||||
tempest_plugins_old:
|
||||
- python-sahara-tests-tempest
|
||||
- python-mistral-tests
|
||||
tempest_plugins_new:
|
||||
- python-sahara-tests-tempest
|
||||
- python-mistral-tests-tempest
|
||||
|
||||
tempest_plugins: >-
|
||||
{% if release not in ['newton', 'ocata', 'pike'] -%}{{ tempest_plugins_new }}
|
||||
{%- else -%}{{ tempest_plugins_old }}
|
||||
{%- endif -%}
|
@ -1,68 +0,0 @@
|
||||
undercloud_generate_service_certificate: false
|
||||
|
||||
# pacemaker settings are configured in the scenario template
|
||||
# do not set `enable_pacemaker` in the featureset
|
||||
|
||||
deployed_server: true
|
||||
composable_scenario: scenario004-multinode.yaml
|
||||
validate_template: scenario004-multinode.yaml
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
# Use the traditional ping test in newton and ocata
|
||||
# Run tempest in pike+
|
||||
|
||||
test_ping: >-
|
||||
{% if release in ['newton', 'ocata'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
test_white_regex: ''
|
||||
tempest_whitelist_old:
|
||||
- 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'
|
||||
tempest_whitelist_new:
|
||||
- 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'
|
||||
- 'manila_tempest_tests.tests.api.test_shares.SharesCephFSTest.test_create_get_delete_share'
|
||||
|
||||
# manila test is disabled in older releases as a temporary workaround for
|
||||
# https://launchpad.net/bugs/1790857
|
||||
tempest_whitelist: >-
|
||||
{% if release not in ['newton', 'ocata'] -%}{{ tempest_whitelist_new }}
|
||||
{%- else -%}{{ tempest_whitelist_old }}
|
||||
{%- endif -%}
|
||||
|
||||
manila_max_api_version: {'newton': '2.22', 'ocata': '2.32', 'pike': '2.40', 'queens': '2.42'}
|
||||
|
||||
tempest_extra_config: >
|
||||
{
|
||||
{% if release in ['newton', 'ocata', 'pike', 'queens'] -%}
|
||||
'object-storage-feature-enabled.discoverability': 'False',
|
||||
'service_available.swift': 'False',
|
||||
'share.max_api_microversion': '{{ manila_max_api_version[release] }}',
|
||||
{%- endif -%}
|
||||
'share.multitenancy_enabled': 'False',
|
||||
'share.enable_protocols': 'cephfs',
|
||||
'share.capability_snapshot_support': 'False',
|
||||
'share.capability_create_share_from_snapshot_support': 'False',
|
||||
}
|
||||
|
||||
tempest_plugins: >-
|
||||
{%- if release in ['newton', 'ocata', 'pike'] -%}
|
||||
["python-manila-tests"]
|
||||
{%- else -%}
|
||||
["python2-manila-tests-tempest"]
|
||||
{%- endif -%}
|
@ -1,22 +0,0 @@
|
||||
undercloud_generate_service_certificate: false
|
||||
test_ping: true
|
||||
|
||||
# pacemaker settings are configured in the scenario template
|
||||
# do not set `enable_pacemaker` in the featureset
|
||||
|
||||
deployed_server: true
|
||||
composable_scenario: scenario005-multinode.yaml
|
||||
validate_template: scenario005-multinode.yaml
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
@ -1,103 +0,0 @@
|
||||
composable_scenario: multinode-containers.yaml
|
||||
composable_services: false
|
||||
|
||||
network_isolation: false
|
||||
enable_pacemaker: false
|
||||
overcloud_ipv6: false
|
||||
containerized_overcloud: true
|
||||
|
||||
containerized_undercloud: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
undercloud_custom_env_files: "{{ working_dir }}/undercloud-parameter-defaults.yaml"
|
||||
undercloud_cloud_domain: "localdomain"
|
||||
undercloud_undercloud_hostname: "undercloud.{{ undercloud_cloud_domain }}"
|
||||
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
undercloud_generate_service_certificate: false
|
||||
|
||||
# This enables the deployment of the overcloud with SSL.
|
||||
ssl_overcloud: false
|
||||
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
||||
|
||||
deployed_server: >-
|
||||
{% if release in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
deploy_steps_ansible_workflow: >-
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
config_download_args: >-
|
||||
{% if release in ['queens'] -%}
|
||||
-e /usr/share/openstack-tripleo-heat-templates/environments/config-download-environment.yaml
|
||||
--config-download
|
||||
--deployed-server
|
||||
{%- endif %}
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
-e {{ working_dir }}/config-download.yaml
|
||||
--disable-validations
|
||||
{%- endif -%}
|
||||
ephemeral_heat: "{{ (release not in ['queens', 'stein','train','ussuri','victoria']) | bool }}"
|
||||
ephemeral_heat_args: "{{ '--heat-type pod' if ephemeral_heat|bool else '' }}"
|
||||
|
||||
extra_args: >-
|
||||
{%- if release not in ['train','wallaby'] -%}
|
||||
-e /usr/share/openstack-tripleo-heat-templates/environments/auditd.yaml
|
||||
{% endif %}
|
||||
{% if release not in ['train','wallaby'] %}
|
||||
-e {{ working_dir }}/ci_custom_firewall_rules.yaml
|
||||
{% endif %}
|
||||
{%- if release not in ['train','ussuri','victoria'] -%}
|
||||
--disable-protected-resource-types
|
||||
--baremetal-deployment
|
||||
{%- endif -%}
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
test_ping: false
|
||||
|
||||
# Settings for os_tempest
|
||||
|
||||
use_os_tempest: >-
|
||||
{% if release not in ['pike', 'queens', 'stein'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
tempest_allowed_group: "featureset010"
|
||||
|
||||
# https://launchpad.net/bugs/1844446
|
||||
undercloud_enable_validations: false
|
||||
|
||||
undercloud_enable_paunch: false
|
||||
|
||||
undercloud_parameter_defaults_args: >-
|
||||
{%- if ansible_distribution in ["RedHat", "CentOS"] and ansible_distribution_major_version|int < 8 %}
|
||||
{'IronicIPXEUefiSnpOnly': 'false'}
|
||||
{%- else -%}
|
||||
{'IronicIPXEUefiSnpOnly': 'true'}
|
||||
{%- endif -%}
|
@ -1,75 +0,0 @@
|
||||
# Summary of the feature set.
|
||||
# Deploy an Openstack environment with a non-containerized overcloud,
|
||||
# and upgrade it to a containerized overcloud.
|
||||
|
||||
undercloud_setup: true
|
||||
network_isolation: false
|
||||
overcloud_ipv6: false
|
||||
|
||||
# pacemaker settings are configured in the scenario template
|
||||
# do not set `enable_pacemaker` in the featureset
|
||||
|
||||
enable_opstools_repo: true
|
||||
|
||||
# we're upgrading from non-containers to containers, so first we
|
||||
# deploy non-containerized overcloud
|
||||
containerized_overcloud: false
|
||||
containerized_overcloud_upgrade: true
|
||||
|
||||
# save time by doing a mixed upgrade
|
||||
mixed_upgrade: true
|
||||
|
||||
undercloud_generate_service_certificate: false
|
||||
|
||||
ssl_overcloud: false
|
||||
|
||||
test_ping: true
|
||||
use_os_tempest: false
|
||||
step_introspect: false
|
||||
|
||||
composable_scenario: scenario001-multinode.yaml
|
||||
upgrade_composable_scenario: scenario001-multinode-containers.yaml
|
||||
validate_template: scenario001-multinode.yaml
|
||||
deployed_server: true
|
||||
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
@ -1,73 +0,0 @@
|
||||
# Summary of the feature set.
|
||||
# Deploy an Openstack environment with a non-containerized overcloud,
|
||||
# and upgrade it to a containerized overcloud.
|
||||
|
||||
undercloud_setup: true
|
||||
network_isolation: false
|
||||
overcloud_ipv6: false
|
||||
|
||||
# pacemaker settings are configured in the scenario template
|
||||
# do not set `enable_pacemaker` in the featureset
|
||||
|
||||
# we're upgrading from non-containers to containers, so first we
|
||||
# deploy non-containerized overcloud
|
||||
containerized_overcloud: false
|
||||
containerized_overcloud_upgrade: true
|
||||
|
||||
# save time by doing a mixed upgrade
|
||||
mixed_upgrade: true
|
||||
|
||||
undercloud_generate_service_certificate: false
|
||||
|
||||
ssl_overcloud: false
|
||||
|
||||
test_ping: true
|
||||
use_os_tempest: false
|
||||
step_introspect: false
|
||||
|
||||
composable_scenario: scenario002-multinode.yaml
|
||||
upgrade_composable_scenario: scenario002-multinode-containers.yaml
|
||||
validate_template: scenario002-multinode.yaml
|
||||
deployed_server: true
|
||||
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
@ -1,73 +0,0 @@
|
||||
# Summary of the feature set.
|
||||
# Deploy an Openstack environment with a non-containerized overcloud,
|
||||
# and upgrade it to a containerized overcloud.
|
||||
|
||||
undercloud_setup: true
|
||||
network_isolation: false
|
||||
overcloud_ipv6: false
|
||||
|
||||
# pacemaker settings are configured in the scenario template
|
||||
# do not set `enable_pacemaker` in the featureset
|
||||
|
||||
# we're upgrading from non-containers to containers, so first we
|
||||
# deploy non-containerized overcloud
|
||||
containerized_overcloud: false
|
||||
containerized_overcloud_upgrade: true
|
||||
|
||||
# save time by doing a mixed upgrade
|
||||
mixed_upgrade: true
|
||||
|
||||
undercloud_generate_service_certificate: false
|
||||
|
||||
ssl_overcloud: false
|
||||
|
||||
test_ping: true
|
||||
use_os_tempest: false
|
||||
step_introspect: false
|
||||
|
||||
composable_scenario: scenario003-multinode.yaml
|
||||
upgrade_composable_scenario: scenario003-multinode-containers.yaml
|
||||
validate_template: scenario003-multinode.yaml
|
||||
deployed_server: true
|
||||
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
@ -1,73 +0,0 @@
|
||||
# Summary of the feature set.
|
||||
# Deploy an Openstack environment with a non-containerized overcloud,
|
||||
# and upgrade it to a containerized overcloud.
|
||||
|
||||
undercloud_setup: true
|
||||
network_isolation: false
|
||||
overcloud_ipv6: false
|
||||
|
||||
# pacemaker settings are configured in the scenario template
|
||||
# do not set `enable_pacemaker` in the featureset
|
||||
|
||||
# we're upgrading from non-containers to containers, so first we
|
||||
# deploy non-containerized overcloud
|
||||
containerized_overcloud: false
|
||||
containerized_overcloud_upgrade: true
|
||||
|
||||
# save time by doing a mixed upgrade
|
||||
mixed_upgrade: true
|
||||
|
||||
undercloud_generate_service_certificate: false
|
||||
|
||||
ssl_overcloud: false
|
||||
|
||||
test_ping: true
|
||||
use_os_tempest: false
|
||||
step_introspect: false
|
||||
|
||||
composable_scenario: scenario004-multinode.yaml
|
||||
upgrade_composable_scenario: scenario004-multinode-containers.yaml
|
||||
validate_template: scenario004-multinode.yaml
|
||||
deployed_server: true
|
||||
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
@ -1,138 +0,0 @@
|
||||
# Deploy an Openstack environment with a containerized overcloud
|
||||
# using scenario001
|
||||
|
||||
undercloud_setup: true
|
||||
network_isolation: false
|
||||
overcloud_ipv6: false
|
||||
|
||||
# pacemaker settings are configured in the scenario template
|
||||
# do not set `enable_pacemaker` in the featureset
|
||||
|
||||
enable_opstools_repo: true
|
||||
|
||||
containerized_overcloud: true
|
||||
undercloud_generate_service_certificate: false
|
||||
|
||||
ssl_overcloud: false
|
||||
|
||||
step_introspect: false
|
||||
|
||||
composable_scenario: scenario001-multinode-containers.yaml
|
||||
validate_template: scenario001-multinode.yaml
|
||||
|
||||
containerized_undercloud: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
undercloud_custom_env_files: "{{ working_dir }}/undercloud-parameter-defaults.yaml"
|
||||
undercloud_cloud_domain: "localdomain"
|
||||
undercloud_undercloud_hostname: "undercloud.{{ undercloud_cloud_domain }}"
|
||||
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
||||
|
||||
deployed_server: >-
|
||||
{% if release in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
deploy_steps_ansible_workflow: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
config_download_args: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
-e {{ working_dir }}/config-download.yaml
|
||||
--disable-validations
|
||||
--verbose
|
||||
{%- endif -%}
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
# Use the traditional ping test in newton and ocata
|
||||
# Run tempest in pike+
|
||||
|
||||
test_ping: >-
|
||||
{% if release in ['newton', 'ocata'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
test_white_regex: ''
|
||||
|
||||
tempest_whitelist_old:
|
||||
- 'tempest.api.identity.v3'
|
||||
- 'tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern'
|
||||
- 'ceilometer.tests.tempest.scenario.test_telemetry_integration.TestTelemetryIntegration'
|
||||
tempest_whitelist_new:
|
||||
- 'tempest.api.identity.v3'
|
||||
- 'tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern'
|
||||
- 'telemetry_tempest_plugin.scenario.test_telemetry_integration.TestTelemetryIntegration'
|
||||
tempest_whitelist: >-
|
||||
{% if release not in ['newton', 'ocata', 'pike'] -%}{{ tempest_whitelist_new }}
|
||||
{%- else -%}{{ tempest_whitelist_old }}
|
||||
{%- endif -%}
|
||||
|
||||
tempest_plugins_old:
|
||||
- python-aodh-tests
|
||||
- python-ceilometer-tests
|
||||
- python-gnocchi-tests
|
||||
- python-panko-tests
|
||||
tempest_plugins_new:
|
||||
- python-telemetry-tests-tempest
|
||||
- python-heat-tests-tempest
|
||||
tempest_plugins: >-
|
||||
{% if release not in ['newton', 'ocata', 'pike'] -%}{{ tempest_plugins_new }}
|
||||
{%- else -%}{{ tempest_plugins_old }}
|
||||
{%- endif -%}
|
||||
tempest_extra_config: {'telemetry.alarm_granularity': '60'}
|
||||
|
||||
# This is a workaround to have test_volume_boot_pattern passing, it's failing
|
||||
# due a concurrency, for more information, check lp #1742936
|
||||
tempest_workers: 1
|
@ -1,149 +0,0 @@
|
||||
# Deploy an Openstack environment with a containerized overcloud
|
||||
# using scenario002
|
||||
|
||||
undercloud_setup: true
|
||||
network_isolation: false
|
||||
overcloud_ipv6: false
|
||||
|
||||
# pacemaker settings are configured in the scenario template
|
||||
# do not set `enable_pacemaker` in the featureset
|
||||
|
||||
containerized_overcloud: true
|
||||
undercloud_generate_service_certificate: false
|
||||
|
||||
step_introspect: false
|
||||
|
||||
composable_scenario: scenario002-multinode-containers.yaml
|
||||
validate_template: scenario002-multinode.yaml
|
||||
|
||||
containerized_undercloud: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
undercloud_custom_env_files: "{{ working_dir }}/undercloud-parameter-defaults.yaml"
|
||||
undercloud_cloud_domain: "localdomain"
|
||||
undercloud_undercloud_hostname: "undercloud.{{ undercloud_cloud_domain }}"
|
||||
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
||||
|
||||
deployed_server: >-
|
||||
{% if release in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
deploy_steps_ansible_workflow: >-
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
config_download_args: >-
|
||||
{% if release in ['queens'] -%}
|
||||
-e /usr/share/openstack-tripleo-heat-templates/environments/config-download-environment.yaml
|
||||
--config-download
|
||||
--deployed-server
|
||||
{%- endif %}
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
-e {{ working_dir }}/config-download.yaml
|
||||
--disable-validations
|
||||
--verbose
|
||||
{%- endif -%}
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
# Use the traditional ping test in newton and ocata
|
||||
# Run tempest in pike+
|
||||
|
||||
test_ping: >-
|
||||
{% if release in ['newton', 'ocata'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
test_white_regex: ''
|
||||
|
||||
# TODO(emilien) run ec2api tests when ec2api is supported in python-tempestconf
|
||||
# 'ec2api.tests.functional.api.test_key_pairs.KeyPairTest'
|
||||
tempest_whitelist_new:
|
||||
- "tempest.api.object_storage.test_object_services.ObjectTest"
|
||||
- "barbican_tempest_plugin.tests.scenario.test_volume_encryption.VolumeEncryptionTest"
|
||||
- "telemetry_tempest_plugin.scenario.test_telemetry_integration.TestTelemetryIntegration"
|
||||
tempest_whitelist_old:
|
||||
- "tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern"
|
||||
- "tempest.api.object_storage.test_object_services.ObjectTest"
|
||||
tempest_whitelist: >-
|
||||
{% if release not in ['newton', 'ocata', 'pike'] -%}{{ tempest_whitelist_new }}
|
||||
{%- else -%}{{ tempest_whitelist_old }}
|
||||
{%- endif -%}
|
||||
|
||||
tempest_plugins_old:
|
||||
- python-aodh-tests
|
||||
- python-ceilometer-tests
|
||||
- python-gnocchi-tests
|
||||
- python-panko-tests
|
||||
- python-barbican-tests-tempest
|
||||
- python-zaqar-tests
|
||||
- python-ec2-api-tests
|
||||
tempest_plugins_new:
|
||||
- python-telemetry-tests-tempest
|
||||
- python-barbican-tests-tempest
|
||||
- python-zaqar-tests-tempest
|
||||
- python-ec2api-tests-tempest
|
||||
- python-heat-tests-tempest
|
||||
tempest_plugins: >-
|
||||
{% if release not in ['newton', 'ocata', 'pike'] -%}{{ tempest_plugins_new }}
|
||||
{%- else -%}{{ tempest_plugins_old }}
|
||||
{%- endif -%}
|
||||
tempest_extra_config: >-
|
||||
{% if release not in ['newton', 'ocata', 'pike'] -%}
|
||||
{'auth.tempest_roles': '"Member, creator"', 'telemetry.alarm_granularity': '60'}
|
||||
{%- endif -%}
|
||||
|
||||
# This is a workaround to have test_volume_boot_pattern passing, it's failing
|
||||
# due a concurrency, for more information, check lp 1744151
|
||||
tempest_workers: 1
|
@ -1,125 +0,0 @@
|
||||
# Deploy an Openstack environment with a containerized overcloud
|
||||
# using scenario003
|
||||
|
||||
undercloud_setup: true
|
||||
network_isolation: false
|
||||
overcloud_ipv6: false
|
||||
|
||||
# pacemaker settings are configured in the scenario template
|
||||
# do not set `enable_pacemaker` in the featureset
|
||||
|
||||
containerized_overcloud: true
|
||||
undercloud_generate_service_certificate: false
|
||||
|
||||
ssl_overcloud: false
|
||||
|
||||
step_introspect: false
|
||||
|
||||
composable_scenario: scenario003-multinode-containers.yaml
|
||||
validate_template: scenario003-multinode.yaml
|
||||
|
||||
containerized_undercloud: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
undercloud_custom_env_files: "{{ working_dir }}/undercloud-parameter-defaults.yaml"
|
||||
undercloud_cloud_domain: "localdomain"
|
||||
undercloud_undercloud_hostname: "undercloud.{{ undercloud_cloud_domain }}"
|
||||
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
||||
|
||||
deployed_server: >-
|
||||
{% if release in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
deploy_steps_ansible_workflow: >-
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
config_download_args: >-
|
||||
{% if release in ['queens'] -%}
|
||||
-e /usr/share/openstack-tripleo-heat-templates/environments/config-download-environment.yaml
|
||||
--config-download
|
||||
--deployed-server
|
||||
{%- endif %}
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
-e {{ working_dir }}/config-download.yaml
|
||||
--disable-validations
|
||||
--verbose
|
||||
{%- endif -%}
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
# Use the traditional ping test in newton and ocata
|
||||
# Run tempest in pike+
|
||||
|
||||
test_ping: >-
|
||||
{% if release in ['newton', 'ocata'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
test_white_regex: ''
|
||||
|
||||
tempest_whitelist:
|
||||
- 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'
|
||||
- 'sahara_tempest_plugin.tests.api.test_data_sources.DataSourceTest'
|
||||
- 'mistral_tempest_tests.tests.api.v2.test_actions.ActionTestsV2'
|
||||
tempest_plugins_old:
|
||||
- python-sahara-tests-tempest
|
||||
- python-mistral-tests
|
||||
tempest_plugins_new:
|
||||
- python-sahara-tests-tempest
|
||||
- python-mistral-tests-tempest
|
||||
tempest_plugins: >-
|
||||
{% if release not in ['newton', 'ocata', 'pike'] -%}{{ tempest_plugins_new }}
|
||||
{%- else -%}{{ tempest_plugins_old }}
|
||||
{%- endif -%}
|
@ -1,140 +0,0 @@
|
||||
# Deploy an Openstack environment with a containerized overcloud
|
||||
# using scenario004
|
||||
|
||||
undercloud_setup: true
|
||||
network_isolation: false
|
||||
overcloud_ipv6: false
|
||||
|
||||
# pacemaker settings are configured in the scenario template
|
||||
# do not set `enable_pacemaker` in the featureset
|
||||
|
||||
containerized_overcloud: true
|
||||
undercloud_generate_service_certificate: false
|
||||
|
||||
ssl_overcloud: false
|
||||
|
||||
step_introspect: false
|
||||
|
||||
composable_scenario: scenario004-multinode-containers.yaml
|
||||
validate_template: scenario004-multinode.yaml
|
||||
|
||||
containerized_undercloud: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
undercloud_custom_env_files: "{{ working_dir }}/undercloud-parameter-defaults.yaml"
|
||||
undercloud_cloud_domain: "localdomain"
|
||||
undercloud_undercloud_hostname: "undercloud.{{ undercloud_cloud_domain }}"
|
||||
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
||||
|
||||
deployed_server: >-
|
||||
{% if release in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
deploy_steps_ansible_workflow: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
config_download_args: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
-e {{ working_dir }}/config-download.yaml
|
||||
--disable-validations
|
||||
--verbose
|
||||
{%- endif -%}
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
# Use the traditional ping test in newton and ocata
|
||||
# Run tempest in pike+
|
||||
|
||||
test_ping: >-
|
||||
{% if release in ['newton', 'ocata'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
test_white_regex: ''
|
||||
|
||||
tempest_whitelist_old:
|
||||
- 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'
|
||||
tempest_whitelist_new:
|
||||
- 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'
|
||||
- 'manila_tempest_tests.tests.api.test_shares.SharesCephFSTest.test_create_get_delete_share'
|
||||
|
||||
# manila test is disabled in older releases as a temporary workaround for
|
||||
# https://launchpad.net/bugs/1790857
|
||||
tempest_whitelist: >-
|
||||
{% if release not in ['newton', 'ocata'] -%}{{ tempest_whitelist_new }}
|
||||
{%- else -%}{{ tempest_whitelist_old }}
|
||||
{%- endif -%}
|
||||
|
||||
manila_max_api_version: {'newton': '2.22', 'ocata': '2.32', 'pike': '2.40', 'queens': '2.42'}
|
||||
|
||||
tempest_extra_config: >
|
||||
{
|
||||
{% if release in ['newton', 'ocata', 'pike', 'queens'] -%}
|
||||
'object-storage-feature-enabled.discoverability': 'False',
|
||||
'service_available.swift': 'False',
|
||||
'share.max_api_microversion': '{{ manila_max_api_version[release] }}',
|
||||
{%- endif -%}
|
||||
'share.multitenancy_enabled': 'False',
|
||||
'share.enable_protocols': 'cephfs',
|
||||
'share.capability_snapshot_support': 'False',
|
||||
'share.capability_create_share_from_snapshot_support': 'False',
|
||||
}
|
||||
|
||||
tempest_plugins: >-
|
||||
{%- if release in ['newton', 'ocata', 'pike'] -%}
|
||||
["python-manila-tests"]
|
||||
{%- else -%}
|
||||
["python2-manila-tests-tempest"]
|
||||
{%- endif -%}
|
@ -1,263 +0,0 @@
|
||||
# Summary of the feature set.
|
||||
# Deploy an non-ha Openstack environment, introspect, and
|
||||
# ready to execute tempest tests.
|
||||
# Example of usage:
|
||||
# ./quickstart.sh -t all --retain-inventory -e \
|
||||
# @config/general_config/featureset020.yml -R tripleo-ci/consistent-master \
|
||||
# -T all $VIRTHOST
|
||||
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
undercloud_generate_service_certificate: true
|
||||
ssl_overcloud: false
|
||||
overcloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
undercloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
step_introspect: true
|
||||
|
||||
# This enables container deployements after Pike
|
||||
containerized_overcloud: >-
|
||||
{% if release in ['newton', 'ocata', 'pike'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
undercloud_check_idempotency: >-
|
||||
{% if release not in ['ocata','pike','queens'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
delete_docker_cache: true
|
||||
|
||||
containerized_undercloud: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
ctlplane_masquerade: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
undercloud_enable_routed_networks: >-
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
undercloud_clean_nodes: >-
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_inspection_extras: false
|
||||
|
||||
undercloud_custom_env_files: "{{ working_dir }}/undercloud-parameter-defaults.yaml"
|
||||
undercloud_cloud_domain: "localdomain"
|
||||
undercloud_undercloud_hostname: "undercloud.{{ undercloud_cloud_domain }}"
|
||||
|
||||
# Tell tripleo about our environment
|
||||
enable_pacemaker: true
|
||||
network_isolation: true
|
||||
network_isolation_type: "multiple-nics"
|
||||
network_isolation_args: >-
|
||||
{% if not release in ['train','ussuri','victoria'] -%}
|
||||
--networks-file {{ overcloud_templates_path }}/ci/network_data.yaml
|
||||
-e {{ working_dir }}/overcloud-networks-deployed.yaml
|
||||
-e {{ working_dir }}/overcloud-vips-deployed.yaml
|
||||
{% else %}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/network/multiple-nics/network-isolation-absolute.yaml
|
||||
{% endif %}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/network/multiple-nics/network-environment.yaml
|
||||
|
||||
# This featureset is extremely resource intensive, so we disable telemetry
|
||||
# in order to reduce the overall memory footprint
|
||||
# Disabled by default in ussuri
|
||||
telemetry_args: >-
|
||||
{% if release in ['queens', 'stein', 'train'] %}
|
||||
-e {{ overcloud_templates_path }}/environments/disable-telemetry.yaml
|
||||
{% endif %}
|
||||
|
||||
ephemeral_heat: "{{ (release not in ['train','ussuri','victoria']) | bool }}"
|
||||
ephemeral_heat_args: "{{ '--heat-type pod' if ephemeral_heat|bool else '' }}"
|
||||
|
||||
# neutron_l3_qos.yaml sets correct L3 agent's extensions to run QoS related
|
||||
# tests. It is related only to the ML2/OVS case and featureset020 runs Neutron
|
||||
# with ML2/OVS only in queens. The template doesn't apply to newer branches
|
||||
# that aren't using ovs.
|
||||
extra_args: >-
|
||||
{% if release == 'queens' -%}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/neutron_l3_qos.yaml
|
||||
{% endif %}
|
||||
{% if release in ['ussuri', 'victoria'] -%}
|
||||
--disable-validations
|
||||
{% endif %}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/neutron_dns_domain.yaml
|
||||
{% if release not in ['train','ussuri','victoria'] and
|
||||
job is defined and
|
||||
job.enable_secure_rbac is defined and
|
||||
job.enable_secure_rbac|default(false)|bool or
|
||||
enable_secure_rbac|default(false)|bool -%}
|
||||
-e {{ overcloud_templates_path }}/environments/enable-secure-rbac.yaml
|
||||
{% endif %}
|
||||
{% if release not in ['train','wallaby'] %}
|
||||
-e {{ working_dir }}/ci_custom_firewall_rules.yaml
|
||||
{% endif %}
|
||||
{% if ansible_distribution in ["RedHat"] and osp_release|default('') in ['rhos-17.1'] and ansible_distribution_major_version|int == 8 %}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/ovb-ha-parameter-for-rhel8.yaml
|
||||
{% endif %}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/ovb-ha.yaml
|
||||
{% if release not in ['train','ussuri','victoria'] %}
|
||||
--disable-protected-resource-types
|
||||
{%- endif -%}
|
||||
|
||||
# Run an undercloud without glance or nova
|
||||
undercloud_enable_nova: >-
|
||||
{% if release in ['queens','stein', 'train'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
baremetal_provision: >-
|
||||
{% if release in ['queens','stein','train'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
|
||||
# Provision composable networks prior to creating the heat stack
|
||||
network_provision: >-
|
||||
{% if release in ['train','ussuri','victoria'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
|
||||
# keep the doc gen settings at the bottom of the config file.
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- "{% if release not in ['newton', 'ocata', 'pike'] -%}overcloud-prep-containers{%- endif -%}"
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
- tempest-setup
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- "{% if release not in ['newton', 'ocata', 'pike'] -%}overcloud-prep-containers{%- endif -%}"
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
- tempest-setup
|
||||
|
||||
deploy_steps_ansible_workflow: >-
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
config_download_args: >-
|
||||
{% if release in ['queens'] -%}
|
||||
-e /usr/share/openstack-tripleo-heat-templates/environments/config-download-environment.yaml
|
||||
--config-download
|
||||
--verbose
|
||||
{%- endif -%}
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
# Tempest
|
||||
test_white_regex: '.*'
|
||||
|
||||
# Barbican plugin is here because python-tempestconf doesn't have support to
|
||||
# barbican yet.
|
||||
test_black_regex:
|
||||
- 'sahara_tempest_plugin'
|
||||
- 'manila_tempest_tests'
|
||||
- 'novajoin_tempest_plugin'
|
||||
- 'barbican_tempest_plugin'
|
||||
|
||||
test_ping: false
|
||||
# For full tempest run we need to make sure concurrency is not too high
|
||||
tempest_workers: 3
|
||||
|
||||
# os_tempest setting
|
||||
# Settings for os_tempest
|
||||
|
||||
use_os_tempest: >-
|
||||
{% if release not in ['pike', 'queens', 'stein'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
# It will create a public network name 'public' using os_tempest
|
||||
tempest_interface_name: public
|
||||
|
||||
# In order to have a public network with external connectivity, we need to use
|
||||
# flat network type
|
||||
tempest_public_net_provider_type: flat
|
||||
|
||||
# It is the physical network name through which public network will be created
|
||||
# having connectivity with external world.
|
||||
tempest_public_net_physical_name: datacentre
|
||||
|
||||
# Setting the tempest_cidr as it is required while creating public subnet from which
|
||||
# floating IPs gets assigned
|
||||
tempest_cidr: '10.0.0.0/24'
|
||||
|
||||
tempest_private_net_seg_id: ''
|
||||
|
||||
tempest_install_method: distro
|
||||
|
||||
# Having tempest_network_ping_gateway set to true allows to ping any of the IP from
|
||||
# router to find out network related issue in the deployment early
|
||||
tempest_network_ping_gateway: true
|
||||
|
||||
# It is the python-tempestconf profile which also consumes tempest-deployer-input file
|
||||
tempest_tempestconf_profile:
|
||||
debug: true
|
||||
create: true
|
||||
deployer-input: "{{ ansible_user_dir }}/tempest-deployer-input.conf"
|
||||
os-cloud: "{{ tempest_cloud_name }}"
|
||||
out: "{{ tempest_workspace }}/etc/tempest.conf"
|
||||
network-id: "{{ tempest_neutron_public_network_id }}"
|
||||
overrides: "{{ tempest_tempest_conf_overrides | default({}) | combine(tempest_tempestconf_profile_overrides | default({}), recursive=True) }}"
|
||||
|
||||
tempest_allowed_group_check: 'featureset020'
|
||||
tempest_allowed_group_periodic: 'featureset020_periodic'
|
||||
|
||||
# featureset 20 **periodic** runs scenario but no api tempest tests
|
||||
# See https://tree.taiga.io/project/tripleo-ci-board/task/1383
|
||||
tempest_allowed_group: >-
|
||||
{% if ('periodic' in zuul.pipeline and not job.force_non_periodic|default(false)|bool) or (job.force_periodic|default(false)|bool) -%}
|
||||
{{ tempest_allowed_group_periodic }}
|
||||
{%- else -%}
|
||||
{{ tempest_allowed_group_check }}
|
||||
{%- endif -%}
|
||||
|
||||
# Set tempest concurrency
|
||||
# Only in this particular featureset we are setting concurrency to 4 because it
|
||||
# runs full tempest and it's timeing out. Usually we set concurrency to 2
|
||||
tempest_run_concurrency: 4
|
||||
|
||||
# List of tempest plugins to install
|
||||
tempest_services:
|
||||
- cinder
|
||||
- neutron
|
@ -1,220 +0,0 @@
|
||||
# Summary of the feature set.
|
||||
# Deploy an non-ha Openstack environment, without SSL, introspect, and
|
||||
# ready to execute tempest tests.
|
||||
# Example of usage:
|
||||
# ./quickstart.sh -t all --retain-inventory -c \
|
||||
# @config/general_config/featureset021.yml -R tripleo-ci/consistent-master \
|
||||
# -T all $VIRTHOST
|
||||
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
undercloud_generate_service_certificate: true
|
||||
ssl_overcloud: false
|
||||
overcloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
undercloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
step_introspect: true
|
||||
|
||||
# This enables container deployements after Pike
|
||||
containerized_overcloud: >-
|
||||
{% if release in ['newton', 'ocata', 'pike'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
delete_docker_cache: true
|
||||
|
||||
containerized_undercloud: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
ctlplane_masquerade: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
undercloud_enable_routed_networks: >-
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
undercloud_clean_nodes: >-
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_inspection_extras: false
|
||||
|
||||
undercloud_custom_env_files: "{{ working_dir }}/undercloud-parameter-defaults.yaml"
|
||||
undercloud_cloud_domain: "localdomain"
|
||||
undercloud_undercloud_hostname: "undercloud.{{ undercloud_cloud_domain }}"
|
||||
undercloud_resource_registry_args:
|
||||
"OS::TripleO::Undercloud::Net::SoftwareConfig": "{{ undercloud_templates_path }}/net-config-undercloud.yaml"
|
||||
|
||||
# Tell tripleo about our environment
|
||||
enable_pacemaker: true
|
||||
network_isolation: true
|
||||
network_isolation_type: "multiple-nics"
|
||||
network_isolation_args: >-
|
||||
-e {{ overcloud_templates_path }}/ci/environments/network/multiple-nics/network-isolation-absolute.yaml
|
||||
-e {{ overcloud_templates_path }}/ci/environments/network/multiple-nics/network-environment.yaml
|
||||
|
||||
# This featureset is extremely resource intensive, so we disable telemetry
|
||||
# in order to reduce the overall memory footprint
|
||||
# Disabled by default in ussuri
|
||||
telemetry_args: >-
|
||||
{% if release in ['queens', 'stein', 'train'] %}
|
||||
-e {{ overcloud_templates_path }}/environments/disable-telemetry.yaml
|
||||
{% endif %}
|
||||
|
||||
extra_args: ''
|
||||
|
||||
# keep the doc gen settings at the bottom of the config file.
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- "{% if release not in ['newton', 'ocata', 'pike'] -%}overcloud-prep-containers{%- endif -%}"
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
- tempest-setup
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- "{% if release not in ['newton', 'ocata', 'pike'] -%}overcloud-prep-containers{%- endif -%}"
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
- tempest-setup
|
||||
|
||||
deploy_steps_ansible_workflow: >-
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
config_download_args: >-
|
||||
{% if release in ['queens'] -%}
|
||||
-e /usr/share/openstack-tripleo-heat-templates/environments/config-download-environment.yaml
|
||||
--config-download
|
||||
--verbose
|
||||
{%- endif -%}
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
# Tempest
|
||||
|
||||
# Featureset 021 is a special case where we do not run full tempest
|
||||
# but just the tests on skiplist
|
||||
|
||||
skip_test_file: "{{ playbook_dir | dirname }}/vars/tempest_skip_{{ release | default('master') }}.yml"
|
||||
skip_list_tests: "{{ lookup('file', skip_test_file) | from_yaml }}"
|
||||
|
||||
# This filter the known_failures where the undercloud value is not true
|
||||
# and return a list
|
||||
tempest_whitelist: "{{ skip_list_tests.known_failures | json_query('[?undercloud != `true`].test') }}"
|
||||
|
||||
# Need to set test_white_regex to empty, otherwise it gets the default value that is '(smoke)'
|
||||
test_white_regex: ''
|
||||
test_black_regex:
|
||||
- 'sahara_tempest_plugin'
|
||||
- 'manila_tempest_tests'
|
||||
- 'patrole_tempest_plugin'
|
||||
- 'zaqar_tempest_plugin'
|
||||
- 'watcher_tempest_plugin'
|
||||
- 'vitrage_tempest_plugin'
|
||||
- 'trove_tempest_plugin'
|
||||
- 'tripleo_common_tempest_plugin'
|
||||
- 'tempest_horizon'
|
||||
- 'octavia_tempest_plugin'
|
||||
- 'novajoin_tempest_plugin'
|
||||
- 'murano_tempest_tests'
|
||||
- 'mistral_tempest_tests'
|
||||
- 'magnum_tempest_plugin'
|
||||
- 'kuryr_tempest_plugin'
|
||||
- 'ironic_tempest_plugin'
|
||||
- 'heat_tempest_plugin'
|
||||
- 'designate_tempest_plugin'
|
||||
- 'congress_tempest_plugin'
|
||||
- 'barbican_tempest_plugin'
|
||||
- 'ec2api_tempest_plugin'
|
||||
test_ping: false
|
||||
# Run tempest without skip file
|
||||
skip_file_src: ''
|
||||
# For full tempest run we need to make sure concurrency is not too high
|
||||
tempest_workers: 3
|
||||
|
||||
# Settings specific to os_tempest
|
||||
# Settings for os_tempest
|
||||
use_os_tempest: >-
|
||||
{% if release not in ['pike', 'queens', 'stein'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
# It will create a public network name 'public' using os_tempest
|
||||
tempest_interface_name: public
|
||||
|
||||
# In order to have a public network with external connectivity, we need to use
|
||||
# flat network type
|
||||
tempest_public_net_provider_type: flat
|
||||
|
||||
# It is the physical network name through which public network will be created
|
||||
# having connectivity with external world.
|
||||
tempest_public_net_physical_name: datacentre
|
||||
|
||||
# Setting the tempest_cidr as it is required while creating public subnet from which
|
||||
# floating IPs gets assigned
|
||||
tempest_cidr: '10.0.0.0/24'
|
||||
|
||||
tempest_private_net_seg_id: ''
|
||||
|
||||
tempest_install_method: distro
|
||||
|
||||
# Having tempest_network_ping_gateway set to true allows to ping any of the IP from
|
||||
# router to find out network related issue in the deployment early
|
||||
tempest_network_ping_gateway: true
|
||||
|
||||
# It is the python-tempestconf profile which also consumes tempest-deployer-input file
|
||||
tempest_tempestconf_profile:
|
||||
debug: true
|
||||
create: true
|
||||
deployer-input: "{{ ansible_user_dir }}/tempest-deployer-input.conf"
|
||||
os-cloud: "{{ tempest_cloud_name }}"
|
||||
out: "{{ tempest_workspace }}/etc/tempest.conf"
|
||||
network-id: "{{ tempest_neutron_public_network_id }}"
|
||||
overrides: "{{ tempest_tempest_conf_overrides | default({}) | combine(tempest_tempestconf_profile_overrides | default({}), recursive=True) }}"
|
||||
|
||||
# Run skiplist as whitelist
|
||||
tempest_test_whitelist: "{{ tempest_whitelist }}"
|
||||
|
||||
# Keeping the blacklist list empty
|
||||
tempest_test_blacklist: ""
|
||||
|
||||
# Set tempest concurrency
|
||||
tempest_run_concurrency: 3
|
||||
|
||||
# List of tempest plugins to install
|
||||
tempest_services:
|
||||
- cinder
|
||||
- neutron
|
||||
|
||||
# Install the latest unlreleased packages from CentOS
|
||||
enable_centos_cr_repo: true
|
@ -1,56 +0,0 @@
|
||||
# Containers settings
|
||||
containerized_overcloud: true
|
||||
# Workaround for limited disk space on undercloud
|
||||
# https://bugs.launchpad.net/tripleo/+bug/1694709
|
||||
delete_docker_cache: true
|
||||
# TripleO settings
|
||||
ssl_overcloud: false
|
||||
undercloud_generate_service_certificate: true
|
||||
step_introspect: true
|
||||
|
||||
# This featureset is extremely resource intensive, so we disable telemetry
|
||||
# in order to reduce the overall memory footprint
|
||||
# Disabled by default in ussuri
|
||||
telemetry_args: >-
|
||||
{% if release in ['queens', 'stein', 'train'] %}
|
||||
-e {{ overcloud_templates_path }}/environments/disable-telemetry.yaml
|
||||
{% endif %}
|
||||
|
||||
# Network settings
|
||||
enable_pacemaker: false
|
||||
network_isolation: false
|
||||
overcloud_ipv6: false
|
||||
test_ping: true
|
||||
use_os_tempest: false
|
||||
|
||||
# Tell tripleo how we want things done.
|
||||
# Note: The order of the templates and arguments passed to heat matters.
|
||||
|
||||
extra_args: ''
|
||||
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
@ -1,8 +0,0 @@
|
||||
undercloud_generate_service_certificate: false
|
||||
ssl_overcloud: false
|
||||
step_overcloud_image: true
|
||||
step_glance_upload: false
|
||||
test_ping: false
|
||||
use_os_tempest: false
|
||||
undercloud_cloud_domain: "localdomain"
|
||||
undercloud_undercloud_hostname: "undercloud.{{ undercloud_cloud_domain }}"
|
@ -1,63 +0,0 @@
|
||||
# Summary of the feature set.
|
||||
# Deploy an Openstack environment with ssl undercloud, introspect, and use network isolation
|
||||
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
undercloud_generate_service_certificate: true
|
||||
ssl_overcloud: false
|
||||
overcloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
step_introspect: true
|
||||
|
||||
# Tell tripleo about our environment.
|
||||
# network_environment_file: ovb-multiple-nics-v6.yaml
|
||||
overcloud_ipv6: true
|
||||
enable_pacemaker: true
|
||||
network_isolation: true
|
||||
network_isolation_type: "multiple-nics"
|
||||
network_isolation_args: >-
|
||||
-e {{ overcloud_templates_path }}/environments/network-isolation-v6.yaml
|
||||
-e {{ overcloud_templates_path }}/ci/environments/network/multiple-nics-ipv6/network-environment.yaml
|
||||
|
||||
# This featureset is extremely resource intensive, so we disable telemetry
|
||||
# in order to reduce the overall memory footprint
|
||||
# Disabled by default in ussuri
|
||||
telemetry_args: >-
|
||||
{% if release in ['queens', 'stein', 'train'] %}
|
||||
-e {{ overcloud_templates_path }}/environments/disable-telemetry.yaml
|
||||
{% endif %}
|
||||
|
||||
extra_args: >-
|
||||
{% if release in ['newton'] %}
|
||||
-e {{ overcloud_templates_path }}/environments/storage-environment.yaml
|
||||
{% else %}
|
||||
-e {{ overcloud_templates_path }}/environments/puppet-ceph.yaml
|
||||
{% endif %}
|
||||
{% if release not in ['newton', 'ocata'] %}-e {{ overcloud_templates_path }}/ci/environments/ceph-min-osds.yaml{% endif %}
|
||||
test_ping: true
|
||||
|
||||
use_os_tempest: false
|
||||
# keep the doc gen settings at the bottom of the config file.
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
@ -1,56 +0,0 @@
|
||||
# Summary of the feature set.
|
||||
# Deploy an Openstack environment with ssl undercloud, introspect, and use network isolation
|
||||
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
undercloud_generate_service_certificate: true
|
||||
ssl_overcloud: true
|
||||
overcloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
step_introspect: true
|
||||
undercloud_heat_convergence: true
|
||||
|
||||
# Tell tripleo about our environment.
|
||||
enable_pacemaker: true
|
||||
network_isolation: true
|
||||
network_isolation_type: "multiple-nics"
|
||||
network_isolation_args: >-
|
||||
-e {{ overcloud_templates_path }}/ci/environments/network/multiple-nics/network-isolation-absolute.yaml
|
||||
-e {{ overcloud_templates_path }}/ci/environments/network/multiple-nics/network-environment.yaml
|
||||
|
||||
# This featureset is extremely resource intensive, so we disable telemetry
|
||||
# in order to reduce the overall memory footprint
|
||||
# Disabled by default from ussuri
|
||||
telemetry_args: >-
|
||||
{% if release in ['queens', 'stein', 'train'] %}
|
||||
-e {{ overcloud_templates_path }}/environments/disable-telemetry.yaml
|
||||
{% endif %}
|
||||
|
||||
extra_args: ''
|
||||
test_ping: true
|
||||
|
||||
use_os_tempest: false
|
||||
# keep the doc gen settings at the bottom of the config file.
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
@ -1,63 +0,0 @@
|
||||
composable_scenario: scenario006-multinode.yaml
|
||||
deployed_server: true
|
||||
|
||||
network_isolation: false
|
||||
enable_pacemaker: false
|
||||
overcloud_ipv6: false
|
||||
containerized_overcloud: true
|
||||
deploy_steps_ansible_workflow: true
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
undercloud_generate_service_certificate: false
|
||||
|
||||
# This enables the deployment of the overcloud with SSL.
|
||||
ssl_overcloud: false
|
||||
|
||||
extra_args: ''
|
||||
|
||||
container_args: >-
|
||||
{% if release in ['pike','queens'] -%}
|
||||
-e {{ overcloud_templates_path }}/environments/docker.yaml
|
||||
{%- endif -%}
|
||||
{% if release in ['ocata', 'pike', 'queens'] %}
|
||||
-e {{ working_dir }}/containers-default-parameters.yaml
|
||||
{% else %}
|
||||
-e {{ working_dir }}/containers-prepare-parameter.yaml
|
||||
{% endif %}
|
||||
-e {{ overcloud_templates_path }}/environments/kubernetes.yaml
|
||||
|
||||
config_download_args: >-
|
||||
{% if release in ['queens'] -%}
|
||||
-e /usr/share/openstack-tripleo-heat-templates/environments/config-download-environment.yaml
|
||||
--config-download
|
||||
--deployed-server
|
||||
{%- endif %}
|
||||
-e {{ working_dir }}/config-download.yaml
|
||||
--disable-validations
|
||||
--verbose
|
||||
|
||||
test_ping: false
|
||||
use_os_tempest: false
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
||||
- name: Compute
|
||||
CountDefault: 0
|
||||
tags:
|
||||
- compute
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
@ -1,108 +0,0 @@
|
||||
# EXPERIMENTAL FEATURE
|
||||
|
||||
# Tell tripleo how we want things done.
|
||||
# Note: The order of the templates and arguments passed to heat matters.
|
||||
|
||||
extra_args: ''
|
||||
|
||||
network_isolation: false
|
||||
enable_pacemaker: false
|
||||
overcloud_ipv6: false
|
||||
undercloud_check_sanity: true
|
||||
|
||||
# containers config
|
||||
containerized_overcloud: false
|
||||
containerized_undercloud: true
|
||||
undercloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
undercloud_custom_env_files: "{{ working_dir }}/undercloud-parameter-defaults.yaml"
|
||||
# Prevent regression as described in https://bugs.launchpad.net/tripleo/+bug/1869360
|
||||
undercloud_cloud_domain: "localDomain"
|
||||
undercloud_undercloud_hostname: "underCloud.{{ undercloud_cloud_domain }}"
|
||||
undercloud_undercloud_public_host: "{{ ansible_hostname }}-unique"
|
||||
tripleo_set_unique_hostname: true
|
||||
|
||||
# turn off image prep
|
||||
step_overcloud_image: false
|
||||
step_glance_upload: false
|
||||
step_register: false
|
||||
step_root_device_size: false
|
||||
step_root_device_hints: false
|
||||
step_introspect: false
|
||||
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
undercloud_generate_service_certificate: true
|
||||
undercloud_enable_swift_encryption: true
|
||||
|
||||
# This enables the deployment of the overcloud with SSL.
|
||||
ssl_overcloud: false
|
||||
|
||||
# tripleo-ui is not working yet
|
||||
enable_port_forward_for_tripleo_ui: false
|
||||
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-deploy
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- tempest-setup
|
||||
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-deploy
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- tempest-setup
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
test_ping: false
|
||||
# os_tempest configuration
|
||||
|
||||
use_os_tempest: >-
|
||||
{% if release in ['train', 'ussuri', 'victoria', 'wallaby'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
ephemeral_heat: "{{ (release not in ['train','ussuri','victoria']) | bool }}"
|
||||
|
||||
tempest_install_method: distro
|
||||
tempest_cloud_name: 'undercloud'
|
||||
# Enable neutron service to create public network
|
||||
tempest_service_available_neutron: true
|
||||
# Do not create private network and router on undercloud
|
||||
tempest_private_net_create: false
|
||||
tempest_router_create: false
|
||||
|
||||
tempest_allowed_group: "featureset027"
|
||||
test_regex: ''
|
||||
|
||||
# Run an undercloud without glance or nova
|
||||
undercloud_enable_nova: >-
|
||||
{% if release in ['train'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
# Enable mistral tempest plugin
|
||||
tempest_service_available_mistral: >-
|
||||
{% if lookup('env', 'ZUUL_PROJECT') == "openstack/mistral" -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
|
||||
tempest_undercloud: true
|
||||
tempest_overcloud: false
|
||||
|
||||
undercloud_enable_paunch: false
|
@ -1,49 +0,0 @@
|
||||
# Summary of the feature set.
|
||||
# Deploy an Openstack environment with OVN configured in the overcloud
|
||||
composable_scenario: scenario007-multinode.yaml
|
||||
validate_template: scenario007-multinode.yaml
|
||||
deployed_server: true
|
||||
|
||||
network_isolation: false
|
||||
enable_pacemaker: true
|
||||
overcloud_ipv6: false
|
||||
containerized_overcloud: false
|
||||
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
undercloud_generate_service_certificate: false
|
||||
|
||||
# This enables the deployment of the overcloud with SSL.
|
||||
ssl_overcloud: false
|
||||
|
||||
# This featureset is extremely resource intensive, so we disable telemetry
|
||||
# in order to reduce the overall memory footprint
|
||||
# Disabled by default from ussuri
|
||||
telemetry_args: >-
|
||||
{% if release in ['queens', 'stein', 'train'] %}
|
||||
-e {{ overcloud_templates_path }}/environments/disable-telemetry.yaml
|
||||
{% endif %}
|
||||
|
||||
extra_args: >-
|
||||
-e {{ overcloud_templates_path }}/environments/services/neutron-ovn-non-dvr-ha.yaml
|
||||
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
|
||||
test_ping: false
|
||||
test_white_regex: ''
|
||||
tempest_whitelist:
|
||||
- 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'
|
@ -1,136 +0,0 @@
|
||||
# Summary of the feature set.
|
||||
# Deploy an Openstack environment with OVS configured in the containerized overcloud
|
||||
composable_scenario: scenario007-multinode-containers.yaml
|
||||
validate_template: scenario007-multinode.yaml
|
||||
|
||||
network_isolation: false
|
||||
enable_pacemaker: true
|
||||
overcloud_ipv6: false
|
||||
containerized_overcloud: true
|
||||
|
||||
containerized_undercloud: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
undercloud_custom_env_files: "{{ working_dir }}/undercloud-parameter-defaults.yaml"
|
||||
undercloud_cloud_domain: "localdomain"
|
||||
undercloud_undercloud_hostname: "undercloud.{{ undercloud_cloud_domain }}"
|
||||
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
undercloud_generate_service_certificate: false
|
||||
|
||||
# This enables the deployment of the overcloud with SSL.
|
||||
ssl_overcloud: false
|
||||
|
||||
# This featureset is extremely resource intensive, so we disable telemetry
|
||||
# in order to reduce the overall memory footprint
|
||||
# Disabled by default in ussuri
|
||||
telemetry_args: >-
|
||||
{% if release in ['queens', 'stein', 'train'] %}
|
||||
-e {{ overcloud_templates_path }}/environments/disable-telemetry.yaml
|
||||
{% endif %}
|
||||
|
||||
extra_args: >-
|
||||
-e {{ overcloud_templates_path }}/environments/services/neutron-ovs.yaml
|
||||
{% if release not in ['train','wallaby'] %}
|
||||
-e {{ working_dir }}/ci_custom_firewall_rules.yaml
|
||||
{% endif %}
|
||||
{% if release not in ['train','ussuri','victoria'] -%}
|
||||
--disable-protected-resource-types
|
||||
--baremetal-deployment
|
||||
{%- endif -%}
|
||||
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
||||
|
||||
deployed_server: >-
|
||||
{% if release in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
deploy_steps_ansible_workflow: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
config_download_args: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
-e {{ working_dir }}/config-download.yaml
|
||||
--disable-validations
|
||||
--verbose
|
||||
{%- endif -%}
|
||||
|
||||
ephemeral_heat: "{{ (release not in ['train','ussuri','victoria']) | bool }}"
|
||||
ephemeral_heat_args: "{{ '--heat-type pod' if ephemeral_heat|bool else '' }}"
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
|
||||
tempest_config: true
|
||||
test_ping: false
|
||||
test_white_regex: ''
|
||||
overcloud_container_cli: >-
|
||||
{%- if ansible_distribution in ["RedHat", "CentOS"] and ansible_distribution_major_version|int >= 8 %}podman
|
||||
{%- else %}docker{% endif -%}
|
||||
|
||||
# os_tempest setting
|
||||
# Settings for os_tempest
|
||||
|
||||
use_os_tempest: >-
|
||||
{% if release not in ['pike', 'queens', 'stein'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
# It will create a public network name 'public' using os_tempest
|
||||
tempest_interface_name: public
|
||||
|
||||
# In order to have a public network with external connectivity, we need to use
|
||||
# flat network type
|
||||
tempest_public_net_provider_type: flat
|
||||
tempest_private_net_provider_type: "vlan"
|
||||
# It is the physical network name through which public network will be created
|
||||
# having connectivity with external world.
|
||||
tempest_public_net_physical_name: datacentre
|
||||
|
||||
# Setting the tempest_cidr as it is required while creating public subnet from which
|
||||
# floating IPs gets assigned
|
||||
tempest_cidr: '192.168.24.0/24'
|
||||
|
||||
tempest_private_net_seg_id: ''
|
||||
|
||||
tempest_install_method: distro
|
||||
|
||||
# Having tempest_network_ping_gateway set to true allows to ping any of the IP from
|
||||
# router to find out network related issue in the deployment early
|
||||
tempest_network_ping_gateway: true
|
||||
|
||||
# It is the python-tempestconf profile which also consumes tempest-deployer-input file
|
||||
tempest_tempestconf_profile:
|
||||
debug: true
|
||||
create: true
|
||||
deployer-input: "{{ ansible_user_dir }}/tempest-deployer-input.conf"
|
||||
os-cloud: "{{ tempest_cloud_name }}"
|
||||
out: "{{ tempest_workspace }}/etc/tempest.conf"
|
||||
network-id: "{{ tempest_neutron_public_network_id }}"
|
||||
overrides: "{{ tempest_tempest_conf_overrides | default({}) | combine(tempest_tempestconf_profile_overrides | default({}), recursive=True) }}"
|
||||
|
||||
tempest_allowed_group: "featureset030"
|
@ -1,65 +0,0 @@
|
||||
# Summary of the feature set.
|
||||
# Deploy an Openstack environment with opnfv configured in the overcloud
|
||||
composable_scenario: scenario008-multinode-containers.yaml
|
||||
validate_template: scenario008-multinode-containers.yaml
|
||||
|
||||
network_isolation: false
|
||||
enable_pacemaker: false
|
||||
overcloud_ipv6: false
|
||||
containerized_overcloud: true
|
||||
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
undercloud_generate_service_certificate: false
|
||||
|
||||
# This enables the deployment of the overcloud with SSL.
|
||||
ssl_overcloud: false
|
||||
|
||||
# This featureset is extremely resource intensive, so we disable telemetry
|
||||
# in order to reduce the overall memory footprint
|
||||
# Disabled by default from ussuri
|
||||
telemetry_args: >-
|
||||
{% if release in ['queens', 'stein', 'train'] %}
|
||||
-e {{ overcloud_templates_path }}/environments/disable-telemetry.yaml
|
||||
{% endif %}
|
||||
|
||||
extra_args: >-
|
||||
-e {{ overcloud_templates_path }}/environments/services/neutron-opendaylight.yaml
|
||||
|
||||
# Add ODL Repo
|
||||
add_repos:
|
||||
- type: generic
|
||||
filename: opendaylight.repo
|
||||
reponame: opendaylight
|
||||
baseurl: https://nexus.opendaylight.org/content/repositories/opendaylight-oxygen-epel-7-\$basearch-devel/
|
||||
|
||||
deployed_server: >-
|
||||
{% if release in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
deploy_steps_ansible_workflow: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
config_download_args: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
-e {{ working_dir }}/config-download.yaml
|
||||
--disable-validations
|
||||
--verbose
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
undercloud_custom_env_files: "{{ working_dir }}/undercloud-parameter-defaults.yaml"
|
||||
undercloud_cloud_domain: "localdomain"
|
||||
undercloud_undercloud_hostname: "undercloud.{{ undercloud_cloud_domain }}"
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
|
||||
test_ping: false
|
||||
test_white_regex: ''
|
||||
tempest_whitelist:
|
||||
- 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'
|
@ -1,62 +0,0 @@
|
||||
# Featureset for deploying a 2 controller setup using the deployed server
|
||||
# method
|
||||
composable_services: false
|
||||
|
||||
network_isolation: false
|
||||
enable_pacemaker: true
|
||||
overcloud_ipv6: false
|
||||
containerized_overcloud: true
|
||||
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
undercloud_generate_service_certificate: false
|
||||
|
||||
# This enables the deployment of the overcloud with SSL.
|
||||
ssl_overcloud: false
|
||||
|
||||
composable_roles: false
|
||||
|
||||
# Note(trown): The tripleo-ci repo is used here because we do not yet support
|
||||
# deployed server on libvirt. We will want to move any heat environments we
|
||||
# use from the tripleo-ci repo to the tripleo-heat-templates repo when we add
|
||||
# support for deployed server deployments on libvirt.
|
||||
multinode_args: >-
|
||||
-e {{ overcloud_templates_path }}/environments/deployed-server-environment.yaml
|
||||
-e {{ overcloud_templates_path }}/ci/environments/multinode-3nodes-registry.yaml
|
||||
-r {{ overcloud_templates_path }}/ci/environments/multinode-3nodes.yaml
|
||||
--overcloud-ssh-user {{ undercloud_user }}
|
||||
|
||||
deploy_steps_ansible_workflow: >-
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
config_download_args: >-
|
||||
{% if release in ['queens'] -%}
|
||||
-e /usr/share/openstack-tripleo-heat-templates/environments/config-download-environment.yaml
|
||||
--config-download
|
||||
--deployed-server
|
||||
{%- endif %}
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
-e {{ working_dir }}/config-download.yaml
|
||||
--disable-validations
|
||||
--verbose
|
||||
{%- endif -%}
|
||||
|
||||
containerized_undercloud: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
undercloud_custom_env_files: "{{ working_dir }}/undercloud-parameter-defaults.yaml"
|
||||
undercloud_cloud_domain: "localdomain"
|
||||
undercloud_undercloud_hostname: "undercloud.{{ undercloud_cloud_domain }}"
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
|
||||
test_ping: false
|
||||
test_white_regex: 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'
|
@ -1,101 +0,0 @@
|
||||
composable_scenario: scenario009-multinode.yaml
|
||||
deployed_server: true
|
||||
|
||||
network_isolation: false
|
||||
enable_pacemaker: false
|
||||
overcloud_ipv6: false
|
||||
containerized_undercloud: true
|
||||
containerized_overcloud: true
|
||||
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
undercloud_generate_service_certificate: false
|
||||
undercloud_enable_validations: false
|
||||
|
||||
# This enables the deployment of the overcloud with SSL.
|
||||
ssl_overcloud: false
|
||||
|
||||
# Centos Virt-SIG repo for atomic package
|
||||
add_repos:
|
||||
# NOTE(trown) The atomic package from centos-extras does not work for
|
||||
# us but its version is higher than the one from the virt-sig. Hence,
|
||||
# using priorities to ensure we get the virt-sig package.
|
||||
- type: package
|
||||
pkg_name: yum-plugin-priorities
|
||||
- type: generic
|
||||
reponame: quickstart-centos-paas
|
||||
filename: quickstart-centos-paas.repo
|
||||
baseurl: https://buildlogs.centos.org/centos/7/paas/x86_64/openshift-origin311/
|
||||
- type: generic
|
||||
reponame: quickstart-centos-virt-container
|
||||
filename: quickstart-centos-virt-container.repo
|
||||
baseurl: https://buildlogs.centos.org/centos/7/virt/x86_64/container/
|
||||
includepkgs:
|
||||
- atomic
|
||||
priority: 1
|
||||
|
||||
extra_args: ''
|
||||
|
||||
container_args: >-
|
||||
{% if release in ['pike','queens'] -%}
|
||||
-e {{ overcloud_templates_path }}/environments/docker.yaml
|
||||
{%- endif -%}
|
||||
{% if release in ['ocata', 'pike', 'queens'] %}
|
||||
-e {{ working_dir }}/containers-default-parameters.yaml
|
||||
{% else %}
|
||||
-e {{ working_dir }}/containers-prepare-parameter.yaml
|
||||
{% endif %}
|
||||
-e {{ overcloud_templates_path }}/environments/openshift.yaml
|
||||
|
||||
# NOTE(mandre) use container images mirrored on the dockerhub to take advantage
|
||||
# of the proxy setup by openstack infra
|
||||
docker_openshift_etcd_namespace: docker.io/tripleomaster
|
||||
docker_openshift_cluster_monitoring_namespace: docker.io/tripleomaster
|
||||
docker_openshift_cluster_monitoring_image: coreos-cluster-monitoring-operator
|
||||
docker_openshift_configmap_reload_namespace: docker.io/tripleomaster
|
||||
docker_openshift_configmap_reload_image: coreos-configmap-reload
|
||||
docker_openshift_prometheus_operator_namespace: docker.io/tripleomaster
|
||||
docker_openshift_prometheus_operator_image: coreos-prometheus-operator
|
||||
docker_openshift_prometheus_config_reload_namespace: docker.io/tripleomaster
|
||||
docker_openshift_prometheus_config_reload_image: coreos-prometheus-config-reloader
|
||||
docker_openshift_kube_rbac_proxy_namespace: docker.io/tripleomaster
|
||||
docker_openshift_kube_rbac_proxy_image: coreos-kube-rbac-proxy
|
||||
docker_openshift_kube_state_metrics_namespace: docker.io/tripleomaster
|
||||
docker_openshift_kube_state_metrics_image: coreos-kube-state-metrics
|
||||
|
||||
deploy_steps_ansible_workflow: true
|
||||
config_download_args: >-
|
||||
-e {{ working_dir }}/config-download.yaml
|
||||
--disable-validations
|
||||
--verbose
|
||||
|
||||
composable_roles: true
|
||||
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
||||
- name: Compute
|
||||
CountDefault: 0
|
||||
tags:
|
||||
- compute
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
|
||||
tempest_config: false
|
||||
test_ping: false
|
||||
use_os_tempest: false
|
@ -1,216 +0,0 @@
|
||||
# Summary of the feature set.
|
||||
# Deploy an Openstack environment with ssl undercloud, introspect, and use network isolation
|
||||
# Note, this is the same featureset as 001 but it deploys IPV6
|
||||
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
undercloud_generate_service_certificate: true
|
||||
ssl_overcloud: true
|
||||
overcloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
undercloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
step_introspect: true
|
||||
containerized_overcloud: true
|
||||
delete_docker_cache: true
|
||||
|
||||
containerized_undercloud: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
ctlplane_masquerade: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_enable_routed_networks: >-
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_clean_nodes: >-
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_inspection_extras: false
|
||||
|
||||
undercloud_custom_env_files: "{{ working_dir }}/undercloud-parameter-defaults.yaml"
|
||||
undercloud_cloud_domain: "localdomain"
|
||||
undercloud_undercloud_hostname: "undercloud.{{ undercloud_cloud_domain }}"
|
||||
|
||||
ephemeral_heat: "{{ (release not in ['train','ussuri','victoria']) | bool }}"
|
||||
ephemeral_heat_args: "{{ '--heat-type pod' if ephemeral_heat|bool else '' }}"
|
||||
|
||||
# Tell tripleo about our environment.
|
||||
overcloud_ipv6: true
|
||||
enable_pacemaker: true
|
||||
network_isolation: true
|
||||
network_isolation_type: "multiple-nics"
|
||||
network_data_yaml: "{{ overcloud_templates_path }}/ci/network_data_v6.yaml"
|
||||
vip_data_yaml: "{{ overcloud_templates_path }}/ci/vip_data_v6.yaml"
|
||||
network_isolation_args: >-
|
||||
{% if not release in ['train','ussuri','victoria'] -%}
|
||||
--networks-file {{ overcloud_templates_path }}/ci/network_data_v6.yaml
|
||||
--vip-file {{ overcloud_templates_path }}/ci/vip_data_v6.yaml
|
||||
-e {{ working_dir }}/overcloud-networks-deployed.yaml
|
||||
-e {{ working_dir }}/overcloud-vips-deployed.yaml
|
||||
{%else%}
|
||||
-e {{ overcloud_templates_path }}/environments/network-isolation-v6.yaml
|
||||
{% endif %}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/network/multiple-nics-ipv6/network-environment.yaml
|
||||
-e {{ working_dir }}/network-environment.yaml
|
||||
|
||||
# This featureset is extremely resource intensive, so we disable telemetry
|
||||
# in order to reduce the overall memory footprint
|
||||
# Disabled by default in ussuri
|
||||
telemetry_args: >-
|
||||
{% if release in ['queens', 'stein', 'train'] %}
|
||||
-e {{ overcloud_templates_path }}/environments/disable-telemetry.yaml
|
||||
{% endif %}
|
||||
|
||||
extra_args: >-
|
||||
{% if release not in ['train','wallaby'] %}
|
||||
-e {{ working_dir }}/ci_custom_firewall_rules.yaml
|
||||
{% endif %}
|
||||
-e {{ overcloud_templates_path }}/environments/memcached-use-ips.yaml
|
||||
{% if release not in ['newton','ocata','pike','queens','stein','train'] -%}
|
||||
--disable-validations
|
||||
{% endif %}
|
||||
{% if ansible_distribution in ["RedHat"] and osp_release|default('') in ['rhos-17.1'] and ansible_distribution_major_version|int == 8 %}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/ovb-ha-parameter-for-rhel8.yaml
|
||||
{% endif %}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/ovb-ha.yaml
|
||||
{% if release not in ['train','ussuri','victoria'] %}
|
||||
--disable-protected-resource-types
|
||||
{%- endif -%}
|
||||
|
||||
baremetal_provision: >-
|
||||
{% if release in ['queens','stein','train'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
|
||||
# Provision composable networks prior to creating the heat stack
|
||||
network_provision: >-
|
||||
{% if release in ['train','ussuri','victoria'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_ntp_servers: pool.ntp.org
|
||||
# keep the doc gen settings at the bottom of the config file.
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- "{% if release not in ['newton', 'ocata', 'pike'] -%}overcloud-prep-containers{%- endif -%}"
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- "{% if release not in ['newton', 'ocata', 'pike'] -%}overcloud-prep-containers{%- endif -%}"
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
|
||||
deploy_steps_ansible_workflow: >-
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
config_download_args: >-
|
||||
{% if release in ['queens'] -%}
|
||||
-e /usr/share/openstack-tripleo-heat-templates/environments/config-download-environment.yaml
|
||||
--config-download
|
||||
--verbose
|
||||
{%- endif -%}
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
test_ping: false
|
||||
use_os_tempest: >-
|
||||
{% if release not in ['pike', 'queens', 'stein'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
# It will create a public network name 'public' using os_tempest
|
||||
tempest_interface_name: public
|
||||
|
||||
# In order to have a public network with external connectivity, we need to use
|
||||
# flat network type
|
||||
tempest_public_net_provider_type: flat
|
||||
|
||||
# It is the physical network name through which public network will be created
|
||||
# having connectivity with external world.
|
||||
tempest_public_net_physical_name: datacentre
|
||||
|
||||
# Setting the tempest_cidr as it is required while creating public subnet from which
|
||||
# floating IPs gets assigned
|
||||
tempest_cidr: '10.0.0.0/24'
|
||||
|
||||
tempest_private_net_seg_id: ''
|
||||
|
||||
tempest_install_method: distro
|
||||
|
||||
# Having tempest_network_ping_gateway set to true allows to ping any of the IP from
|
||||
# router to find out network related issue in the deployment early
|
||||
tempest_network_ping_gateway: true
|
||||
|
||||
# It is the python-tempestconf profile which also consumes tempest-deployer-input file
|
||||
tempest_tempestconf_profile:
|
||||
debug: true
|
||||
create: true
|
||||
deployer-input: "{{ ansible_user_dir }}/tempest-deployer-input.conf"
|
||||
os-cloud: "{{ tempest_cloud_name }}"
|
||||
out: "{{ tempest_workspace }}/etc/tempest.conf"
|
||||
network-id: "{{ tempest_neutron_public_network_id }}"
|
||||
overrides: "{{ tempest_tempest_conf_overrides | default({}) | combine(tempest_tempestconf_profile_overrides | default({}), recursive=True) }}"
|
||||
|
||||
tempest_tempest_conf_overrides:
|
||||
auth.use_dynamic_credentials: 'True'
|
||||
|
||||
tempest_allowed_group_check: "featureset035"
|
||||
|
||||
tempest_allowed_group_periodic: "featureset035_periodic"
|
||||
|
||||
tempest_allowed_group: >-
|
||||
{% if ('periodic' in zuul.pipeline and not job.force_non_periodic|default(false)|bool) or (job.force_periodic|default(false)|bool) -%}
|
||||
{{ tempest_allowed_group_periodic }}
|
||||
{%- else -%}
|
||||
{{ tempest_allowed_group_check }}
|
||||
{%- endif -%}
|
||||
|
||||
tempest_run_concurrency: 4
|
||||
|
||||
# Run an undercloud without glance or nova
|
||||
undercloud_enable_nova: >-
|
||||
{% if release in ['queens','stein', 'train'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
@ -1,85 +0,0 @@
|
||||
#### Summary of the feature set.
|
||||
# Deploy an Openstack environment for testing FFU upgrade from Newton
|
||||
# to Queen. Based on featureset005 which is working on newton.
|
||||
undercloud_generate_service_certificate: false
|
||||
enable_opstools_repo: false
|
||||
|
||||
test_ping: false
|
||||
|
||||
use_os_tempest: false
|
||||
|
||||
test_white_regex: ''
|
||||
|
||||
deployed_server: true
|
||||
composable_scenario: scenario002-multinode.yaml
|
||||
upgrade_composable_scenario: scenario002-multinode-containers.yaml
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
||||
|
||||
mixed_upgrade: true
|
||||
|
||||
# Tripleo-upgrade link
|
||||
ffu_overcloud_upgrade: true
|
||||
tripleo_upgrade_validations_non_fatal: true
|
||||
|
||||
# disable tripleo-upgrade container manipulation.
|
||||
create_docker_registry: false
|
||||
use_local_docker_registry: false
|
||||
create_container_images_download_script: false
|
||||
|
||||
# do not run workload test
|
||||
launch_sanity_workload: false
|
||||
|
||||
tripleo_ci: true
|
||||
use_oooq: true
|
||||
|
||||
# Run prep container before upgrade.
|
||||
prep_container_upgrade_run: true
|
||||
containerized_overcloud_upgrade: true
|
||||
# container_registry_file is used pre-rocky, after rocky
|
||||
# is uc_containers_prepare_file the one used to identify
|
||||
# the containers file (defaults to: containers-prepare-parameter.yaml)
|
||||
container_registry_file: containers-default-parameters.yaml
|
||||
|
||||
# Adjust user to CI
|
||||
overcloud_ssh_user: "zuul"
|
||||
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
@ -1,102 +0,0 @@
|
||||
# Deploy minimal overcloud (keystone and supporting services) and run
|
||||
# a minor version update (overcloud only).
|
||||
|
||||
composable_scenario: scenario000-multinode-containers.yaml
|
||||
|
||||
# Tripleo-upgrade role parameters
|
||||
# Minor Update
|
||||
overcloud_update: true
|
||||
# NOTE: right now the container images stay the same before and
|
||||
# after update. This makes the job run fast while still testing
|
||||
# the update workflow itself. For the future we may consider
|
||||
# updating the container images too. (This might have to be paired
|
||||
# with some work on the image building side to get meaningful
|
||||
# from-to combination of images.
|
||||
container_registry_file: >-
|
||||
{% if release not in ['queens','stein'] -%}
|
||||
''
|
||||
{%- else -%}
|
||||
containers-default-parameters.yaml
|
||||
{%- endif -%}
|
||||
|
||||
tripleo_upgrade_validations_non_fatal: true
|
||||
tripleo_upgrade_debug: false
|
||||
tripleo_ci: true
|
||||
use_oooq: true
|
||||
overcloud_ssh_user: >-
|
||||
{% if release in ['queens'] -%}
|
||||
"tripleo-admin"
|
||||
{%- else -%}
|
||||
"zuul"
|
||||
{%- endif -%}
|
||||
|
||||
network_isolation: false
|
||||
enable_pacemaker: false
|
||||
overcloud_ipv6: false
|
||||
containerized_overcloud: true
|
||||
|
||||
undercloud_generate_service_certificate: false
|
||||
ssl_overcloud: false
|
||||
|
||||
# extra testing disabled for now, may be enabled later depending on
|
||||
# job run time
|
||||
test_ping: false
|
||||
use_os_tempest: false
|
||||
# test_white_regex: 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'
|
||||
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
||||
|
||||
deploy_steps_ansible_workflow: true
|
||||
config_download_args: >-
|
||||
{% if release in ['queens'] -%}
|
||||
-e /usr/share/openstack-tripleo-heat-templates/environments/config-download-environment.yaml
|
||||
--config-download
|
||||
--deployed-server
|
||||
{%- endif %}
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
-e {{ working_dir }}/config-download.yaml
|
||||
--disable-validations
|
||||
--verbose
|
||||
{%- endif -%}
|
||||
|
||||
containerized_undercloud: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
undercloud_custom_env_files: "{{ working_dir }}/undercloud-parameter-defaults.yaml"
|
||||
undercloud_cloud_domain: "localdomain"
|
||||
undercloud_undercloud_hostname: "undercloud.{{ undercloud_cloud_domain }}"
|
||||
ctlplane_masquerade: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
ephemeral_heat: "{{ (release not in ['queens', 'stein','train','ussuri','victoria']) | bool }}"
|
||||
ephemeral_heat_args: "{{ '--heat-type pod' if ephemeral_heat|bool else '' }}"
|
||||
|
||||
extra_args: >-
|
||||
{% if release not in ['train','wallaby'] %}
|
||||
-e {{ working_dir }}/ci_custom_firewall_rules.yaml
|
||||
{% endif %}
|
||||
{%- if release not in ['train','ussuri','victoria'] -%}
|
||||
--disable-protected-resource-types
|
||||
--baremetal-deployment
|
||||
{%- endif -%}
|
@ -1,132 +0,0 @@
|
||||
# Deploy an Openstack environment with Octavia in a containerized overcloud
|
||||
#
|
||||
composable_scenario: scenario010-multinode-containers.yaml
|
||||
|
||||
network_isolation: false
|
||||
enable_pacemaker: false
|
||||
overcloud_ipv6: false
|
||||
containerized_overcloud: true
|
||||
delete_docker_cache: true
|
||||
|
||||
containerized_undercloud: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
undercloud_custom_env_files: "{{ working_dir }}/undercloud-parameter-defaults.yaml"
|
||||
undercloud_cloud_domain: "localdomain"
|
||||
undercloud_undercloud_hostname: "undercloud.{{ undercloud_cloud_domain }}"
|
||||
ctlplane_masquerade: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
undercloud_generate_service_certificate: false
|
||||
|
||||
# This enables the deployment of the overcloud with SSL.
|
||||
ssl_overcloud: false
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
||||
|
||||
# This featureset is extremely resource intensive, so we disable telemetry
|
||||
# in order to reduce the overall memory footprint
|
||||
# Disabled by default from ussuri
|
||||
telemetry_args: >-
|
||||
{% if release in ['queens', 'stein', 'train'] %}
|
||||
-e {{ overcloud_templates_path }}/environments/disable-telemetry.yaml
|
||||
{% endif %}
|
||||
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
|
||||
deployed_server: >-
|
||||
{% if release in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
deploy_steps_ansible_workflow: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
config_download_args: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
-e {{ working_dir }}/config-download.yaml
|
||||
--disable-validations
|
||||
--verbose
|
||||
{%- endif -%}
|
||||
|
||||
# selectively re-enable the globally blacklist octavia tempest plugin.
|
||||
skip_test_file: "{{ playbook_dir | dirname }}/vars/tempest_skip_{{ release | default('master') }}.yml"
|
||||
skip_list_tests: "{{ lookup('file', skip_test_file) | from_yaml }}"
|
||||
skip_file_src: ''
|
||||
tempest_black: "{{ skip_list_tests.known_failures | json_query('[?test != `octavia_tempest_plugin`].test') }}"
|
||||
test_black_regex: "{{ tempest_black }}"
|
||||
|
||||
test_ping: false
|
||||
test_white_regex: ''
|
||||
|
||||
tempest_whitelist:
|
||||
- 'octavia_tempest_plugin.tests.scenario.v2.test_load_balancer.LoadBalancerScenarioTest'
|
||||
tempest_plugins:
|
||||
- python-octavia-tests-tempest
|
||||
tempest_extra_config:
|
||||
load_balancer.member_role: '"Member"'
|
||||
load_balancer.test_with_ipv6: false
|
||||
load_balancer.region: 'regionOne'
|
||||
load_balancer.enabled_provider_drivers: '"amphora:The Octavia Amphora driver.,octavia:Deprecated alias of the Octavia Amphora driver.,ovn:Octavia OVN driver."'
|
||||
|
||||
undercloud_container_cli: podman
|
||||
|
||||
# the variable is only used in overcloud-deploy role
|
||||
# for stein and beyond, so it's safe to set it to podman,
|
||||
# as for stable branches the variable won't be used.
|
||||
overcloud_container_cli: podman
|
||||
download_amphora: true
|
||||
amphora_url: 'https://images.rdoproject.org/octavia/{{ release }}/amphora-x64-haproxy-centos.qcow2'
|
@ -1,297 +0,0 @@
|
||||
# Summary of feature set
|
||||
# Deploy an HA OpenStack environment with an IPA server.
|
||||
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
undercloud_generate_service_certificate: true
|
||||
ssl_overcloud: true
|
||||
overcloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
undercloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
step_introspect: true
|
||||
|
||||
# This enables container deployements after Pike
|
||||
containerized_overcloud: >-
|
||||
{% if release in ['newton', 'ocata', 'pike'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
delete_docker_cache: true
|
||||
|
||||
containerized_undercloud: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
ctlplane_masquerade: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_enable_routed_networks: >-
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_clean_nodes: >-
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_inspection_extras: false
|
||||
|
||||
|
||||
# Tell tripleo about our environment.
|
||||
enable_pacemaker: true
|
||||
network_isolation: true
|
||||
network_isolation_type: "multiple-nics"
|
||||
network_isolation_args: >-
|
||||
{% if not release in ['train','ussuri','victoria'] -%}
|
||||
--networks-file {{ overcloud_templates_path }}/ci/network_data.yaml
|
||||
-e {{ working_dir }}/overcloud-networks-deployed.yaml
|
||||
-e {{ working_dir }}/overcloud-vips-deployed.yaml
|
||||
{% else %}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/network/multiple-nics/network-isolation-absolute.yaml
|
||||
{% endif %}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/network/multiple-nics/network-environment.yaml
|
||||
|
||||
# This featureset is extremely resource intensive, so we disable telemetry
|
||||
# in order to reduce the overall memory footprint
|
||||
# Disabled by default in ussuri
|
||||
telemetry_args: >-
|
||||
{% if release in ['queens', 'stein', 'train'] %}
|
||||
-e {{ overcloud_templates_path }}/environments/disable-telemetry.yaml
|
||||
{% endif %}
|
||||
|
||||
extra_args: >-
|
||||
{% if release not in ['newton', 'ocata', 'pike'] %}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/ovb-ha.yaml
|
||||
{% endif %}
|
||||
{% if release not in ['train','wallaby'] %}
|
||||
-e {{ working_dir }}/ci_custom_firewall_rules.yaml
|
||||
{% endif %}
|
||||
{% if release in ['ussuri', 'victoria'] -%}
|
||||
--disable-validations
|
||||
{% endif %}
|
||||
|
||||
undercloud_ntp_servers: pool.ntp.org
|
||||
# keep the doc gen settings at the bottom of the config file.
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- "{% if release not in ['queens', 'stein', 'train'] -%}ipa_prep{%- else -%}novajoin_prep{%- endif -%}"
|
||||
- "{% if release not in ['queens', 'stein', 'train'] -%}install_ipa{%- else -%}install_novajoin{%- endif -%}"
|
||||
- overcloud-custom-tht-script
|
||||
- "{% if release not in ['newton', 'ocata', 'pike'] -%}overcloud-prep-containers{%- endif -%}"
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- "{% if release not in ['queens', 'stein', 'train'] -%}ipa_prep{%- else -%}novajoin_prep{%- endif -%}"
|
||||
- "{% if release not in ['queens', 'stein', 'train'] -%}install_ipa{%- else -%}install_novajoin{%- endif -%}"
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- "{% if release not in ['newton', 'ocata', 'pike'] -%}overcloud-prep-containers{%- endif -%}"
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
|
||||
deploy_steps_ansible_workflow: >-
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
config_download_args: >-
|
||||
{% if release in ['queens'] -%}
|
||||
-e /usr/share/openstack-tripleo-heat-templates/environments/config-download-environment.yaml
|
||||
--config-download
|
||||
--verbose
|
||||
{%- endif -%}
|
||||
|
||||
ephemeral_heat: "{{ (release not in ['train','ussuri','victoria']) | bool }}"
|
||||
ephemeral_heat_args: "{{ '--heat-type pod' if ephemeral_heat|bool else '' }}"
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
# Use the traditional ping test in newton, ocata and pike
|
||||
# Run tempest in queens+
|
||||
test_ping: >-
|
||||
{% if release in ['newton', 'ocata', 'pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
# Settings for os_tempest
|
||||
use_os_tempest: >-
|
||||
{% if release not in ['pike', 'queens', 'stein', 'train'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
# It will create a public network name 'public' using os_tempest
|
||||
tempest_interface_name: public
|
||||
|
||||
tempest_run_concurrency: 4
|
||||
|
||||
# In order to have a public network with external connectivity, we need to use
|
||||
# flat network type
|
||||
tempest_public_net_provider_type: flat
|
||||
|
||||
# It is the physical network name through which public network will be created
|
||||
# having connectivity with external world.
|
||||
tempest_public_net_physical_name: datacentre
|
||||
|
||||
# Setting the tempest_cidr as it is required while creating public subnet from which
|
||||
# floating IPs gets assigned
|
||||
tempest_cidr: '10.0.0.0/24'
|
||||
|
||||
tempest_private_net_seg_id: ''
|
||||
|
||||
tempest_install_method: distro
|
||||
|
||||
# Having tempest_network_ping_gateway set to true allows to ping any of the IP from
|
||||
# router to find out network related issue in the deployment early
|
||||
tempest_network_ping_gateway: true
|
||||
|
||||
# It is the python-tempestconf profile which also consumes tempest-deployer-input file
|
||||
tempest_tempestconf_profile:
|
||||
debug: true
|
||||
create: true
|
||||
deployer-input: "{{ ansible_user_dir }}/tempest-deployer-input.conf"
|
||||
os-cloud: "{{ tempest_cloud_name }}"
|
||||
out: "{{ tempest_workspace }}/etc/tempest.conf"
|
||||
network-id: "{{ tempest_neutron_public_network_id }}"
|
||||
overrides: "{{ tempest_tempest_conf_overrides | default({}) | combine(tempest_tempestconf_profile_overrides | default({}), recursive=True) }}"
|
||||
|
||||
tempest_allowed_group: "featureset039"
|
||||
|
||||
# Run an undercloud without glance or nova
|
||||
undercloud_enable_nova: >-
|
||||
{% if release in ['queens', 'stein', 'train'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
baremetal_provision: >-
|
||||
{% if release in ['queens', 'stein', 'train'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
|
||||
# Provision composable networks prior to creating the heat stack
|
||||
network_provision: >-
|
||||
{% if release in ['train','ussuri','victoria'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
|
||||
# TLS everywhere related vars. #
|
||||
enable_tls_everywhere: true
|
||||
novajoin_connect_timeout: 60
|
||||
novajoin_read_timeout: 60
|
||||
|
||||
# This switches between a deployment with novajoin or using ansible-tripleo-ipa
|
||||
undercloud_enable_novajoin: >-
|
||||
{% if release in ['queens', 'stein', 'train'] -%}
|
||||
True
|
||||
{%- else -%}
|
||||
False
|
||||
{%- endif -%}
|
||||
|
||||
external_network_cidr: 10.0.0.0/24
|
||||
|
||||
freeipa_admin_password: fce95318204114530f31f885c9df588f
|
||||
|
||||
# Set node hostnames.
|
||||
freeipa_internal_ip: "{{ external_network_cidr|nthhost(250) }}"
|
||||
supplemental_node_ip: "{{ freeipa_internal_ip }}"
|
||||
undercloud_undercloud_nameservers: ["{{ freeipa_internal_ip }}"]
|
||||
overcloud_dns_servers: ["{{ freeipa_internal_ip }}", "8.8.8.8"]
|
||||
tripleo_domain: ooo.test
|
||||
undercloud_cloud_domain: "{{ tripleo_domain }}"
|
||||
freeipa_server_hostname: "ipa.{{ tripleo_domain }}"
|
||||
undercloud_undercloud_hostname: "undercloud.{{ tripleo_domain }}"
|
||||
overcloud_cloud_name: "overcloud.{{ tripleo_domain }}"
|
||||
overcloud_cloud_domain: "{{ tripleo_domain }}"
|
||||
overcloud_cloud_name_internal: "overcloud.internalapi.{{ tripleo_domain }}"
|
||||
overcloud_cloud_name_storage: "overcloud.storage.{{ tripleo_domain }}"
|
||||
overcloud_cloud_name_storage_management: "overcloud.storagemgmt.{{ tripleo_domain }}"
|
||||
overcloud_cloud_name_ctlplane: "overcloud.ctlplane.{{ tripleo_domain }}"
|
||||
# Supplemental node related vars. #
|
||||
# Ensure that the FreeIPA server node is provisioned during deployment.
|
||||
deploy_supplemental_node: true
|
||||
supplemental_user: >-
|
||||
{% if (ansible_distribution == "CentOS") and (ansible_distribution_major_version|int >= 9) -%}
|
||||
cloud-user
|
||||
{%- else -%}
|
||||
centos
|
||||
{%- endif -%}
|
||||
supplemental_image_url: https://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2
|
||||
|
||||
undercloud_custom_env_files: "{{ working_dir }}/undercloud-parameter-defaults.yaml"
|
||||
|
||||
### Keycloak IdP ###
|
||||
|
||||
# Turn on federation support
|
||||
enable_federation: true
|
||||
|
||||
# For simplicity in development and testing scenarios share the admin
|
||||
# password with IPA. Do not do this in a production environment!
|
||||
keycloak_admin_password: "{{ freeipa_admin_password }}"
|
||||
|
||||
# Locate the Keycloak cert/key on the supplemental node, this offers
|
||||
# the potential for certmonger to manage cert renewal and simplifies
|
||||
# obtaining the cert from IPA.
|
||||
keycloak_tls_files_on_target: true
|
||||
|
||||
# Download the keycloak archive directly to the supplemental node as
|
||||
# opposed to caching it on the host running oooq which then incurs the
|
||||
# penalty of Ansible unpacking it over a (typically) slow SSH connection.
|
||||
keycloak_archive_on_target: true
|
||||
|
||||
# Both the PKI certificate server in IPA and Keycloak default their
|
||||
# http and https port to 8080 and 8443 respectively. Because IPA is
|
||||
# installed first ports 8080 and 8443 are already in use, bump the
|
||||
# Keycloak ports by 1 to avoid port conflicts.
|
||||
keycloak_http_port: 8081
|
||||
keycloak_https_port: 8444
|
||||
|
||||
# IPA installs first on the supplemental and does not enable the
|
||||
# firewall. If keycloak were to install later and enabled the
|
||||
# firewall opening only the Keycloak ports then the IPA ports would
|
||||
# be blocked. Therefore turn off Keycloak's configuration of the
|
||||
# firewall. The IPA install should enable the firewall but when this
|
||||
# was attempted a bug in Ansible prevented it from working. If the IPA
|
||||
# install gains the ability to enable the firewall then
|
||||
# keycloak_configure_firewall should be turned on.
|
||||
keycloak_configure_firewall: false
|
||||
|
||||
# Limit the JVM max heap size to 512 MB
|
||||
keycloak_java_opts: "-Xms64m -Xmx512m"
|
||||
|
||||
# Extend the CLI connect timeout to account for slow startup of Keycloak
|
||||
# with our small heap size.
|
||||
keycloak_jboss_config_connect_timeout: 90000
|
@ -1,110 +0,0 @@
|
||||
# Summary of the feature set.
|
||||
# Deploy a containerized stable/pike Openstack environment and upgrade it
|
||||
|
||||
undercloud_setup: true
|
||||
overcloud_ipv6: false
|
||||
|
||||
# pacemaker settings are configured in the scenario template
|
||||
# do not set `enable_pacemaker` in the featureset
|
||||
|
||||
# Container prep parameters.
|
||||
containerized_overcloud: true
|
||||
containerized_overcloud_upgrade: true
|
||||
|
||||
enable_opstools_repo: true
|
||||
|
||||
undercloud_generate_service_certificate: false
|
||||
|
||||
ssl_overcloud: false
|
||||
|
||||
step_introspect: false
|
||||
|
||||
composable_scenario: scenario003-multinode-containers.yaml
|
||||
upgrade_composable_scenario: scenario003-multinode-containers.yaml
|
||||
deployed_server: true
|
||||
|
||||
# save time by doing a mixed upgrade
|
||||
mixed_upgrade: true
|
||||
|
||||
# Tripleo-upgrade role parameters
|
||||
# Major Upgrade: containers -> containers
|
||||
overcloud_upgrade: true
|
||||
# disable tripleo-upgrade container manipulation.
|
||||
create_docker_registry: false
|
||||
use_local_docker_registry: false
|
||||
create_container_images_download_script: false
|
||||
|
||||
# do not run workload test
|
||||
launch_sanity_workload: false
|
||||
|
||||
# container_registry_file is used pre-rocky, after rocky
|
||||
# is uc_containers_prepare_file the one used to identify
|
||||
# the containers file (defaults to: containers-prepare-parameter.yaml)
|
||||
container_registry_file: containers-default-parameters.yaml
|
||||
tripleo_ci: true
|
||||
use_oooq: true
|
||||
tripleo_upgrade_debug: false
|
||||
overcloud_ssh_user: "zuul"
|
||||
# Mandatory for deployed_servers
|
||||
tripleo_upgrade_validations_non_fatal: true
|
||||
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
||||
|
||||
config_download_args: >-
|
||||
{% if overcloud_release is defined and overcloud_release in ['queens'] -%}
|
||||
--no-config-download
|
||||
{%- endif -%}
|
||||
|
||||
containerized_undercloud: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
undercloud_custom_env_files: "{{ working_dir }}/undercloud-parameter-defaults.yaml"
|
||||
undercloud_cloud_domain: "localdomain"
|
||||
undercloud_undercloud_hostname: "undercloud.{{ undercloud_cloud_domain }}"
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
test_ping: false
|
||||
# Run tempest in containers when at least undercloud is containerized
|
@ -1,134 +0,0 @@
|
||||
# Summary of the feature set.
|
||||
# Deploy an Openstack environment with ssl undercloud, introspect, and use network isolation
|
||||
# Note: any change in this featureset must also be done in featureset035 and featureset053.
|
||||
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
undercloud_generate_service_certificate: true
|
||||
ssl_overcloud: true
|
||||
overcloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
undercloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
step_introspect: true
|
||||
|
||||
# This enables container deployements after Pike
|
||||
containerized_overcloud: >-
|
||||
{% if release in ['newton', 'ocata', 'pike'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
delete_docker_cache: true
|
||||
|
||||
containerized_undercloud: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
ctlplane_masquerade: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_enable_routed_networks: >-
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_clean_nodes: >-
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_inspection_extras: false
|
||||
|
||||
undercloud_custom_env_files: "{{ working_dir }}/undercloud-parameter-defaults.yaml"
|
||||
undercloud_cloud_domain: "localdomain"
|
||||
undercloud_undercloud_hostname: "undercloud.{{ undercloud_cloud_domain }}"
|
||||
|
||||
# Tell tripleo about our environment.
|
||||
enable_pacemaker: true
|
||||
network_isolation: true
|
||||
network_isolation_type: "multiple-nics"
|
||||
network_isolation_args: >-
|
||||
-e {{ overcloud_templates_path }}/ci/environments/network/multiple-nics/network-isolation-absolute.yaml
|
||||
-e {{ overcloud_templates_path }}/ci/environments/network/multiple-nics/network-environment.yaml
|
||||
|
||||
# This featureset is extremely resource intensive, so we disable telemetry
|
||||
# in order to reduce the overall memory footprint
|
||||
# Disabled by default from ussuri
|
||||
telemetry_args: >-
|
||||
{% if release in ['queens', 'stein', 'train'] %}
|
||||
-e {{ overcloud_templates_path }}/environments/disable-telemetry.yaml
|
||||
{% endif %}
|
||||
|
||||
extra_args: >-
|
||||
{% if release not in ['newton', 'ocata', 'pike'] %}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/ovb-ha.yaml
|
||||
{% endif %}
|
||||
|
||||
undercloud_ntp_servers: pool.ntp.org
|
||||
# keep the doc gen settings at the bottom of the config file.
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- "{% if release not in ['newton', 'ocata', 'pike'] -%}overcloud-prep-containers{%- endif -%}"
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- "{% if release not in ['newton', 'ocata', 'pike'] -%}overcloud-prep-containers{%- endif -%}"
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
|
||||
deploy_steps_ansible_workflow: >-
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
config_download_args: >-
|
||||
{% if release in ['queens'] -%}
|
||||
-e /usr/share/openstack-tripleo-heat-templates/environments/config-download-environment.yaml
|
||||
--config-download
|
||||
--verbose
|
||||
{%- endif -%}
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
# Use the traditional ping test in newton, ocata and pike
|
||||
# Run tempest in queens+
|
||||
test_ping: >-
|
||||
{% if release in ['newton', 'ocata', 'pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
test_white_regex: ''
|
||||
tempest_whitelist:
|
||||
- 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'
|
||||
|
||||
# Validate HA
|
||||
validate_ha_overcloud: true
|
@ -1,73 +0,0 @@
|
||||
# Summary of the feature set.
|
||||
# Deploy an Openstack environment with public TLS for the undercloud and overcloud, introspect,
|
||||
# IPSec in the internal network and use network isolation.
|
||||
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
undercloud_generate_service_certificate: true
|
||||
ssl_overcloud: true
|
||||
overcloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
step_introspect: true
|
||||
|
||||
# This enables container deployements
|
||||
containerized_overcloud: true
|
||||
delete_docker_cache: true
|
||||
|
||||
# Tell tripleo about our environment.
|
||||
enable_pacemaker: true
|
||||
network_isolation: true
|
||||
network_isolation_type: "multiple-nics"
|
||||
network_isolation_args: >-
|
||||
-e {{ overcloud_templates_path }}/ci/environments/network/multiple-nics/network-isolation-absolute.yaml
|
||||
-e {{ overcloud_templates_path }}/ci/environments/network/multiple-nics/network-environment.yaml
|
||||
|
||||
# This featureset is extremely resource intensive, so we disable telemetry
|
||||
# in order to reduce the overall memory footprint
|
||||
# Disabled by default in ussuri
|
||||
telemetry_args: >-
|
||||
{% if release in ['queens', 'stein', 'train'] %}
|
||||
-e {{ overcloud_templates_path }}/environments/disable-telemetry.yaml
|
||||
{% endif %}
|
||||
|
||||
extra_args: >-
|
||||
-e {{ overcloud_templates_path }}/ci/environments/ovb-ha.yaml
|
||||
-e /usr/share/openstack-tripleo-heat-templates/environments/ipsec.yaml
|
||||
|
||||
# keep the doc gen settings at the bottom of the config file.
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
- tempest-setup
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
- tempest-setup
|
||||
|
||||
deploy_steps_ansible_workflow: true
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
test_ping: false
|
||||
|
||||
test_white_regex: ''
|
||||
tempest_whitelist:
|
||||
- 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'
|
@ -1,161 +0,0 @@
|
||||
# Summary of feature set
|
||||
# Deploy an HA OpenStack environment with FreeIPA as an IdM.
|
||||
# Note that this feature set derives from featureset039 and is meant for use
|
||||
# in local development using the libvirt/setup/supplemental/ roles. It is not
|
||||
# tested or meant to run in upstream or 3rd party CI.
|
||||
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
undercloud_generate_service_certificate: true
|
||||
ssl_overcloud: true
|
||||
overcloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
undercloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
step_introspect: true
|
||||
|
||||
# This enables container deployements after Pike
|
||||
containerized_overcloud: >-
|
||||
{% if release in ['newton', 'ocata', 'pike'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
delete_docker_cache: true
|
||||
|
||||
containerized_undercloud: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
ctlplane_masquerade: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_enable_routed_networks: >-
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_clean_nodes: >-
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_inspection_extras: false
|
||||
|
||||
|
||||
# Tell tripleo about our environment.
|
||||
enable_pacemaker: true
|
||||
network_isolation: true
|
||||
network_isolation_type: "single-nic-vlans"
|
||||
|
||||
# This featureset is extremely resource intensive, so we disable telemetry
|
||||
# in order to reduce the overall memory footprint
|
||||
# Disabled by default in ussuri
|
||||
telemetry_args: >-
|
||||
{% if release in ['queens', 'stein', 'train'] %}
|
||||
-e {{ overcloud_templates_path }}/environments/disable-telemetry.yaml
|
||||
{% endif %}
|
||||
|
||||
extra_args: >-
|
||||
{% if release not in ['newton', 'ocata', 'pike'] %}
|
||||
-e {{ overcloud_templates_path }}/ci/environments/ovb-ha.yaml
|
||||
{% endif %}
|
||||
|
||||
undercloud_ntp_servers: pool.ntp.org
|
||||
# keep the doc gen settings at the bottom of the config file.
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- novajoin_prep
|
||||
- install_novajoin
|
||||
- overcloud-custom-tht-script
|
||||
- "{% if release not in ['newton', 'ocata', 'pike'] -%}overcloud-prep-containers{%- endif -%}"
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- novajoin_prep
|
||||
- install_novajoin
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- "{% if release not in ['newton', 'ocata', 'pike'] -%}overcloud-prep-containers{%- endif -%}"
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
|
||||
deploy_steps_ansible_workflow: >-
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
config_download_args: >-
|
||||
{% if release in ['queens'] -%}
|
||||
-e /usr/share/openstack-tripleo-heat-templates/environments/config-download-environment.yaml
|
||||
--config-download
|
||||
--verbose
|
||||
{%- endif -%}
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
# Use the traditional ping test in newton, ocata and pike
|
||||
# Run tempest in queens+
|
||||
test_ping: >-
|
||||
{% if release in ['newton', 'ocata', 'pike'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
test_white_regex: ''
|
||||
tempest_whitelist:
|
||||
- 'tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_network_basic_ops'
|
||||
|
||||
# TLS everywhere related vars. #
|
||||
enable_tls_everywhere: true
|
||||
novajoin_connect_timeout: 60
|
||||
novajoin_read_timeout: 60
|
||||
|
||||
freeipa_admin_password: fce95318204114530f31f885c9df588f
|
||||
|
||||
# Set node hostnames.
|
||||
freeipa_internal_ip: "{{ external_network_cidr|nthhost(250) }}"
|
||||
supplemental_node_ip: "{{ freeipa_internal_ip }}"
|
||||
undercloud_undercloud_nameservers: ["{{ freeipa_internal_ip }}"]
|
||||
overcloud_dns_servers: ["{{ freeipa_internal_ip }}", "8.8.8.8"]
|
||||
tripleo_domain: ooo.test
|
||||
undercloud_cloud_domain: "{{ tripleo_domain }}"
|
||||
freeipa_server_hostname: "ipa.{{ tripleo_domain }}"
|
||||
undercloud_undercloud_hostname: "undercloud.{{ tripleo_domain }}"
|
||||
overcloud_cloud_name: "overcloud.{{ tripleo_domain }}"
|
||||
overcloud_cloud_domain: "{{ tripleo_domain }}"
|
||||
overcloud_cloud_name_internal: "overcloud.internalapi.{{ tripleo_domain }}"
|
||||
overcloud_cloud_name_storage: "overcloud.storage.{{ tripleo_domain }}"
|
||||
overcloud_cloud_name_storage_management: "overcloud.storagemgmt.{{ tripleo_domain }}"
|
||||
overcloud_cloud_name_ctlplane: "overcloud.ctlplane.{{ tripleo_domain }}"
|
||||
# Supplemental node related vars. #
|
||||
# Ensure that the FreeIPA server node is provisioned during deployment.
|
||||
deploy_supplemental_node: true
|
||||
supplemental_user: centos
|
||||
supplemental_image_url: https://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2
|
||||
|
||||
undercloud_custom_env_files: "{{ working_dir }}/undercloud-parameter-defaults.yaml"
|
@ -1,73 +0,0 @@
|
||||
# Summary of the feature set.
|
||||
# Deploy a containerized stable/pike Openstack environment and upgrade it
|
||||
|
||||
undercloud_setup: true
|
||||
enable_pacemaker: true
|
||||
overcloud_ipv6: false
|
||||
|
||||
containerized_overcloud: true
|
||||
|
||||
undercloud_update: true
|
||||
|
||||
release: master
|
||||
|
||||
# TODO(gcerami): we need a way to deploy a previous known good dlrn hash
|
||||
# then update to the latest
|
||||
# for now, we will just start the update without changing the repository
|
||||
|
||||
overcloud_templates_path: "{{ working_dir }}/tripleo-heat-templates"
|
||||
overcloud_templates_repo: https://opendev.org/openstack/tripleo-heat-templates
|
||||
overcloud_templates_branch: stable/{{ overcloud_release }}
|
||||
|
||||
undercloud_generate_service_certificate: false
|
||||
|
||||
ssl_overcloud: false
|
||||
|
||||
test_ping: true
|
||||
use_os_tempest: false
|
||||
step_introspect: false
|
||||
|
||||
composable_scenario: scenario000-multinode-containers.yaml
|
||||
upgrade_composable_scenario: scenario000-multinode-containers.yaml
|
||||
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
@ -1,25 +0,0 @@
|
||||
####################################
|
||||
# FEATURESET047 - UNDERCLOUD UPGRADE
|
||||
# Based on featureset003
|
||||
####################################
|
||||
|
||||
undercloud_generate_service_certificate: false
|
||||
ssl_overcloud: false
|
||||
undercloud_check_idempotency: true
|
||||
undercloud_check_sanity: true
|
||||
containerized_undercloud: false
|
||||
containerized_overcloud: false
|
||||
containerized_overcloud_upgrade: false
|
||||
|
||||
undercloud_cloud_domain: "localdomain"
|
||||
undercloud_undercloud_hostname: "undercloud.{{ undercloud_cloud_domain }}"
|
||||
|
||||
# Tripleo-upgrade specific parameters
|
||||
undercloud_upgrade: true
|
||||
overcloud_deploy_script: "{{ working_dir }}/overcloud_deploy.sh"
|
||||
tripleo_ci: true
|
||||
use_oooq: true
|
||||
|
||||
# Deactivate validations as there is no overcloud
|
||||
test_ping: false
|
||||
use_os_tempest: false
|
@ -1,68 +0,0 @@
|
||||
# Summary of the feature set.
|
||||
# Deploy an non-ha Openstack environment, without SSL, introspect, and
|
||||
# ready to execute tempest tests.
|
||||
# Example of usage:
|
||||
# ./quickstart.sh -t all --retain-inventory -e \
|
||||
# @config/general_config/featureset048.yml -R tripleo-ci/consistent-master \
|
||||
# -T all $VIRTHOST
|
||||
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
undercloud_generate_service_certificate: true
|
||||
ssl_overcloud: false
|
||||
overcloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
step_introspect: true
|
||||
|
||||
# This enables container deployements after Pike
|
||||
containerized_overcloud: >-
|
||||
{% if release in ['newton', 'ocata', 'pike'] -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
delete_docker_cache: true
|
||||
|
||||
# Tell tripleo about our environment
|
||||
enable_pacemaker: false
|
||||
network_isolation: false
|
||||
|
||||
extra_args: ''
|
||||
|
||||
# keep the doc gen settings at the bottom of the config file.
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- "{% if release not in ['newton', 'ocata', 'pike'] -%}overcloud-prep-containers{%- endif -%}"
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
- tempest-setup
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- "{% if release not in ['newton', 'ocata', 'pike'] -%}overcloud-prep-containers{%- endif -%}"
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
- tempest-setup
|
||||
|
||||
# Tempest configuration, keep always at the end of the file
|
||||
|
||||
test_regex: '.*'
|
||||
test_ping: false
|
||||
# Run tempest without skip file
|
||||
skip_file_src: ''
|
||||
# For full tempest run we need to make sure concurrency is not too high
|
||||
tempest_workers: 3
|
@ -1,44 +0,0 @@
|
||||
# Containerized overcloud
|
||||
# Enables Ceph, Pacemaker and network isolation on single nic
|
||||
undercloud_generate_service_certificate: false
|
||||
undercloud_cloud_domain: "localdomain"
|
||||
undercloud_undercloud_hostname: "undercloud.{{ undercloud_cloud_domain }}"
|
||||
step_introspect: false
|
||||
extra_args: >-
|
||||
-e {{ overcloud_templates_path }}/environments/cephadm/cephadm.yaml
|
||||
-e {{ overcloud_templates_path }}/environments/cephadm/ceph-mds.yaml
|
||||
network_isolation: true
|
||||
network_isolation_type: 'single-nic-vlans'
|
||||
containerized_overcloud: true
|
||||
test_ping: false
|
||||
use_os_tempest: false
|
||||
ssl_overcloud: false
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-validate
|
||||
enable_pacemaker: true
|
||||
step_root_device_size: true
|
||||
disk_root_device_size: 40000
|
||||
step_root_device_hints: true
|
@ -1,39 +0,0 @@
|
||||
##################################################
|
||||
# FEATURESET050 - CONTAINERIZED UNDERCLOUD UPGRADE
|
||||
# Based on featureset047
|
||||
##################################################
|
||||
|
||||
ssl_overcloud: false
|
||||
undercloud_check_sanity: true
|
||||
undercloud_upgrade_cleanup: true
|
||||
|
||||
containerized_undercloud: true
|
||||
|
||||
containerized_overcloud: true
|
||||
|
||||
containerized_overcloud_upgrade: false
|
||||
containerized_undercloud_upgrade: true
|
||||
|
||||
undercloud_cloud_domain: "localdomain"
|
||||
undercloud_undercloud_hostname: "undercloud.{{ undercloud_cloud_domain }}"
|
||||
|
||||
# Tripleo-upgrade specific parameters
|
||||
undercloud_upgrade: true
|
||||
tripleo_ci: true
|
||||
use_oooq: true
|
||||
|
||||
# Deactivate validations as there is no overcloud
|
||||
use_os_tempest: false
|
||||
test_ping: false
|
||||
|
||||
# This enables TLS for the undercloud which will also make haproxy bind to the
|
||||
# configured public-vip and admin-vip.
|
||||
undercloud_generate_service_certificate: true
|
||||
undercloud_enable_swift_encryption: true
|
||||
|
||||
# There is not enough space in the Undercloud <20GB
|
||||
undercloud_enable_validations: false
|
||||
|
||||
undercloud_enable_paunch: false
|
||||
|
||||
ephemeral_heat: "{{ (release not in ['train','ussuri','victoria']) | bool }}"
|
@ -1,137 +0,0 @@
|
||||
# Summary of the feature set.
|
||||
# Deploy a containerized Openstack environment using the keystone-only
|
||||
# scenario (scenario000) and upgrade it
|
||||
|
||||
undercloud_setup: true
|
||||
overcloud_ipv6: false
|
||||
network_isolation: false
|
||||
enable_pacemaker: false
|
||||
|
||||
# Container prep parameters.
|
||||
containerized_overcloud: true
|
||||
containerized_overcloud_upgrade: true
|
||||
# mixed_upgrade, used for a mixed initial deployment of undercloud and overcloud releases
|
||||
mixed_upgrade: false
|
||||
# noop_upgrade, used when running upgrades from $release to $release
|
||||
noop_upgrade: true
|
||||
|
||||
enable_opstools_repo: true
|
||||
|
||||
undercloud_generate_service_certificate: false
|
||||
|
||||
ssl_overcloud: false
|
||||
|
||||
step_introspect: false
|
||||
|
||||
composable_scenario: scenario000-multinode-containers.yaml
|
||||
upgrade_composable_scenario: scenario000-multinode-containers.yaml
|
||||
deployed_server: true
|
||||
|
||||
test_ping: false
|
||||
use_os_tempest: false
|
||||
|
||||
# Tripleo-upgrade role parameters
|
||||
# Major Upgrade: containers -> containers (keystone-only)
|
||||
overcloud_upgrade: true
|
||||
# This featureset is a master to master job, so we don't want to update the
|
||||
# repo during the upgrade run
|
||||
update_repo: false
|
||||
# disable tripleo-upgrade container manipulation.
|
||||
create_docker_registry: false
|
||||
use_local_docker_registry: false
|
||||
create_container_images_download_script: false
|
||||
|
||||
# do not run workload test
|
||||
launch_sanity_workload: false
|
||||
|
||||
# container_registry_file is used pre-rocky, after rocky
|
||||
# is uc_containers_prepare_file the one used to identify
|
||||
# the containers file (defaults to: containers-prepare-parameter.yaml)
|
||||
container_registry_file: containers-default-parameters.yaml
|
||||
tripleo_ci: true
|
||||
use_oooq: true
|
||||
tripleo_upgrade_debug: false
|
||||
overcloud_ssh_user: >-
|
||||
{% if release in ['queens'] -%}
|
||||
"tripleo-admin"
|
||||
{%- else -%}
|
||||
"zuul"
|
||||
{%- endif -%}
|
||||
|
||||
# Mandatory for deployed_servers
|
||||
tripleo_upgrade_validations_non_fatal: true
|
||||
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
||||
|
||||
|
||||
deploy_steps_ansible_workflow: true
|
||||
config_download_args: >-
|
||||
{% if release in ['queens'] -%}
|
||||
-e /usr/share/openstack-tripleo-heat-templates/environments/config-download-environment.yaml
|
||||
--config-download
|
||||
--deployed-server
|
||||
{%- endif %}
|
||||
{% if release not in ['newton','ocata','pike'] -%}
|
||||
-e {{ working_dir }}/config-download.yaml
|
||||
--disable-validations
|
||||
--verbose
|
||||
{%- endif -%}
|
||||
|
||||
containerized_undercloud: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
undercloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
undercloud_custom_env_files: "{{ working_dir }}/undercloud-parameter-defaults.yaml"
|
||||
undercloud_cloud_domain: "localdomain"
|
||||
undercloud_undercloud_hostname: "undercloud.{{ undercloud_cloud_domain }}"
|
||||
ctlplane_masquerade: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
@ -1,52 +0,0 @@
|
||||
##################################################
|
||||
# FEATURESET052 - TRIPLEO STANDALONE
|
||||
##################################################
|
||||
|
||||
non_root_user_setup: true
|
||||
ovb_setup_connectivity: false
|
||||
package_installs: true
|
||||
vxlan_networking: false
|
||||
toci_vxlan_networking: false
|
||||
enable_vbmc: false
|
||||
deploy_supplemental_node: false
|
||||
undercloud_setup: true
|
||||
|
||||
# role / scenario definition
|
||||
# deployment role
|
||||
standalone_role: Standalone.yaml
|
||||
|
||||
# custom env files
|
||||
standalone_custom_env_files:
|
||||
- /usr/share/openstack-tripleo-heat-templates/environments/low-memory-usage.yaml
|
||||
|
||||
# validation
|
||||
|
||||
test_ping: false
|
||||
# Running only smoke tests and a few scenarios
|
||||
test_white_regex: '\[.*\bsmoke\b.*\]'
|
||||
# NOTE(aschultz): containers assume RC at the moment
|
||||
tempest_undercloud: true
|
||||
tempest_overcloud: false
|
||||
tempest_workers: 2
|
||||
tempest_os_cloud: standalone
|
||||
|
||||
tempest_allowed_group_check: "featureset052"
|
||||
tempest_allowed_group_periodic: "featureset052_periodic"
|
||||
|
||||
# Settings for os_tempest
|
||||
use_os_tempest: >-
|
||||
{% if job.skip_os_tempest is defined and job.skip_os_tempest | default(false) | bool -%}
|
||||
false
|
||||
{%- else -%}
|
||||
true
|
||||
{%- endif -%}
|
||||
|
||||
tempest_allowed_group: >-
|
||||
{% if (('periodic' in zuul.pipeline and not job.force_non_periodic|default(false)|bool) or (job.force_periodic|default(false)|bool)) and not tempest_run_skipped | default(false) | bool or (job.component is defined|default(false)|bool) -%}
|
||||
{{ tempest_allowed_group_periodic }}
|
||||
{%- else -%}
|
||||
{{ tempest_allowed_group_check }}
|
||||
{%- endif -%}
|
||||
|
||||
tempest_run_concurrency: 2
|
||||
standalone_container_cli: podman
|
@ -1,29 +0,0 @@
|
||||
##########################################################
|
||||
# FEATURESET053 - TRIPLEO ANSIBLE STANDALONE ROLES TESTING
|
||||
##########################################################
|
||||
|
||||
non_root_user_setup: true
|
||||
ovb_setup_connectivity: false
|
||||
package_installs: true
|
||||
vxlan_networking: false
|
||||
toci_vxlan_networking: false
|
||||
enable_vbmc: false
|
||||
deploy_supplemental_node: false
|
||||
undercloud_setup: true
|
||||
|
||||
# role / scenario definition
|
||||
# deployment role
|
||||
standalone_role: Standalone.yaml
|
||||
standalone_libvirt_type: "{{ standalone_virt_type|default('qemu') }}"
|
||||
standalone_container_cli: podman
|
||||
|
||||
# custom env files
|
||||
standalone_custom_env_files:
|
||||
- /usr/share/openstack-tripleo-heat-templates/environments/low-memory-usage.yaml
|
||||
overcloud_templates_path: /usr/share/openstack-tripleo-heat-templates
|
||||
|
||||
# standalone vars for compute node
|
||||
neutron_public_interface_name: eth0
|
||||
tripleo_network_config_template: templates/ci/multinode.j2
|
||||
ctlplane_dns_nameservers:
|
||||
- 192.168.24.1
|
@ -1,85 +0,0 @@
|
||||
# Deploy an Openstack environment with a containerized overcloud
|
||||
# using scenario0012
|
||||
|
||||
undercloud_setup: true
|
||||
network_isolation: false
|
||||
overcloud_ipv6: false
|
||||
ironic_overcloud: true
|
||||
|
||||
# pacemaker settings are configured in the scenario template
|
||||
# do not set `enable_pacemaker` in the featureset
|
||||
|
||||
containerized_overcloud: true
|
||||
undercloud_generate_service_certificate: false
|
||||
|
||||
ssl_overcloud: false
|
||||
|
||||
step_true: false
|
||||
|
||||
composable_scenario: scenario012-multinode-containers.yaml
|
||||
validate_template: scenario012-multinode.yaml
|
||||
deployed_server: true
|
||||
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
||||
|
||||
# Use the traditional ping test in newton and ocata
|
||||
# Run tempest in pike+
|
||||
|
||||
test_ping: >-
|
||||
false
|
||||
|
||||
test_regex: ''
|
||||
tempest_whitelist:
|
||||
- 'ironic_tempest_plugin.tests.scenario.test_baremetal_multitenancy.BaremetalMultitenancy.test_baremetal_multitenancy'
|
||||
|
||||
tempest_plugins:
|
||||
- python-ironic-tests-tempest
|
||||
|
||||
tempest_extra_config: {'auth.create_isolated_networks': 'False', 'validation.connect_method': 'fixed', 'validation.network_for_ssh': 'provisioning', 'baremetal.use_provision_network': 'True'}
|
||||
|
||||
deploy_steps_ansible_workflow:
|
||||
true
|
||||
config_download_args: >-
|
||||
-e {{ working_dir }}/config-download.yaml
|
||||
--disable-validations
|
||||
--verbose
|
@ -1,102 +0,0 @@
|
||||
# Deploy an Openstack environment with a containerized overcloud
|
||||
# using scenario002 and Run refstack tests
|
||||
|
||||
undercloud_setup: true
|
||||
network_isolation: false
|
||||
overcloud_ipv6: false
|
||||
|
||||
# pacemaker settings are configured in the scenario template
|
||||
# do not set `enable_pacemaker` in the featureset
|
||||
|
||||
containerized_overcloud: true
|
||||
undercloud_generate_service_certificate: false
|
||||
|
||||
ssl_overcloud: false
|
||||
|
||||
step_introspect: false
|
||||
|
||||
composable_scenario: scenario002-multinode-containers.yaml
|
||||
validate_template: scenario002-multinode.yaml
|
||||
|
||||
# options below direct automatic doc generation by tripleo-collect-logs
|
||||
artcl_gen_docs: true
|
||||
artcl_create_docs_payload:
|
||||
included_deployment_scripts:
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
included_static_docs:
|
||||
- env-setup-virt
|
||||
table_of_contents:
|
||||
- env-setup-virt
|
||||
- undercloud-install
|
||||
- overcloud-custom-tht-script
|
||||
- overcloud-prep-containers
|
||||
- overcloud-prep-flavors
|
||||
- overcloud-prep-images
|
||||
- overcloud-prep-network
|
||||
- overcloud-deploy
|
||||
- overcloud-deploy-post
|
||||
- overcloud-upgrade
|
||||
- overcloud-validate
|
||||
composable_roles: true
|
||||
overcloud_roles:
|
||||
- name: Controller
|
||||
CountDefault: 1
|
||||
tags:
|
||||
- primary
|
||||
- controller
|
||||
networks:
|
||||
- External
|
||||
- InternalApi
|
||||
- Storage
|
||||
- StorageMgmt
|
||||
- Tenant
|
||||
|
||||
# Use the traditional ping test in newton and ocata
|
||||
# Run tempest in pike+
|
||||
|
||||
test_ping: >-
|
||||
{% if release in ['newton', 'ocata'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
|
||||
test_white_regex: ''
|
||||
|
||||
# Run RefStack tests
|
||||
tempest_run_refstack: true
|
||||
|
||||
tempest_extra_config: >-
|
||||
{% if release not in ['newton', 'ocata', 'pike'] -%}
|
||||
{'compute-feature-enabled.attach_encrypted_volume': 'True', 'auth.tempest_roles': '"Member"'}
|
||||
{%- endif -%}
|
||||
|
||||
tempest_workers: 1
|
||||
|
||||
deployed_server: >-
|
||||
{% if release in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
deploy_steps_ansible_workflow: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
true
|
||||
{%- else -%}
|
||||
false
|
||||
{%- endif -%}
|
||||
config_download_args: >-
|
||||
{% if release not in ['newton','ocata','pike','queens'] -%}
|
||||
-e {{ working_dir }}/config-download.yaml
|
||||
--disable-validations
|
||||
--verbose
|
||||
{%- endif -%}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user