diff --git a/.gitignore b/.gitignore index 4c2710644..a146f9adb 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,8 @@ docs/workflows/ # mkdocs site output /site/ + +# tool artifacts +.codex_write_check +.tool-versions +.codex diff --git a/python/understack-workflows/understack_workflows/ironic_node.py b/python/understack-workflows/understack_workflows/ironic_node.py index 6eccad1e7..95821e3f4 100644 --- a/python/understack-workflows/understack_workflows/ironic_node.py +++ b/python/understack-workflows/understack_workflows/ironic_node.py @@ -21,6 +21,10 @@ "fake-hardware": "fake", } +# When performing a "clean" or "provide" operation, how long do we wait for +# Ironic to move the node its final state: +NODE_STATE_TIMEOUT_SECS = 90 * 60 + @dataclass class NodeInterface: @@ -200,7 +204,9 @@ def transition( node.uuid, expected_state, ) - client.wait_for_node_provision_state(node.uuid, expected_state, timeout=1800) + client.wait_for_node_provision_state( + node.uuid, expected_state, timeout=NODE_STATE_TIMEOUT_SECS + ) def patch(node: Node, updates: Sequence[str]) -> None: