Bug 1857222

Summary: network-metrics-daemon doesn't deploy pods on masters
Product: OpenShift Container Platform Reporter: or marziano <omarzian>
Component: NetworkingAssignee: Federico Paolinelli <fpaoline>
Networking sub component: multus QA Contact: Weibin Liang <weliang>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: grajaiya, zzhao
Version: 4.6   
Target Milestone: ---   
Target Release: 4.6.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-10-27 16:14:43 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:
Attachments:
Description Flags
A pod that is monitored by network-metrics-daemon none

Description or marziano 2020-07-15 13:26:14 UTC
Created attachment 1701223 [details]
A pod that is monitored by network-metrics-daemon

Description of problem: network-metrics-daemon is not deployed to masters.


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

How reproducible:
always

Steps to Reproduce:
1. oc create namespace metrictest
2. oc apply -f metricpod.yaml (Attached)
3. Log in to web console > Monitoring > Metrics
4. query for : ((container_network_receive_bytes_total) + on(namespace,pod) group_left(network_name) (pod_network_name_info{namespace="openshift-multus"}))

Actual results:
In the Node column you can see network-daemon-metrics is deployed only on workers and not on masters.

Expected results:
network-daemon-metrics should deploy on all Nodes.

Additional info:

Comment 3 or marziano 2020-08-03 12:22:56 UTC
I used the cluster-bot to get a 4.6 cluster and ran the steps above, and i see that network-metrics-daemon is now deployed on the masters as well.
by the way: i understand now that the query is enough and other steps are not required.

Comment 4 zhaozhanqi 2020-08-05 01:32:23 UTC
Yes, now the network-metrics-daemon pod will be deployed on all masters and nodes in openshift-multus namespance by default

Move this to Verified

Comment 6 errata-xmlrpc 2020-10-27 16:14:43 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.6 GA Images), 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:4196