openvstorage/openvstorage-health-check

Check for fenced volumes

wimpers opened this issue · 2 comments

The HC now reports fenced volumes also as halted, this ticket is to make a distinction between fenced and halted local volumes.

https://docs.google.com/document/d/1JLli7g1Abri8O5mJkbg6lAD5CG8QLBOL60I25B1hVtc/

There's no difference between "fenced" and "halted" volumes: halted is a volume state that is entered after a non-recoverable error is encountered, and one of these is if a volume instance is fenced. The reason for entering the halted state is emitted as an event via AMQP / RabbitMQ so that is one indication. Another indication for fencing is if the volume is actually owned by another node / running there (the ObjectRegistry can provide that info).