doing evacuate automatically
In openstack, when a host is not work (power-off eg) , instances on the host will be unuseable. Only one way to recover this instances by executing CLI command manually: “nova evacuate …” or “nova host-evacuate…”
In order to increase the reliability of the system, it can be done automatically to rebuild instances at other hosts while the original host is not work.
We add nova-monitor.
called api:
scheduler.
compute.
After the power-off host power on and it's nova-compute.
If an instance boot from image, the changed data in the instance will lose after rebuilding, so there has a restrictions: only instance boot from volume and it’s data disk is volume too, the instance can be do rebuild automatically.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- chejun
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by