This commit adds special handling of the NetworkDeployment such that it
will be run as an async task with ansible. This should prevent any
issues where the network configuration causes the ssh connection to drop
and the ansible task to either be unnecessarily retried or failed.
Also added are three variables that can be used to control the async
behavior:
async_deployment: boolean which will toggle running all deployments in async mode.
async_timeout: timeout in seconds to wait for async tasks
async_poll: interval in seconds to check async task status
These variables can only be set if running the config-download process
manually, however a future patch could wire them up to Heat parameters.
Change-Id: If1f35980a98a9015ca65f2c6a3e4db04725f1c10
Closes-Bug: #1792343
(cherry picked from commit ac4ac838e1a3eda32bbf8e9c0a61a89142688194)
Reviewed: https:/ /review. openstack. org/636978 /git.openstack. org/cgit/ openstack/ tripleo- common/ commit/ ?id=a2550158e1a ff6c0d6f23ec1bb 7e19ab4c043b5e
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit a2550158e1aff6c 0d6f23ec1bb7e19 ab4c043b5e
Author: ekultails <email address hidden>
Date: Wed Feb 27 15:32:28 2019 -0500
Run NetworkDeployment as async task
This commit adds special handling of the NetworkDeployment such that it
will be run as an async task with ansible. This should prevent any
issues where the network configuration causes the ssh connection to drop
and the ansible task to either be unnecessarily retried or failed.
Also added are three variables that can be used to control the async
behavior:
async_ deployment: boolean which will toggle running all deployments in
async mode.
async_timeout: timeout in seconds to wait for async tasks
async_poll: interval in seconds to check async task status
These variables can only be set if running the config-download process
manually, however a future patch could wire them up to Heat parameters.
Change-Id: If1f35980a98a90 15ca65f2c6a3e4d b04725f1c10 32bbf8e9c0a61a8 9142688194)
Closes-Bug: #1792343
(cherry picked from commit ac4ac838e1a3eda