Previously these environment files were pointing to a version of
the services implemented using puppet-ceph, now they are migrated
to using ceph-ansible.
Change-Id: I159e2e9408dc5749ec0c287ef06aa0b1421b7d88
Closes-Bug: 1744714
Due to a misplaced endfor in the j2 template, the deployments.yaml
playbook was only included for the first role. The bogus task playbook
was rendered as:
- hosts: overcloud
name: Server Post Deployments
gather_facts: no
any_errors_fatal: yes
tasks:
- include: Controller/deployments.yaml
vars:
force: false
when: role_name == 'Controller'
with_items: "{{ Controller_post_deployments|default([]) }}"
tags:
- overcloud
- post_deploy_steps
- include: Compute/deployments.yaml
vars:
force: false
when: role_name == 'Compute'
with_items: "{{ Compute_post_deployments|default([]) }}"
tags:
- overcloud
- post_deploy_steps
Change-Id: I625fcaa7c4dcb4f99f30b9d6def293154f4eb7ec
Fix mismatches for templates for pacemaker vs docker
control planes
Change-Id: I796ae972dcfe0907025c5ecc4d0e48c15d6f5d68
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
The first phase sets up the node-to-node tunnels at step 1; this
ensures that the corosync cluster setup is done over the tunnels
and prevents any timeouts that were happening when the setup was
done after the cluster was up. This has the added value that all
the pacemaker communication is encrypted from the beginning.
The second phase is the VIP tunnel setup, which is in step 3. This
is because we need the VIPs to be setup by pacemaker, and we also
need pacemaker to be up.
Depends-On: Ib9a134648c74e5dfcbd7a8ebd2d67bda87992497
Change-Id: Ic402dc73044e2426b097ed0eaf57a77c5e6eef24
It seems to be changed in 0524c86353,
but the update playbook still includes the old one.
Change-Id: Ie75c485f6739b9520d1a64ae28a6dd260c4d601c
Closes-Bug: #1743760
After merging [0], the step for each upgrade_task
is now handled in a 'when' condition. This patch
corrects some templates which where not following
that logic or had some syntax error.
[0] https://review.openstack.org/#/c/510902/
Change-Id: I5e42fa6b3d84ad6e0163900ee8146fd224fb5103
This change implements automatically in the templates use of
*_use_fqdn in ceph-ansible basing on the value set for
EnableInternalTLS parameter.
Also see I14a88bd3bc91ccf6cc61d2592b823f3a92d74fec
Change-Id: I3a49308de3e94a157eee074d2deea30736ae429e
The *-variables.conf file for tuned is hardcoded for the profile
"cpu-partitioning", which makes other profiles fail, that also need
the isolated_cores variable.
Change-Id: Iaeedfe5d7c501453fd2039b81c1603eff6125ebf
In the event a step has no services defined, we must still write the
config, as this is needed if services are disabled on update such that
a step becomes empty - we must run paunch on every step or the cleanup
of the "old" services does not happen.
Closes-Bug: 1742915
Change-Id: Iee01002f56b5311560557f2bf6f053601b9d43d7
ODL logs to either console for containarised deployment and to file
for non-containarised deployment. For containarised deployments, logs
can then be read via "docker logs".
We need both JVM and karaf (ODL application) logs together to debug
any failure scenario and for them to correlate. JVM logs to console
and not to a file. Karaf can log to file and console. So we make
karaf and JVM both log to console and read these logs via docker logs.
In cases when ODL container restarts, "docker logs" retain logs from
previous broken container so there is no loss of logs in these cases.
Change-Id: I2fe56df082c5d9206015f156f5f1b3cfca63c982
I561b5ef6dee0ee7cac67ba798eda284fb7f7a8d0 added this for the main
deploy steps, but there are some host_prep_tasks which require this,
specifically the nova-libvirt tasks fail for me locally without -b
Change-Id: I29cb8b0962c0dfcf7950d65305a3adef1f1268c3
Workflows may need access to the list of blacklisted hostnames so they
can filter on that value. This change adds that input to the workflow
execution environment.
Change-Id: I41de32b324a406633699d17933ae05417b28c57b
Partial-Bug: #1743046
Workflows triggered from deploy-steps.j2 were not honoring the
blacklist, particularly ceph-ansible. This patch starts to address that
issue by passing in a list of blacklisted ip addresses to the workflow
execution environment that the workflow can make use of to filter
against ctlplane_service_ips.
Change-Id: Ic158171c629e82892e480f1e6903a67457f86064
Partial-Bug: #1743046
This change is to update the default value for derive params
workflow inputs num_phy_cores_per_numa_node_for_pmd
and huge_page_allocation_percentage.
num_phy_cores_per_numa_node_for_pmd default value needs to be reduced
to 1 and cannot use more than 1 because of multi-queues.
huge_page_allocation_percentage default value needs to be reduced
from 90 because in some cases where we do not have enough memory
for some hosts
Change-Id: I8620f07f09337d0d63198c3168fec00f16262a63
Closes-Bug: #1736713