7792 Commits

Author SHA1 Message Date
Jonathan Rosser
c6b8d20eef Fix console type selection for aarch64.
The valid types for nova_console_type defined in os_nova defaults/main.yml
do not include 'serial', but instead 'serialconsole'.

Change-Id: I700b699625ff134adb31e0f47dc5b7ad6ea0e1ed
2022-12-06 17:19:05 +00:00
James Denton
79fc2a604d Implement OVN inventory changes and deploy by default
This patch updates the OSA inventory to include a new group,
network-gateway_hosts, which operators can define to dictate which
nodes can be considered OVN gateway nodes. In addition, the default
mechanism driver is no longer ML2/LXB and must be specified by the
operator.

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/865961
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/866249
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/866159
Needed-By: https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/865973/4
Change-Id: I7be6520b338b5578b04631cfa04a9122c735959c
2022-12-05 16:11:25 +00:00
Zuul
031ae9f727 Merge "Add zookeeper deployment" 2022-12-01 21:34:58 +00:00
Zuul
502fd41992 Merge "Define a group for ironic_console" 2022-12-01 21:34:53 +00:00
Zuul
38b52010bc Merge "Allow to define user.rc file for OSA" 2022-12-01 21:34:49 +00:00
Zuul
7b382c436e Merge "Explicitly define neutron_plugin_base for OVS" 2022-12-01 15:53:13 +00:00
Dmitriy Rabotyagov
cf156f6dc0 Explicitly define neutron_plugin_base for OVS
With switching from LXB to OVN we need to have neutron_plugin_base
defined explitily in variables, otherwise ovn one will be used as
default.

Change-Id: I4da481d182ce8e207ff847c2adfebbbb17af358b
2022-11-29 14:54:30 +01:00
Dmitriy Rabotyagov
e315e2e327 Allow to define user.rc file for OSA
At the moment there is no handy functionality to override ENV variables
and store them in git near OSA config. As while we take into account
that ENV vars can already exist and we should use them, these VARs must
be defined in /etc/environement or bashrc files.

This patch aims to look for user.rc file inside OSA_CONFIG_DIR.
If it's present - it will be sourced with all it's content. This way
deployers can store environemnt variables overrides in git and they will
be loaded during on openstack-ansible startup.

Change-Id: Ie24ada54a0e0dc064be028929b416d983fdb5b49
2022-11-28 16:54:28 +01:00
Dmitriy Rabotyagov
ce656384dc Do not duplicate vers in nfs mount options
On ubuntu 22.04 specifying vers and nfsvers raising error during mount:
mount.nfs: multiple version options not permitted

To make NFS jobs passing for 22.04 we drop out vers.

Needed-By: https://review.opendev.org/c/openstack/openstack-ansible-os_cinder/+/865518/
Change-Id: I925a148febce2bbdc09e60020828947589905dcf
2022-11-28 10:04:37 +01:00
Zuul
2fc8351c89 Merge "Disable stick tables for galera" 2022-11-26 04:12:00 +00:00
Dmitriy Rabotyagov
a5053c88a5 Update ansible-collections-openstack version
Current collections version is failing to manage quota which results in
Octavia role failure.

Change-Id: Ifbca3e17e57ee0250def5a65c6855acc01b0a464
2022-11-25 17:27:45 +00:00
Dmitriy Rabotyagov
65ce2753fa Add zookeeper deployment
Zookeper is being added as a coordination backend which is
required for some service features to work properly.

Change-Id: I2d464ae339f057ea4ba08bd343b6a51c029a74f3
2022-11-25 09:13:22 +00:00
Dmitriy Rabotyagov
7b66935590 Drop upgrade step for Octavia certificates
With migration to PKI role for Octavia in Yoga, we added upgrade
playbook to define certificates for users that are upgrading deployment.

With SLURP releases, we either need to drop this upgrade step now or
carry on until Antelope.

Change-Id: I2c72bf6324b443c6b01a7f3142ebc90768c1c9c8
2022-11-24 15:59:01 +00:00
Dmitriy Rabotyagov
91315414d1 Try to adjust Apache directives for AIO
We started seing tempest failing on keystone quite frequently since
moved keystone behind Apache instead of nginx. At the same time we see
no issues. Also there are no issues logged which points towards too
small amount of threads/connection available for normal work and even
serial tempest tests. We try to minorly increase amount of threads for
Apache to see if that helps.

Change-Id: I6ce27125d2fa670bb0f240195a59f8ea242369d9
2022-11-23 09:01:46 +00:00
Dmitriy Rabotyagov
7eebc69e8a Update self version fetching mechanism
With release of new setuptools running setup.py --version started
returining extra line. Eventually, running setup.py as a script is not
considered as good practice and we should not rely on it's output much.
Instead, we can leverage importlib.metadata as it should be more
reliable in long run.

Closes-Bug: #1997365
Change-Id: Ife227db4ad25851456e1acc6b4daf198f39d989a
2022-11-22 18:10:01 +01:00
Damian Dabrowski
c673e7a027 Disable stick tables for galera
Haproxy config check(/usr/sbin/haproxy -c -f /etc/haproxy/haproxy.cfg)
shows a warning:

'http-request' rules ignored for backend 'galera-back' as they require
HTTP mode.

It's caused by the way we configure stick tables in haproxy.
We don't need stick tables for galera as it has only one active backend.

Change-Id: Ie41e26c1dcc671c30d39b34d3f436e225e7580a5
2022-11-16 22:36:04 +01:00
Damian Dabrowski
b4443d3021 Bump uWSGI version
On 24.02.2021 new uWSGI version was released.
https://uwsgi-docs.readthedocs.io/en/latest/Changelog-2.0.21.html

Change-Id: I1facabe010848c6f8b3fc6fbc2ad3b5b05fe95a1
2022-11-15 19:32:22 +01:00
Zuul
426fa4e5bb Merge "[doc] Better document integrated usage of ceph-ansible" 2022-11-15 00:13:09 +00:00
Zuul
bb5184c4aa Merge "Make ceph use storage network" 2022-11-15 00:13:07 +00:00
Zuul
cc4ecf3d37 Merge "Drop usage of lxc containers proxy" 2022-11-14 21:32:57 +00:00
Damian Dabrowski
bb1287555c Make ceph use storage network
With current "Ceph production example" the difference between ceph's
public and storage network is not clear.

We assign Storage Network to compute nodes, but it's not used there.
We also asign Storage Network to ceph monitors, but it's not used there
as well.

Same problems apply to AIO environment.

As Dmitriy suggested in [1], ceph should not use mgmt network for
storage traffic.

This change makes ceph use storage network for:
- OSD<>OSD communication
- client<>OSD communication
- client<>MON communication

I think it's the most common scenario where all ceph-related traffic
uses dedicated(storage) network and do not depend on mgmt network.

This change affects both "Ceph production example" docs and AIO
environments.

[1] https://review.opendev.org/c/openstack/openstack-ansible/+/856566

Change-Id: I74387a2e961e2b8355ea6a0c889b2f5674233ebf
2022-11-11 10:45:51 +01:00
OpenStack Proposal Bot
bfa8f192cc Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ief2588fec57f65a6662a08f05e18b07bcff6b3c2
2022-11-09 02:24:07 +00:00
Zuul
66aeb95452 Merge "Switch master branch to track stable/zed" 2022-11-08 22:44:41 +00:00
Zuul
5e1e8913c4 Merge "Add release note about used ansible and ceph versions" 2022-11-08 17:43:19 +00:00
Zuul
2d9dee531f Merge "Mark Zaqar as deprecated in role matrix" 2022-11-08 17:43:16 +00:00
Zuul
d3892256e2 Merge "[doc] Mark Ocata/Pike/Queens as EOL" 2022-11-08 17:43:12 +00:00
Zuul
2d3868aac5 Merge "[doc] Mark Victoria as EM" 2022-11-08 17:43:09 +00:00
Zuul
460da383c5 Merge "Make Ubuntu Jammy voting" 2022-11-08 17:43:06 +00:00
Zuul
73db9d6575 Merge "Remove usage of rsyslog roles" 2022-10-31 17:13:17 +00:00
Dmitriy Rabotyagov
70d27d660f [doc] Better document integrated usage of ceph-ansible
Upgrade path is not tested for ceph-ansible and thus we can not
recommend it's integrated usage with OSA. These nits should be
documented properly to explain the risks.

This patch is alternative implementation to more extensive one [1]

[1]  https://review.opendev.org/c/openstack/openstack-ansible/+/862508

Change-Id: I1031cff1b1e13ca3e0d8c97c9cd28f25bfd5c6f1
2022-10-31 15:22:56 +00:00
Zuul
7be4cf6f89 Merge "Switch Ceph for Ubuntu Jammy to distro" 2022-10-31 15:09:09 +00:00
Dmitriy Rabotyagov
c93a42c297 Make Ubuntu Jammy voting
We are moving Ubuntu 22.04 support out of experimental state
which means that Jammy should be voting now. With that we are also
replacing focal jobs with jammy in gates to save CI resources.

Change-Id: I91c5e130348f4080cf947cb1097f78da6a34bfb4
2022-10-28 10:32:59 +02:00
Dmitriy Rabotyagov
bc6378ba3f Switch master branch to track stable/zed
Since stable/zed has been released, we need to track this branch
when deploying services to ensure our code does work with the release.

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/860540
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/862594
Change-Id: I758ba683c150ec0c2ab1903f3ff5304e5264a368
2022-10-25 11:02:23 +00:00
Zuul
f8acdc88d8 Merge "Install rally only on first utility container" 2022-10-24 23:14:02 +00:00
Zuul
0cb50d5284 Merge "Do not enable glance_show_multiple_locations" 2022-10-24 22:58:47 +00:00
Dmitriy Rabotyagov
b3a25cdca2 Switch Ceph for Ubuntu Jammy to distro
Ubuntu Jammy repository is not available on download.ceph.com but
we still want/need to test out ceph deployment one way or another.
So instead of failing installation we install distro-provided ceph.

Change-Id: I3c1151449afe545780f98c01afa9fc6948f685a4
2022-10-24 17:28:05 +02:00
Dmitriy Rabotyagov
a35b308795 [doc] Mark Ocata/Pike/Queens as EOL
Change-Id: Ia5cfdbc3cbe57647a209ca71693589e4f070cd83
2022-10-21 11:03:33 +02:00
Dmitriy Rabotyagov
700965439a [doc] Mark Victoria as EM
Change-Id: I3a53949870fa9eb8d659370029c9805fd7f3f2c5
2022-10-21 10:57:51 +02:00
Damian Dabrowski
6b6ece2bd9 Do not enable glance_show_multiple_locations
According to my tests, ``glance_show_multiple_locations`` is not
needed neither for ceph nor horizon's direct image upload.

For safety reasons [1] it's better to keep this option disabled.

[1] https://wiki.openstack.org/wiki/OSSN/OSSN-0090

Change-Id: I8c36196cd4b35de98cc3c1cabd8c8c2e03ecdae7
2022-10-20 19:01:13 +02:00
Dmitriy Rabotyagov
c2a6a86346 Add release note about used ansible and ceph versions
Change-Id: I23402d0f706fcfb7f6316398e0bf022e9c5ea951
2022-10-19 15:26:16 +02:00
Dmitriy Rabotyagov
bc5428b21d Remove usage of rsyslog roles
We've switched all services to store logs to journald by default and
rsyslog roles are not used except really small amount of usecases that
also hardly valid as of today. With that we deprecate repos and remove
their usega to reduce maintenance load.

Change-Id: Iefd4143f83f4df44b917180000a1aa57161b2811
2022-10-19 15:10:59 +02:00
Dmitriy Rabotyagov
cd5d8fce19 Mark Zaqar as deprecated in role matrix
Change-Id: I17f4ebf686f323c045e462f74d3f6ed943a3134d
2022-10-19 14:45:31 +02:00
Dmitriy Rabotyagov
f19789e9a9 Drop usage of lxc containers proxy
We build LXC images with rpm/debootstrap and don't download external
ones for quite a while, thus we never actually use this override in our
roles and this overrided can be safely cleaned up.

Change-Id: If5d7777f80b67beb1e83d8f933552d0431d0f4a5
2022-10-19 09:20:09 +02:00
OpenStack Proposal Bot
c9f2aff55b Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I2cfea3539e2568c2814219957a80e6556b5788af
2022-10-18 04:14:40 +00:00
Amy Marrich (spotz)
fef2375ea1 Minor grammar cleanup
Change-Id: I943ed821013294897280f32041c9d6ac19522563
2022-10-14 13:13:25 -05:00
Jonathan Rosser
eb4853dcaa Define a group for ironic_console
It is possible to install nova-serialconsole-proxy alongside
nova-compute to allow IPMI serial-over-lan consoles to be made
available through the openstack cli or through horizon.

The os_nova role needs to have logic to decide which ironic host to
install the nova serial proxy to, so we define an extra ansible group
for this purpose.

Change-Id: I936aa89129aeda56af9d9a1407073fccf00b7170
2022-10-11 14:20:55 +01:00
Zuul
e01385fb78 Merge "Bump ansible-core version to 2.13.4" 2022-10-10 10:30:45 +00:00
Zuul
4ff69b11db Merge "Do not spawn ironic-api on metal" 2022-10-05 12:30:29 +00:00
Zuul
909a3bbe00 Merge "Require usage of service_token_roles" 2022-10-05 12:30:26 +00:00
Zuul
dac2c00c48 Merge "Replace usage of which with command" 2022-10-05 12:01:56 +00:00