Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ci/nova-operator-tempest-multinode/control_plane_hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
path: /spec/nova/template/apiServiceTemplate/replicas
value: 2

- op: replace
path: /spec/nova/template/notificationsBusInstance
value: rabbitmq

- op: replace
path: /spec/neutron/template/replicas
value: 2
Expand Down
141 changes: 141 additions & 0 deletions test/kuttl/test-suites/default/config-tests/02-assert.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
apiVersion: nova.openstack.org/v1beta1
kind: Nova
metadata:
finalizers:
- openstack.org/nova
name: nova-kuttl
namespace: nova-kuttl-default
status:
apiServiceReadyCount: 1
metadataServiceReadyCount: 1
schedulerServiceReadyCount: 1
conditions:
- message: Setup complete
reason: Ready
status: "True"
type: Ready
- message: Input data complete
reason: Ready
status: "True"
type: InputReady
- message: Setup complete
reason: Ready
status: "True"
type: KeystoneServiceReady
- message: MariaDBAccount creation complete
reason: Ready
status: "True"
type: MariaDBAccountReady
- message: ' Memcached instance has been provisioned'
reason: Ready
status: "True"
type: MemcachedReady
- message: DB create completed
reason: Ready
status: "True"
type: NovaAPIDBReady
- message: API message bus creation successfully
reason: Ready
status: "True"
type: NovaAPIMQReady
- message: Setup complete
reason: Ready
status: "True"
type: NovaAPIReady
- message: All DBs created successfully
reason: Ready
status: "True"
type: NovaAllCellDBReady
- message: All NovaCells are ready
reason: Ready
status: "True"
type: NovaAllCellReady
- message: All message busses created successfully
reason: Ready
status: "True"
type: NovaAllCellsMQReady
- message: There is no more NovaCells to delete
reason: Ready
status: "True"
type: NovaCellsDeletion
- message: Setup complete
reason: Ready
status: "True"
type: NovaMetadataReady
- message: Notification message bus created successfully
reason: Ready
status: "True"
type: NovaNotificationMQReady
- message: Setup complete
reason: Ready
status: "True"
type: NovaSchedulerReady
- 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
---
apiVersion: v1
kind: Pod
metadata:
annotations:
openshift.io/scc: anyuid
labels:
service: nova-api
name: nova-kuttl-api-0
status:
containerStatuses:
- name: nova-kuttl-api-api
ready: true
started: true
- name: nova-kuttl-api-log
ready: true
started: true
---
apiVersion: v1
kind: Pod
metadata:
labels:
service: nova-scheduler
name: nova-kuttl-scheduler-0
ownerReferences:
- apiVersion: apps/v1
blockOwnerDeletion: true
controller: true
kind: StatefulSet
name: nova-kuttl-scheduler
status:
containerStatuses:
- name: nova-kuttl-scheduler-scheduler
ready: true
started: true
---
apiVersion: v1
kind: Pod
metadata:
annotations:
openshift.io/scc: anyuid
labels:
cell: cell0
service: nova-conductor
statefulset.kubernetes.io/pod-name: nova-kuttl-cell0-conductor-0
name: nova-kuttl-cell0-conductor-0
ownerReferences:
- apiVersion: apps/v1
blockOwnerDeletion: true
controller: true
kind: StatefulSet
name: nova-kuttl-cell0-conductor
status:
containerStatuses:
- name: nova-kuttl-cell0-conductor-conductor
ready: true
started: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: nova.openstack.org/v1beta1
kind: Nova
metadata:
name: nova-kuttl
spec:
secret: osp-secret
notificationsBusInstance: rabbitmq-broadcaster
2 changes: 2 additions & 0 deletions test/kuttl/test-suites/default/deps/infra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ spec:
replicas: 1
rabbitmq-cell1:
replicas: 1
rabbitmq-broadcaster:
replicas: 1
memcached:
templates:
memcached:
Expand Down