This currently fails with:
ERROR: Double requirement given:
mock (from -r molecule-requirements.txt (line 10))
(already in mock>=2.0.0 (from -r test-requirements.txt (line 3)), name='mock')
The tox linters job uses the same pip requirements files but doesn't hit this
because it also passes the openstack upper constraints files, so do the same in
run-local-test.
Change-Id: I12602801147b99a4c17a02cfd43239897ee049f3
The run-local playbook currently fails because the facts for local runs were
not updated when the expected zuul facts changed in
I09f7b29eb37d5c728d97dd4f27b4465fa0fb26f2
Change-Id: Id4f61161862ab05cf8f049cff919bf2b2c5270ba
Rendering all_nodes.json on each node is proving to be a performance
bottleneck. Given that it is the same data on each node and it has
already been rendered as group_vars/overcloud.json on the control node
(undercloud), it can just be copied to each node.
Change-Id: Ic10858ce7eaa5353d546e75b26e7149df2e1aa2a
all_nodes is meant to be for hieradata that is the same across all
nodes, while localhost_address could possibly be node specific. This
change moves it from all_nodes to net_ip_map.
This will allow rendering the all_nodes template once and then just
copying it into place, which will be a significant performance
improvement.
Change-Id: Ie3b5f242bc2afce9d395e29db498b3516f8bcc3c
We don't get a tuned_check when in check mode so we should just skip the
config include.
Change-Id: Ic9d364d0f440b9308d57c2ebf07fbc12f6403c66
Closes-Bug: #1855502
The config files can be written in /etc (most of the times), so we need
sudo to write the files without permission error.
Change-Id: I68911dcec1d92def25e3b48fb1319564eda292f0
If the network vars are defined but not lists, the filters and loops
fail in ansible. We need to check that vars exist and that they aren't
none prior to using them.
Change-Id: I648caf97b532c65a0b1e12e8b27be9997a69780d
Closes-Bug: #1855149
"service_names" was a useful hieradata which listed the services enabled
for a specific roles vs "enabled_services" which are for all the
services enabled in the cloud, no matter the role.
This is re-added for backward compatibility.
Change-Id: I75b1112089a66cf5db0a2fd651bb24428cf861fd
Related-Bug: #1855138
If the OS::TripleO::Network::Ports::ControlPlaneVipPort is not
configured, as done on an undercloud minion, the ctlplane_subnet_cidr is
never configured. We shouldn't assume it's available so let's check that
it exists first.
Change-Id: I154e6ffdeec86b13bc7e586154909c3ff41f8d58
Closes-Bug: #1837644
This Ansible playbook provides a way of running a set of Ironic nodes through
introspection. It is intended to be used by the `openstack overcloud node
introspect` CLI command.
Related-Bug: #1835230
Co-Author: Sagi Shnaidman <sshnaidm@redhat.com>
Change-Id: Iebfd92461f4132f148ac2d935b58d06e1f1ff3c8
Signed-off-by: Kevin Carter <kecarter@redhat.com>
Post update and upgrade tasks added in Change-Id
I32524f85ef6a0ca3e87fa9acc8c9e12776225717 do not run as expected.
Octavia is an external deploy. Best way to handle config leftover files
is with an Ansible task in the end of the external deploy.
Closes-Bug: #1836074
Change-Id: I72e2c75ae19c6f41f2938cf165b598345b3796fc
It may happen that we want to just reload the container. Before this
patch, it was a "stop and start", while podman has the "podman kill"
available, accepting the HUP signal.
Doing so allows other automated tools to actually just "reload" the
container as we would do for a standard service.
Change-Id: I35eff80f7637b013d3a1a831289ec9b1e0f81431
When passing containers config-id into the paunch module,
convert it into a single value (string) for backwards compatibility
of paunch, and unlocking upgrade paths as well.
Paunch as a library only "understands" such single values for
config ids yet. This can be fixed later although.
Related-bug: #1853812
Change-Id: Id8985795fc8fac5a10466486d404799e9c65cc65
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
cpu_mask filter plugin handles list of cores, extend it to
support range of cores to convert to mask.
Closes-Bug: #1854341
Change-Id: I06d929e1602ece966100a6913166910b9e301635
This backslash caused bug 1854209. Whitespace in the
multi embedded in YAML is complicated. Seems safer to
just remove it in this case.
Change-Id: I8414a776360700b05fb18d73862797b13a58f32d
Closes-Bug: #1854209
This package is needed by ceph and should already be part of our
bootstrap process on pre-deployed hosts.
Change-Id: I1fecb562e1315ebfc0406b3ac25b8dac6dfca607
Signed-off-by: Kevin Carter <kecarter@redhat.com>
1. Remove no_log for the create and exec tasks. It's always useful to
see what is being run.
2. Enable podman_container debug, so we see what commands are being run.
Change-Id: If728788293dd64622cf95da840b60e271197e9a0