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
This commit is contained in:
Ryan Brady 2015-09-04 10:14:26 -04:00
parent 8699410998
commit a2d0ea3ab8
1 changed files with 1 additions and 0 deletions

View File

@ -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)