Bug 2006035

Summary: PolicyGenWrapper failed: Manifest conversion failed: 2021/09/20 17:53:48 Not_supported_template {Status}
Product: OpenShift Container Platform Reporter: Marius Cornea <mcornea>
Component: Telco EdgeAssignee: Vitaly Grinberg <vgrinber>
Telco Edge sub component: ZTP QA Contact: Marius Cornea <mcornea>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: unspecified CC: imiller, vgrinber
Version: 4.8Keywords: Reopened
Target Milestone: ---   
Target Release: 4.8.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-27 08:15:28 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:
Bug Depends On: 2000726    
Bug Blocks:    

Description Marius Cornea 2021-09-20 18:02:44 UTC
Description of problem:

Sometimes the clusters ArgoCD application post siteconfig post job can fail with the following error:


ztp-hooks.postsync Mon, 20 Sep 2021 17:53:48 +0000 INFO [post-sync-entrypoint] Retrieved RAN sites resourceVersion 76907

ztp-hooks.watcher 2021-09-20 17:53:48 UTC [DEBUG]             [watcher:217]: 76907, siteconfigs

ztp-hooks.watcher 2021-09-20 17:53:48 UTC [DEBUG]             [watcher:180]: {'type': 'ERROR', 'object': {'kind': 'Status', 'apiVersion': 'v1', 'metadata': {}, 'status': 'Failure', 'message': 'too old resource version: 76907 (77478)', 'reason': 'Expired', 'code': 410}}

ztp-hooks.watcher 2021-09-20 17:53:48 UTC [DEBUG]             [watcher:135]: Objects to delete are: []

ztp-hooks.watcher 2021-09-20 17:53:48 UTC [DEBUG]             [watcher:137]: Objects to create/update are: [None]

ztp-hooks.watcher 2021-09-20 17:53:48 UTC [ERROR]             [watcher:85]: PolicyGenWrapper failed: Manifest conversion failed: 2021/09/20 17:53:48 Not_supported_template  {Status}

Traceback (most recent call last):

  File "watcher.py", line 83, in __init__

    raise Exception(f"Manifest conversion failed: {output[1].decode()}")

Exception: Manifest conversion failed: 2021/09/20 17:53:48 Not_supported_template  {Status}

Version-Release number of selected component (if applicable):
4.8

How reproducible:
Not always

Steps to Reproduce:
1. Create clusters application
2. Watch the siteconfig-post logs

Actual results:

ztp-hooks.watcher 2021-09-20 17:53:48 UTC [ERROR]             [watcher:85]: PolicyGenWrapper failed: Manifest conversion failed: 2021/09/20 17:53:48 Not_supported_template  {Status}


Expected results:
No failures

Additional info:

Comment 12 errata-xmlrpc 2021-10-27 08:15:28 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 (OpenShift Container Platform 4.8.17 bug fix update), 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:3927