summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Shrewsbury <shrewsbury.dave@gmail.com>2018-12-03 14:32:04 -0500
committerDavid Shrewsbury <shrewsbury.dave@gmail.com>2018-12-03 14:32:04 -0500
commitb4713b1ea33bc9693d860f31a24f40366bc478e4 (patch)
tree32cf47c1fb86f1636a87548827116333fbb6eb3f
parentf116826d2b37dddfb52056af8d80befc408a776a (diff)
Set pool for error'ed instances
Notes
Notes (review): Code-Review+2: Clark Boylan <cboylan@sapwetik.org> Code-Review+2: Tobias Henkel <tobias.henkel@bmw.de> Workflow+1: Tobias Henkel <tobias.henkel@bmw.de> Code-Review+2: James E. Blair <corvus@inaugust.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 04 Dec 2018 03:42:07 +0000 Reviewed-on: https://review.openstack.org/621681 Project: openstack-infra/nodepool Branch: refs/heads/master
-rw-r--r--nodepool/driver/openstack/handler.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nodepool/driver/openstack/handler.py b/nodepool/driver/openstack/handler.py
index c52d458..3a8247f 100644
--- a/nodepool/driver/openstack/handler.py
+++ b/nodepool/driver/openstack/handler.py
@@ -253,6 +253,7 @@ class OpenStackNodeLauncher(NodeLauncher):
253 if self.node.external_id: 253 if self.node.external_id:
254 deleting_node = zk.Node() 254 deleting_node = zk.Node()
255 deleting_node.provider = self.node.provider 255 deleting_node.provider = self.node.provider
256 deleting_node.pool = self.node.pool
256 deleting_node.external_id = self.node.external_id 257 deleting_node.external_id = self.node.external_id
257 deleting_node.state = zk.DELETING 258 deleting_node.state = zk.DELETING
258 self.zk.storeNode(deleting_node) 259 self.zk.storeNode(deleting_node)