Giter Club home page Giter Club logo

cluster-bootstrap's People

Contributors

aaronlevy avatar abhinavdahiya avatar asifdxtreme avatar colemickens avatar deads2k avatar derekparker avatar dghubble avatar dgrisonnet avatar diegs avatar eranco74 avatar ericchiang avatar hexfusion avatar hongchaodeng avatar k8s-ci-robot avatar kenan435 avatar klausenbusk avatar mfojtik avatar openshift-merge-bot[bot] avatar openshift-merge-robot avatar philips avatar quentin-m avatar redbaron avatar rithujohn191 avatar rphillips avatar spiffxp avatar squat avatar sttts avatar weikinhuang avatar wking avatar xiang90 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cluster-bootstrap's Issues

Cluster bootstrap start isn't idempotent

In case bootstrap failed and left some static manifests under the kubelet pod manifest path it will never clean it up.
See logs:

[root@test-infra-cluster-worker-0 openshift]# /usr/local/bin/bootkube.sh
Starting etcd certificate signer...
9330b6f5e046456656f9dd62aae08a96226ef92403b4900ebfe06690bc4978cf
https://localhost:2379 is healthy: successfully committed proposal: took = 22.691204ms
etcd cluster up. Killing etcd certificate signer...
9330b6f5e046456656f9dd62aae08a96226ef92403b4900ebfe06690bc4978cf
Starting cluster-bootstrap...
Starting temporary bootstrap control plane...
Error: open /etc/kubernetes/manifests/kube-apiserver-pod.yaml: file exists
Tearing down temporary bootstrap control plane...
Error: open /etc/kubernetes/manifests/kube-apiserver-pod.yaml: file exists
Error: Failed to evict container: "": Failed to find container "etcd-signer" in state: no container with name or ID etcd-signer found: no such container

[root@test-infra-cluster-worker-0 openshift]# /usr/local/bin/bootkube.sh
Starting etcd certificate signer...
54555461ad05999e61734f5fdca5d44b41e8a3aa32fa00c7d4ff5c45a0c40fa6
https://localhost:2379 is healthy: successfully committed proposal: took = 27.283338ms
etcd cluster up. Killing etcd certificate signer...
54555461ad05999e61734f5fdca5d44b41e8a3aa32fa00c7d4ff5c45a0c40fa6
Starting cluster-bootstrap...
Starting temporary bootstrap control plane...
Error: open /etc/kubernetes/manifests/kube-apiserver-pod.yaml: file exists
Tearing down temporary bootstrap control plane...
Error: open /etc/kubernetes/manifests/kube-apiserver-pod.yaml: file exists
Error: Failed to evict container: "": Failed to find container "etcd-signer" in state: no container with name or ID etcd-signer found: no such container

I'm unsure how the static pod manifests where left behind to begin with.
The issue is that the bootstrapControlPlane fail to start in case a static pod manifest with the same name already exist.
In that case ownedManifests won't be set and the manifests will not get deleted during Teardown.
This cycle will go on and on.

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.