Skip to content

Commit

Permalink
[WIP] add a nova tempest ceph job
Browse files Browse the repository at this point in the history
This second job variant is trying to enable ceph for nova
and cinder storage.
  • Loading branch information
SeanMooney committed Mar 14, 2024
1 parent 4685453 commit a9a233e
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 2 deletions.
51 changes: 49 additions & 2 deletions .zuul.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,58 @@
[libvirt]
cpu_mode = custom
cpu_models = Nehalem
- job:
name: nova-operator-tempest-multinode-ceph
parent: podified-multinode-hci-deployment-crc-3comp
dependencies: ["nova-operator-content-provider"]
# Note: When inheriting from a job (or creating a variant of a job) vars are merged with previous definitions
vars:
cifmw_extras:
- "@scenarios/centos-9/multinode-ci.yml"
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/nova-operator'].src_dir }}/ci/nova-operator-tempest-multinode-ceph/ci_fw_vars.yaml"
# dedupe this later
cifmw_run_test_role: test_operator
cifmw_test_operator_concurrency: 4
cifmw_test_operator_timeout: 7200
cifmw_tempest_tempestconf_config:
overrides: |
compute.min_compute_nodes 3
compute-feature-enabled.vnc_console true
compute-feature-enabled.stable_rescue true
compute-feature-enabled.hostname_fqdn_sanitization true
compute-feature-enabled.live_migration true
compute-feature-enabled.block_migration_for_live_migration false
validation.run_validation true
identity.v3_endpoint_type public
service_available.swift false
service_available.cinder true
cifmw_test_operator_tempest_include_list: |
tempest.api.compute
tempest.scenario
cifmw_test_operator_tempest_exclude_list: |
tempest.api.compute.servers.test_device_tagging
test_create_server_invalid_bdm_in_2nd_dict
tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario
tempest.scenario.test_stamp_pattern
tempest.api.compute.admin.test_live_migration.LiveMigrationTest.test_live_migration_with_trunk
tempest.scenario.test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_server_connectivity_live_migration
tempest.api.compute.admin.test_auto_allocate_network.AutoAllocateNetworkTest.test_server_multi_create_auto_allocate
tempest.api.compute.servers.test_server_rescue.ServerStableDeviceRescueTestIDE
tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_mtu_sized_frames
# We need to use a custom cpu model to allow live migrating between
# slightly different computes coming from the node pool
# for ceph i might need to add https://github.com/openstack-k8s-operators/docs/blob/main/ceph.md#configure-nova
# but if i do i can just add that here as i dont know what the fsid will be
cifmw_edpm_deploy_nova_compute_extra_config: |
[libvirt]
cpu_mode = custom
cpu_models = Nehalem
- project:
name: openstack-k8s-operators/nova-operator
github-check:
jobs:
- nova-operator-content-provider
- nova-operator-kuttl
- nova-operator-tempest-multinode
# - nova-operator-kuttl
# - nova-operator-tempest-multinode
- nova-operator-tempest-multinode-ceph
33 changes: 33 additions & 0 deletions ci/nova-operator-tempest-multinode-ceph/ci_fw_vars.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
cifmw_install_yamls_vars:
BMO_SETUP: false
INSTALL_CERT_MANAGER: false

cifmw_edpm_prepare_skip_crc_storage_creation: true

# note by defualt the source for the playbook specified
# in the hooks is relative to
# https://github.com/openstack-k8s-operators/ci-framework/tree/main/hooks/playbooks
# if you want to use a different source you can use the full path on the ansible controller
post_deploy:
- name: Kustomize OpenStack CR with Ceph
type: playbook
source: control_plane_ceph_backends.yml
- name: Kustomize and update Control Plane
type: playbook
source: control_plane_kustomize_deploy.yml

# we can use this hook to create flavors, images, etc
# before we execute tempest simiilar to how we would use
# local.sh in devstack based jobs
# pre_tempest:
# - name: Create manila resources
# type: playbook
# source: manila_create_default_resources.yml

cifmw_run_tests: true
cifmw_tempest_container: openstack-tempest-extras
# we do not want the ci framwork trying to enbable any
# tempest groups by default we will manage all tempest execution
# via the job definition.
cifmw_tempest_default_groups: []

0 comments on commit a9a233e

Please sign in to comment.