Your message dated Thu, 16 Jun 2016 16:20:44 +0000
with message-id <[email protected]>
and subject line Bug#825753: fixed in kubernetes 1.2.4+dfsg-2
has caused the Debian Bug report #825753,
regarding /usr/bin/kubectl: hardcoded API server (or missing documentation)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
825753: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825753
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: kubernetes-client
Version: 1.2.3+dfsg-1
Severity: important
File: /usr/bin/kubectl
Hello there,
thank you for providing kubernetes to Debian!
There seems to be something missing, though, as I cannot connect to a
GCE-backed cluster:
| :) fernst@fernst:~$ /usr/bin/kubectl cluster-info -v42
| ERROR: logging before flag.Parse: I0529 15:57:47.661811 4945
loader.go:229] Config loaded from file /home/fernst/.kube/config
| ERROR: logging before flag.Parse: I0529 15:57:47.662084 4945
round_trippers.go:267] curl -k -v -XGET -H "Accept: application/json, */*" -H
"User-Agent: kubectl/v1.2.3+882d296 (linux/amd64) kubernetes/882d296"
http://localhost:8080/api
| ERROR: logging before flag.Parse: I0529 15:57:47.662802 4945
round_trippers.go:286] GET http://localhost:8080/api 404 Not Found in 0
milliseconds
| ERROR: logging before flag.Parse: I0529 15:57:47.662813 4945
round_trippers.go:292] Response Headers:
| ERROR: logging before flag.Parse: I0529 15:57:47.662820 4945
round_trippers.go:295] Server: nginx/1.10.0
| ERROR: logging before flag.Parse: I0529 15:57:47.662826 4945
round_trippers.go:295] Date: Sun, 29 May 2016 13:57:47 GMT
| ERROR: logging before flag.Parse: I0529 15:57:47.662831 4945
round_trippers.go:295] Content-Type: text/html
| ERROR: logging before flag.Parse: I0529 15:57:47.662837 4945
round_trippers.go:295] Connection: keep-alive
| ERROR: logging before flag.Parse: I0529 15:57:47.662909 4945
request.go:870] Response Body: <html>
| <head><title>404 Not Found</title></head>
| <body bgcolor="white">
| <center><h1>404 Not Found</h1></center>
| <hr><center>nginx/1.10.0</center>
| </body>
| </html>
| ERROR: logging before flag.Parse: I0529 15:57:47.662971 4945
request.go:933] Response Body: <html>
| <head><title>404 Not Found</title></head>
| <body bgcolor="white">
| <center><h1>404 Not Found</h1></center>
| <hr><center>nginx/1.10.0</center>
| </body>
| </html>
| ERROR: logging before flag.Parse: I0529 15:57:47.663049 4945
round_trippers.go:267] curl -k -v -XGET -H "Accept: application/json, */*" -H
"User-Agent: kubectl/v1.2.3+882d296 (linux/amd64) kubernetes/882d296"
http://localhost:8080/apis
| ERROR: logging before flag.Parse: I0529 15:57:47.663175 4945
round_trippers.go:286] GET http://localhost:8080/apis 404 Not Found in 0
milliseconds
| ERROR: logging before flag.Parse: I0529 15:57:47.663197 4945
round_trippers.go:292] Response Headers:
| ERROR: logging before flag.Parse: I0529 15:57:47.663202 4945
round_trippers.go:295] Server: nginx/1.10.0
| ERROR: logging before flag.Parse: I0529 15:57:47.663223 4945
round_trippers.go:295] Date: Sun, 29 May 2016 13:57:47 GMT
| ERROR: logging before flag.Parse: I0529 15:57:47.663233 4945
round_trippers.go:295] Content-Type: text/html
| ERROR: logging before flag.Parse: I0529 15:57:47.663239 4945
round_trippers.go:295] Connection: keep-alive
| ERROR: logging before flag.Parse: I0529 15:57:47.663279 4945
request.go:870] Response Body: <html>
| <head><title>404 Not Found</title></head>
| <body bgcolor="white">
| <center><h1>404 Not Found</h1></center>
| <hr><center>nginx/1.10.0</center>
| </body>
| </html>
| ERROR: logging before flag.Parse: I0529 15:57:47.663332 4945
request.go:933] Response Body: <html>
| <head><title>404 Not Found</title></head>
| <body bgcolor="white">
| <center><h1>404 Not Found</h1></center>
| <hr><center>nginx/1.10.0</center>
| </body>
| </html>
| ERROR: logging before flag.Parse: F0529 15:57:47.663401 4945
helpers.go:107] error: failed to negotiate an api version; server supports:
map[], client supports: map[batch/v1:{} componentconfig/v1alpha1:{}
extensions/v1beta1:{} metrics/v1alpha1:{} v1:{} authorization.k8s.io/v1beta1:{}
autoscaling/v1:{}]
| :( fernst@fernst:~$
As you can see, it tries to retreive API data from localhost:8080, which
my locally running nginx naturally cannot deliver.
For some reason the cluster configuration as previously set via gcloud
is completely ignored, and manually setting '--server' won't change
anything at all, it still tries to connect to localhost.
Verifying my config using upstream's 1.2.3 release yields not error,
though:
| :( fernst@fernst:~$ curl -sSL
"http://storage.googleapis.com/kubernetes-release/release/v1.2.3/bin/linux/amd64/kubectl"
> /home/fernst/bin/kubectl
| :) fernst@fernst:~$ chmod +x /home/fernst/bin/kubectl
| :) fernst@fernst:~$ /home/fernst/bin/kubectl cluster-info
| Kubernetes master is running at https://123.45.67.89
| GLBCDefaultBackend is running at
https://123.45.67.89/api/v1/proxy/namespaces/kube-system/services/default-http-backend
| Heapster is running at
https://123.45.67.89/api/v1/proxy/namespaces/kube-system/services/heapster
| KubeDNS is running at
https://123.45.67.89/api/v1/proxy/namespaces/kube-system/services/kube-dns
| kubernetes-dashboard is running at
https://123.45.67.89/api/v1/proxy/namespaces/kube-system/services/kubernetes-dashboard
| :) fernst@fernst:~$ /home/fernst/bin/kubectl cluster-info --v=42 2>&1 | grep
curl
| I0529 16:05:18.525850 16377 round_trippers.go:267] curl -k -v -XGET -H
"Accept: application/json, */*" -H "User-Agent: kubectl/v1.2.3 (linux/amd64)
kubernetes/882d296" -H "Authorization: Basic BASIC_AUTH"
https://123.45.67.89/api
| I0529 16:05:18.688118 16377 round_trippers.go:267] curl -k -v -XGET -H
"Accept: application/json, */*" -H "User-Agent: kubectl/v1.2.3 (linux/amd64)
kubernetes/882d296" -H "Authorization: Basic BASIC_AUTH"
https://123.45.67.89/apis
| I0529 16:05:18.721761 16377 round_trippers.go:267] curl -k -v -XGET -H
"Accept: application/json, */*" -H "User-Agent: kubectl/v1.2.3 (linux/amd64)
kubernetes/882d296" -H "Authorization: Basic BASIC_AUTH"
https://123.45.67.89/api/v1/namespaces/kube-system/services?labelSelector=kubernetes.io%2Fcluster-service%3Dtrue
| :) fernst@fernst:~$
(correct cluster IP replaced by 123.45.67.89 and basic auth replaced by
BASIC_AUTH, even though the cluster has already long been
decommissioned)
BTW, upstream's v1.2.3 won't accept '-v42' ("Error: unknown shorthand
flag: 'v' in -v42") as Debian's v1.2.3 does but insists on '--v=42'
instead. Such differences between seemingly equal versions will raise
eyebrows.
Still, I'd expect kubectl to basically work. I might be missing some
adjustment that Debian's version of kubectl needs to actually connect to
GCE-backed clusters, yet I couldn't find anything. Thus, I'm filing this
bug at "important", but please adjust as you see fit.
Cheers,
Flo
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (990, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.5.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages kubernetes-client depends on:
ii libc6 2.22-9
kubernetes-client recommends no packages.
kubernetes-client suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: kubernetes
Source-Version: 1.2.4+dfsg-2
We believe that the bug you reported is fixed in the latest version of
kubernetes, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Dmitry Smirnov <[email protected]> (supplier of updated kubernetes package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 17 Jun 2016 01:41:38 +1000
Source: kubernetes
Binary: kubernetes-client kubernetes-master kubernetes-node
Architecture: source amd64
Version: 1.2.4+dfsg-2
Distribution: experimental
Urgency: medium
Maintainer: Dmitry Smirnov <[email protected]>
Changed-By: Dmitry Smirnov <[email protected]>
Description:
kubernetes-client - Kubernetes client tools
kubernetes-master - Kubernetes services for master host
kubernetes-node - Kubernetes services for node host
Closes: 825753
Changes:
kubernetes (1.2.4+dfsg-2) experimental; urgency=medium
.
* Added new patch to fix incompatibility with "imdario/mergo" v0.2.2
(Closes: #825753).
Thanks, Florian Ernst.
* Enable tests but ignore failures for now.
Checksums-Sha1:
3c2d2e57b65fba4349a32254a7a6aeaaaf98a9c1 5613 kubernetes_1.2.4+dfsg-2.dsc
b46c657d8d4039f24cc854d94c524a46ad02165b 132412
kubernetes_1.2.4+dfsg-2.debian.tar.xz
bdad9c911bd9889a6cf551f8f3cb55045fee0dd2 2261580
kubernetes-client-dbgsym_1.2.4+dfsg-2_amd64.deb
2b65d97242447c4d88b94e8b78143f7c842f4cb3 4639864
kubernetes-client_1.2.4+dfsg-2_amd64.deb
f733dce1680d826c63d8a90b8e6e141536eeb306 12640810
kubernetes-master-dbgsym_1.2.4+dfsg-2_amd64.deb
be2fe3dda55b996975a84f754f219efc4059f073 26605220
kubernetes-master_1.2.4+dfsg-2_amd64.deb
8aaa09238048a06b922e7735dccf5e2a80903cff 5384154
kubernetes-node-dbgsym_1.2.4+dfsg-2_amd64.deb
7451a6ab1e77be862e7837da299adb38d1f4e94d 11105230
kubernetes-node_1.2.4+dfsg-2_amd64.deb
Checksums-Sha256:
6b9995ef597c776fabe4d41dc28845871211732908dc73eb1f89643862da552c 5613
kubernetes_1.2.4+dfsg-2.dsc
dbeb2a48410b8be5f07cd3c86b8b6c974d08d081316475e7e48f3ab57177b46a 132412
kubernetes_1.2.4+dfsg-2.debian.tar.xz
1f6bd97cac7c4263a33be0cb056554474d42dab932317fe428ee05bb1b8ecc80 2261580
kubernetes-client-dbgsym_1.2.4+dfsg-2_amd64.deb
72e736376f3f8dada10db48cbb81e6b8ebaf82dcd55b280bf4534b00852b24c4 4639864
kubernetes-client_1.2.4+dfsg-2_amd64.deb
4d5f1d60e37bc816f3f0b77f0528325ac87548820fca0aec115fa83a39ca011a 12640810
kubernetes-master-dbgsym_1.2.4+dfsg-2_amd64.deb
e46e148fe1560930a9a065b7fcd90cb3e69d2dc9ecc32f16ab13800045b4d7e2 26605220
kubernetes-master_1.2.4+dfsg-2_amd64.deb
17f99c367343575712bc5f6ebe0fb6d830a8193e2b4cb28620a86c82734996ba 5384154
kubernetes-node-dbgsym_1.2.4+dfsg-2_amd64.deb
6c88ee33106a2663e0b010d28e0357d86e6dc3402089ab29879c95a02e4dcb85 11105230
kubernetes-node_1.2.4+dfsg-2_amd64.deb
Files:
36ca7414e7ca592a7b55125258d19447 5613 admin optional
kubernetes_1.2.4+dfsg-2.dsc
e2ab4131ecd281a2aff60b449eb8defc 132412 admin optional
kubernetes_1.2.4+dfsg-2.debian.tar.xz
bb50d2fc74f137acbe17d04722496f08 2261580 debug extra
kubernetes-client-dbgsym_1.2.4+dfsg-2_amd64.deb
a27c30fbdbab046303b4e8f565ae1eb0 4639864 admin optional
kubernetes-client_1.2.4+dfsg-2_amd64.deb
43b81c8d16a8879222568b2d23140aa5 12640810 debug extra
kubernetes-master-dbgsym_1.2.4+dfsg-2_amd64.deb
e19afdee3071a6add8dbf18b2e9f6902 26605220 admin optional
kubernetes-master_1.2.4+dfsg-2_amd64.deb
9d71350aee24ee7b0e04a6839612077f 5384154 debug extra
kubernetes-node-dbgsym_1.2.4+dfsg-2_amd64.deb
8803171c06266e296ef6791b6a783fdf 11105230 admin optional
kubernetes-node_1.2.4+dfsg-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJXYs21AAoJEFK2u9lTlo0bI2gQAL2tEsAVHGYX0HmsMua+DKcq
PXntLZ/YHi8yHbrW91TzQLRchScHJ9kN0WKBJerOlldTTd8xVIuq5FW73WLScdtn
XTejunX6o6wRd1Y1HhQvfKfdFE4V/GnjCjOMcfF9MeFtYLLBdpCrGPTxngqMqpoR
HX4HU/G3Iuyh38jWBIBo5g22i5so8tih4wBI8S7rWHwEe5uh9oVlm54yU255HDHN
msxp2MqwyfJ3lW3eO2iyiAkwc2fn1V+RHlNROvCmA+tQxNBzXIdMUx8zG/1M9Zhn
nt2RiGABwRXQZiUQCcJl2RRgYqK+5PVznrl5OXzehznDahcc5fU0VLlYwyJIwC4x
dGbateUTN2lNmB/ygU/8gdy9p6cnSOsyERdwrqpd0e9Dbjsz5UDqugBlqgGdczWF
zI3otQ+BA4Nm7+avtG/hSLbFmWoym3INO5o5dQuXP1dDCoij62GFvwW4KofnnT5y
IN08Smp7GrAqO5DThhRsHOX2to0jbzBWKK5Qx7RPQgsQew23LpMPdQgkk1uBME61
F2pbZZF+PkZ2HRmYL8p+tRfvEULMjTBeYyc/u+NM08GacHKFH33X6Y0UQhpU1wZU
+i78eJ5VGlsmR4d+TtbgE6aNeJKCnL7Gfj9h2LL8IIi/4nPWBvWHOZrzZWrTbUGR
tmy/YsRHWIws6L7vyw7X
=ygYP
-----END PGP SIGNATURE-----
--- End Message ---