Remove usage of mariadb.com infra mirror

Current mariadb.com mirror that's being cached by infra does not
contain modern MariaDB versions and can't be used any longer for
testing.

Once we switch to mariadb.org and infra configuration will be in place,
we should return usage of local cached mirror.

It also unconditionally re-configures AIO during upgrade as we
need to remove usage of CI mirrors there after N-1 deployment
is done

Needed-By: https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/924354
Change-Id: I0af801c64b23107cafe99ac27f22f50ca669d26e
This commit is contained in:
Dmitriy Rabotyagov 2024-11-04 13:46:21 +01:00
parent aa3ebe8d75
commit fb7de5866d
2 changed files with 8 additions and 8 deletions

View File

@ -266,13 +266,13 @@ if [[ "${ACTION}" =~ "upgrade" ]]; then
ln -s $ZUUL_SRC_PATH /openstack/src
fi
# Update AIO config files for certain scenarios
for item in "${SCENARIOS_WITH_CONFIG_UPDATE[@]}"; do
if [[ "${SCENARIO}" =~ "${item}" ]]; then
export BOOTSTRAP_EXTRA_PARAMS="${BOOTSTRAP_EXTRA_PARAMS:-} -t prepare-aio-config"
"${OSA_CLONE_DIR}/scripts/bootstrap-aio.sh"
break
fi
done
# for item in "${SCENARIOS_WITH_CONFIG_UPDATE[@]}"; do
# if [[ "${SCENARIO}" =~ "${item}" ]]; then
export BOOTSTRAP_EXTRA_PARAMS="${BOOTSTRAP_EXTRA_PARAMS:-} -t prepare-aio-config"
"${OSA_CLONE_DIR}/scripts/bootstrap-aio.sh"
# break
# fi
# done
# To execute the upgrade script we need to provide
# an affirmative response to the warning that the
# upgrade is irreversable.

View File

@ -82,7 +82,7 @@
nodepool_overrides:
openstack_hosts_centos_mirror_url: "{{ nodepool_vars.NODEPOOL_CENTOS_MIRROR }}"
centos_epel_mirror: "{{ nodepool_vars.NODEPOOL_EPEL_MIRROR }}"
galera_repo_host: "{{ nodepool_vars.NODEPOOL_MIRROR_HOST }}:8080"
# galera_repo_host: "{{ nodepool_vars.NODEPOOL_MIRROR_HOST }}:8080"
nova_virt_type: 'qemu'
# NOTE(jrosser)
# we only run ceph jobs on ubuntu in CI so this is sufficient