Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

envtest keep Etcd server running if kube-apiserver fails to start in te.ControlPlane.Start() #1749

Closed
dmvolod opened this issue Dec 15, 2021 · 5 comments

Comments

@dmvolod
Copy link
Contributor

dmvolod commented Dec 15, 2021

Before test grep

15:25 $ ps -ef | grep etcd
dvolodin   75666   45837  0 15:25 pts/7    00:00:00 grep --color=auto etcd

First incorrect kube-apiserver start with envtest (no default route)

15:25 $ ps -ef | grep etcd
dvolodin   74481    2115  0 15:25 pts/7    00:00:00 /home/dvolodin/.local/share/kubebuilder-envtest/k8s/1.22.1-linux-amd64/etcd --advertise-client-urls=http://127.0.0.1:40557 --data-dir=/tmp/k8s_test_framework_1043519578 --listen-client-urls=http://127.0.0.1:40557 --listen-peer-urls=http://127.0.0.1:44843 --unsafe-no-fsync=true
dvolodin   74514    2115  0 15:25 pts/7    00:00:00 /home/dvolodin/.local/share/kubebuilder-envtest/k8s/1.22.1-linux-amd64/etcd --advertise-client-urls=http://127.0.0.1:37427 --data-dir=/tmp/k8s_test_framework_2965462778 --listen-client-urls=http://127.0.0.1:37427 --listen-peer-urls=http://127.0.0.1:36667 --unsafe-no-fsync=true
dvolodin   74956   45837  0 15:25 pts/7    00:00:00 grep --color=auto etcd

Second incorrect kube-apiserver start with envtest (no default route)

15:25 $ ps -ef | grep etcd
dvolodin   74481    2115  0 15:25 pts/7    00:00:00 /home/dvolodin/.local/share/kubebuilder-envtest/k8s/1.22.1-linux-amd64/etcd --advertise-client-urls=http://127.0.0.1:40557 --data-dir=/tmp/k8s_test_framework_1043519578 --listen-client-urls=http://127.0.0.1:40557 --listen-peer-urls=http://127.0.0.1:44843 --unsafe-no-fsync=true
dvolodin   74514    2115  0 15:25 pts/7    00:00:00 /home/dvolodin/.local/share/kubebuilder-envtest/k8s/1.22.1-linux-amd64/etcd --advertise-client-urls=http://127.0.0.1:37427 --data-dir=/tmp/k8s_test_framework_2965462778 --listen-client-urls=http://127.0.0.1:37427 --listen-peer-urls=http://127.0.0.1:36667 --unsafe-no-fsync=true
dvolodin   75219    2115  1 15:25 pts/7    00:00:00 /home/dvolodin/.local/share/kubebuilder-envtest/k8s/1.22.1-linux-amd64/etcd --advertise-client-urls=http://127.0.0.1:36991 --data-dir=/tmp/k8s_test_framework_707107206 --listen-client-urls=http://127.0.0.1:36991 --listen-peer-urls=http://127.0.0.1:43593 --unsafe-no-fsync=true
dvolodin   75235    2115  1 15:25 pts/7    00:00:00 /home/dvolodin/.local/share/kubebuilder-envtest/k8s/1.22.1-linux-amd64/etcd --advertise-client-urls=http://127.0.0.1:42861 --data-dir=/tmp/k8s_test_framework_3270054588 --listen-client-urls=http://127.0.0.1:42861 --listen-peer-urls=http://127.0.0.1:35971 --unsafe-no-fsync=true
dvolodin   75666   45837  0 15:25 pts/7    00:00:00 grep --color=auto etcd
@dmvolod dmvolod changed the title envtest keeps Etcd server running if kube-apiserver fails to start in te.ControlPlane.Start() envtest keep Etcd server running if kube-apiserver fails to start in te.ControlPlane.Start() Dec 15, 2021
@dmvolod
Copy link
Contributor Author

dmvolod commented Dec 15, 2021

/assign

@dmvolod
Copy link
Contributor Author

dmvolod commented Dec 16, 2021

Will be fixed in #1750

@dmvolod
Copy link
Contributor Author

dmvolod commented Dec 16, 2021

/unassign

@dmvolod
Copy link
Contributor Author

dmvolod commented Jan 6, 2022

/close

@k8s-ci-robot
Copy link
Contributor

@dmvolod: Closing this issue.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants