Bug 2006035 - PolicyGenWrapper failed: Manifest conversion failed: 2021/09/20 17:53:48 Not_supported_template {Status}
Summary: PolicyGenWrapper failed: Manifest conversion failed: 2021/09/20 17:53:48 Not_...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Telco Edge
Version: 4.8
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.8.z
Assignee: Vitaly Grinberg
QA Contact: Marius Cornea
URL:
Whiteboard:
Depends On: 2000726
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-20 18:02 UTC by Marius Cornea
Modified: 2021-10-27 08:15 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-27 08:15:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift-kni cnf-features-deploy pull 733 0 None open ztp: Bug 2006035: Backport rv field jsonpath 2021-10-05 10:23:28 UTC
Red Hat Product Errata RHBA-2021:3927 0 None None None 2021-10-27 08:15:53 UTC

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


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