Closed l30006821 closed 3 years ago
Describe the bug
openshift-sdn initialize failed in a restricted network
pod sdn-894sj log:
I1223 09:34:10.875223 5150 feature_gate.go:243] feature gates: &{map[]} I1223 09:34:10.875288 5150 cmd.go:216] Watching config file /config/kube-proxy-config.yaml for changes I1223 09:34:10.875337 5150 cmd.go:216] Watching config file /config/..2020_12_23_09_26_36.265581810/kube-proxy-config.yaml for changes F1223 09:34:20.885424 5150 cmd.go:106] Failed to initialize sdn: failed to initialize SDN: could not get ClusterNetwork resource: Get "https://api-int.lab.okd.local:6443/apis/network.openshift.io/v1/clusternetworks/default": net/http: TLS handshake timeout
pod sdn-controller-pthrw log:
I1223 12:11:50.906161 1 subnets.go:120] Updated HostSubnet fedora (host: "fedora", ip: "192.168.122.203", subnet: "10.128.0.0/23") E1223 12:12:11.115361 1 leaderelection.go:320] error retrieving resource lock openshift-sdn/openshift-network-controller: an error on the server ("") has prevented the request from succeeding (get configmaps openshift-network-controller) E1223 12:12:33.119866 1 leaderelection.go:320] error retrieving resource lock openshift-sdn/openshift-network-controller: Get "https://api-int.lab.okd.local:6443/api/v1/namespaces/openshift-sdn/configmaps/openshift-network-controller": net/http: TLS handshake timeout E1223 12:12:35.097317 1 event.go:316] Could not construct reference to: '&v1.ConfigMap{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"", GenerateName:"", Namespace:"", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry(nil)}, Immutable:(*bool)(nil), Data:map[string]string(nil), BinaryData:map[string][]uint8(nil)}' due to: 'no kind is registered for the type v1.ConfigMap in scheme "pkg/runtime/scheme.go:101"'. Will not report event: 'Normal' 'LeaderElection' 'fedora stopped leading' I1223 12:12:35.097489 1 leaderelection.go:277] failed to renew lease openshift-sdn/openshift-network-controller: timed out waiting for the condition F1223 12:12:35.097524 1 network_controller.go:97] leaderelection lost
Version
openshift-install 4.6.0-0.okd-2020-12-12-135354
How reproducible
install okd on bare metal
Log bundle
It's hard to get bundle...
I set up the network agenthttp_proxy,https_proxy,no_proxyin install-config.yml, is it related to this?
http_proxy,https_proxy,no_proxy
Describe the bug
openshift-sdn initialize failed in a restricted network
pod sdn-894sj log:
pod sdn-controller-pthrw log:
Version
openshift-install 4.6.0-0.okd-2020-12-12-135354
How reproducible
install okd on bare metal
Log bundle
It's hard to get bundle...