Bug 1857222 - network-metrics-daemon doesn't deploy pods on masters
Summary: network-metrics-daemon doesn't deploy pods on masters
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.6
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.6.0
Assignee: Federico Paolinelli
QA Contact: Weibin Liang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-15 13:26 UTC by or marziano
Modified: 2020-10-27 16:15 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 16:14:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
A pod that is monitored by network-metrics-daemon (204 bytes, text/plain)
2020-07-15 13:26 UTC, or marziano
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-network-operator pull 721 0 None closed Bug 1857222: Run the network metrics daemon on masters too. 2020-08-10 09:50:31 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:15:04 UTC

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


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