Skip to main content

Hi Guys,

I am trying to start IFS MONITORING, but I am getting the message below. Anybody can help me?

 

2024-08-26 09:32:29.04   QCS-IFSMGT-PROD Start Install-IfsMonitoring
2024-08-26 09:32:29.05   QCS-IFSMGT-PROD Installing ifs-monitoring.......
Adding password for user elastic
Deleting the installation monitoring
Deleting the installation kibana
Deleting the installation eshook
Deleting the installation fluentd
Deleting the installation elasticsearch
Deleting the installation ifs-monitoring-curator
Deleting the installation kube-prometheus-stack
Deleting the installation ifs-monitoring
secret/elastic-auth created
secret/ifs-ingress.crt unchanged
Release "elasticsearch" does not exist. Installing it now.
Error: failed pre-install: warning: Hook pre-install ifs-monitoring/charts/kibana/templates/configmap-helm-scripts.yaml failed: 1 error occurred:
        * configmaps "kibana-helm-scripts" already exists
Release "eshook" does not exist. Installing it now.
Error: failed pre-install: 1 error occurred:
        * timed out waiting for the condition
Release "fluentd" does not exist. Installing it now.
Error: failed pre-install: warning: Hook pre-install ifs-monitoring/charts/kibana/templates/configmap-helm-scripts.yaml failed: 1 error occurred:
        * configmaps "kibana-helm-scripts" already exists
Release "kibana" does not exist. Installing it now.
Error: failed pre-install: warning: Hook pre-install ifs-monitoring/charts/kibana/templates/configmap-helm-scripts.yaml failed: 1 error occurred:
        * configmaps "kibana-helm-scripts" already exists
Release "ifs-monitoring-curator" does not exist. Installing it now.
Error: failed pre-install: warning: Hook pre-install ifs-monitoring/charts/kibana/templates/configmap-helm-scripts.yaml failed: 1 error occurred:
        * configmaps "kibana-helm-scripts" already exists
Release "kube-prometheus-stack" does not exist. Installing it now.
Error: failed pre-install: warning: Hook pre-install ifs-monitoring/charts/kibana/templates/configmap-helm-scripts.yaml failed: 1 error occurred:
        * configmaps "kibana-helm-scripts" already exists

 

Thanks,

 

Gianni Neves

HI @gianni.neves 

Is this already IFS MONITORING installed environment or Installing IFS MONITORING for first time in this environment ?


Hi ​@gianni.neves.

I know this is an old post, any chance you remember how you sorted this issue?
Specifically the below error
Error: failed pre-install: 1 error occurred:
        * timed out waiting for the condition

Thanks


Yes, for me these were a cpu/memory problem. So once I stopped other unused pods, the monitoring reinstallation worked.

 

Thanks,

Gianni Neves


Hi ​@gianni.neves 

Thank you for the update! 
I’m encountering a similar issue with a deployment, I will check the resources as mentioned.

Best Regards
Dihan


Yes .I’ve also come across this error , and in most cases it was resource related. Sometimes, older monitoring pods don’t get cleaned up properly, which can cause issues. Clearing out unused or stuck pods has usually helped resolve it for me.