Bug 2040791 - Default PGT policies must be 'inform' to integrate with the Lifecycle Operator
Summary: Default PGT policies must be 'inform' to integrate with the Lifecycle Operator
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Telco Edge
Version: 4.10
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 4.10.0
Assignee: Jim Ramsay
QA Contact: yliu1
URL:
Whiteboard: Telco:RAN
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-14 17:22 UTC by Jim Ramsay
Modified: 2023-02-01 21:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-10 16:39:45 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 911 0 None open Bug 2040791: ztp: Change the default PolicyGenerator to generate inform, not enforce policies 2022-01-17 21:23:45 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:39:56 UTC

Description Jim Ramsay 2022-01-14 17:22:51 UTC
Description of problem:
In order to cut over to full integration with the lifecycle operator, we need to change the default example PGTs to be inform policies, not enforce as they are today.

How reproducible:
100%

Steps to Reproduce:
1. Try to use the default PGTs to do a ZTP installation with Lifecycle Operator

Actual results:
Default policies are not inform policies

Expected results:
Default policies must be inform policies

Additional info:

Comment 2 yliu1 2022-01-24 14:33:04 UTC
@jramsay policies for day2 configs are now inform by default, but then none of day2 configs are being done in ztp. 

What are we going to do for initial deployment in this case? Should argocd example be updated to add enforce remediation actions?

NAME                                           REMEDIATION ACTION   COMPLIANCE STATE   AGE
ztp-common.common-accelerator-catsrc-policy    inform               NonCompliant       4h48m
ztp-common.common-accelerator-sub-policy       inform               NonCompliant       4h48m
ztp-common.common-log-sub-policy               inform               NonCompliant       4h48m
ztp-common.common-mon-offload-policy           inform               NonCompliant       4h48m
ztp-common.common-oper-hub-policy              inform               Compliant          4h48m
ztp-common.common-pao-sub-policy               inform               NonCompliant       4h48m
ztp-common.common-ptp-sub-policy               inform               NonCompliant       4h48m
ztp-common.common-rh-operators-catsrc-policy   inform               Compliant          4h48m
ztp-common.common-sriov-sub-policy             inform               NonCompliant       4h48m
ztp-common.common-storage-sub-policy           inform               NonCompliant       4h48m
ztp-group.group-du-sno-console-policy          inform               NonCompliant       4h48m
ztp-group.group-du-sno-disable-network-diag    inform               NonCompliant       4h48m
ztp-group.group-du-sno-log-forwarder-policy    inform               NonCompliant       4h48m
ztp-group.group-du-sno-log-policy              inform               NonCompliant       4h48m
ztp-group.group-du-sno-mc-accelerated-policy   inform               Compliant          4h48m
ztp-group.group-du-sno-mc-sctp-policy          inform               Compliant          4h48m
ztp-group.group-du-sno-ptp-config-policy       inform               NonCompliant       4h48m
ztp-group.group-du-sno-sriov-conf-policy       inform               NonCompliant       4h48m
ztp-site.cnfde7-perfprofile-policy             inform               NonCompliant       4h48m
ztp-site.cnfde7-sriov-nnp-fh-policy            inform               NonCompliant       4h48m
ztp-site.cnfde7-sriov-nnp-mh-policy            inform               NonCompliant       4h48m
ztp-site.cnfde7-sriov-nw-fh-policy             inform               NonCompliant       4h48m
ztp-site.cnfde7-sriov-nw-mh-policy             inform               NonCompliant       4h48m
ztp-site.cnfde7-tuned-perf-patch-policy        inform               NonCompliant       4h48m

Comment 5 errata-xmlrpc 2022-03-10 16:39:45 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 (Moderate: OpenShift Container Platform 4.10.3 security 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/RHSA-2022:0056


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