DevOps-Nirvana / Kubernetes-Volume-Autoscaler

Autoscaling volumes for Kubernetes (with the help of Prometheus)
Apache License 2.0
274 stars 33 forks source link

Exception while trying to describe all PVCs #6

Closed pblgomez closed 1 year ago

pblgomez commented 1 year ago

Describe the bug Checking the app ( as it was working before ) it now throws an error

TypeError: argument of type 'NoneType' is not iterable

To Reproduce Steps to reproduce the behavior

  1. Step 1
  2. Step 2
  3. Step 3

Expected behavior To be able to describe pvc

Extra Information Requested

AndrewFarley commented 1 year ago

@pblgomez Thanks for reporting this. I will do some validation on 1.24 and your specific version of Prometheus shortly, and see if I can replicate your bug and will comment back.

pblgomez commented 1 year ago

It's not happening anymore, so it's hard to give you more info. Feel free to close as it doesn't happen anymore. 🤷‍♂️

AndrewFarley commented 1 year ago

Catching more exceptions in https://github.com/DevOps-Nirvana/Kubernetes-Volume-Autoscaler/commit/1783f4d18217a9ff6777fa86de09b38ecdfa19a3 which should catch and handle this gracefully...