Bug 2049092 - when removing interface from ptp config - display on the metric as faulty and not removed.
Summary: when removing interface from ptp config - display on the metric as faulty and...
Keywords:
Status: CLOSED DUPLICATE of bug 2043070
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.10
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Aneesh Puttur
QA Contact: obochan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-01 14:32 UTC by obochan
Modified: 2022-02-24 15:57 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-02-24 15:57:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description obochan 2022-02-01 14:32:40 UTC
Description of problem:

i edit the ptp config and remove the slave interface, and check the metric.
the interface i removed was still shown in the metrics with the status faulty.

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

obochan@obochan ptp]$ oc version
Client Version: 4.8.0
Server Version: 4.10.0-fc.1
Kubernetes Version: v1.23.0+50f645e

openshift-ptp                                      ptp-operator.4.10.0-202201210948             PTP Operator                                             4.10.0-202201210948              Succeeded




Steps to Reproduce:

1. oc -n openshift-ptp  edit ptpconfigs.ptp.openshift.io
2  remove one interface and save.
3  oc exec -n openshift-ptp  linuxptp-daemon-*** -c linuxptp-daemon-container -- curl 127.0.0.1:9091/metrics 
4. you will see the interface that was removed in faulty status

Actual results:

 interface that was removed in faulty status

Expected results:

 interface that was removed should be included.

Comment 1 Aneesh Puttur 2022-02-24 15:57:21 UTC

*** This bug has been marked as a duplicate of bug 2043070 ***


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