Our openstack hypervisors need a number of actions pre/post reimage.
For example, before reimage:
- drain
- remove canary VM
- stop puppet
- stop nova-compute
- shutdown server
- compute service delete on the openstack API
After reimage:
- run nova-manage cell_v2 discover_hosts
- create canary VM
- make sure aggregates are right
Automate these actions via cookbooks.