diff options
| author | Michal Nasiadka <mnasiadka@gmail.com> | 2024-07-03 08:25:42 +0200 |
|---|---|---|
| committer | Michal Nasiadka <mnasiadka@gmail.com> | 2024-07-03 08:26:23 +0200 |
| commit | 8307e16fdc2a45cc36f9a849dbaa8a59ae5a1864 (patch) | |
| tree | 5d14a2ee73504ae38c5a7a387c5d296b5743ef9a /tests/pre.yml | |
| parent | 3b948e5235510ee57b87a5d6b1e18c2683574b78 (diff) | |
| download | kolla-ansible-8307e16fdc2a45cc36f9a849dbaa8a59ae5a1864.tar.gz kolla-ansible-8307e16fdc2a45cc36f9a849dbaa8a59ae5a1864.zip | |
Drop OpenEuler host OS support (due to no python3.10+)
ansible-core 2.16 and later requires python 3.10+ (see [1])
[1]: https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix
Change-Id: Id5e10872de413e7b476c5343360d73c109b9667a
Diffstat (limited to 'tests/pre.yml')
| -rw-r--r-- | tests/pre.yml | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/pre.yml b/tests/pre.yml index f7614ab96..d4247ad33 100644 --- a/tests/pre.yml +++ b/tests/pre.yml @@ -120,34 +120,6 @@ use: systemd become: true - # NOTE(wxy): There are some issues on openEuler, fix them by hand. - # 1. iptables-legacy is used by default. - # 2. NTP sync doesn't work by default. - - block: - # The Ubuntu 22.04 in container uses iptables-nft while the host - # openEuler 22.03 uses iptables-legacy by default. We should update - # openEuler to keep iptables the same. - - name: Set iptables from legacy to nft for container - shell: - cmd: | - dnf install -y iptables-nft - iptables-save > iptables.txt - iptables-nft-restore < iptables.txt - update-alternatives --set iptables /usr/sbin/iptables-nft - become: true - - # The command `timedatectl status` always times out if the command - # `timedatectl show-timesync` is not run first. - - name: Install systemd-timesyncd - package: - name: systemd-timesyncd - state: present - become: True - - name: Let ntp service work - shell: timedatectl show-timesync - become: true - when: ansible_facts.distribution == 'openEuler' - - name: Wait for ntp time sync command: timedatectl status register: timedatectl_status |
