Commit Graph

3051 Commits

Author SHA1 Message Date
Ghanshyam Mann 7fa1307c6c Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Change-Id: Id1dc6681828f08aff7782b02049e08748e9a1e0f
2024-02-24 11:42:26 -08:00
Zuul e281ae7624 Merge "Stop using ceph/daemon entrypoint" 2023-04-18 21:58:01 +00:00
Zuul 17dd5d33a7 Merge "Add flag to enable nmstate provider for os-net-config" 2023-04-18 12:49:00 +00:00
Francesco Pantano a23795e83b
Stop using ceph/daemon entrypoint
Due to the recent Ceph 6 (Quincy) container image refactoring,
the old entrypoint is no longer available.
However, the ceph-nfs systemd unit should support both Pacific
and Quincy releases.
This patch introduces a task that is able to detect the version
provided by the ceph container in the Heat stack and renders the
systemd unit accordingly.

Change-Id: I34537db460ff5aaba93da7e104262e26e64cbb1a
2023-04-17 09:12:01 +02:00
vcandappa 6973ae093b Add flag to enable nmstate provider for os-net-config
os-net-config will support new provider nmstate.
To choose nmstate during deployment [1], updating
baremetal schema to support the flag

[1] https://github.com/openstack/tripleo-ansible/blob/master/tripleo_ansible/roles/tripleo_network_config/defaults/main.yml#L29

Change-Id: Iae5e0c8272eeb3282f232ab5f35911ec1b82a048
2023-04-04 12:27:22 +00:00
Zuul 6e1681ec70 Merge "Raise wait time and retries limits for service to comes up" 2023-03-20 13:28:59 +00:00
Zuul 1423f649c6 Merge "Ensure that lb-mgmt-subnet has a gateway in Octavia DCN" 2023-03-17 17:48:51 +00:00
Roberto Alfieri 7a1b531de5 Raise wait time and retries limits for service to comes up
Signed-off-by: Roberto Alfieri <ralfieri@redhat.com>
Partial-bug: #2008822
Change-Id: Iaff25c8cf0864a9d776e66b19906d5fbab0f1e2a
2023-03-17 08:51:27 +00:00
Marios Andreou 61781e1dd1 Remove workaround explicit downgrade of containers common 1.44
This removes the workaround introduced for [1]. The bug is fixed
and this pin is now causing problems as seen at [2].

[1] https://launchpad.net/bugs/1988500
[2] https://53a040c36594af0c8d61-65c8cd20428a10135cd2762abf51d9a7.ssl.cf1.rackcdn.com/877305/5/check/tripleo-ansible-centos-stream-molecule-tripleo_redhat_enforce/78b4abf/job-output.txt

Change-Id: I527036d08876a0a963133d5e15d85af695a3251e
2023-03-17 10:26:38 +02:00
Lukas Bezdicka 4879d1082c Improve vip extraction for the multi-cell
The multi-cell stacks don't have networks and only tag
the ports. The code now simply mixes ports of multiple
stacks together. To resolve this we filter for the
tags of stacks in the vip ports.

Co-authored-by: Daniel Bengtsson <dbengt@redhat.com>

Change-Id: Id3eacdb631a7a7102d28ca4b9963fed3d99f2414
2023-03-10 10:23:10 +01:00
Zuul 3831309bf0 Merge "Fix ceph pool creation failure" 2023-03-08 12:26:37 +00:00
Takashi Kajinami 449faf71a5 Do not dump detail of container definitions
Some containers such as keystone_bootstrap contains secret information
in the container definitions. We should not dump such details into
ansible output.

Closes-Bug: #1998181
Change-Id: I6c98afc8e0d6822199001ffd9535575a4506b82d
2023-03-07 12:04:43 +00:00
katarimanoj 0c3a54a6ef Fix ceph pool creation failure
During `openstack overcloud deploy`, ceph create pool operation
fails on RHSCSv6 as the podman command generated by 'ceph_pool'
ansible module has the volume argument as /etc/ceph.

This patch ensures to use the '/var/lib/ceph/$FSID/config/'
in the podman command generated by all the ansible moduels.

Even the 'tripleo_cephadm_ceph_cli' is updated to use the
new path.

Resolves: rhbz#2172582
Change-Id: I570ce859c3033d0f8cc36064f851419fca1a9d66
2023-03-07 16:13:31 +05:30
Roberto Alfieri 539caf1a78 fixed indentation in iscsid container definition template file
Signed-off-by: Roberto Alfieri <ralfieri@redhat.com>
Closes-bug: #2008822
Change-Id: I0848e207d2fb35ae258f7e5c22da8c3768628e13
2023-03-06 13:53:06 +00:00
Gregory Thiemonge eaf63ff01f Ensure that lb-mgmt-subnet has a gateway in Octavia DCN
The lb-mgmt-subnet is added to a router but Neutron requires that the
subnet has a non-empty gateway.
Ensure it exists before adding it.

wallaby-backport-potential

Change-Id: I1e01880449bd2fc08da949dc409e4089fe2f6e0d
2023-03-06 11:58:54 +01:00
Zuul 6af65213f9 Merge "tripleo_iscsid: ensure /etc/iscsi/iscsid.conf exists" 2023-03-02 15:54:08 +00:00
Brendan Shephard 0eb3759901
Only set selinux context when enabled
If selinux is disabled, we don't need to, and can't set the fcontext on
the list of files. This change adds a conditional statement to this task
based on the status of selinux.

Closes-Bug: #2008822

Change-Id: Id0135cc2456b1716e3bedace16ca4b9cee89d7b4
2023-03-01 20:22:10 +10:00
Alan Bishop 84c9d7f7bb tripleo_iscsid: ensure /etc/iscsi/iscsid.conf exists
Ensure iscsid.conf exists, specifically to cover the case where the
iscsi-initiator-utils package isn't installed on the host.

Closes-Bug: #2007839
Change-Id: Ic057183fcdd208295777492e1836f0757cc9d579
2023-02-27 12:57:50 -08:00
Zuul eaa0fe6f24 Merge "nova-compute: Remove old workaround to purge nova packages" 2023-02-21 22:54:49 +00:00
Zuul 41b7571c61 Merge "Fix tripleo_multipathd handling of blacklist section" 2023-02-21 05:35:32 +00:00
Zuul 04d68456ce Merge "bnr - missing db backup files" 2023-02-17 00:27:07 +00:00
Zuul 96368efbf6 Merge "Setting default value of the 'default_values' argument" 2023-02-16 19:24:59 +00:00
Zuul 25152310a3 Merge "Add configure tasks for iscsid role" 2023-02-16 15:09:26 +00:00
Jiri Podivin 26935da300 Setting default value of the 'default_values' argument
Existing implementation could lead to module failing with exception
if defaults were not provided.

Resolves: rhbz#2136519

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I02d2452347b0ab6d7f79d2756b5f5dbc5f0cef84
2023-02-16 09:58:55 +01:00
Zuul 1b906dd464 Merge "Use default thread locking for container image prepare" 2023-02-14 23:10:37 +00:00
Steve Baker 568e88435f Use default thread locking for container image prepare
Process based locking was added to improve container prepare
performance for python2/mistral, according to this change[1] so it
might not be appropriate to use it in an ansible module.

This change removes the ProcessLock so the image preparation uses the
default ThreadLock (and the thread executor).

It is possible that authentication caching doesn't work at all with
the process based executor, and support for that executor should be
removed entirely now that it is not required.

[1]60afc0eec4
Resolves: rhbz#2165527

Change-Id: Ib127b11cc26944dc4c348d7c8b6938bbea0a134a
2023-02-14 16:48:52 +00:00
Zuul c88b955378 Merge "Ansible package changed name to ansible-core, update exclude value" 2023-02-14 13:25:50 +00:00
Brendan Shephard 322415d3c4 Add configure tasks for iscsid role
This patch adds configure task which replaces the iscsid configuration
in [1] with these modifications.

 - configure /etc/iscsi on the host directly, so it eliminates the use
   of /var/lib/config-data/ansible-generated
 - remove "sync from host" and "sync to host" operations which are no
   longer needed.
 - optimize the install task.

[1] https://github.com/openstack/puppet-tripleo/blob/master/manifests
/profile/base/iscsid.pp

Co-Authored-By: Manoj Katari <mkatari@redhat.com>
Change-Id: Idb57bb5179897ee7b4461f81372e6021b72be4d8
2023-02-13 19:58:09 -08:00
mciecier b089cda9cc Ansible package changed name to ansible-core, update exclude value
Ansible package changed name to ansible-core. Exclude must stay due to
bz https://bugs.launchpad.net/tripleo/+bug/1998501, only update exclude
field to exclude ansible-core instead of ansible.

As a part of standalone-roles work update tasks from tht
deployment/tripleo-packages/tripleo-packages-baremetal-puppet.yaml were
migrated to tripleo-ansible and this is the reason why need tht
change[1] together with this tripleo-ansible change.

Related-Bug: #1998501

[1]https://review.opendev.org/c/openstack/tripleo-heat-templates/+/872568

Change-Id: I09586601036370696f0b93e7b171a0bcc5393b27
2023-02-09 13:29:53 +00:00
Gregory Thiemonge bcd631f6ad Ensure that octavia-amphora-image is installed
We had expected that octavia-amphora-image was always installed when
deploying Octavia (it was pulled by the rhos-director-images RPM) but
when deploying an UEFI overcloud, the package is not installed.

This commits adds a task that ensures the octavia-amphora-image package
is installed if:
- the user doesn't specify another image path
- the RPM is available (the RPM doesn't exist in RDO - tripleo CI jobs
  download the image in an other ansible playbook)

wallaby-backport-potential

Resolves: rhbz#2132889
Change-Id: Ic5fafe54f84fd934839c340b2f7bb5455d8b8639
2023-02-09 10:26:57 +01:00
Carlos Camacho 9256ab0a86 bnr - missing docs for the role
This commit includes the initial documentation
for the snapshot and recovery role.

Change-Id: Id662eb3a2d53f5f3477c22ea4ffcee3aa75aac67
2023-02-06 11:20:37 +01:00
Zuul 3e19768b8f Merge "Add support for IPv6 lb management network" 2023-02-03 02:23:50 +00:00
Alan Bishop 21ee61309c Fix tripleo_multipathd handling of blacklist section
Fix the tripleo_multipathd role's task that detects whether a
blacklist section is present in /etc/multipath.conf. Previously,
an error caused it to insert malformed lines in the file.

Resolves: rhbz#2159555
Change-Id: If85e8c3644af21455ce497d88ee975c056f4fcaa
2023-01-31 09:32:51 -08:00
Tom Weininger f4ed39060e Add support for IPv6 lb management network
Downstream Wallaby backport candidate.

This will use the existing lb_mgmt_subnet_cidr setting
to decide whether IPv6 is used and configure the deployment accordingly.

Change-Id: I735a905fa42a354cb2547e4fc96c396af914a529
2023-01-31 13:54:46 +01:00
Zuul 2932173133 Merge "Add missing neutron vars for tripleo-standalone-vars" 2023-01-30 18:51:30 +00:00
Fernando Diaz c142619f00 bnr - missing db backup files
When executing the overcloud backup command, the db backup files are missing since the when condition for executing the db_backup.yaml file is never met.

Change-Id: I0eed37d1da74acf9d7910c6ed0c2ac47adadda12
2023-01-27 11:18:57 +01:00
Zuul a8f138d66b Merge "Remove python-dev from bindep" 2023-01-19 17:44:40 +00:00
Arnau Verdaguer 6cb8206479 Add missing neutron vars for tripleo-standalone-vars
It adds the controlplane missing vars which are needed
for configuring the ovn part.

Change-Id: I9eda195d4ff862a4b7a2b9c536afbd977ecfc632
2023-01-18 12:47:48 +01:00
Zuul d6d92bf683 Merge "[Octavia] Create a rsyslog forward when *_log_targets params are set" 2023-01-11 19:00:52 +00:00
Zuul 9bfcc7bb9b Merge "Do not sudo stat Ceph spec file on Ansible host" 2023-01-11 14:57:35 +00:00
Zuul c802924577 Merge "Switch to 2023.1 Python3 unit tests and generic template name" 2023-01-10 16:01:32 +00:00
Zuul 224c86d31e Merge "Update master for stable/zed" 2023-01-10 12:24:38 +00:00
Zuul 2aa8015d17 Merge "Fixing wrong argument dictionary key and removing superfluous char" 2023-01-09 17:53:34 +00:00
Zuul 6a0d14e6b7 Merge "Refactor a bit the inventory for edpm case" 2023-01-09 17:53:31 +00:00
Zuul e612f58e18 Merge "Use autospec instead of auto_spec" 2023-01-09 12:07:40 +00:00
Cédric Jeanneret 976741b320 Refactor a bit the inventory for edpm case
01-site:
Ensure we get a consistent format (yaml)

02-computes + host_vars/localhost:
Ensure the "ansible_connection" parameter is passed from within the
inventory, so that it's more obvious. Until now, we may just edit the
02-computes to inject our remote hosts, and not get what we want since
ansible will just use the local node instead of connecting to the
remotes.

Change-Id: I33b07d615beafecd5fe97cbca54c6a296965af8f
2023-01-09 09:30:21 +00:00
Zuul d145e95b6f Merge "Removing reference to the deprecated 'plan-environment.yaml'" 2023-01-06 17:23:03 +00:00
Zuul 1e53ead559 Merge "Sync t-h-t: Fix logs permissions for swtpm" 2023-01-06 14:49:17 +00:00
Jiri Podivin b7fe04a7dd Removing reference to the deprecated 'plan-environment.yaml'
Closes-Bug: #1995702

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I97fa450e88493b01054372ab18de4dec798ac317
2023-01-06 11:12:02 +00:00
Jiri Podivin a4fe2ed315 Fixing wrong argument dictionary key and removing superfluous char
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I2b31100c7a547f10ff9f445811c0bf4084fec3cd
2023-01-06 07:26:14 +00:00