From 43d3dfeed08fdd688975a4e798d4597a7bea40d8 Mon Sep 17 00:00:00 2001 From: Amulyam24 Date: Thu, 21 Apr 2022 10:28:24 +0530 Subject: [PATCH] Add debug loglevel for E2E runs --- config/manager/manager.yaml | 1 + scripts/ci-e2e.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index 12a4dd531..a20a3d166 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -29,6 +29,7 @@ spec: - "--leader-elect" - "--metrics-bind-addr=127.0.0.1:8080" - "--powervs-provider-id-fmt=${POWERVS_PROVIDER_ID_FORMAT:=v1}" + - "--v=${LOGLEVEL:=0}" image: controller:latest name: manager ports: diff --git a/scripts/ci-e2e.sh b/scripts/ci-e2e.sh index b64e2c07c..172b709f8 100755 --- a/scripts/ci-e2e.sh +++ b/scripts/ci-e2e.sh @@ -94,6 +94,8 @@ prerequisites_powervs(){ export IBMPOWERVS_IMAGE_NAME=${IBMPOWERVS_IMAGE_NAME:-"capibm-powervs-centos-streams8-1-22-4"} export IBMPOWERVS_SERVICE_INSTANCE_ID=${IBMPOWERVS_SERVICE_INSTANCE_ID:-"0f28d13a-6e33-4d86-b6d7-a9b46ff7659e"} export IBMPOWERVS_NETWORK_NAME=${BOSKOS_RESOURCE_NAME:-"capi-e2e-test"} + # Setting controller loglevel to allow debug logs from the PowerVS client + export LOGLEVEL=5 } main(){