14196 Commits

Author SHA1 Message Date
Zuul
d79724c348 Merge "Enable archive task_log records while archiving the database" 2021-07-28 15:48:27 +00:00
Zuul
a332241b79 Merge "Use yaml.safe_load to load YAML files" 2021-07-28 15:48:14 +00:00
Zuul
a47a1be00e Merge "tripleo-podman: Enable podman.socket" 2021-07-28 15:48:07 +00:00
Zuul
5168050703 Merge "nova-compute: Adding failed_when to nova-compute stop task" 2021-07-27 23:51:03 +00:00
Zuul
0332229567 Merge "Neutron: Use placement user to talk with Placement service" 2021-07-27 23:50:59 +00:00
Zuul
ac1dc01672 Merge "Nova: Remove useless authtoken hieradata from computes" 2021-07-27 23:50:55 +00:00
Zuul
055ba34717 Merge "Add missing monitoring_subscription to Placement" 2021-07-27 19:48:14 +00:00
Zuul
d906705e23 Merge "Honor the BackupAndRestoreHieraConfigFile parameter" 2021-07-27 19:47:25 +00:00
Zuul
b0e168291a Merge "Update puppet parameters for networking-baremetal" 2021-07-27 19:47:22 +00:00
Zuul
4a55c065e3 Merge "Add Pure Storage FlashBlade Manila driver" 2021-07-27 18:57:18 +00:00
Zuul
0bf7fff9bf Merge "Do not fail if haproxy container UUID changes" 2021-07-27 12:00:31 +00:00
Zuul
b1824a00ff Merge "Add support for setting min TTL limit in designate" 2021-07-27 12:00:29 +00:00
Zuul
4206399ce6 Merge "Set stop grace periods for designate services" 2021-07-27 11:42:23 +00:00
Zuul
5cb8099f4d Merge "Deprecate ineffective ManilaCephFSCephFSEnableSnapshots" 2021-07-27 06:16:34 +00:00
Zuul
43f32b6e17 Merge "Remove all docker related tasks from upgrades" 2021-07-27 04:47:55 +00:00
Zuul
8994928f05 Merge "Fix typo in ovn-dbs-cluster northd kolla config file" 2021-07-27 00:01:06 +00:00
Simon Dodsley
2d92ebf07e Add Pure Storage FlashBlade Manila driver
Depends-On: If204a13609ace655e03808a7eb5db0fcf1202360
Change-Id: Ia29beff08f4c1664c3582b31309c6ac35b230d0c
2021-07-26 16:00:18 -04:00
Brent Eagles
b6148410bd Add support for setting min TTL limit in designate
This patch adds support for conditionally setting a minimum allowed TTL value with designate.

Note: also cleans up a previous conditional to take advantage of a new
wallaby heat template syntax for if's that don't have an 'else'.

Change-Id: Id80e5b07ff3080835162c2a301a7a48be9787959
2021-07-26 19:04:51 +00:00
Brent Eagles
e5ba54102b Set stop grace periods for designate services
Many of the designate services perform background syncrhonization
tasks and can lag a bit on shutdown, especially on heavily loaded or
large scale systems. Increasing the stop grace periods reduces the
likelihood that the system might get into a non-consistent state or a
state where a great deal of reconciling needs to occur on restart.

Change-Id: If521662eb4c47ada45cf0a9edd0a58db8a1d038d
2021-07-26 13:44:03 -02:30
Sagi Shnaidman
2fb7835088 Remove all docker related tasks from upgrades
Change-Id: I50b81937698098141045841aec59c04ee88f5b0f
2021-07-26 16:44:03 +03:00
Bogdan Dobrelya
810b81991f Do not fail if haproxy container UUID changes
There is a possibility that haproxy container crashed and restarted
with another UUID, while the deployment is trying to reload it
after reconfiguring the certificates, by sending a
`kill -HUP <uuid-of-the-container>`. In that case, ingore errors
for the commands block, since there is no longer need to reload the
newly created container.

Related rhbz#1973674

Change-Id: I4b40d73ab329dc219ee7a387201b0747a6233ed4
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2021-07-26 11:07:11 +00:00
Zuul
d534731b1d Merge "Remove leftover of hieradata cleanup" 2021-07-26 06:02:51 +00:00
Martin Schuppert
ac5b3829b0 Enable archive task_log records while archiving the database
Adds new NovaCronArchiveDeleteRowsTaskLog parameter which controls to
also archive task_log records while archiving the database. Defaults to
true.

Depends-On: https://review.opendev.org/c/openstack/puppet-nova/+/801924
Change-Id: I59dc05ec26703bf92121a46a5ac0b3786d5e0a18
Related-Bug: #1877189
2021-07-26 07:38:32 +02:00
Zuul
82ce8ae6f8 Merge "Role parameter for tripleo_kernel_defer_reboot" 2021-07-26 04:11:47 +00:00
Zuul
3b9952a6f8 Merge "Remove support for Cavium LiquidIO" 2021-07-25 09:55:18 +00:00
Takashi Kajinami
53040573ab Use yaml.safe_load to load YAML files
Since PyYAML 5.1, yaml.load without specifying the Loader option is
deprecated and shows the following warning.

YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated,
as the default Loader is unsafe.
Please read https://msg.pyyaml.org/load for full details.

This change replaces yaml.load by yaml.safe_load (which is effectively
same as adding Loader=yaml.SafeLoader) to get rid of that warning
message. Also, existing all usage of yaml.load with the Loader option
are also replaced so that we to make all implementation to load yaml
files consistent.

Change-Id: Id44fa2354429b944fbc0809f63db558bb7de23f7
2021-07-24 12:08:22 +09:00
Zuul
c0a3b05286 Merge "Add heat-api environment" 2021-07-24 02:53:25 +00:00
Zuul
3bd30cce87 Merge "vncproxy: removal of tags and steps change from post_upgrade_tasks" 2021-07-23 22:12:44 +00:00
Michele Baldessari
1115698c14 Fix typo in ovn-dbs-cluster northd kolla config file
The correct variable name in tripleo-ansible/roles/tripleo_ovn_cluster/templates/ovn_cluster.j2
is OVN_NORTHD_OPTS. With this change we see that the ovn_northd process
starts correctly with all the right parameters:

    root      104187  0.0  0.0  43056  8868 ?        S    16:57   0:00
    \_ /usr/bin/ovn-northd --no-chdir -vconsole:emer -vsyslog:err
    -vfile:info --pidfile=/run/openvswitch/ovn-northd.pid
    --log-file=/var/log/openvswitch/ovn-northd.log
    --private-key=/etc/pki/tls/private/ovn_dbs.key
    --certificate=/etc/pki/tls/certs/ovn_dbs.crt --ca-cert=/etc/ipa/ca.crt
    --ovnnb-db=ssl:172.17.1.132:6641,ssl:172.17.1.58:6641,ssl:172.17.1.50:6641
    --ovnsb-db=ssl:172.17.1.132:6642,ssl:172.17.1.58:6642,ssl:172.17.1.50:6642

Reported-By: Jakub Libosvar <jlibosva@redhat.com>

Change-Id: I50cf3b7d79d8cd139ae514438e147df73901a366
2021-07-23 20:04:29 +02:00
David Vallee Delisle
d2298873f9 Role parameter for tripleo_kernel_defer_reboot
To help operators protect their workload, they can now enable the
KernelArgsDeferReboot role parameter. This will prevent the tripleo-kernel
ansible module from automatically rebooting nodes even if KernelArgs
were changed unexpectedly.

Change-Id: I52e43f264a03775b6d609444f8da1a36d9565281
2021-07-21 09:19:59 -04:00
Zuul
5670359777 Merge "Remove unused OctaviaPostWorkflowName" 2021-07-19 21:40:04 +00:00
Zuul
b8fadde2bc Merge "Test override of CephClusterName in 004 standalone" 2021-07-19 18:27:25 +00:00
Zuul
53f6f79c18 Merge "Add OS version to check reboot happened" 2021-07-19 18:07:40 +00:00
Takashi Kajinami
e0cb3c6276 Deprecate ineffective ManilaCephFSCephFSEnableSnapshots
The cephfs_enable_snapshots parameter was deprecated in Manila[1]
during Victoria and was removed during Wallaby. Now Manila always
enables snapshot support for CephFS backend. Following that deprecation
in Manila, the corresponding parameter of puppet-manila was deprecated
during the Victoria cycle [2] and it is being removed during the Xena
cycle.

This deprecates the corresponding parameter from tripleo-heat-tempaltes
because it has no effect since Wallaby.

[1] 2d7c46445396b0db780ba456ffb9284b177a6ae4
[2] 2388d7510d600e358c76becf13d08581b489f2a7

Co-Authored-By: Goutham Pacha Ravi <gouthampravi@gmail.com>
Change-Id: I81565290603eb60c8c18e64c95ead7b761e8cb78
2021-07-19 22:17:37 +09:00
Sergii Golovatiuk
2b33594c19 Add OS version to check reboot happened
In some cases OS of VM shuts down very slowly. After post_reboot_delay
(120 sec) ansible logs in to VM and runs "systemctl
is-system-running | grep -qE "running|degraded" which works perfectly on
RHEL/CentOS 7/8. Ansible will be puzzled as it doesn't detect any other
statuses. This issue was solved in ansible 2.10 by redesigning reboot
module where "boot_time_command" verifies boot_id before and after
reboot. However, we cannot backport ansible 2.10 to product so this
patch adds a little check to detect OS version to keep it simple. This
works as leapp installs RHEL8 in disconnected mode after reboot, ansible
won't be able to connect until leapp is done.

Resolves: rhbz#1980542

Change-Id: I6190ee794dce461077b08b486aef18cbf9cc04b3
2021-07-19 10:01:32 +00:00
Zuul
5ba7f0817e Merge "Fix playbook_dir Ansible Warning" 2021-07-15 16:13:21 +00:00
David Vallee Delisle
04cd218c82 tripleo-podman: Enable podman.socket
Instead of relying on nsenter in the various wrappers, we should use
podman --remote. To do this, we need to enable podman.socket.

Depends-On: https://review.opendev.org/c/openstack/tripleo-ansible/+/800847
Related-Bug: #1936005
Change-Id: I4d6c6e5dbaaa6e9ff7fdb6f0c719ad3ae3645f15
2021-07-15 10:09:02 -04:00
David Vallee Delisle
2001b48ca3 vncproxy: removal of tags and steps change from post_upgrade_tasks
Post upgrade tasks are limited to 4-1 steps, so these
tasks are not executed.

Deleting nova-consoleauth is failing with some of the CIs and this is
mostly a best-effort kind of task, so adding ignore_errors.

Also, replacing some yes/nos with boolean as it's best practice.

Related: https://bugzilla.redhat.com/1921112
Change-Id: I0bc39170569c42a0be31233fd7ec068613547790
2021-07-15 09:47:46 -04:00
Zuul
f17505bbdf Merge "Enable image copy for multiple RBD Glance stores" 2021-07-15 10:47:27 +00:00
Zuul
200f0522ed Merge "Add tool to convert net-data from v1 to v2" 2021-07-15 06:47:19 +00:00
Zuul
58ce5cb92d Merge "Enable enable_proxy_headers_parsing in Ironic API" 2021-07-14 23:50:12 +00:00
Takashi Kajinami
712c6025d2 Remove unused OctaviaPostWorkflowName
The OctaviaPostWorkflowName parameter used to define name of
the mistral workflow to run post deployment tasks for Octavia. However
all post tasks have been migrated from independent mistral workflow to
external_deploy_task[1], and the parameter has had no effect since
that migration.

[1] 3def4e0384c22e9d7d6821ab74a372d188a2d0ac

Change-Id: I419daa040f5998440af956fadab62ec26abed4dc
2021-07-14 23:23:46 +09:00
Zuul
7d96c96b81 Merge "Replace LEAPP_DEVEL_SKIP_RHSM with LEAPP_NO_RHSM" 2021-07-14 12:28:16 +00:00
Zuul
9baa416151 Merge "Remove unused disable-unbound.yaml" 2021-07-14 09:02:32 +00:00
Zuul
7def8038a3 Merge "yaml-diff.py: Making it a bit better" 2021-07-14 05:34:32 +00:00
Takashi Kajinami
a9ed083355 Enable enable_proxy_headers_parsing in Ironic API
... so that Ironic API can detect the actual endpoint and client ip.

Change-Id: Iedca07790b18b7a4dc630dc32b1af9ee447834b1
2021-07-14 11:17:39 +09:00
Zuul
0a60aad3aa Merge "Introducing the ComputeVdpa role" 2021-07-13 19:06:30 +00:00
Zuul
1b6349dcbf Merge "Remove ineffective CinderPowerStoreAppliances parameter" 2021-07-13 11:51:48 +00:00
Takashi Kajinami
726ccc1bdc Remove leftover of hieradata cleanup
The commit e2680bbf7eba8b40424083900d21ec285754c86f removed usage
of CephManilaClientKey in manila-backend-cephfs.yaml but it didn't
remove comments about the parameter.

Change-Id: I65c1ef66833109d10882981f4a4f5852ee31acf0
2021-07-13 11:08:26 +09:00
Zuul
a59039d29c Merge "Enable healthcheck API in Octavia and Ironic" 2021-07-13 00:03:31 +00:00