We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Opencost hangs when azure pricing API hangs
2024-04-18T23:15:13.178008401Z ??? Log level set to info 2024-04-18T23:15:13.178108803Z INF Starting cost-model version v1.109.0 (dc86a1b2) 2024-04-18T23:15:13.178126103Z INF Kubernetes enabled: true 2024-04-18T23:15:13.178578213Z INF Prometheus/Thanos Client Max Concurrency set to 2 2024-04-18T23:15:13.182300494Z ERR Failed to query prometheus at http://localhost:9092/. Error: no running jobs on Prometheus at /api/v1/query . Troubleshooting help available at: http://docs.kubecost.com/custom-prom#troubleshoot 2024-04-18T23:15:13.183715924Z INF Retrieved a prometheus config file from: http://localhost:9092/ 2024-04-18T23:15:13.185475862Z INF Using scrape interval of 60.000000 2024-04-18T23:15:13.186094976Z INF NAMESPACE: kubecost 2024-04-18T23:15:15.186573701Z INF Done waiting 2024-04-18T23:15:15.186672104Z INF Starting *v1.Service controller 2024-04-18T23:15:15.186725405Z INF Starting *v1.ReplicaSet controller 2024-04-18T23:15:15.186928609Z INF Starting *v1.Namespace controller 2024-04-18T23:15:15.187077512Z INF Starting *v1.Node controller 2024-04-18T23:15:15.187127813Z INF Starting *v1.Pod controller 2024-04-18T23:15:15.187304117Z INF Starting *v1.StorageClass controller 2024-04-18T23:15:15.187547823Z INF Starting *v1.ReplicationController controller 2024-04-18T23:15:15.187605324Z INF Starting *v1.Job controller 2024-04-18T23:15:15.187633324Z INF Starting *v1.PodDisruptionBudget controller 2024-04-18T23:15:15.187659325Z INF Starting *v1.PersistentVolumeClaim controller 2024-04-18T23:15:15.187694426Z INF Starting *v1.DaemonSet controller 2024-04-18T23:15:15.187734127Z INF Starting *v1.ConfigMap controller 2024-04-18T23:15:15.187917831Z INF Starting *v1.Deployment controller 2024-04-18T23:15:15.187929431Z INF Starting *v1.PersistentVolume controller 2024-04-18T23:15:15.187978432Z INF Starting *v1.StatefulSet controller 2024-04-18T23:15:15.190012876Z INF Found ProviderID starting with "azure", using Azure Provider 2024-04-18T23:15:15.19621841Z INF No pricing-configs configmap found at install time, using existing configs: configmaps "pricing-configs" not found 2024-04-18T23:15:15.207939864Z INF No metrics-config configmap found at install time, using existing configs: configmaps "metrics-config" not found 2024-04-18T23:15:15.211740347Z INF Using ratecard query OfferDurableId eq 'MS-AZR-0003p' and Currency eq 'USD' and Locale eq 'en-US' and RegionInfo eq 'US'
To Reproduce add 0.0.0.0 management.azure.com to /etc/hosts.
Expected behavior The azure pricing API needs a timeout and to then fall back to default pricing after
Screenshots If applicable, add screenshots to help explain your problem.
Which version of OpenCost are you using? 2.2.2
The text was updated successfully, but these errors were encountered:
cc @r2k1
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Opencost hangs when azure pricing API hangs
To Reproduce
add 0.0.0.0 management.azure.com to /etc/hosts.
Expected behavior
The azure pricing API needs a timeout and to then fall back to default pricing after
Screenshots
If applicable, add screenshots to help explain your problem.
Which version of OpenCost are you using?
2.2.2
The text was updated successfully, but these errors were encountered: