not evacuate instances with special tags
Curently, there would be one instance with many types of host pass-through devices, for example GPU, PMEM, SSD, or NUMA bond. Such instances may mostly evacuate failed.
Previously Masakari enforced a common instance metadata key that controlled how the HA protection applied to the instance. Only a common instance metadata key is not enough for HA protection. It needs an overview of the instance, so it's not convenient to automatically to set the value of the metadata key. For example, it should make clear there are no pass-through devices after NUMA unbond. Then it can automatically update the value of the metadata key to 'True'.
There is an open mechanism to consider multiple element for HA protection. If one instance can update its tags automatically when add or remove one property, then we can protect the instance from HA by the the tags. For example, when one instance attach or unattach one pass-through disk, it also can automatically update its tags by add or remove 'PASSTHROUGH_DISK' tag. when host failure, instance with 'PASSTHROUGH_DISK' tag should not evacuate.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- suzhengwei
- Direction:
- Needs approval
- Assignee:
- suzhengwei
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by