Merge "functional: retrieve cluster to get stack_id"

This commit is contained in:
Zuul 2018-12-11 23:51:36 +00:00 committed by Gerrit Code Review
commit d62d58ac1a
1 changed files with 2 additions and 1 deletions

View File

@ -369,8 +369,9 @@ extendedKeyUsage = clientAuth
return nodes
def _get_nodes_from_stack(self):
cluster = self.cs.clusters.get(self.cluster.uuid)
nodes = []
stack = self.heat.stacks.get(self.cluster.stack_id)
stack = self.heat.stacks.get(cluster.stack_id)
stack_outputs = stack.to_dict().get('outputs', [])
output_keys = []
if self.cluster_template.coe == "kubernetes":