Zuul
1ea48d14e2
Merge "Fix extra facts gathering with tags"
2022-04-03 16:01:41 +00:00
Dmitriy Rabotyagov
2492d82da6
Fix extra facts gathering with tags
...
When switching to gathering min facts, we introduced common task that
was responsible for gathering specific subset. However we used
include_task and not applied always tag to include. That resulted in
effect that facts were not gathered when playbook run with tags
and leads to failure.
To workaround that we move include to prior facts gathering stanza.
As alternative option for ceph we applied always tag to include.
Change-Id: Ie996262043edb8fb9c7221a5cd98e98a0111ac28
2022-03-25 19:56:44 +01:00
Dmitriy Rabotyagov
857d7d2515
Add mysql directory for logging
...
Change-Id: Icaa005c9d0e20c272c44a6849813ca2d16a4bd5d
2022-03-24 17:07:27 +01:00
Zuul
6ae7806fdd
Merge "Create ssh certificate authority"
2022-03-21 20:48:42 +00:00
Zuul
1a288c63cb
Merge "Add variable to bootstrap role to describe the test job action"
2022-03-21 15:53:31 +00:00
Zuul
8c7b7f6035
Merge "Create yaml file of the zuul job vars for embedded ansible"
2022-03-21 15:53:28 +00:00
Zuul
81c6f0ffd3
Merge "Drop linuxcontainers hardcode for CI"
2022-03-19 14:20:56 +00:00
Zuul
b6f1d362c9
Merge "Set minimum and maximum microversions for manila api"
2022-03-16 17:34:44 +00:00
Zuul
a782e855ec
Merge "Replace use of deprecated ANSIBLE_CALLBACK_WHITELIST"
2022-03-16 16:55:19 +00:00
Zuul
32db56689e
Merge "Connect openstack_pki_regen_ca variable to pki role"
2022-03-16 16:21:24 +00:00
Dmitriy Rabotyagov
dfa077659d
Add ansible.utils collectoin requirement
...
ipaddr filter has been moved from netcommon to utils collection [1]
Based on that we must add that collection to requirements.
[1] db4920ebf6
Change-Id: Id834c484e405a805ef87b260a8fd2ea440096937
2022-03-14 13:48:09 +00:00
Zuul
e676bdc618
Merge "Add support for running on Rocky Linux"
2022-03-10 21:42:41 +00:00
Zuul
42adc612f8
Merge "Bump SHAs for master"
2022-03-10 21:39:42 +00:00
Zuul
467cae9492
Merge "Improve bump patch readability"
2022-03-10 21:37:04 +00:00
Zuul
f801c42715
Merge "All of the deployment scenarios require keystone"
2022-03-10 21:18:02 +00:00
Neil Hanlon
65c67f5725
Add support for running on Rocky Linux
...
Change-Id: I127ab0d9bab436e207a3217a1663ba196d300fd2
Signed-off-by: Neil Hanlon <neil@shrug.pw>
Depends-On: https://review.opendev.org/c/openstack/project-config/+/828435
2022-03-10 09:36:20 +00:00
Dmitriy Rabotyagov
24b6801a67
Bump SHAs for master
...
Change-Id: I5957d0723a7cc37e91006b0998d89ef199b2260d
2022-03-10 10:35:43 +01:00
Dmitriy Rabotyagov
23ee36ad65
Improve bump patch readability
...
Currently we update HEAD date for each SHA, which makes it hard
to track what exactly has been updated.
From now on we will be updating dat only at beginning of the file
which improves review experience and show real changes to SHAs.
Change-Id: I2528d7b624b72674f9dcb953a5b25ec5ca48232a
2022-03-10 09:32:46 +00:00
Dmitriy Rabotyagov
e197943290
Bump ansible.netcommon version
...
Starting from version 2.6.0 ansible.netcommon drops ipaddr filter.
This collection is pulled in as a requirement by openvswitch.
We need to fix version of netcommon to ensure that behaviour stays same.
[1] db4920ebf6
Change-Id: Ic110f8cc425482680070d71f8fe3dacfd1f561fd
2022-03-04 20:16:21 +00:00
Jonathan Rosser
ac56f37dfb
Connect openstack_pki_regen_ca variable to pki role
...
This was missing where the pki role is called but was documented
as a usable option.
Change-Id: Icde65f696627237fd55b5cfb69943f184f419bba
2022-02-28 18:25:53 +00:00
Jonathan Rosser
42e9dca1ac
All of the deployment scenarios require keystone
...
The git repo is missing on the CI node if we do not have this.
Change-Id: If47472db6450b2c201a792f2f216d822f2ee95b1
2022-02-24 11:29:08 +00:00
Jonathan Rosser
9c2af697ea
Add variable to bootstrap role to describe the test job action
...
This can be 'deploy', 'upgrade' or other actions passed via the
ACTION environment variable.
Change-Id: Ic769c0a0e9d79429cdeb1c4d20a6957f57a765a5
2022-02-22 14:13:40 +00:00
Zuul
0269f18ef3
Merge "Do not install extra repos with the zuul configure-mirrors role"
2022-02-21 17:24:26 +00:00
Jonathan Rosser
ef7a5f6ff8
Add hosts zuul job with reduced required_projects
...
There is no need to have the openstack service repos available for
the hosts scenario tests
Change-Id: I2cd9709981e89334728db53be1bb41eb2d411c9b
2022-02-18 19:23:14 +00:00
Jonathan Rosser
f0eaef017d
Add infra zuul job with reduced required_projects
...
There is no need to have the openstack service repos available for
the infra scenario tests
Change-Id: I16609d11e91142c32a69954713b039f4e5e6ebbb
2022-02-18 19:23:06 +00:00
Dmitriy Rabotyagov
ad0fdb2840
Add test of used SHAs
...
We add additional test, that runs bootstarp-ansible.sh and
with that verifies that all roles and collections could be retrieved
from opendev. On top of that it runs extra task that retireves
service_projects and checkout it to the defined SHA.
Test runs only when we change files that we're testing.
Change-Id: I5ad5d4e5b0e59098fae9d185706753397caea6ec
2022-02-18 14:42:39 +00:00
Jonathan Rosser
0d57286ed9
Do not install extra repos with the zuul configure-mirrors role
...
These lead to unexpected results when OSA itself is trying to manage
the PowerTools repository.
See https://review.opendev.org/c/zuul/zuul-jobs/+/829028
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-openstack_hosts/+/829021
Change-Id: Ib11b8f6247080b6f43d1b86e83bcb4b02281f1a2
2022-02-17 13:09:37 +00:00
Jonathan Rosser
4566e65c45
Create yaml file of the zuul job vars for embedded ansible
...
Drop copies of the 'zuul' dict from the executor ansible into
files which can be read later by the embedded ansible.
Change-Id: I756af31f9afeaccb44498c39d0e55200d4844544
2022-02-15 16:29:09 +00:00
Zuul
e97b3980bc
Merge "Do not run rsyslog against RabbitMQ"
2022-02-15 11:36:15 +00:00
Zuul
e2ea66f9b4
Merge "Move infra-journal-remote logic to its role"
2022-02-15 11:36:12 +00:00
Zuul
3607c77424
Merge "Fix behaviour of OSA_CONFIG_DIR"
2022-02-15 11:20:29 +00:00
Jonathan Rosser
f53fcbb906
Replace use of deprecated ANSIBLE_CALLBACK_WHITELIST
...
This environment varible is deprecated and ANSIBLE_CALLBACKS_ENABLED
should be used instead.
Change-Id: I77ded12e9f85081b8868bb4121bd2d363cf7e375
2022-02-14 08:42:38 +00:00
Zuul
ee6169b1ed
Merge "Remove enablement of neutron tempest plugin in scenario templates"
2022-02-13 17:16:01 +00:00
Jonathan Rosser
e29049785c
Create ssh certificate authority
...
This happens once at the start of the deployment and the keys are
stored on the deployment host.
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/825113
Change-Id: I06bbf238321eb5d3e22b576b0797288d037e626d
2022-02-11 20:20:20 +00:00
Dmitriy Rabotyagov
c6d3d915f3
Drop linuxcontainers hardcode for CI
...
We don't talk to linuxcontainers anymore so this is not needed.
Change-Id: Ice6f582087ed970c0b1f3b514509bd4f31801b7c
2022-02-11 21:00:31 +02:00
Dmitriy Rabotyagov
b2e13a5128
Fix behaviour of OSA_CONFIG_DIR
...
OSA_CONFIG_DIR environemntal variable allows to manage several
deployments from same deploy host. That is handy feature
which was broken for several roles and usecases. It should be
respected and handled properly.
Change-Id: Ie6210a71f7b9890b74d9006de86050c822002c69
2022-02-11 20:31:11 +02:00
Zuul
1a706fe950
Merge "Rename RBD cinder backend"
2022-02-10 15:48:49 +00:00
Zuul
da8c4620dd
Merge "Remove workaround for OpenSUSE when setting AIO hostname"
2022-02-10 15:48:46 +00:00
Zuul
95d1535349
Merge "Simplify mount options for new kernels."
2022-02-10 15:38:32 +00:00
Zuul
be49e6d6b4
Merge "Remove symlinking of selinux libraries into the ansible-runtime venv"
2022-02-09 16:40:49 +00:00
Jonathan Rosser
c23153087a
Remove enablement of neutron tempest plugin in scenario templates
...
The plugin should be enabled by the tempest role due to the
presence of the neutron inventory group.
Change-Id: Ib37af0796edbcb3f4be4cd7c1093d407b12c50a7
2022-02-09 15:47:09 +00:00
Dmitriy Rabotyagov
64500404c4
Do not run rsyslog against RabbitMQ
...
Since RabbitMQ now uses journald logging, there's no reason to run
rsyslog_client against RabbitMQ hosts.
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/826345
Change-Id: I713c691f38c472871af591515fac0b9c593c56a7
2022-02-09 12:29:46 +00:00
Dmitriy Rabotyagov
e51d4bc8c8
Rename RBD cinder backend
...
RBD seems to be reserved name in cinder. Once it's used as
volume type, cinder fails with [1]
We rename backend name in doc and AIO to workaround the issue
[1] https://paste.opendev.org/show/bAJR9YEYA1hRjCuMc6kU/
Closes-Bug: #1877421
Change-Id: If48096a7309c7140cd9c182d5d3175e8d827cbd6
2022-02-09 09:11:23 +02:00
Dmitriy Rabotyagov
c8132233ae
Move infra-journal-remote logic to its role
...
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/824731
Change-Id: I125a34e87925de1c245c1cbc922689b56735e7d4
2022-02-07 11:28:34 +02:00
Zuul
7355944041
Merge "Bump ansible to 2.12.2"
2022-02-03 19:49:25 +00:00
Jonathan Rosser
b3680f4708
Set minimum and maximum microversions for manila api
...
The manila tempest plugin is branchless and needs the minimum
and maxium microversion setting depending on the version of
manila being tested. See [1] [2]
[1] https://github.com/openstack/manila/blob/master/devstack/plugin.sh#L968-L977
[2] https://docs.openstack.org/manila/latest/contributor/api_microversion_history.html
Change-Id: I71173689a5cb3274124c50e1909a55d2644618da
2022-02-02 21:54:07 +00:00
Jonathan Rosser
a5b99ca742
Remove symlinking of selinux libraries into the ansible-runtime venv
...
Core ansible modules that need selinux have been migrated to use
ctypes functions [1].
[1] https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/compat/selinux.py
Change-Id: I40c9c41f2e5cb432199492eb4cf5a75bb1b6b0b0
2022-02-02 21:02:58 +00:00
Zuul
38216f2b07
Merge "[DOC] A centos deployment host does not need the RDO repo installing"
2022-02-02 14:37:28 +00:00
Jonathan Rosser
c87fa93444
Remove workaround for OpenSUSE when setting AIO hostname
...
We no longer support OpenSUSE deployments so this code is redundant.
Change-Id: If5363321cea9031ff5cf9bd474d8d9711fc54e66
2022-02-02 04:45:50 -05:00
Jonathan Rosser
926458126a
Simplify mount options for new kernels.
...
We no longer need to support 4.x kernels
Change-Id: I0b493e8069470a2299e3de925846b2fc6ba2004b
2022-02-02 04:45:08 -05:00