Ask Your Question
0

What is the best way to make condition to "openstack update stack" ?

asked 2019-01-18 04:22:30 -0500

tonyfeldt gravatar image

What is the best way to make condition to "openstack update stack" template in case when I wan't to check some parameter from the running stack(check /etc/conf... in running quest vm) and based on the parameter value either let the heat to start upgrade or cancel upgrade?

Options: Should I run SWDeployment(bash script reading and giving parameter as output) to running stack quest VM? How to handle this bash output in heat template?

OR Should I make bash wrapper around "openstack stack update" command and do parameter check in bash before calling "openstack" cli?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-01-21 17:20:51 -0500

zaneb gravatar image

Definitely the second one IMHO.

edit flag offensive delete link more

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-01-18 04:06:24 -0500

Seen: 27 times

Last updated: Jan 21