-
Notifications
You must be signed in to change notification settings - Fork 405
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
[bug] fix some bugs when local up openyurt #517
Conversation
@Congrool: GitHub didn't allow me to assign the following users: your_reviewer. Note that only openyurtio members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. In response to this:
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. |
7845836
to
19d464a
Compare
Also we find that |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Congrool, rambohe-ch The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind bug
What this PR does / why we need it:
When we set
NODE_NUM
greater than 2, there's a bug which prevents us from converting worker nodes into openyurt nodes.The reason of the problem is that the following command will end in format error when we use it to load images into kind nodes.
Assuming that we have two edge nodes called
openyurt-e2e-test-worker
andopenyurt-e2e-test-worker2
respectively. The master node is called asopenyurt-e2e-test-control-plane
. The result of the command isThen when we use
nodesarg
to load images into kind nodes, the result is something like this:We can find that there's no comma between
openyurt-e2e-test-worker
andopenyurt-e2e-test-worker2
whichkind
requires. As a result, the image is only loaded intoopenyurt-e2e-test-control-plane
andopenyurt-e2e-test-worker
. Thus, the conversion of openyurt-e2e-test-worker2 will fail for the lack of images.[root@node1 openyurt]# kubectl get pod -A NAMESPACE NAME READY STATUS RESTARTS AGE kube-system coredns-66bff467f8-6zrgr 1/1 Running 0 11m kube-system coredns-66bff467f8-blcd4 1/1 Running 0 11m kube-system etcd-openyurt-e2e-test-control-plane 1/1 Running 0 11m kube-system kindnet-csdvg 1/1 Running 0 11m kube-system kindnet-kvj55 1/1 Running 0 11m kube-system kindnet-r5vnm 1/1 Running 0 11m kube-system kube-apiserver-openyurt-e2e-test-control-plane 1/1 Running 0 11m kube-system kube-controller-manager-openyurt-e2e-test-control-plane 1/1 Running 0 10m kube-system kube-proxy-dg7mc 1/1 Running 0 11m kube-system kube-proxy-k6cnw 1/1 Running 0 11m kube-system kube-proxy-rc855 1/1 Running 0 11m kube-system kube-scheduler-openyurt-e2e-test-control-plane 1/1 Running 0 11m kube-system yurt-controller-manager-64869c8847-tb8rp 1/1 Running 0 10m kube-system yurt-hub-openyurt-e2e-test-control-plane 1/1 Running 0 7m58s kube-system yurt-hub-openyurt-e2e-test-worker 1/1 Running 0 9m58s kube-system yurtctl-servant-convert-openyurt-e2e-test-worker2-dxw89 0/1 ImagePullBackOff 0 9m59s local-path-storage local-path-provisioner-59c6df4d-x8l29 1/1 Running 0 11m
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
other Note