Legacy tasks adapter fails if run with graph without pre/post deployment stages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Vladimir Kuklin | ||
Mitaka |
Fix Released
|
High
|
Vladimir Kuklin | ||
Newton |
Fix Committed
|
High
|
Vladimir Kuklin |
Bug Description
2016-10-19 18:43:46.961 ERROR [7f2278c8e880] (manager) Transaction 261 failed.
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
sub_
File "/usr/lib/
graph['tasks'], plugin_tasks, node_resolver
File "/usr/lib/
start=
File "/usr/lib/
working_
File "/usr/lib/
for n in bunch:
File "/usr/lib/
for n in nlist:
File "/usr/lib/
post=(v for u,v,d in nx.dfs_
File "/usr/lib/
stack = [(start,
File "/usr/lib/
return self.adj[n]
KeyError: 'post_deploymen
in predicate one line earlier returns True while there is actually no such vertex in the graph. This breaks custom graphs without pre-/post- deployment stages running with legacy tasks adaptation for role-based deployment.
tags: | added: on-verification |
Fix proposed to branch: master /review. openstack. org/388907
Review: https:/