Skip to content

Commit

Permalink
Enable glance in kuttl tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gthiemonge committed Dec 9, 2024
1 parent 0de59b8 commit cad552c
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/samples/octavia_v1beta1_octavia.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: Octavia
metadata:
name: octavia
spec:
amphoraImageContainerImage: quay.io/gthiemonge/octavia-amphora-image
databaseInstance: openstack
databaseAccount: octavia
persistenceDatabaseAccount: octavia-persistence
Expand Down
95 changes: 95 additions & 0 deletions tests/kuttl/common/assert_sample_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,101 @@ spec:
service: OctaviaPassword
secret: osp-secret
serviceUser: octavia
status:
apireadyCount: 1
healthmanagerreadyCount: 1
housekeepingreadyCount: 1
rsyslogreadyCount: 1
databaseHostname: openstack.octavia-kuttl-tests.svc
conditions:
- message: Setup complete
reason: Ready
status: "True"
type: Ready
- message: DB create completed
reason: Ready
status: "True"
type: DBReady
- message: DBsync completed
reason: Ready
status: "True"
type: DBSyncReady
- message: Exposing service completed
reason: Ready
status: "True"
type: ExposeServiceReady
- message: Input data complete
reason: Ready
status: "True"
type: InputReady
- message: MariaDBAccount creation complete
reason: Ready
status: "True"
type: MariaDBAccountReady
- message: NetworkAttachments completed
reason: Ready
status: "True"
type: NetworkAttachmentsReady
- message: Setup complete
reason: Ready
status: "True"
type: OctaviaAPIReady
- message: Octavia Amphora certificates setup completed
reason: Ready
status: "True"
type: OctaviaAmphoraCertsReady
- message: Octavia Amphora Images setup completed
reason: Ready
status: "True"
type: OctaviaAmphoraImagesReady
- message: Octavia Amphora SSH setup completed
reason: Ready
status: "True"
type: OctaviaAmphoraSSHReady
- message: Setup complete
reason: Ready
status: "True"
type: OctaviaHealthManagerReady
- message: Setup complete
reason: Ready
status: "True"
type: OctaviaHousekeepingReady
- message: Octavia Management Network setup completed
reason: Ready
status: "True"
type: OctaviaManagementNetworkReady
- message: Octavia quotas setup completed
reason: Ready
status: "True"
type: OctaviaQuotasReady
- message: Setup complete
reason: Ready
status: "True"
type: OctaviaRsyslogReady
- message: Setup complete
reason: Ready
status: "True"
type: OctaviaWorkerReady
- message: RabbitMqTransportURL successfully created
reason: Ready
status: "True"
type: RabbitMqTransportURLReady
- message: RoleBinding created
reason: Ready
status: "True"
type: RoleBindingReady
- message: Role created
reason: Ready
status: "True"
type: RoleReady
- message: ServiceAccount created
reason: Ready
status: "True"
type: ServiceAccountReady
- message: Service config create completed
reason: Ready
status: "True"
type: ServiceConfigReady
---
apiVersion: apps/v1
kind: Deployment
Expand Down
7 changes: 7 additions & 0 deletions tests/kuttl/tests/octavia_scale/00-test-resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,10 @@ commands:
availability-zones:
- zone-1
'
- script: |
oc patch -n $NAMESPACE glance glance --type merge -p '
spec:
glanceAPI:
default:
replicas: 1
'

0 comments on commit cad552c

Please sign in to comment.