Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1821134

Summary: Fail NetworkConfig task on timeout
Product: Red Hat OpenStack Reporter: Ryo Hayakawa <rhayakaw>
Component: openstack-tripleo-heat-templatesAssignee: RHOS Maint <rhos-maint>
Status: CLOSED ERRATA QA Contact: David Rosenfeld <drosenfe>
Severity: low Docs Contact:
Priority: medium    
Version: 16.0 (Train)CC: apetrich, aschultz, bfournie, knoha, mburns
Target Milestone: z2Keywords: Triaged
Target Release: 16.0 (Train on RHEL 8.1)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-11.3.2-0.20200403214903.7648856.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-14 12:16:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ryo Hayakawa 2020-04-06 06:55:04 UTC
Description of problem:

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.

The above was already fixed on stable/train with the following launchpad.
https://bugs.launchpad.net/tripleo/+bug/1862627#3

This bugzilla is a request for applying this patch to RHOSP16.

Version-Release number of selected component (if applicable):
RHOSP16.0

Additional info:
https://review.opendev.org/#/c/716461/

Comment 1 Ryo Hayakawa 2020-04-06 07:06:10 UTC
I will correct "Version-Release number of selected component" in c#0 as follows: 

  Version-Release number of selected component (if applicable):
  openstack-tripleo-heat-templates-11.3.2-0.20200211065546.d3d6dc3.el8ost.noarch.rpm

Comment 6 Bob Fournier 2020-04-16 13:01:21 UTC
Ryo - have you been able to verify this fix at customer site?  If so we can mark it as Verified.  Thanks.

Comment 9 Bob Fournier 2020-04-21 11:34:27 UTC
Thanks Ryo, no problem.  This fix will still be included in 16.0.2 and we will verify it another way.

Comment 10 Bob Fournier 2020-04-23 14:30:22 UTC
Verified that backport is in OSP-16z2, compose 4/6/2020. RPM openstack-tripleo-heat-templates-11.3.2-0.20200405044623.ec9970c.el8ost.noarch.

Comment 14 errata-xmlrpc 2020-05-14 12:16:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:2114