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:
parent
8699410998
commit
a2d0ea3ab8
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user