openvstorage / openvstorage-health-check

The health check is classified as a monitoring and detection tool for Open vStorage.
3 stars 7 forks source link

registry_entry can be Null #492

Open KevinHun opened 5 years ago

KevinHun commented 5 years ago

https://github.com/openvstorage/openvstorage-health-check/blob/06ddad9cd5943242b5882602925d7d65419acc0b/ovs/extensions/healthcheck/suites/volumedriver.py#L296

registry_entry can be Null. Please catch.

JeffreyDevloo commented 5 years ago

Some more clarification: The objectregistry can return None when it doesn't find an entry. This can happen if the volume was removed while the healthcheck is looping over everything.