From 004f35ffd1594467dbe8d4e795136e7ff7e1e434 Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Fri, 20 Jul 2018 13:43:11 +0200 Subject: [PATCH] baremetal: correct the default timeout in Node.set_provision_state It should be None, which allows the client to wait until the server side timeout. True is probably cast to 1, which is incorrect. Change-Id: I6ae42b44b5460fed5291584576bb9eb7bcdfecb4 (cherry picked from commit 031acd99916d6835399a777cbbad476f63d68646) --- openstack/baremetal/v1/node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack/baremetal/v1/node.py b/openstack/baremetal/v1/node.py index ac5b2c9fa..a57574411 100644 --- a/openstack/baremetal/v1/node.py +++ b/openstack/baremetal/v1/node.py @@ -122,7 +122,7 @@ class Node(resource.Resource): def set_provision_state(self, session, target, config_drive=None, clean_steps=None, rescue_password=None, - wait=False, timeout=True): + wait=False, timeout=None): """Run an action modifying this node's provision state. This call is asynchronous, it will return success as soon as the Bare