Bug 1733496

Summary: [sriov] network-resources-injector pod cannot be running due to 0.0.0.0:443: bind: permission denied
Product: OpenShift Container Platform Reporter: zhaozhanqi <zzhao>
Component: NetworkingAssignee: zenghui.shi <zshi>
Networking sub component: SR-IOV QA Contact: zhaozhanqi <zzhao>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: high    
Priority: high CC: aos-bugs
Version: 4.2.0   
Target Milestone: ---   
Target Release: 4.3.z   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-23 09:40:58 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:

Description zhaozhanqi 2019-07-26 09:16:12 UTC
Description of problem:
Install the sriov operator, the network-resources-injector-xxx pod cannot be running due to 0.0.0.0:443: bind: permission denied

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


How reproducible:


Steps to Reproduce:
1. install the sriov operator
2. check the pod
  network-resources-injector-m8vhp          0/1     CrashLoopBackOff 
3.

Actual results:

# oc logs network-resources-injector-m8vhp
I0726 08:53:15.429814       1 main.go:36] starting mutating admission controller for network resources injection
F0726 08:53:15.433494       1 main.go:61] error starting web server: listen tcp 0.0.0.0:443: bind: permission denied
goroutine 20 [running]:
github.com/intel/network-resources-injector/vendor/github.com/golang/glog.stacks(0xc0002c3600, 0xc0002f6000, 0x75, 0xc6)
	/usr/src/network-resources-injector/.gopath/src/github.com/intel/network-resources-injector/vendor/github.com/golang/glog/glog.go:766 +0xd4
github.com/intel/network-resources-injector/vendor/github.com/golang/glog.(*loggingT).output(0x1bdc220, 0xc000000003, 0xc000144580, 0x1b5e628, 0x7, 0x3d, 0x0)
	/usr/src/network-resources-injector/.gopath/src/github.com/intel/network-resources-injector/vendor/github.com/golang/glog/glog.go:717 +0x306
github.com/intel/network-resources-injector/vendor/github.com/golang/glog.(*loggingT).printf(0x1bdc220, 0x3, 0x10ffed6, 0x1d, 0xc000116f88, 0x1, 0x1)
	/usr/src/network-resources-injector/.gopath/src/github.com/intel/network-resources-injector/vendor/github.com/golang/glog/glog.go:655 +0x14b
github.com/intel/network-resources-injector/vendor/github.com/golang/glog.Fatalf(0x10ffed6, 0x1d, 0xc000116f88, 0x1, 0x1)
	/usr/src/network-resources-injector/.gopath/src/github.com/intel/network-resources-injector/vendor/github.com/golang/glog/glog.go:1145 +0x67
main.main.func1(0xc0002e5040, 0xc0000eb520, 0xc0002ec600)
	/usr/src/network-resources-injector/.gopath/src/github.com/intel/network-resources-injector/cmd/webhook/main.go:61 +0x20d
created by main.main
	/usr/src/network-resources-injector/.gopath/src/github.com/intel/network-resources-injector/cmd/webhook/main.go:46 +0x224

Expected results:

pod work well

Additional info:

Comment 2 zhaozhanqi 2019-07-29 02:05:30 UTC
this bug can be verified with 6443