Ask Your Question

heat stack create and update with --timeout or --wait

asked 2019-11-04 21:00:33 -0500

Subhash D gravatar image

updated 2019-11-06 20:08:11 -0500

zaneb gravatar image


Could you please suggest which one is the best option in --wait and --timeout to create and update the heat stack


# openstack stack create --timeout 7200 test_stack  -e /opt/environment.yaml -t /opt/test.yaml


# openstack stack create  test_stack -e /opt/environment.yaml -t /opt/test.yaml --wait

There is a debate on it and I'm suggesting them to use the --wait instead of -- timeout, I just wanted to take your help to choose the best option.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2019-11-06 20:10:33 -0500

zaneb gravatar image

They're completely different things, and both can be used together.

--timeout is the interval after which the stack will be marked failed if it has not yet completed. If you don't specify it, Heat will use the default (which is 1 hour).

--wait means the client will wait until the stack completes or fails before exiting. If you don't specify it, the client exits immediately.

edit flag offensive delete link more


Thank you very much for the response, its really helped me a lot.

Subhash D gravatar imageSubhash D ( 2019-11-06 20:56:12 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-11-04 21:00:33 -0500

Seen: 842 times

Last updated: Nov 06 '19