Compute CDM include all instances

Registered by suzhengwei

When building compute CDM, we will exclude the instances excluded in the scope. It has terrible impact to Watcher.
* To some strategies, it would get incorrectly workload of the compute nodes, because the excluded instances was not calculated in.
* To server consolidation, it would disable the nodes which has excluded instances running.

I think the original intention is to execute no actions on the excluded instances in the scope, instead of ignoring them completely.
Proposal, include all instances in the scope when build compute CDM. But exclude the instances excluded in the scope when migrations or simulate migrations.

Blueprint information

Status:
Complete
Approver:
Alexander Chadin
Priority:
Medium
Drafter:
suzhengwei
Direction:
Approved
Assignee:
suzhengwei
Definition:
Approved
Series goal:
Accepted for rocky
Implementation:
Implemented
Milestone target:
milestone icon rocky-1
Started by
suzhengwei
Completed by
Alexander Chadin

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/compute-cdm-include-all-instances,n,z

Addressed by: https://review.openstack.org/499119
    spec for compute CDM include all instances

Addressed by: https://review.openstack.org/504303
    Add and identify excluded instances in compute CDM

Addressed by: https://review.openstack.org/508108
    filter exclude instances during migration

Gerrit topic: https://review.openstack.org/#q,topic:compute-cdm-include-all-instances,n,z

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.