Skip to content

Extremely verbose non-surpressable output #374

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
gnur opened this issue Apr 16, 2025 · 0 comments
Open

Extremely verbose non-surpressable output #374

gnur opened this issue Apr 16, 2025 · 0 comments

Comments

@gnur
Copy link

gnur commented Apr 16, 2025

Whenever I use the holmes ask from within k9s I get the following output:

You are running version 0.10.10.alpha.1 of holmes, but the latest version is 0.10.9. Please update to the latest version.                                                                                                                                                    config.py:238
Custom toolset file /etc/holmes/config/custom_toolset.yaml does not exist                                                                                                                                                                                                    config.py:592
Grafana config not provided grafana/loki                                                                                                                                                                                                                        base_grafana_toolset.py:40
Grafana config not provided grafana/tempo                                                                                                                                                                                                                       base_grafana_toolset.py:40
Grafana config not provided grafana/grafana                                                                                                                                                                                                                     base_grafana_toolset.py:40
Failed loading toolset servicenow from None: (Prerequisites check failed because environment variable SERVICENOW_USER was not set)                                                                                                                                           config.py:354
Failed loading toolset slab from None: (Prerequisites check failed because environment variable SLAB_API_KEY was not set)                                                                                                                                                    config.py:354
Loaded toolset kubernetes/core from None                                                                                                                                                                                                                                     config.py:350
Loaded toolset kubernetes/live-metrics from None                                                                                                                                                                                                                             config.py:350
Loaded toolset kubernetes/kube-prometheus-stack from None                                                                                                                                                                                                                    config.py:350
Failed loading toolset kubernetes/krew-extras from None: (Prerequisites check failed with errorcode 1: Command 'kubectl version --client && kubectl lineage --version' returned non-zero exit status 1.)                                                                     config.py:354
Loaded toolset helm/core from None                                                                                                                                                                                                                                           config.py:350
Loaded toolset kubernetes/logs from None                                                                                                                                                                                                                                     config.py:350
Failed loading toolset aws/security from None: (Prerequisites check failed with errorcode 127: Command 'aws sts get-caller-identity' returned non-zero exit status 127.)                                                                                                     config.py:354
Failed loading toolset aws/rds from None: (Prerequisites check failed with errorcode 127: Command 'aws sts get-caller-identity' returned non-zero exit status 127.)                                                                                                          config.py:354
Failed loading toolset argocd/core from None: (Prerequisites check failed with errorcode 20: Command 'argocd version' returned non-zero exit status 20.)                                                                                                                     config.py:354
Loaded toolset docker/core from None                                                                                                                                                                                                                                         config.py:350
Failed loading toolset confluence from None: (Prerequisites check failed because environment variable CONFLUENCE_USER was not set)                                                                                                                                           config.py:354
Loaded toolset internet from None                                                                                                                                                                                                                                            config.py:350
Disabled toolset: robusta from None                                                                                                                                                                                                                                          config.py:352
Failed loading toolset opensearch/status from None: (The toolset is missing its configuration)                                                                                                                                                                               config.py:354
Failed loading toolset grafana/loki from None: (The toolset is missing its configuration)                                                                                                                                                                                    config.py:354
Failed loading toolset grafana/tempo from None: (The toolset is missing its configuration)                                                                                                                                                                                   config.py:354
Failed loading toolset grafana/grafana from None: (The toolset is missing its configuration)                                                                                                                                                                                 config.py:354
Loaded toolset notion from None                                                                                                                                                                                                                                              config.py:350
Failed loading toolset kafka/admin from None: (The toolset is missing its configuration)                                                                                                                                                                                     config.py:354
Failed loading toolset prometheus/metrics from None: (Prometheus is misconfigured. prometheus_url is required but missing)                                                                                                                                                   config.py:354
Loaded toolset datetime from None                                                                                                                                                                                                                                            config.py:350
Failed loading toolset opensearch/logs from None: (Missing opensearch traces URL. Check your config)                                                                                                                                                                         config.py:354
Failed loading toolset opensearch/traces from None: (Missing opensearch traces URL. Check your config)                                                                                                                                                                       config.py:354
Failed loading toolset coralogix/logs from None: (The toolset is missing its configuration)                                                                                                                                                                                  config.py:354
User: why is user-profile-import of pods in -n default not working as expected, how could I fix this, please be short in your answer, don't repeat yourself and don't give a summary at the end
Running tool kubectl_find_resource: kubectl get -A --show-labels -o wide pod | grep user-profile-import                                                                                                                                                                       tools.py:126
Running tool kubectl_describe: kubectl describe pod user-profile-import -n default                                                                                                                                                                                            tools.py:126
tool_calling_llm.call - completed in 3 iterations - 2542ms                                                                                                                                                                                                        performance_timing.py:41
AI: Pod user-profile-import in namespace default is in Pending state because no nodes match pod's node affinity/selector label=someLabel.

Fix:

 1 Update pod's node selector to match available nodes.
 2 Add label someLabel to a node.
Press 'q' to exit

Is there any way to disable the output of the the loaded/failed loading toolset messages?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant