Bug 1302829

Summary: [RFE] Have overcloud deploy perform sanity check of introspected nodes vs flavors
Product: Red Hat OpenStack Reporter: David Peacock <dpeacock>
Component: rhosp-directorAssignee: Hugh Brock <hbrock>
Status: CLOSED WONTFIX QA Contact: Shai Revivo <srevivo>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.0 (Kilo)CC: jcoufal, mburns, rhel-osp-director-maint
Target Milestone: ---Keywords: FutureFeature
Target Release: 10.0 (Newton)   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-30 08:12:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description David Peacock 2016-01-28 18:10:28 UTC
Description of problem:

In certain circumstances, it's possible to find an introspected node doesn't has differing resources than there are matching flavors.

This leads to a fairly unhelpful error stating hosts aren't available upon deployment time.

This RFE came about after speaking with Ryan Brown; we realized it could be trapped cleanly with a clear error message helping the operator realize exactly why the host wasn't considered appropriate.

Version-Release number of selected component (if applicable):


How reproducible:

Always

Steps to Reproduce:
1. Create a flavor with a resource such as RAM that's higher than is available on the physical node in question.
2. After introspecting the overcloud nodes, run the overcloud deploy and find a 500 error.

Actual results:

500 error

Expected results:

A clear message that the node found doesn't sufficient resources to match the flavor in question.

Additional info:

Comment 3 Mike Burns 2016-04-07 21:07:13 UTC
This bug did not make the OSP 8.0 release.  It is being deferred to OSP 10.

Comment 5 Jaromir Coufal 2016-09-30 08:12:35 UTC
Ironic node tagging is used instead of nova flavors now.