Comment 0 for bug 1524388

Revision history for this message
Ryan Beisner (1chb1n) wrote :

OS-charms should check for expected services/processes before setting workload status to a ready state.

As of the 15.10 charms, workload status can be set to "Unit is Ready," even when a critical service has failed to start.

Taking it one step further: a hook should probably fail in those cases.

I've observed bug leaks in the following, where this type of sanity check within the charm would have raised red flags before charm commits or SRUs:
 - nova-compute
 - swift-*
 - rabbitmq-server

This is targeted to the nova-compute charm for initial discussion. However, all OpenStack charms should be considered for this enhancement.