Bug 2036990 - ZTP "DU Done inform policy" never becomes compliant on multi-node clusters
Summary: ZTP "DU Done inform policy" never becomes compliant on multi-node clusters
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Telco Edge
Version: 4.10
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.10.0
Assignee: Jim Ramsay
QA Contact: Joshua Clark
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-04 15:26 UTC by Jim Ramsay
Modified: 2022-03-12 04:40 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-12 04:40:12 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 900 0 None open Bug 2036990: Adjust ztp-done policy to work with multi-node clusters (plus 50-nto-* MC) 2022-01-07 21:56:31 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-12 04:40:22 UTC

Description Jim Ramsay 2022-01-04 15:26:21 UTC
Description of problem:
For both standard and 3-node clusters, the ZTP-created 'informDuValidator' policy never goes compliant.

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

How reproducible:
100% of the time

Steps to Reproduce:
1. Deploy a standard cluster or 3-node cluster with ZTP
2. Check the DU inform policy
3. GOTO 2

Actual results:
The policy does not go compliant because of SNO-specific assumptions made in the MachineConfig section

Expected results:
The policy should go compliant once the DU profile is fully ready for both standard and 3-node configurations

Additional info:
The 3 identified reasons for the policy never going compliant are:
- The WorkloadPartitioning MachineConfig is only present on SNO installs.
- The number of machines expected to be in the master MCP pool is exactly 1 (only true for SNO).
- There is no checking at all of the worker MPC pool.

Comment 5 Joshua Clark 2022-02-22 23:31:55 UTC
Verified for both 3-node compact clusters and 5-node standard clusters upon successful ZTP installation.

[kni@registry ~]$ oc get policies -A
NAMESPACE      NAME                                            REMEDIATION ACTION   COMPLIANCE STATE   AGE
ztpmultinode   ztp-common.common-config-policy                 inform               Compliant          5h55m
ztpmultinode   ztp-common.common-subscriptions-policy          inform               Compliant          5h55m
ztpmultinode   ztp-group.group-du-3node-config-policy          inform               Compliant          5h55m
ztpmultinode   ztp-group.group-du-3node-du-validator           inform               Compliant          118m
ztpmultinode   ztp-site.example-multinode-site-config-policy   inform               Compliant          5h55m

Comment 7 errata-xmlrpc 2022-03-12 04:40:12 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.