Bug 1825976 - etcd quorum guard: should not use hostNetwork
Summary: etcd quorum guard: should not use hostNetwork
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Etcd
Version: 4.5
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.4.z
Assignee: Sam Batschelet
QA Contact: ge liu
URL:
Whiteboard:
Depends On: 1825967
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-20 15:48 UTC by Sam Batschelet
Modified: 2023-09-14 05:55 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1825967
Environment:
Last Closed: 2020-05-20 13:57:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift machine-config-operator pull 1655 0 None closed Bug 1825976: cherrypick etcd-quorum-guard refactoring to 4.4 2020-05-20 13:49:38 UTC

Description Sam Batschelet 2020-04-20 15:48:22 UTC
+++ This bug was initially created as a clone of Bug #1825967 +++

Description of problem: because quorum-guard is using hostNetwork all network traffic to be counted as a container traffic, so some pods had > 4MBps network in/out in console.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results: quorum-guard preforms localhost checks against host 127.0.0.1 
 and is counted as container traffic.


Expected results:quorum-guard preforms localhost checks against host 127.0.0.1 without be counted as container traffic.


Additional info:

--- Additional comment from Sam Batschelet on 2020-04-20 15:40:16 UTC ---

Verification steps.

stand up prometheus based on prom data file from the following PR run.

https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/pr-logs/pull/openshift_machine-config-operator/1552/pull-ci-openshift-machine-config-operator-master-e2e-aws/6758

query
container_network_transmit_bytes_total{name="k8s_POD_etcd-quorum-guard-f9fc8d4c-6x4g5_openshift-machine-config-operator_a7a8ac88-81ac-4b37-bdc9-e148c88a53e7_0"}

result is max of about 483.9 k of traffic.

see attached file (4.5-fixed.png)

Before this patfch you can see container traffic in the hundreds of mb see (4.5-before-fix.png)

--- Additional comment from Sam Batschelet on 2020-04-20 15:41:34 UTC ---



--- Additional comment from Sam Batschelet on 2020-04-20 15:42:49 UTC ---



--- Additional comment from ge liu on 2020-04-20 15:45:55 UTC ---

Verified with steps of Sam updated, thanks!

Comment 1 Scott Dodson 2020-04-24 13:10:57 UTC
Based on the discussion in the PR there's no ill effect of this in 4.4, moving target release to 4.4.z. The PR is also held which supports this action as well.

Comment 5 Red Hat Bugzilla 2023-09-14 05:55:43 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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