diff options
Diffstat (limited to 'ironic/conductor/rpcapi.py')
-rw-r--r-- | ironic/conductor/rpcapi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic/conductor/rpcapi.py b/ironic/conductor/rpcapi.py index c1f4226f2..4fa96f1aa 100644 --- a/ironic/conductor/rpcapi.py +++ b/ironic/conductor/rpcapi.py @@ -107,7 +107,7 @@ class ConductorAPI(object): """ hash_ring = self.ring_manager[driver_name] - host = random.choice(hash_ring.hosts) + host = random.choice(list(hash_ring.hosts)) return self.topic + "." + host def update_node(self, context, node_obj, topic=None): |