Bug 2013690 - Nil pointer exception when phc2sys options are missing
Summary: Nil pointer exception when phc2sys options are missing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.9.z
Assignee: Sebastian Scheinkman
QA Contact: or marziano
URL:
Whiteboard:
Depends On: 2013273
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-13 14:21 UTC by OpenShift BugZilla Robot
Modified: 2021-11-10 21:02 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-10 21:02:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift linuxptp-daemon pull 56 0 None Merged [release-4.9] Bug 2013690:Fix nil pointer exception when phc2sys options are missing 2021-10-27 14:06:12 UTC
Red Hat Product Errata RHBA-2021:4119 0 None None None 2021-11-10 21:02:32 UTC

Description OpenShift BugZilla Robot 2021-10-13 14:21:17 UTC
+++ This bug was initially created as a clone of Bug #2013273 +++

Description of problem:

ptp config without phc2sys options  attribute will thrown nil pointer exception 

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


How reproducible:
Apply ptp config without phc2sysOpts

###
apiVersion: ptp.openshift.io/v1
kind: PtpConfig
metadata:
  name: ptp-config-bm-worker
  namespace: openshift-ptp 
spec:
  profile: 
  - name: "profile1" 
    ptp4lOpts: "-2  --summary_interval -4" 
    ptp4lConf: |
      [ens5f1]
      masterOnly 0
###

Comment 1 or marziano 2021-10-28 07:17:07 UTC
Verified on ptp-operator version 4.9.0-202110262214

Comment 4 errata-xmlrpc 2021-11-10 21:02:21 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.9.6 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:4119


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