IBM / cloud-pak-deployer

Configuration-based installation of OpenShift and Cloud Pak for Data/Integration/Watson AIOps on various private and public cloud infrastructure providers. Deployment attempts to achieve the end-state defined in the configuration. If something fails along the way, you only need to restart the process to continue the deployment.
https://ibm.github.io/cloud-pak-deployer/
Apache License 2.0
140 stars 68 forks source link

cp4ba - zen post install checks for kibana service that is not installed #492

Closed techietav closed 7 months ago

techietav commented 1 year ago

Describe the bug CP4BA install fails due to /cloud-pak-deployer/automation-roles/50-install-cloud-pak/cp4ba/cp4ba-core/tasks/postdeploy/zen.yml checking for a running kibana service that is not installed.

FAILED - RETRYING: Wait on api version 'v1', kind 'Deployment', name 'kibana' in namespace 'kibana' for condition query 'resources[*].status.conditions[?type == 'Available'].status' to return '['True']' with '80' retries with '15' seconds delay each (total of '20.0' minutes) (1 retries left).Result was: changed=false

To Reproduce Run the install for cp4ba

Resolution Edit the zen.yml and comment out the kibana service section as kibana is not installed

98 # There is no kibana namespace - GT$ 99 #- name: Delete Kibana pods$ 100 # kubernetes.core.k8s:$ 101 # state: absent$ 102 # api_version: v1$ 103 # kind: Pod$ 104 # namespace: kibana$ 105 # label_selectors:$ 106 # - app=kibana-app$ 107 #$ 108 #- name: Wait for Kibana Deployment Available State$ 109 # ansible.builtin.include_role:$ 110 # name: common$ 111 # tasks_from: wait-resource-condition$ 112 # vars:$ 113 # common_api_version: v1$ 114 # common_resource_kind: Deployment$ 115 # common_resource_name: kibana$ 116 # common_resource_namespace: kibana$ 117 # common_condition_name: Available$ 118 # common_retries: 80$ 119 # common_delay: 15$