diff options
author | Ryan Brady <rbrady@redhat.com> | 2015-09-04 10:14:26 -0400 |
---|---|---|
committer | Ryan Brady <rbrady@redhat.com> | 2015-09-04 10:15:00 -0400 |
commit | a2d0ea3ab87d3ddd1061470bf266044b2d01d56d (patch) | |
tree | baa69f9aaf4645a986996871cd53956d4df0b489 | |
parent | 8699410998b72a513ef7764fe6d81f6a6a5982de (diff) | |
download | tuskar-ui-a2d0ea3ab87d3ddd1061470bf266044b2d01d56d.tar.gz |
Adds longer default timeout to heat stack-create call
Tuskar-UI currently uses the default stack timeout in heat which is
60 minutes. The CLI defaults the stack timeout to 240 minutes.
This patch adds the timeout_mins paramater set to 240 to match the
same behavior as the CLI.
Change-Id: I983db9218e43020235c54856ca6b435ebc33400b
-rw-r--r-- | tuskar_ui/api/heat.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tuskar_ui/api/heat.py b/tuskar_ui/api/heat.py index 923565ec..18056de5 100644 --- a/tuskar_ui/api/heat.py +++ b/tuskar_ui/api/heat.py @@ -141,6 +141,7 @@ class Stack(base.APIResourceWrapper): 'template': template, 'environment': environment, 'files': files, + 'timeout_mins': 240, } password = getattr(settings, 'UNDERCLOUD_ADMIN_PASSWORD', None) stack = heat.stack_create(request, password, **fields) |