Doctor capabilities and usage

Immediate Notification

Immediate notification can be used by creating ‘event’ type alarm via OpenStack Alarming (Aodh) API with relevant internal components support.

See, upstream spec document:

You can find an example of consumer of this notification in doctor repository. It can be executed as follows:

git clone -b stable/brahmaputra
cd doctor/tests
python "$CONSUMER_PORT" > consumer.log 2>&1 &

Consistent resource state awareness (Compute/host-down)

Resource state of compute host can be fixed according to an input from a monitor sitting out side of OpenStack Compute (Nova) by using force-down API.

See for more detail.