File tree Expand file tree Collapse file tree 8 files changed +59
-2
lines changed
tests/kuttl/test-suites/default Expand file tree Collapse file tree 8 files changed +59
-2
lines changed Original file line number Diff line number Diff line change @@ -381,6 +381,7 @@ watcher: export CATALOG_IMG=${CATALOG_IMAGE}
381381watcher : # # Install watcher operator via olm
382382 bash ci/olm.sh
383383 oc apply -f ci/olm.yaml
384+ timeout 300s bash -c " while ! (oc get csv -n openshift-operators -l operators.coreos.com/cluster-observability-operator.openshift-operators -o jsonpath='{.items[*].status.phase}' | grep Succeeded); do sleep 10; done"
384385 timeout 300s bash -c " while ! (oc get csv -n openstack-operators -l operators.coreos.com/watcher-operator.openstack-operators -o jsonpath='{.items[*].status.phase}' | grep Succeeded); do sleep 1; done"
385386
386387.PHONY : watcher_deploy
@@ -404,7 +405,7 @@ KUTTL_SUITE_DIR ?= tests/kuttl/test-suites/$(KUTTL_SUITE)
404405.PHONY : kuttl-test-prep
405406kuttl-test-prep :
406407 oc apply -k $(KUTTL_SUITE_DIR ) /deps/ --timeout=120s
407- oc wait -n $(KUTTL_NAMESPACE ) openstackcontrolplane openstack --for condition=Ready --timeout=300s
408+ oc wait -n $(KUTTL_NAMESPACE ) openstackcontrolplane openstack --for condition=Ready --timeout=500s
408409
409410.PHONY : kuttl-test-run
410411kuttl-test-run :
Original file line number Diff line number Diff line change 11cat > ci/olm.yaml << EOF_CAT
22---
3+ apiVersion: operators.coreos.com/v1alpha1
4+ kind: Subscription
5+ metadata:
6+ name: cluster-observability-operator
7+ namespace: openshift-operators
8+ spec:
9+ channel: development
10+ installPlanApproval: Automatic
11+ name: cluster-observability-operator
12+ source: redhat-operators
13+ sourceNamespace: openshift-marketplace
14+ ---
315apiVersion: v1
416kind: Namespace
517metadata:
Original file line number Diff line number Diff line change @@ -10,3 +10,5 @@ metadata:
1010 name : watcher
1111spec :
1212 databaseInstance : " openstack"
13+ tls :
14+ caBundleSecretName : " combined-ca-bundle"
Original file line number Diff line number Diff line change @@ -5,3 +5,5 @@ metadata:
55 namespace : watcher-kuttl-default
66spec :
77 databaseInstance : " openstack"
8+ tls :
9+ caBundleSecretName : " combined-ca-bundle"
Original file line number Diff line number Diff line change 3131 cinder :
3232 enabled : false
3333 telemetry :
34- enabled : false
34+ enabled : true
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ namespace: watcher-kuttl-default
55secretGenerator :
66- literals :
77 - AdminPassword=password
8+ - AodhPassword=password
9+ - CeilometerPassword=password
810 - DbRootPassword=password
911 - DatabasePassword=password
1012 - WatcherPassword=password
@@ -40,3 +42,4 @@ patches:
4042 secret: osp-secret
4143 - path : infra.yaml
4244- path : keystone.yaml
45+ - path : telemetry.yaml
Original file line number Diff line number Diff line change 1+ apiVersion : core.openstack.org/v1beta1
2+ kind : OpenStackControlPlane
3+ metadata :
4+ name : openstack
5+ spec :
6+ telemetry :
7+ template :
8+ metricStorage :
9+ enabled : true
10+ dashboardsEnabled : true
11+ monitoringStack :
12+ alertingEnabled : true
13+ scrapeInterval : 30s
14+ storage :
15+ strategy : persistent
16+ retention : 24h
17+ persistent :
18+ pvcStorageRequest : 1G
19+ autoscaling :
20+ enabled : false
21+ aodh :
22+ passwordSelectors :
23+ databaseAccount : aodh
24+ databaseInstance : openstack
25+ secret : osp-secret
26+ heatInstance : heat
27+ ceilometer :
28+ enabled : true
29+ secret : osp-secret
30+ passwordSelector :
31+ aodhService : AodhPassword
32+ ceilometerService : CeilometerPassword
33+ serviceUser : ceilometer
34+ logging :
35+ enabled : false
Original file line number Diff line number Diff line change @@ -6,5 +6,7 @@ metadata:
66spec :
77 databaseInstance : " openstack"
88 databaseAccount : watcher-precreated
9+ tls :
10+ caBundleSecretName : " combined-ca-bundle"
911 apiServiceTemplate :
1012 replicas : 2
You can’t perform that action at this time.
0 commit comments