-
Notifications
You must be signed in to change notification settings - Fork 48
/
.zuul.yaml
193 lines (188 loc) · 7.73 KB
/
.zuul.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
---
- job:
name: nova-operator-content-provider
parent: content-provider-base
description: |
This job builds the nova-operator and provides it to child jobs
It also rebuilds the openstack-operator using the updated nova operator.
provides:
- "nova-operator-content"
vars:
cifmw_operator_build_org: openstack-k8s-operators
cifmw_operator_build_operators:
- name: "openstack-operator"
src: "~/src/github.com/{{ cifmw_operator_build_org }}/openstack-operator"
image_base: nova
- job:
name: nova-operator-base
description: |
This is the base job for all nova-operator tests that will deploy
openstack. the base job does not deploy openstack but it does use
the nova-operator-content-provider job to provide a registry with
built operators and installs them on a crc environment. Child jobs
should take this deployed crc and use the installed operators to
deploy openstack and then test it. This job will fetch the job
output directory so child jobs can just add additional logs to that
in there post-playbooks.
parent: cifmw-podified-multinode-edpm-base-crc
abstract: true
attempts: 1
dependencies: ["nova-operator-content-provider"]
required-projects:
- github.com/openstack-k8s-operators/ci-framework
- github.com/openstack-k8s-operators/install_yamls
requires:
- "nova-operator-content"
roles:
- zuul: github.com/openstack-k8s-operators/ci-framework
pre-run:
- ci/nova-operator-base/playbooks/pre-wrapper.yaml
post-run:
- ci/nova-operator-base/playbooks/collect-logs.yaml
- job:
name: nova-operator-compute-kit
parent: nova-operator-base
dependencies: ["nova-operator-content-provider"]
roles:
- zuul: github.com/openstack-k8s-operators/ci-framework
description: |
This job deploy a basic "Compute Starter Kit" topology
https://www.openstack.org/software/sample-configs#compute-starter-kit
that is the minium set of openstack services required to boot a vm.
requires:
- "nova-operator-content"
run:
- ci/nova-operator-compute-kit/playbooks/deploy-openstack.yaml
- ci/nova-operator-compute-kit/playbooks/tempest.yaml
- job:
name: nova-operator-kuttl
parent: nova-operator-base
dependencies: ["nova-operator-content-provider"]
roles:
- zuul: github.com/openstack-k8s-operators/ci-framework
description: |
This job deploy a basic "Compute Starter Kit" topology
https://www.openstack.org/software/sample-configs#compute-starter-kit
that is the minium set of openstack services required to boot a vm.
requires:
- "nova-operator-content"
pre-run:
- ci/nova-operator-kuttl/playbooks/deploy-deps.yaml
run:
- ci/nova-operator-kuttl/playbooks/run-kuttl.yaml
nodeset:
nodes:
- name: controller
label: cloud-centos-9-stream-tripleo-vexxhost
- name: crc
label: coreos-crc-extracted-xxl
vars:
collection_namespace_override: "nova-kuttl-default"
zuul_log_collection: true
extra-vars:
crc_ci_bootstrap_networking:
networks:
default:
range: 192.168.122.0/24
mtu: 1500
internal-api:
vlan: 20
range: 172.17.0.0/24
storage:
vlan: 21
range: 172.18.0.0/24
tenant:
vlan: 22
range: 172.19.0.0/24
instances:
controller:
networks:
default:
ip: 192.168.122.11
crc:
networks:
default:
ip: 192.168.122.10
internal-api:
ip: 172.17.0.5
storage:
ip: 172.18.0.5
tenant:
ip: 172.19.0.5
- job:
name: nova-operator-tempest-multinode
parent: podified-multinode-edpm-deployment-crc-3comp
dependencies: ["nova-operator-content-provider"]
vars:
cifmw_tempest_tempestconf_profile:
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: true
validation.run_validation: true
# NOTE(gibi): This is a WA to force the publicURL as otherwise
# tempest gets configured with adminURL and that causes test
# instability.
identity.v3_endpoint_type: public
cifmw_tempest_tests_allowed:
- tempest.api.compute
- tempest.scenario
cifmw_tempest_tests_skipped:
# TODO(samborka): remove this once we have a running barbican
- tempest.scenario.test_encrypted_cinder_volumes.TestEncryptedCinderVolumes
# We don't have a running cinder-volume
- ServersTestBootFromVolume
- tempest.api.compute.volumes.test_volumes_list
- tempest.api.compute.admin.test_volume.AttachSCSIVolumeTestJSON
- tempest.api.compute.admin.test_volumes_negative.VolumesAdminNegativeTest
- test_delete_server_while_in_attached_volume
- tempest.api.compute.servers.test_device_tagging
- test_rebuild_server_with_volume_attached
- test_rescued_vm_attach_volume
- test_rescued_vm_detach_volume
- test_create_server_from_non_bootable_volume
- test_create_server_invalid_bdm_in_2nd_dict
- test_attach_volume_shelved_or_offload_server
- test_detach_volume_shelved_or_offload_server
- test_attach_detach_volume
- test_list_get_volume_attachments
- test_attach_attached_volume
- test_delete_attached_volume
- tempest.api.compute.volumes.test_volumes_get
- test_minimum_basic_instance_hard_reboot_after_vol_snap_deletion
- tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario
- test_shelve_volume_backed_instance
- tempest.scenario.test_stamp_pattern
- tempest.scenario.test_volume_boot_pattern
- test_volume_snapshot_create_get_list_delete
- tempest.api.compute.servers.test_server_rescue.ServerBootFromVolumeStableRescueTest
- test_stable_device_rescue_disk_virtio_with_volume_attached
- test_resize_volume_backed_server_confirm
- test_resize_server_revert_with_volume_attached
# We don't have shared local storage
- 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
# Libvirt refuses to live-migrate a paused VM with post-copy enabled
# See https://bugs.launchpad.net/nova/+bug/1946752
- test_live_block_migration_paused
# Need to check
- tempest.api.compute.admin.test_auto_allocate_network.AutoAllocateNetworkTest.test_server_multi_create_auto_allocate
- tempest.api.compute.servers.test_server_rescue.ServerStableDeviceRescueTestIDE
# Swift test failing with unauthorized errors
- tempest.scenario.test_object_storage
# We need to use a custom cpu model to allow live migrating between
# slightly different computes coming from the node pool
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