diff --git a/.zuul.yaml b/.zuul.yaml index dd3338b..acc362b 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -2,9 +2,6 @@ name: devstack-plugin-ceph-tempest-py3-base abstract: true parent: tempest-full-py3 - # TODO: Remove the nodeset pinning to focal once below bug is fixed - # https://bugs.launchpad.net/devstack-plugin-ceph/+bug/1996628 - nodeset: openstack-single-node-focal description: | Base integration tests that runs with the ceph devstack plugin and py3. Former names for this job where: @@ -21,11 +18,14 @@ - ^tox.ini$ timeout: 7200 vars: + configure_swap_size: 8192 + tempest_concurrency: 3 devstack_localrc: ENABLE_FILE_INJECTION: false TEMPEST_PLUGINS: '/opt/stack/cinder-tempest-plugin' ENABLE_VOLUME_MULTIATTACH: false - TEMPEST_RUN_VALIDATION: false + TEMPEST_RUN_VALIDATION: True + MYSQL_REDUCE_MEMORY: True devstack_plugins: devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph devstack_services: @@ -37,26 +37,26 @@ tempest_test_blacklist: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/devstack-plugin-ceph"].src_dir }}/tempest_skiplist.txt' - job: - name: devstack-plugin-ceph-tempest-py3 + name: devstack-plugin-ceph-tempest-ubuntu parent: devstack-plugin-ceph-tempest-py3-base description: | - Integration tests that runs with the ceph devstack plugin and py3. + Integration tests that runs with the ceph devstack plugin using ceph + packages from the distro. This job enable the multiattach feature enable from stein on. vars: devstack_localrc: ENABLE_VOLUME_MULTIATTACH: true - CEPH_RELEASE: "pacific" - job: - name: devstack-plugin-ceph-tempest-cephadm + name: devstack-plugin-ceph-tempest-py3 parent: devstack-plugin-ceph-tempest-py3-base description: | - Integration tests that runs with the ceph devstack plugin and py3. - The ceph cluster is deployed using cephadm + Integration tests that runs with the ceph devstack plugin using ceph + deployed using cephadm. vars: - tempest_concurrency: 1 devstack_localrc: + DISABLE_CEPHADM_POST_DEPLOY: True CEPHADM_DEPLOY: true - job: @@ -124,9 +124,6 @@ description: | Integration tests that runs the ceph device plugin across multiple nodes on py3. - # TODO: Remove the nodeset pinning to focal once below bug is fixed - # https://bugs.launchpad.net/devstack-plugin-ceph/+bug/1996628 - nodeset: openstack-two-node-focal required-projects: - openstack/cinder-tempest-plugin - openstack/devstack-plugin-ceph @@ -185,9 +182,8 @@ Runs devstack-plugin-ceph-tempest jobs. check: jobs: - - devstack-plugin-ceph-tempest-py3: - voting: false - - devstack-plugin-ceph-tempest-cephadm: + - devstack-plugin-ceph-tempest-py3 + - devstack-plugin-ceph-tempest-ubuntu: voting: false - devstack-plugin-ceph-cephfs-native: irrelevant-files: *irrelevant-files @@ -201,9 +197,9 @@ # voting: false # - devstack-plugin-ceph-master-tempest: # voting: false - # gate: - # jobs: - # - devstack-plugin-ceph-tempest-py3 + gate: + jobs: + - devstack-plugin-ceph-tempest-py3 - project: templates: diff --git a/devstack/files/debs/devstack-plugin-ceph b/devstack/files/debs/devstack-plugin-ceph index 0dee61c..955ac82 100644 --- a/devstack/files/debs/devstack-plugin-ceph +++ b/devstack/files/debs/devstack-plugin-ceph @@ -1 +1,4 @@ -xfsprogs \ No newline at end of file +xfsprogs +qemu-block-extra +catatonit +podman diff --git a/devstack/plugin.sh b/devstack/plugin.sh index c6063f1..aa7cb5d 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -53,9 +53,9 @@ elif [[ "$1" == "stack" && "$2" == "install" ]]; then # newer version of it, while python-pastedeploy remains. The mismatch # between the install path of paste and paste.deploy causes Keystone to # fail to start, with "ImportError: cannot import name deploy." - if [[ "$TARGET_BRANCH" == stable/queens || "$TARGET_BRANCH" == master ]]; then - pip_install -U --force PasteDeploy - fi + # TODO(frickler): This is needed for all branches currently. + pip_install -U --force PasteDeploy + install_package python-is-python3 fi elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then if [[ "$CEPHADM_DEPLOY" = "True" ]]; then