Skip to content

Commit 65b6beb

Browse files
committed
Enable glance in kuttl tests
1 parent 74692f7 commit 65b6beb

File tree

3 files changed

+103
-0
lines changed

3 files changed

+103
-0
lines changed

config/samples/octavia_v1beta1_octavia.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ kind: Octavia
33
metadata:
44
name: octavia
55
spec:
6+
amphoraImageContainerImage: quay.io/gthiemonge/octavia-amphora-image
67
databaseInstance: openstack
78
databaseAccount: octavia
89
persistenceDatabaseAccount: octavia-persistence

tests/kuttl/common/assert_sample_deployment.yaml

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,101 @@ spec:
6969
service: OctaviaPassword
7070
secret: osp-secret
7171
serviceUser: octavia
72+
status:
73+
apireadyCount: 1
74+
healthmanagerreadyCount: 1
75+
housekeepingreadyCount: 1
76+
rsyslogreadyCount: 1
77+
databaseHostname: openstack.octavia-kuttl-tests.svc
78+
conditions:
79+
- message: Setup complete
80+
reason: Ready
81+
status: "True"
82+
type: Ready
83+
- message: DB create completed
84+
reason: Ready
85+
status: "True"
86+
type: DBReady
87+
- message: DBsync completed
88+
reason: Ready
89+
status: "True"
90+
type: DBSyncReady
91+
- message: Exposing service completed
92+
reason: Ready
93+
status: "True"
94+
type: ExposeServiceReady
95+
- message: Input data complete
96+
reason: Ready
97+
status: "True"
98+
type: InputReady
99+
- message: MariaDBAccount creation complete
100+
reason: Ready
101+
status: "True"
102+
type: MariaDBAccountReady
103+
- message: NetworkAttachments completed
104+
reason: Ready
105+
status: "True"
106+
type: NetworkAttachmentsReady
107+
- message: Setup complete
108+
reason: Ready
109+
status: "True"
110+
type: OctaviaAPIReady
111+
- message: Octavia Amphora certificates setup completed
112+
reason: Ready
113+
status: "True"
114+
type: OctaviaAmphoraCertsReady
115+
- message: Octavia Amphora Images setup completed
116+
reason: Ready
117+
status: "True"
118+
type: OctaviaAmphoraImagesReady
119+
- message: Octavia Amphora SSH setup completed
120+
reason: Ready
121+
status: "True"
122+
type: OctaviaAmphoraSSHReady
123+
- message: Setup complete
124+
reason: Ready
125+
status: "True"
126+
type: OctaviaHealthManagerReady
127+
- message: Setup complete
128+
reason: Ready
129+
status: "True"
130+
type: OctaviaHousekeepingReady
131+
- message: Octavia Management Network setup completed
132+
reason: Ready
133+
status: "True"
134+
type: OctaviaManagementNetworkReady
135+
- message: Octavia quotas setup completed
136+
reason: Ready
137+
status: "True"
138+
type: OctaviaQuotasReady
139+
- message: Setup complete
140+
reason: Ready
141+
status: "True"
142+
type: OctaviaRsyslogReady
143+
- message: Setup complete
144+
reason: Ready
145+
status: "True"
146+
type: OctaviaWorkerReady
147+
- message: RabbitMqTransportURL successfully created
148+
reason: Ready
149+
status: "True"
150+
type: RabbitMqTransportURLReady
151+
- message: RoleBinding created
152+
reason: Ready
153+
status: "True"
154+
type: RoleBindingReady
155+
- message: Role created
156+
reason: Ready
157+
status: "True"
158+
type: RoleReady
159+
- message: ServiceAccount created
160+
reason: Ready
161+
status: "True"
162+
type: ServiceAccountReady
163+
- message: Service config create completed
164+
reason: Ready
165+
status: "True"
166+
type: ServiceConfigReady
72167
---
73168
apiVersion: apps/v1
74169
kind: Deployment

tests/kuttl/tests/octavia_scale/00-test-resources.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,10 @@ kind: TestStep
33
commands:
44
- script: |
55
oc kustomize ../../../../config/samples/network-attachment-definition | oc apply -n $NAMESPACE -f -
6+
- script: |
7+
oc patch -n $NAMESPACE glance glance --type merge -p '
8+
spec:
9+
glanceAPI:
10+
default:
11+
replicas: 1
12+
'

0 commit comments

Comments
 (0)