Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1768328

Summary: Some parameters in PTP operator log cannot display correctly.
Product: OpenShift Container Platform Reporter: huirwang
Component: NetworkingAssignee: zenghui.shi <zshi>
Networking sub component: openshift-sdn QA Contact: huirwang
Status: CLOSED ERRATA Docs Contact:
Severity: unspecified    
Priority: unspecified CC: zshi
Version: 4.3.0   
Target Milestone: ---   
Target Release: 4.3.0   
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: 2020-01-23 11:10:26 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:

Description huirwang 2019-11-04 05:34:07 UTC
Version:
4.3.0-0.nightly-2019-10-29-140935

How to Reproduce:
1. Depoly PTP operator following the guide 
https://github.com/openshift/ptp-operator

2. Deploy a ptp config file:
oc create -f  tmp/ptpconfig2.yaml

apiVersion: ptp.openshift.io/v1
kind: PtpConfig
metadata:
  name: example-ptpconfig2
  namespace: openshift-ptp
spec:
  profile:
  - name: "profile2"
    interface: "enp134s0f0"
    ptp4lOpts: "-s -2"
    phc2sysOpts: "-a -r"
  recommend:
  - profile: "profile2"
    priority: 1
    match:
    - nodeLabel: "node-role.kubernetes.io/worker="


3. After deployed, check the operator logs

Actual Result:
The name, interface,Ptp4lOpts,Phc2sysOpts parameter is not correct display.
I1031 09:59:54.496847       1 recommend.go:44] recommended ptp profile name: profile2 for node: huirwa-7xwkm-w-a-6g8td.c.openshift-qe.internal
I1031 09:59:54.496853       1 recommend.go:30] ptp profile to be updated: &{Name:0xc000d486c0 Interface:0xc000d486d0 Ptp4lOpts:0xc000d486e0 Phc2sysOpts:0xc000d486f0 Ptp4lConf:<nil>} for node: huirwa-7xwkm-w-a-6g8td.c.openshift-qe.internal

Expected Result:
Should display the correct text.

Comment 5 errata-xmlrpc 2020-01-23 11:10:26 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, 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-2020:0062