diff options
| author | Michal Nasiadka <mnasiadka@gmail.com> | 2025-01-23 15:14:18 +0100 |
|---|---|---|
| committer | Michal Nasiadka <mnasiadka@gmail.com> | 2025-01-23 15:51:32 +0000 |
| commit | 330e68d249684910c98832808fbb929a2c6cafc6 (patch) | |
| tree | 3f552964bb9bcc0c828eedf4e24d19b5cb3e8dc9 /tests/run.yml | |
| parent | af255c754f7f86dcb6706b17d5fa4f6cef3a378a (diff) | |
| download | kolla-ansible-330e68d249684910c98832808fbb929a2c6cafc6.tar.gz kolla-ansible-330e68d249684910c98832808fbb929a2c6cafc6.zip | |
swift: Deprecate for removal in 2025.2
Disable CI jobs as well - those have been failing for some time
and there's no volunteer to fix them.
Change-Id: I13dc1822f2b803b5a4dbc99cc63ab05ce6016613
Diffstat (limited to 'tests/run.yml')
| -rw-r--r-- | tests/run.yml | 45 |
1 files changed, 2 insertions, 43 deletions
diff --git a/tests/run.yml b/tests/run.yml index 791922f92..af07a8ce4 100644 --- a/tests/run.yml +++ b/tests/run.yml @@ -21,7 +21,7 @@ need_build_image: "{{ kolla_build_images | default(false) }}" build_image_tag: "change_{{ zuul.change | default('none') }}" openstack_core_enabled: "{{ openstack_core_enabled }}" - openstack_core_tested: "{{ scenario in ['core', 'cephadm', 'zun', 'cells', 'swift', 'ovn', 'lets-encrypt'] }}" + openstack_core_tested: "{{ scenario in ['core', 'cephadm', 'zun', 'cells', 'ovn', 'lets-encrypt'] }}" dashboard_enabled: "{{ openstack_core_enabled }}" upper_constraints_file: "{{ ansible_env.HOME }}/src/opendev.org/openstack/requirements/upper-constraints.txt" docker_image_tag_suffix: "{{ '-aarch64' if ansible_architecture == 'aarch64' else '' }}" @@ -34,15 +34,9 @@ name: "{{ 'bind-utils' if ansible_os_family == 'RedHat' else 'dnsutils' }}" when: scenario == 'magnum' - - name: Install xfsprogs package for Swift filesystems - become: true - package: - name: xfsprogs - when: scenario == 'swift' - - name: Prepare disks for a storage service script: "setup_disks.sh {{ disk_type }}" - when: scenario in ['cephadm', 'zun', 'swift'] + when: scenario in ['cephadm', 'zun'] become: true vars: disk_type: "{{ 'ceph-lvm' if scenario in ['cephadm'] else scenario }}" @@ -155,7 +149,6 @@ - neutron - nova - bifrost - - swift - name: Generate configuration files template: @@ -314,13 +307,6 @@ shell: cmd: "{{ kolla_ansible_venv_path }}/bin/ansible all -i {{ kolla_inventory_path }} -m setup > /tmp/logs/ansible/initial-setup" - - name: Set facts for Swift initialisation - set_fact: - # NOTE(yoctozepto): no support for upgrades for now - docker_image_tag: "{{ build_image_tag if need_build_image else (zuul.branch | basename) ~ '-' ~ base_distro ~ '-' ~ base_distro_version ~ docker_image_tag_suffix }}" - docker_image_prefix: "{{ 'primary:4000/lokolla/' if need_build_image else '{{ zuul_site_mirror_fqdn }}:4447/openstack.kolla/' }}" - when: scenario in ['swift'] - # NOTE(yoctozepto): k-a octavia-certificates should run before k-a bootstrap-servers # because the latter hijacks /etc/kolla permissions (due to same directory on the # same host being used by both) @@ -354,20 +340,6 @@ KOLLA_ANSIBLE_VENV_PATH: "{{ kolla_ansible_venv_path }}" CONTAINER_ENGINE: "{{ container_engine }}" - - name: Run init-swift.sh script - script: - cmd: init-swift.sh - executable: /bin/bash - chdir: "{{ kolla_ansible_src_dir }}" - environment: - KOLLA_SWIFT_BASE_IMAGE: "{{ docker_image_prefix }}swift-base:{{ docker_image_tag }}" - # NOTE(yoctozepto): no IPv6 for now - STORAGE_NODES: "{{ groups['all'] | map('extract', hostvars, - ['ansible_'+api_interface_name | replace('-','_') , 'ipv4', 'address']) - | join(' ') }}" - CONTAINER_ENGINE: "{{ container_engine }}" - when: scenario == 'swift' - # At this point we have generated all necessary configuration, and are # ready to deploy the control plane services. Control flow now depends on # the scenario being exercised. @@ -485,13 +457,6 @@ BASE_DISTRO: "{{ base_distro }}" CONTAINER_ENGINE: "{{ container_engine }}" - - name: Run test-swift.sh script - script: - cmd: test-swift.sh - executable: /bin/bash - chdir: "{{ kolla_ansible_src_dir }}" - when: scenario == 'swift' - - name: Run test-scenario-nfv.sh script script: cmd: test-scenario-nfv.sh @@ -793,12 +758,6 @@ IP_VERSION: "{{ 6 if address_family == 'ipv6' else 4 }}" when: openstack_core_tested - - name: Run test-swift.sh script (post-upgrade) - command: - cmd: tests/test-swift.sh - chdir: "{{ kolla_ansible_src_dir }}" - when: scenario == 'swift' - - name: Run test-prometheus-opensearch.sh script (post-upgrade) script: cmd: test-prometheus-opensearch.sh |
