[FIX] Serialization of Set failed
Converts the input to the method that deploys nodes to a list, to protect against a set being used as input, which leads to a problem when serializing the data in node filter passed to the Drydock client. Change-Id: I6a5a0ec0ea9ed09b1911c462fec9dc3793dd1c26
This commit is contained in:
parent
37429bbbc3
commit
321b33b2c3
@ -135,8 +135,8 @@ class DrydockNodesOperator(DrydockBaseOperator):
|
||||
Returns a QueryTaskResult object
|
||||
"""
|
||||
LOG.info("Group %s is deploying nodes", group.name)
|
||||
|
||||
self.node_filter = gen_node_name_filter(successful_prepared_nodes)
|
||||
s_nodes = list(successful_prepared_nodes)
|
||||
self.node_filter = gen_node_name_filter(s_nodes)
|
||||
task_result = self._execute_task('deploy_nodes',
|
||||
self.dep_interval,
|
||||
self.dep_timeout)
|
||||
|
Loading…
x
Reference in New Issue
Block a user