Migrate Ironic to resource classes

Registered by Dmitry Tantsur

Nova is changing the way it schedules on bare metal nodes: <LINK GOES HERE>.

We will be using something very similar to the current TripleO profile matching, so impact on us is quite limited. Still, we need to act to be able to schedule anything in Queens.

For the undercloud:
1. Update all nodes on 'undercloud install':
1.1. if a node has a profile, set resource_class to the same value
1.2. if a node has no profile, set a special "no-profile" value
1.3. remove profile capability
2. Update all flavors on 'undercloud install':
2.1. if a flavor has a profile, set resources:CUSTOM_<profile>=1
2.2. if a flavor has no profile, <TBD>
2.3. remove profiles from flavors
3. Update tripleo-ui to handle resource classes
4. Update node registration in tripleo-common to transparently replace "profile" capability with the same resource_class
5. Update pre-deploy validation to count resource classes, not profiles

For the overcloud:
1. Document manual update required for nodes
... <TBD> ...

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Dmitry Tantsur
Direction:
Needs approval
Assignee:
Dmitry Tantsur
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Dmitry Tantsur

Related branches

Sprints

Whiteboard

Was fixed in Pike as a bug due to its urgent nature.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.