Ansible-runner is using their own custom call back and it appears to be
failing when actually set to a non-string. Check to make sure host is a
string or just unset it if it isn't a string value.
Change-Id: Ib67b6bd69ed1c3f9fcd32552b6599cbe4ff478ce
Closes-Bug: #1904917
Adds CLI playbook cli-overcloud-network-provision.yaml
Playbook loads configuration data file, iterates over
each composable network definition and calls the
tripleo_composable_network to create/update the network,
segment and subnet resources.
Once composable networks are created/updated the
tripleo_network_populate_environment module is called
to create the heat environment for deployed-networks.
Finally the deployed networks environment is written to
the output file.
Change-Id: I98a5b6e966081da4f2fdf1ac77d02f13b7cbf697
Add the ansible module `tripleo_network_populate_environment`.
The module populates the heat environment for deployed
networks.
Change-Id: Id725925331aa301cd52fef811bf67eeb6f10ec8b
Add the ansible module `tripleo_composable_network`.
The module will be used to create and manage composable
networks.
Change-Id: I977ded44bf415a486a07e04f88f552d34da5da50
Add's a module utils for network data v2.
The utils module provides the schema validator
for the network data v2 format.
The json schema validator copies the validation
errors processing code from os-net-config with
just minor changes.
Change-Id: Ia68e2536af04bbe5d4ed0561eb923e8778563a92
Triggering introspection via the introspection API is discouraged when
also using the Ironic API, because Ironic will be out of sync with
introspection state. This is suspected to be causing occasional errors
in CI and with end users.
This module was one of the very first to be converted from mistral, so
hasn't benefited from the concurrency and logging patterns in later
modules.
The internal implementation of this module has been rewritten, and now
does the following:
- Concurrency uses a ThreadPoolExecutor instead of a custom pool with
async calls
- Waiting for state changes uses existing openstacksdk wait functions
- Logging ends up in a 'logging' result value instead of calling
module.log which ansible does not pass back to the caller
- Introspection is triggered by setting the node provision state to
'inspect'
- Node is powered off after a successful introspection
Closes-Bug: 1903786
Change-Id: Ic2c83c2ffb19866f7ad0dcaeb196a16f1745bbbc
This change moves our one tox-molecule job to simply depending on
the zuul tox job. To ensure we're not depending on the docker
driver at all, docker has been replaced with podman in the
tripleo_redhat_enforce test job.
Change-Id: I590a500b397d22d2e6fd4336f306caadcb690f45
Signed-off-by: Kevin Carter <kecarter@redhat.com>
The special treatment for openvswitch works on Red Hat. This patch add
RDO support.
We also adjust for the all naming convention of the openvswitch
package.
This was discovered during the related-bug investigation. Note that it
in itself doesn't solve it.
Co-Authored-By: yatinkarel <ykarel@redhat.com>
Depends-On: https://review.opendev.org/#/c/761463/
Change-Id: I1986ef8109061dab8213f8ec29160b6d830cdc49
Related-Bug: #1897863
Going forward, many of the filters and code that used to be in ansible
core were moved to collections. We use the ipaddr filter in a few places
so in order to support newer versions, we need to try to load the
collection version first before falling back to the legacy one in
ansible <=2.9
Change-Id: If1d273da61041fa4b7b9f4430264acda1d3841e8
Since https://review.opendev.org/753941 merged we
no longer need the port attributes to include the
network and subnet attributes.
Change-Id: Ib2bde761e2a3d1c49fadde73acd14733ce696d91
Tox trying to install latest versions for building releasenotes,
doc which may not be supported by stable and lower branches,
so should be restricted by respective version's upper-constraints.txt
Change-Id: Ib430947bb840d403f1a492bd9c49a89ccdd8d4f4
The role currently uses custom_profile which is undefined.
Rename custom_profile to tuned_custom_profile so that an
operator can actually use custom tuned profiles.
Change-Id: Ibb2642a981101d7a6a4cfce06d20b478190a4cd3
The intention here was to install the product-release
rpm. The package name is rhosp-release. Typo w/
-version
Change-Id: Idded17e553ea3ba9824635418bd875162928a8f7
Add file to the reno documentation build to show release notes for
stable/victoria.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.
Change-Id: Id422d7e2ed51f0cceeaf01de42af84fca8e3c05f
Sem-Ver: feature
Ansible modules rely on custom imports such as yaml. Since we need to
support both overcloud image deployed and pre-deployed servers, we end
up having to track these in two places. Missing deps need to go in the
image and the tripleo_bootstrap role. This change addressed the latter.
Closes-bug: #1894957
Change-Id: Ied27b97db9aab16dd92aa9dc99e93d4834d3c633
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
Update the URL to the upper-constraints file to point to the redirect
rule on releases.openstack.org so will switch to the correct
upper-constraints list automatically when the requirements repository branches.
Change-Id: Iba09985b9ce0b5f6a528ef89bbe8f69a1aa173d7
This is to address the concerns raised in [1]; it skips the role
execution unless the feature is either explicitly enabled or the
caller has set dry_run variable which will make it run up to the
creation of the new lvm.conf file but not actually copy it into
place.
1. https://review.opendev.org/#/c/697990/49/tripleo_ansible/roles/tripleo_lvmfilter/tasks/main.yml
Change-Id: I1c914feda3c4b1bfb6dcfd981244477f82915b75
A new tripleo_multipathd role is responsible for preparing and
configuring an overcloud node to run multipathd in a container.
- Host prep tasks ensure any existing multipathd service is disabled
on the host.
- /etc/multipath.conf configuration is controlled via ansible variables
supplied by tripleo's OS::TripleO::Services::Multipathd service.
- The multipathd container is restarted whenever the configuration
changes.
Change-Id: Icf9faff31d83f0ea77d00a59a53d6ad36b06da4f
Deployments on RHEL are failing to install the undercloud/
standalone:
'tripleo_bootstrao_release_version_package' is undefined
This review fixes the condition to check
'tripleo_bootstrap_release_version_package'.
Change-Id: I70227125b012aef7a2618deb860337c10233aa90
The change-id, I71355b8501047d4b956f66a5025e70058d7ce0bc, introduced
sysstat package into the overcloud image. However, it won't affect to
the existing deploymennt. This commit ensures that sysstat package is
installed in the overcloud nodes.
Depends-on: https://review.opendev.org/#/c/747077/
Change-Id: Ib37b62bf21b502cb69d4fd77aa23b9525a6d5a7b
This module was designed to be forklifted into metalsmith when it was
ready, this change is a follow-up to the packaging change which makes
the switch.
Change-Id: Ie73b42e5de1a38bfda6009fd4113cd6be8c90fad
Depends-On: https://review.rdoproject.org/r/#/c/29590/
The lvmfilter role creates an LVM filter looking at which physical
devices are in use by active logical volumes.
Change-Id: I9781007559e074f2b102f6f90c1aed6def1b02be
Related-Bug: 1855704