Bug 1823875 - Dry Run Verification fails file not found
Summary: Dry Run Verification fails file not found
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z6
: 16.1 (Train on RHEL 8.2)
Assignee: Cédric Jeanneret
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-14 17:23 UTC by David Rosenfeld
Modified: 2022-08-30 12:02 UTC (History)
5 users (show)

Fixed In Version: openstack-tripleo-heat-templates-11.3.2-1.20210311103622.29a02c1.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-26 13:49:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1874141 0 None None None 2020-04-21 21:13:10 UTC
OpenStack gerrit 722161 0 None MERGED Fix deployments playbook to work in check mode 2021-02-12 14:46:22 UTC
OpenStack gerrit 729749 0 None MERGED Fix dry-run for "remote copy deployment file" task 2021-02-12 14:46:22 UTC
OpenStack gerrit 734643 0 None MERGED Fix dry-run for NetworkConfig tasks 2021-02-12 14:46:22 UTC
OpenStack gerrit 754262 0 None MERGED Check mode support for 2 modules 2021-02-12 14:46:22 UTC
OpenStack gerrit 754388 0 None MERGED Allow tripleo_firewall to work in check mode 2021-02-12 14:46:23 UTC
OpenStack gerrit 754391 0 None MERGED Fix temp namespace tasks to work in check mode 2021-02-12 14:46:22 UTC
OpenStack gerrit 754403 0 None MERGED Create container-puppet-tasks files per step in check mode 2021-02-12 14:46:22 UTC
OpenStack gerrit 763549 0 None MERGED [Ussuri/Train] Check mode doesn't work for async tasks 2021-02-12 14:46:23 UTC
OpenStack gerrit 768046 0 None MERGED [Ussuri/Train] Check mode doesn't work for async tasks 2021-02-12 14:46:23 UTC
Red Hat Issue Tracker OSP-1737 0 None None None 2022-08-30 12:02:19 UTC
Red Hat Product Errata RHBA-2021:2097 0 None None None 2021-05-26 13:50:16 UTC

Description David Rosenfeld 2020-04-14 17:23:25 UTC
Description of problem: The dry run verification test fails. Error seen in logs is:

TASK [Slurp remote deployment file for CADeployment] ***************************
fatal: [compute-0]: FAILED! => {"changed": false, "msg": "file not found: /var/lib/heat-config/tripleo-config-download/CADeployment-203ec661-9a60-405f-9104-9428e4918e41.rendered"}
fatal: [controller-0]: FAILED! => {"changed": false, "msg": "file not found: /var/lib/heat-config/tripleo-config-download/CADeployment-3da1d640-f1a0-46a2-9af7-739efd6fe15e.rendered"}
fatal: [controller-2]: FAILED! => {"changed": false, "msg": "file not found: /var/lib/heat-config/tripleo-config-download/CADeployment-364796c0-92e7-4a1f-85ce-9ef9ab37ab8b.rendered"}
fatal: [controller-1]: FAILED! => {"changed": false, "msg": "file not found: /var/lib/heat-config/tripleo-config-download/CADeployment-95138656-af3e-4fa9-a8c3-a88f028b8008.rendered"}
fatal: [compute-1]: FAILED! => {"changed": false, "msg": "file not found: /var/lib/heat-config/tripleo-config-download/CADeployment-06d95d9a-f44e-4753-bfcd-69f10f03909e.rendered"}


Version-Release number of selected component (if applicable): RHOS_TRUNK-16.0-RHEL-8-20200406.n.1


How reproducible: Every time a jenkins job DFG-df-rfe-16-virsh-3cont_2comp_3ceph-dry-run-verification is executed


Steps to Reproduce: 
1. Execute jenkins dry run verification job: DFG-df-rfe-16-virsh-3cont_2comp_3ceph-dry-run-verification
2.
3.

Actual results: dry run verification fails


Expected results: dry run verification is successful


Additional info:

Comment 7 David Rosenfeld 2020-06-05 15:45:28 UTC
Moving back to ON_DEV. Seen when trying to verify:

TASK [Run NetworkConfig script] ************************************************
fatal: [controller-0]: FAILED! => {"changed": false, "msg": "check mode and async cannot be used on same task."}
fatal: [controller-1]: FAILED! => {"changed": false, "msg": "check mode and async cannot be used on same task."}
fatal: [controller-2]: FAILED! => {"changed": false, "msg": "check mode and async cannot be used on same task."}
fatal: [compute-0]: FAILED! => {"changed": false, "msg": "check mode and async cannot be used on same task."}
fatal: [compute-1]: FAILED! => {"changed": false, "msg": "check mode and async cannot be used on same task."}

Comment 12 David Rosenfeld 2020-09-24 18:52:28 UTC
Job get further than before. It fails on TASK [Write container config scripts] 

Logs are here: https://rhos-ci-jenkins.lab.eng.tlv2.redhat.com/view/DFG/view/df/view/rfe/job/DFG-df-rfe-16.1-virsh-3cont_2comp_3ceph-dry-run-verification/9/

Comment 15 Cédric Jeanneret 2020-11-20 12:25:15 UTC
There's a missing patch - just took the time to test, it seems to be OK on my env. Will push it in upstream Ussuri (it's related to a deprecated feature, so ussuri + train only). Stay tuned!

Comment 16 Cédric Jeanneret 2021-01-07 07:41:24 UTC
The patch is stuck in upstream CI for about a month now....
https://review.opendev.org/c/openstack/tripleo-heat-templates/+/768046

Comment 17 Cédric Jeanneret 2021-01-21 10:07:52 UTC
Automatically imported from upstream, build is here: https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1468309

Comment 18 Cédric Jeanneret 2021-03-11 08:26:59 UTC
Dang.... the BZ is against 16.1, FIV is for 16.2.... Patch's missing from 16.1 branches, just pushed the review now in -trunk. Meaning: 16.1.5. Sorry for the confusion and extended delay on this one :((.

Comment 21 David Rosenfeld 2021-04-19 12:39:21 UTC
The job: DFG-df-rfe-16.1-virsh-3cont_2comp_3ceph-dry-run-verification passes now.

Comment 28 errata-xmlrpc 2021-05-26 13:49:36 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 (Red Hat OpenStack Platform 16.1.6 bug fix and enhancement 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-2021:2097


Note You need to log in before you can comment on or make changes to this bug.