GithubHelp home page GithubHelp logo

Deployment times out: Still waiting for the Kubernetes API: Get https://api.ostest.test.metalkube.org:6443/version?timeout=32s: dial tcp 192.168.123.5:6443: connect: connection refused about dev-scripts HOT 9 CLOSED

openshift-metal3 avatar openshift-metal3 commented on July 30, 2024
Deployment times out: Still waiting for the Kubernetes API: Get https://api.ostest.test.metalkube.org:6443/version?timeout=32s: dial tcp 192.168.123.5:6443: connect: connection refused

from dev-scripts.

Comments (9)

mcornea avatar mcornea commented on July 30, 2024

Querying the DNS VIP it returns the records for the api, dns and routes but not the SRV records:

[root@master-0 core]# dig +short @192.168.123.6 _etcd-server-ssl._tcp.ostest.test.metalkube.org SRV
[root@master-0 core]# dig +short @192.168.123.6 api.ostest.test.metalkube.org
192.168.123.5
[root@master-0 core]# dig +short @192.168.123.6 ns1.ostest.test.metalkube.org
192.168.123.6
[root@master-0 core]# dig +short @192.168.123.6 test.apps.ostest.test.metalkube.org
192.168.123.10

from dev-scripts.

knowncitizen avatar knowncitizen commented on July 30, 2024

I am also seeing this. Eventually:

level=debug msg="Still waiting for the Kubernetes API: Get https://api.ostest.test.metalkube.org:6443/version?timeout=32s: dial tcp 192.168.111.5:6443: connect: connection refused"
level=fatal msg="waiting for Kubernetes API: context deadline exceeded"
make: *** [ocp_run] Error 1
[jrist@galena dev-scripts]$

from dev-scripts.

dantrainor avatar dantrainor commented on July 30, 2024

More logs from node:

Apr 09 20:50:40 master-0 hyperkube[1440]: W0409 20:50:40.455130 1440 status_manager.go:485] Failed to get status for pod "etcd-member-master-0_kube-system(82da9eebb7982583107992e428ae5e94)": Get https://api.ostest.test.metalkube.org:6443/api/v1/namespaces/kube-system/pods/etcd-member-master-0: dial tcp 192.168.111.5:6443: connect: connection refused

from dev-scripts.

dantrainor avatar dantrainor commented on July 30, 2024

Apr 09 20:51:38 master-0 hyperkube[1440]: E0409 20:51:38.269063 1440 kubelet.go:2199] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni config uninitialized

from dev-scripts.

dantrainor avatar dantrainor commented on July 30, 2024

discovery/0.log:

2019-04-09T20:50:39.514546958+00:00 stderr F F0409 20:50:39.514517 1 main.go:30] Error executing etcd-setup-environment: could not find self: timed out waiting for the condition

from dev-scripts.

russellb avatar russellb commented on July 30, 2024

I logged in to @dantrainor 's env. Indeed, the SRV record wasn't present. Interestingly though, master-0, master-1, and master-2 all resolve, which all require coredns-mdns to be working.

from dev-scripts.

dantrainor avatar dantrainor commented on July 30, 2024

I'm closing out the tmate session but will offer it up to anyone else who wants to jump in and take a look. I won't change the environment from its current broken state, for now.

from dev-scripts.

dantrainor avatar dantrainor commented on July 30, 2024

Did a test on a system with more memory because there was some talk earlier about OOM but that seemed to have no effect. Failures happen at the same place.

from dev-scripts.

dantrainor avatar dantrainor commented on July 30, 2024

#322 will likely fix this. Testing locally a few times.

from dev-scripts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.