This exposes new var for tripleo_container_manage. Also,
removes the check to force set clean_orphans=True in
needs_delete filter, when there is one or no item in
the startup config.
There is a possibility when disabling services, there would
be one or zero container_startup_configs for a step.
Partial-Bug: #1893335
Change-Id: I9d08168015487c48d8b380a9575ba236b7fb7d0d
This module takes a file input and checks to see if it has changed since
the last time checked and runs a command if it has changed. The module
will take a copy of the file being checked to be used for subsequent
executions if the file has changed.
Change-Id: Iea02a40639529ff9d80d3368f07ce81e6b1e911f
The default PID limit in a container is set to 4096. This limit might be
reached in a nova_libvirt container, after launching about 150 VMs.
Change-Id: Ibfbe63cbd9e2a219f10ebc407596aeefe4a5b194
Related: https://bugzilla.redhat.com/show_bug.cgi?id=1871885
Closes-Bug: #1892817
When container disappears between "podman ps -a" call and
inspection call "podman inspect cont1 cont2, ..", the module fails.
To avoid this run inspection of each container one by one if total
inspection call failed.
This is update of module from collection.
Closes-Bug: #1892701
Change-Id: I0c085c6c136e5d5b162feb8a1f72d906ab08502e
We need to add OpenFlow10 to the required protocols to support
backwards compatibility with neutron's destroy_patch_ports.
Closes-Bug: #1892491
Change-Id: I6865787f4d0b0459ac2eb91c0f1da9c08b36dd8d
octavia-controller-check should be octavia_controller_check. Also
removes symlink that should no longer be required.
Change-Id: I232aa4d8af134ce3403b12a15e06e378ad418d58
Closes-Bug: #1892512
To replace the task that looks over kolla_config.yaml and creates the
json files per item in the YAML, create a module that will lead to one
task creating all the files.
Change-Id: I19d8b8c3bc37cca6fb2c9e535e70b43dabef58d6
This module will help to simplify the task that creates the container
config scripts, generated via config download.
It'll replace the loop in THT that iterate over a file to create the
scripts and their content, and executer faster on module.
Change-Id: I4bbd54d193271daa10383b8cb48c9ea9aa0b5b74
This change reduces the risk of provide having a lock timeout by
waiting for existing node locks to be released before starting the
provide.
Ansible based provide may not be affected by bug #1846791 because
power-down happens after the provide, not before. However waiting for
locks to be released is recommended practice, and doing it here may
improve reliability.
Change-Id: I5bced3b91e4fa3568185e2bbc85c0a000182394e
Closes-Bug: #1846791
tripleo_podman_buildah_login.yml playbook from tripleo_podman
role is used in periodic jobs in upstream & downstream to push
containers.
In CentOS/RHEL, buildah comes from multiple repos, sometimes
untested package from diffferent repo get installed causing
issues. Making it parameterized will help to install specific
version of buildah and avoid breakage.
Change-Id: I751452d4f60ceedd099f76e8127694a96a0b9549
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
The 'openstack overcloud deploy ... --limit' command passes
the Ansible limit to the run of the config-download Ansible
but not to the run of ceph-ansible. To limit ceph-ansible
it's possible to override ceph_ansible_limit (an Ansible
variable) but, as per the bug this patch closes, this is
not possible via the deploy option of the tripleo client.
However, this patch makes it possible by having the variable
ceph_ansible_limit inherit the value of --limit but only
if it is passed. For backwards compatibility the inheritance
does not happen if ceph_ansible_limit is already defined.
Also, pass ceph_ansible_limit to the executions of the
machine unique UUID gather playbook and remote_tmp playbook.
Change-Id: Ibd1ca28592ba3dbbdd2dd129fe8319390f8435f3
Closes-Bug: 1888508
Port the NetworkConfig logic out of THT/common/deploy-steps.j2 to a role
that we can molecule test and improve.
Change-Id: Iab1e98d4cc3eb53da5fe17cea418b1b555bb8263
In t-h-t, we call "tasks_from" in order to exclusively call those two
files in different location.
We therefore need to ensure we actually set the right variables, even in
this case.
Change-Id: Ifbccd663373f0e29301810dcc088b83d968f6203
Related-Bug: #1891465
This adds a new ansible module for container image prepare
and changes the role to use the module instead.
Change-Id: I1cfa68c74eb772ddf794c53827fd9bea1fe2e5a3
We noticed a bug in OSP that OVN controller (2.13) was unable to
contact to OVS bridge (2.11).
Before running the update we should set the OpenFlow protocols on
integration bridge (br-int).
More about the issue [1].
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1843811
Change-Id: I575d67521719ae3908777284b4225eff5169ae6b
Since ansible "package" takes the version in the name directly, let's
ensure we have the "latest" of that version.
This allows to still use per-OS or per-release podman version in a
convenient and easy way.
Change-Id: I9d8ba2818c7b00893473360b8098ae5cdecbb256
We don't have to use no_log if we use label to prevent all the info from
being outputed during execution.
Change-Id: I084c7e933a024b76f4d6fa6ac000c58b6b3c7acf