Ask Your Question
0

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

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

Subhash D gravatar image

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

zaneb gravatar image

Hi,

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

--timeout

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

--wait

# 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
0

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

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

Comments

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 41 times

Last updated: Nov 06