istio: buildGatewayListeners: Have zero listeners: 1 error occurred
Describe the bug When I try to create a gaway whih tcp protocol,Nothing happened ,istio-ingressgateway no log output, istio-pilot output error liks:
* gateway omitting listener "0.0.0.0_26443" due to: must have more than 0 chains in listener: &v2.Listener{Name:"0.0.0.0_26443", Address:core.Address{Address:(*core.Address_SocketAddress)(0xc420750f80)}, FilterChains:[]listener.FilterChain{}, UseOriginalDst:nil, PerConnectionBufferLimitBytes:nil, Metadata:(*core.Metadata)(nil), DeprecatedV1:(*v2.Listener_DeprecatedV1)(nil), DrainType:0, ListenerFilters:[]listener.ListenerFilter(nil), Transparent:nil, Freebind:nil, SocketOptions:[]*core.SocketOption(nil), TcpFastOpenQueueLength:nil}
Steps to reproduce the bug
cat <<EOF |istioctl create -f -
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: bookinfo-gateway
namespace: default
spec:
selector:
istio: ingressgateway
servers:
- hosts:
- '*'
port:
name: dashboard
number: 26443
protocol: TCP
EOF
Version
root@128:/home/kinglong# istioctl version
Version: 1.0.0
GitRevision: 3a136c90ec5e308f236e0d7ebb5c4c5e405217f4
User: root@71a9470ea93c
Hub: gcr.io/istio-release
GolangVersion: go1.10.1
BuildStatus: Clean
root@128:/home/kinglong# kubectl version
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.4", GitCommit:"5ca598b4ba5abb89bb773071ce452e33fb66339d", GitTreeState:"clean", BuildDate:"2018-06-06T08:13:03Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.2", GitCommit:"bb9ffb1654d4a729bb4cec18ff088eacc153c239", GitTreeState:"clean", BuildDate:"2018-08-07T23:08:19Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"}
Is Istio Auth enabled or not? NO
Environment
root@128:/home/kinglong# uname -a Linux 128 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 49 (21 by maintainers)
Can we reopen please ? I have the same issue with Istio 1.5.0
still have the same issue on istio 1.7.0
Configuration:
any messages about this?