Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1483339 Details for
Bug 1628961
[free-stg] upgrade failed due to '/apis/metrics.k8s.io/v1beta1' -> "Error from server (ServiceUnavailable): the server is currently unable to handle the request"
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
listings from apiservice / pods
file_1628961.txt (text/plain), 7.66 KB, created by
Justin Pierce
on 2018-09-14 14:07:43 UTC
(
hide
)
Description:
listings from apiservice / pods
Filename:
MIME Type:
Creator:
Justin Pierce
Created:
2018-09-14 14:07:43 UTC
Size:
7.66 KB
patch
obsolete
>[root@free-stg-master-03fb6 ~]# oc get apiservice v1beta1.metrics.k8s.io -o=yaml >apiVersion: apiregistration.k8s.io/v1 >kind: APIService >metadata: > annotations: > kubectl.kubernetes.io/last-applied-configuration: | > {"apiVersion":"apiregistration.k8s.io/v1beta1","kind":"APIService","metadata":{"annotations":{},"labels":{"kubernetes.io/cluster-service":"true","metrics-server-infra":"support"},"name":"v1beta1.metrics.k8s.io","namespace":""},"spec":{"caBundle":"...==","group":"metrics.k8s.io","groupPriorityMinimum":100,"insecureSkipTLSVerify":false,"service":{"name":"metrics-server","namespace":"openshift-metrics-server"},"version":"v1beta1","versionPriority":100}} > creationTimestamp: 2018-08-27T14:41:32Z > labels: > kubernetes.io/cluster-service: "true" > metrics-server-infra: support > name: v1beta1.metrics.k8s.io > resourceVersion: "336473055" > selfLink: /apis/apiregistration.k8s.io/v1/apiservices/v1beta1.metrics.k8s.io > uid: 4a98703e-aa07-11e8-ac6a-0203ad7dfcd7 >spec: > caBundle: ....== > group: metrics.k8s.io > groupPriorityMinimum: 100 > service: > name: metrics-server > namespace: openshift-metrics-server > version: v1beta1 > versionPriority: 100 >status: > conditions: > - lastTransitionTime: 2018-09-14T13:18:17Z > message: 'no response from https://172.30.245.46:443: Get https://172.30.245.46:443: > dial tcp 172.30.245.46:443: connect: no route to host' > reason: FailedDiscoveryCheck > status: "False" > type: Available >[root@free-stg-master-03fb6 ~]# oc project openshift-metrics-server >Now using project "openshift-metrics-server" on server "https://172.31.78.254:443". >[root@free-stg-master-03fb6 ~]# oc get pods >NAME READY STATUS RESTARTS AGE >metrics-server-57d86cfb94-kfghr 1/1 Running 3 22h >[root@free-stg-master-03fb6 ~]# oc get v1beta1.metrics.k8s.io >error: the server doesn't have a resource type "v1beta1" >[root@free-stg-master-03fb6 ~]# oc --loglevel=8 "get" "--raw" "/apis/metrics.k8s.io/v1beta1" >I0914 13:40:12.087512 16550 loader.go:359] Config loaded from file /root/.kube/config >I0914 13:40:12.088932 16550 round_trippers.go:383] GET https://172.31.78.254:443/apis/metrics.k8s.io/v1beta1 >I0914 13:40:12.088945 16550 round_trippers.go:390] Request Headers: >I0914 13:40:12.088951 16550 round_trippers.go:393] Accept: application/json, */* >I0914 13:40:12.088956 16550 round_trippers.go:393] User-Agent: oc/v1.11.0+d4cacc0 (linux/amd64) kubernetes/d4cacc0 >I0914 13:40:12.096786 16550 round_trippers.go:408] Response Status: 503 Service Unavailable in 7 milliseconds >I0914 13:40:12.096804 16550 round_trippers.go:411] Response Headers: >I0914 13:40:12.096812 16550 round_trippers.go:414] X-Content-Type-Options: nosniff >I0914 13:40:12.096820 16550 round_trippers.go:414] Content-Length: 20 >I0914 13:40:12.096827 16550 round_trippers.go:414] Date: Fri, 14 Sep 2018 13:40:12 GMT >I0914 13:40:12.096834 16550 round_trippers.go:414] Cache-Control: no-store >I0914 13:40:12.096842 16550 round_trippers.go:414] Content-Type: text/plain; charset=utf-8 >I0914 13:40:12.096886 16550 request.go:897] Response Body: service unavailable >I0914 13:40:12.096995 16550 helpers.go:201] server response object: [{ > "metadata": {}, > "status": "Failure", > "message": "the server is currently unable to handle the request", > "reason": "ServiceUnavailable", > "details": { > "causes": [ > { > "reason": "UnexpectedServerResponse", > "message": "service unavailable" > } > ] > }, > "code": 503 >}] >F0914 13:40:12.097029 16550 helpers.go:119] Error from server (ServiceUnavailable): the server is currently unable to handle the request > > > >[root@free-stg-master-03fb6 ~]# oc logs metrics-server-57d86cfb94-kfghr >I0914 13:19:27.787418 1 heapster.go:71] /usr/bin/metrics-server --source=kubernetes.summary_api:?useServiceAccount=true&kubeletHttps=true&kubeletPort=10250 --tls-cert-file=/certs/tls.crt --tls-private-key-file=/certs/tls.key --metric_resolution=30s --secure-port=8443 >I0914 13:19:27.788243 1 heapster.go:72] Metrics Server version >I0914 13:19:27.788615 1 configs.go:61] Using Kubernetes client with master "https://172.30.0.1:443" and version >I0914 13:19:27.788635 1 configs.go:62] Using kubelet port 10250 >I0914 13:19:27.790439 1 heapster.go:128] Starting with Metric Sink >I0914 13:19:28.150794 1 heapster.go:101] Starting Heapster API server... >[restful] 2018/09/14 13:19:28 log.go:33: [restful/swagger] listing is available at https:///swaggerapi >[restful] 2018/09/14 13:19:28 log.go:33: [restful/swagger] https:///swaggerui/ is mapped to folder /swagger-ui/ >I0914 13:19:28.153630 1 serve.go:85] Serving securely on 0.0.0.0:8443 >E0914 13:20:05.082163 1 summary.go:97] error while getting metrics summary from Kubelet ip-172-31-65-74.us-east-2.compute.internal(172.31.65.74:10250): Get https://172.31.65.74:10250/stats/summary/: dial tcp 172.31.65.74:10250: getsockopt: connection refused >E0914 13:20:35.109293 1 summary.go:97] error while getting metrics summary from Kubelet ip-172-31-65-74.us-east-2.compute.internal(172.31.65.74:10250): Get https://172.31.65.74:10250/stats/summary/: dial tcp 172.31.65.74:10250: getsockopt: connection refused >E0914 13:21:05.033138 1 summary.go:97] error while getting metrics summary from Kubelet ip-172-31-65-74.us-east-2.compute.internal(172.31.65.74:10250): Get https://172.31.65.74:10250/stats/summary/: dial tcp 172.31.65.74:10250: getsockopt: connection refused >E0914 13:21:35.147213 1 summary.go:97] error while getting metrics summary from Kubelet ip-172-31-65-74.us-east-2.compute.internal(172.31.65.74:10250): Get https://172.31.65.74:10250/stats/summary/: dial tcp 172.31.65.74:10250: getsockopt: connection refused >E0914 13:22:05.187139 1 summary.go:97] error while getting metrics summary from Kubelet ip-172-31-65-74.us-east-2.compute.internal(172.31.65.74:10250): Get https://172.31.65.74:10250/stats/summary/: dial tcp 172.31.65.74:10250: getsockopt: connection refused >E0914 13:22:50.047491 1 summary.go:97] error while getting metrics summary from Kubelet ip-172-31-65-74.us-east-2.compute.internal(172.31.65.74:10250): Get https://172.31.65.74:10250/stats/summary/: dial tcp 172.31.65.74:10250: getsockopt: connection refused >E0914 13:23:05.002195 1 summary.go:374] Node ip-172-31-65-74.us-east-2.compute.internal is not ready > > >[root@free-stg-master-03fb6 ~]# oc get node ip-172-31-65-74.us-east-2.compute.internal >NAME STATUS ROLES AGE VERSION >ip-172-31-65-74.us-east-2.compute.internal Ready compute,master 1y v1.11.0+d4cacc0 > > >[root@free-stg-master-03fb6 ~]# oc get all >NAME READY STATUS RESTARTS AGE >pod/metrics-server-57d86cfb94-kfghr 1/1 Running 3 23h > >NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE >service/metrics-server ClusterIP 172.30.245.46 <none> 443/TCP 17d > >NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE >deployment.apps/metrics-server 1 1 1 1 17d > >NAME DESIRED CURRENT READY AGE >replicaset.apps/metrics-server-548886874b 0 0 0 17d >replicaset.apps/metrics-server-57d86cfb94 1 1 1 23h >replicaset.apps/metrics-server-6b777f9cb6 0 0 0 7d >replicaset.apps/metrics-server-7649444b5c 0 0 0 3d >replicaset.apps/metrics-server-f66b64fd9 0 0 0 17d
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1628961
: 1483339 |
1483342