Fix openEuler support

openEuler 22.03 LTS support was removed from devstack in last
few months due to its libvirt version is too old and the CI job
always fail.

This Patch add a yum repository for libvirt7.2.0, and add the
related CI job to make sure its works well.

Change-Id: Ic507f165cfa117451283360854c4776a968bbb10
This commit is contained in:
tzing 2023-11-06 02:24:14 +00:00
parent 3ffcc89d5d
commit 0f402b8327
2 changed files with 7 additions and 1 deletions

View File

@ -934,6 +934,8 @@
- devstack-platform-rocky-blue-onyx - devstack-platform-rocky-blue-onyx
- devstack-platform-ubuntu-jammy-ovn-source - devstack-platform-ubuntu-jammy-ovn-source
- devstack-platform-ubuntu-jammy-ovs - devstack-platform-ubuntu-jammy-ovs
- devstack-platform-openEuler-22.03-ovn-source
- devstack-platform-openEuler-22.03-ovs
- devstack-multinode - devstack-multinode
- devstack-unit-tests - devstack-unit-tests
- openstack-tox-bashate - openstack-tox-bashate

View File

@ -421,8 +421,12 @@ elif [[ $DISTRO == "openEuler-22.03" ]]; then
# 1. the hostname package is not installed by default # 1. the hostname package is not installed by default
# 2. Some necessary packages are in openstack repo, for example liberasurecode-devel # 2. Some necessary packages are in openstack repo, for example liberasurecode-devel
# 3. python3-pip can be uninstalled by `get_pip.py` automaticly. # 3. python3-pip can be uninstalled by `get_pip.py` automaticly.
install_package hostname openstack-release-wallaby # 4. Ensure wget installation before use
install_package hostname openstack-release-wallaby wget
uninstall_package python3-pip uninstall_package python3-pip
# Add yum repository for libvirt7.X
sudo wget https://eur.openeuler.openatom.cn/coprs/g/sig-openstack/Libvirt-7.X/repo/openeuler-22.03_LTS/group_sig-openstack-Libvirt-7.X-openeuler-22.03_LTS.repo -O /etc/yum.repos.d/libvirt7.2.0.repo
fi fi
# Ensure python is installed # Ensure python is installed