Filter flavor according to the image's minimal requirement when creating a new instance

Registered by Ray

When I try to create a new instance using a image which hardware requirement is much more than the flavor I selected, it will bring some error message box after I click submit. This is not a good user experience.

To make it easier, I will follow the discussion in the whiteboard, we can filter the flavors according to the image's minimal requirement.

Blueprint information

Status:
Complete
Approver:
Gabriel Hurley
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Superseded
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
David Lyle

Related branches

Sprints

Whiteboard

[Zhenguo Niu] There is already a bug about this, and is in progress. https://bugs.launchpad.net/horizon/+bug/1116122

[Matt Wagner] Incidentally, I just resubmitted a patch for that bug, after it had been idle for some time. It does exactly what is proposed here.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.