Running os-net-config as async, with failed_when as false
results in undefined variable error if async task times out.
Instead of ignoring failure of task, check for the
presense of results of the command execution 'rc', if it
is not defined, then rest of the tasks are not useful.
Closes-Bug: #1862627
Change-Id: Ibbcde856ac69bf73a47086d95a52c3b1a0d10911
(cherry picked from commit f17e06a778e7663bcd88d6d83474d426f62ef6be)
Reviewed: https:/ /review. opendev. org/716461 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=3fff96c361a 929764b337bb578 4ec2efa169111c
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit 3fff96c361a9297 64b337bb5784ec2 efa169111c
Author: Saravanan KR <email address hidden>
Date: Mon Feb 10 18:30:34 2020 +0530
Fail NetworkConfig task on timeout
Running os-net-config as async, with failed_when as false
results in undefined variable error if async task times out.
Instead of ignoring failure of task, check for the
presense of results of the command execution 'rc', if it
is not defined, then rest of the tasks are not useful.
Closes-Bug: #1862627
Change-Id: Ibbcde856ac69bf 73a47086d95a52c 3b1a0d10911 bcd88d6d83474d4 26f62ef6be)
(cherry picked from commit f17e06a778e7663