[Fix] Internal model compilation
- A regression error was causing some nodes not to compute host profile inheritance in cases that a node was missing build data. Change-Id: Ie332d8d56936f20401e6123ba7e7107effc1200a
This commit is contained in:
parent
2749f98125
commit
dec96b574d
@ -250,13 +250,14 @@ class Orchestrator(object):
|
||||
try:
|
||||
nodes = site_design.baremetal_nodes
|
||||
for n in nodes or []:
|
||||
n.compile_applied_model(site_design, state_manager=self.state_manager)
|
||||
try:
|
||||
n.compile_applied_model(site_design, state_manager=self.state_manager)
|
||||
except errors.BuildDataError:
|
||||
self.logger.info("No Build Data found for node %s." % n.name)
|
||||
except AttributeError:
|
||||
self.logger.debug(
|
||||
"Model inheritance skipped, no node definitions in site design."
|
||||
)
|
||||
except errors.BuildDataError:
|
||||
self.logger.info("No Build Data found.")
|
||||
|
||||
return
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user