Skip to content

Commit 0bd4d7a

Browse files
auniyal61openshift-merge-bot[bot]
authored andcommitted
Adds kuttle and CI regression test for notifications
1 parent f8b3b5a commit 0bd4d7a

File tree

5 files changed

+154
-0
lines changed

5 files changed

+154
-0
lines changed

ci/nova-operator-tempest-multinode/control_plane_hook.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
path: /spec/nova/template/apiServiceTemplate/replicas
2525
value: 2
2626
27+
- op: replace
28+
path: /spec/nova/template/notificationsBusInstance
29+
value: rabbitmq
30+
2731
- op: replace
2832
path: /spec/neutron/template/replicas
2933
value: 2
Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
apiVersion: nova.openstack.org/v1beta1
2+
kind: Nova
3+
metadata:
4+
finalizers:
5+
- openstack.org/nova
6+
name: nova-kuttl
7+
namespace: nova-kuttl-default
8+
status:
9+
apiServiceReadyCount: 1
10+
metadataServiceReadyCount: 1
11+
schedulerServiceReadyCount: 1
12+
conditions:
13+
- message: Setup complete
14+
reason: Ready
15+
status: "True"
16+
type: Ready
17+
- message: Input data complete
18+
reason: Ready
19+
status: "True"
20+
type: InputReady
21+
- message: Setup complete
22+
reason: Ready
23+
status: "True"
24+
type: KeystoneServiceReady
25+
- message: MariaDBAccount creation complete
26+
reason: Ready
27+
status: "True"
28+
type: MariaDBAccountReady
29+
- message: ' Memcached instance has been provisioned'
30+
reason: Ready
31+
status: "True"
32+
type: MemcachedReady
33+
- message: DB create completed
34+
reason: Ready
35+
status: "True"
36+
type: NovaAPIDBReady
37+
- message: API message bus creation successfully
38+
reason: Ready
39+
status: "True"
40+
type: NovaAPIMQReady
41+
- message: Setup complete
42+
reason: Ready
43+
status: "True"
44+
type: NovaAPIReady
45+
- message: All DBs created successfully
46+
reason: Ready
47+
status: "True"
48+
type: NovaAllCellDBReady
49+
- message: All NovaCells are ready
50+
reason: Ready
51+
status: "True"
52+
type: NovaAllCellReady
53+
- message: All message busses created successfully
54+
reason: Ready
55+
status: "True"
56+
type: NovaAllCellsMQReady
57+
- message: There is no more NovaCells to delete
58+
reason: Ready
59+
status: "True"
60+
type: NovaCellsDeletion
61+
- message: Setup complete
62+
reason: Ready
63+
status: "True"
64+
type: NovaMetadataReady
65+
- message: Notification message bus created successfully
66+
reason: Ready
67+
status: "True"
68+
type: NovaNotificationMQReady
69+
- message: Setup complete
70+
reason: Ready
71+
status: "True"
72+
type: NovaSchedulerReady
73+
- message: RoleBinding created
74+
reason: Ready
75+
status: "True"
76+
type: RoleBindingReady
77+
- message: Role created
78+
reason: Ready
79+
status: "True"
80+
type: RoleReady
81+
- message: ServiceAccount created
82+
reason: Ready
83+
status: "True"
84+
type: ServiceAccountReady
85+
---
86+
apiVersion: v1
87+
kind: Pod
88+
metadata:
89+
annotations:
90+
openshift.io/scc: anyuid
91+
labels:
92+
service: nova-api
93+
name: nova-kuttl-api-0
94+
status:
95+
containerStatuses:
96+
- name: nova-kuttl-api-api
97+
ready: true
98+
started: true
99+
- name: nova-kuttl-api-log
100+
ready: true
101+
started: true
102+
---
103+
apiVersion: v1
104+
kind: Pod
105+
metadata:
106+
labels:
107+
service: nova-scheduler
108+
name: nova-kuttl-scheduler-0
109+
ownerReferences:
110+
- apiVersion: apps/v1
111+
blockOwnerDeletion: true
112+
controller: true
113+
kind: StatefulSet
114+
name: nova-kuttl-scheduler
115+
status:
116+
containerStatuses:
117+
- name: nova-kuttl-scheduler-scheduler
118+
ready: true
119+
started: true
120+
---
121+
apiVersion: v1
122+
kind: Pod
123+
metadata:
124+
annotations:
125+
openshift.io/scc: anyuid
126+
labels:
127+
cell: cell0
128+
service: nova-conductor
129+
statefulset.kubernetes.io/pod-name: nova-kuttl-cell0-conductor-0
130+
name: nova-kuttl-cell0-conductor-0
131+
ownerReferences:
132+
- apiVersion: apps/v1
133+
blockOwnerDeletion: true
134+
controller: true
135+
kind: StatefulSet
136+
name: nova-kuttl-cell0-conductor
137+
status:
138+
containerStatuses:
139+
- name: nova-kuttl-cell0-conductor-conductor
140+
ready: true
141+
started: true
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
apiVersion: nova.openstack.org/v1beta1
2+
kind: Nova
3+
metadata:
4+
name: nova-kuttl
5+
spec:
6+
secret: osp-secret
7+
notificationsBusInstance: rabbitmq-broadcaster

test/kuttl/test-suites/default/deps/infra.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ spec:
1818
replicas: 1
1919
rabbitmq-cell1:
2020
replicas: 1
21+
rabbitmq-broadcaster:
22+
replicas: 1
2123
memcached:
2224
templates:
2325
memcached:

0 commit comments

Comments
 (0)