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

fix ip node retrieve for none driver #9986

Merged
merged 1 commit into from
Dec 17, 2020

Conversation

sharifelgamal
Copy link
Collaborator

@sharifelgamal sharifelgamal commented Dec 17, 2020

We hardcode a node name for the none driver, which broke minikube ip when we added the node.Retrieve call to it.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Dec 17, 2020
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Dec 17, 2020
@sharifelgamal
Copy link
Collaborator Author

/ok-to-test

@k8s-ci-robot k8s-ci-robot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Dec 17, 2020
@kubernetes kubernetes deleted a comment from minikube-pr-bot Dec 17, 2020
Copy link
Contributor

@tstromberg tstromberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like this shouldn't be a special case -- that cc.Nodes should have the correct data in it.

That said, I'm approving this to unblock the release.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sharifelgamal, tstromberg

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:
  • OWNERS [sharifelgamal,tstromberg]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@minikube-pr-bot
Copy link

kvm2 Driver
Times for minikube: 60.2s 60.0s 60.0s
Average time for minikube: 60.1s

Times for Minikube (PR 9986): 56.5s 57.8s 58.2s
Average time for Minikube (PR 9986): 57.5s

Averages Time Per Log

+--------------------------------+----------+--------------------+
|              LOG               | MINIKUBE | MINIKUBE (PR 9986) |
+--------------------------------+----------+--------------------+
| * minikube v1.16.0-beta.0 on   | 0.0s     | 0.0s               |
| Debian 9.11                    |          |                    |
| * Using the kvm2 driver based  | 0.0s     | 0.0s               |
| on user configuration          |          |                    |
| * Starting control plane node  | 0.0s     | 0.0s               |
| minikube in cluster minikube   |          |                    |
| * Creating kvm2 VM (CPUs=2,    | 44.7s    | 37.3s              |
| Memory=3700MB, Disk=20000MB)   |          |                    |
| ...                            |          |                    |
| * Preparing Kubernetes v1.20.0 | 0.0s     |                    |
| on Docker 20.10.0 ...| ��WW���[K�[K/     |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K                         |          |                    |
|   - Generating certificates    | 0.0s     | 13.6s              |
| and keys ...                   |          |                    |
|   - Booting up control plane   | 1.1s     | 1.2s               |
| ...                            |          |                    |
|   - Configuring RBAC rules     | 0.0s     | 0.0s               |
| .../ ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K                |          |                    |
| * Verifying Kubernetes         | 1.4s     | 1.3s               |
| components...                  |          |                    |
| * Enabled addons:              | 0.6s     | 0.4s               |
| default-storageclass,          |          |                    |
| storage-provisioner            |          |                    |
| * Done! kubectl is now         | 0.0s     | 0.0s               |
| configured to use "minikube"   |          |                    |
| cluster and "default"          |          |                    |
| namespace by default           |          |                    |
+--------------------------------+----------+--------------------+

docker Driver
Times for minikube: 24.6s 23.4s 24.3s
Average time for minikube: 24.1s

Times for Minikube (PR 9986): 23.7s 23.0s 23.8s
Average time for Minikube (PR 9986): 23.5s

Averages Time Per Log

+--------------------------------+----------+--------------------+
|              LOG               | MINIKUBE | MINIKUBE (PR 9986) |
+--------------------------------+----------+--------------------+
| * minikube v1.16.0-beta.0 on   | 0.2s     | 0.2s               |
| Debian 9.11                    |          |                    |
| * Using the docker driver      | 0.1s     | 0.1s               |
| based on user configuration    |          |                    |
| * Starting control plane node  | 0.1s     | 0.1s               |
| minikube in cluster minikube   |          |                    |
| * Creating docker container    | 22.8s    | 22.3s              |
| (CPUs=2, Memory=3700MB) ...    |          |                    |
| * Preparing Kubernetes v1.20.0 | 0.0s     | 0.0s               |
| on Docker 20.10.0 ...| ��WW���[K�[K/     |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/                    |          |                    |
| ��WW���[K�[K- ��WW���[K�[K\ ��WW���[K�[K|                    |          |                    |
| ��WW���[K�[K/ ��WW���[K�[K- ��WW���[K�[K\                    |          |                    |
| ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K-                    |          |                    |
| ��WW���[K�[K\ ��WW���[K�[K| ��WW���[K�[K/ ��WW���[K�[K                 |          |                    |
| * Verifying Kubernetes         | 0.9s     | 0.8s               |
| components...                  |          |                    |
| * Enabled addons:              | 0.1s     | 0.1s               |
| storage-provisioner,           |          |                    |
| default-storageclass           |          |                    |
| * Done! kubectl is now         | 0.0s     | 0.0s               |
| configured to use "minikube"   |          |                    |
| cluster and "default"          |          |                    |
| namespace by default           |          |                    |
+--------------------------------+----------+--------------------+

@sharifelgamal
Copy link
Collaborator Author

It seems like this shouldn't be a special case -- that cc.Nodes should have the correct data in it.

That said, I'm approving this to unblock the release.

cc.Nodes does have the correct info, it's the request default of empty that's bad, but only for the none driver.

@sharifelgamal sharifelgamal merged commit c50f38b into kubernetes:master Dec 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants