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

Minikube não inicializa - Ubuntu 20.04 + Docker #8312

Closed
romulofagundes opened this issue May 29, 2020 · 1 comment
Closed

Minikube não inicializa - Ubuntu 20.04 + Docker #8312

romulofagundes opened this issue May 29, 2020 · 1 comment
Labels
l/pt-BR Issues in or relating to Portuguese (Brazil)

Comments

@romulofagundes
Copy link

 
Quando executo o minikube start utilizando o docker como profile, ocorre a seguinte saída:
 

➜ minikube start
😄  minikube v1.10.1 on Ubuntu 20.04
✨  Using the docker driver based on existing profile
👍  Starting control plane node minikube in cluster minikube
🏃  Updating the running docker "minikube" container ...
🐳  Preparing Kubernetes v1.18.2 on Docker 19.03.2 ...
E0529 08:32:07.705005   50373 start.go:95] Unable to get host IP: inspect IP bridge network "c0335016fe70\nfa69364dc1c9".: docker inspect --format "{{(index .IPAM.Config 0).Gateway}}" c0335016fe70
fa69364dc1c9: exit status 1
stdout:


stderr:
Error: No such object: c0335016fe70
fa69364dc1c9

💣  failed to start node: startup failed: Failed to setup kubeconfig: inspect IP bridge network "c0335016fe70\nfa69364dc1c9".: docker inspect --format "{{(index .IPAM.Config 0).Gateway}}" c0335016fe70
fa69364dc1c9: exit status 1
stdout:


stderr:
Error: No such object: c0335016fe70
fa69364dc1c9


😿  minikube is exiting due to an error. If the above message is not useful, open an issue:
👉  https://github.com/kubernetes/minikube/issues/new/choose

A saída do comando minikube logs:


==> Docker <==
-- Logs begin at Fri 2020-05-29 10:45:58 UTC, end at Fri 2020-05-29 11:34:27 UTC. --
May 29 10:45:58 minikube systemd[1]: Starting Docker Application Container Engine...
May 29 10:45:58 minikube dockerd[113]: time="2020-05-29T10:45:58.627944597Z" level=info msg="Starting up"
May 29 10:45:58 minikube dockerd[113]: time="2020-05-29T10:45:58.631954094Z" level=info msg="parsed scheme: "unix"" module=grpc
May 29 10:45:58 minikube dockerd[113]: time="2020-05-29T10:45:58.632071925Z" level=info msg="scheme "unix" not registered, fallback to default scheme" module=grpc
May 29 10:45:58 minikube dockerd[113]: time="2020-05-29T10:45:58.632137321Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock 0 }] }" module=grpc
May 29 10:45:58 minikube dockerd[113]: time="2020-05-29T10:45:58.633281458Z" level=info msg="ClientConn switching balancer to "pick_first"" module=grpc
May 29 10:45:58 minikube dockerd[113]: time="2020-05-29T10:45:58.633436883Z" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc000138510, CONNECTING" module=grpc
May 29 10:45:58 minikube dockerd[113]: time="2020-05-29T10:45:58.693970465Z" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc000138510, READY" module=grpc
May 29 10:45:58 minikube dockerd[113]: time="2020-05-29T10:45:58.694871628Z" level=info msg="parsed scheme: "unix"" module=grpc
May 29 10:45:58 minikube dockerd[113]: time="2020-05-29T10:45:58.694974601Z" level=info msg="scheme "unix" not registered, fallback to default scheme" module=grpc
May 29 10:45:58 minikube dockerd[113]: time="2020-05-29T10:45:58.695041899Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock 0 }] }" module=grpc
May 29 10:45:58 minikube dockerd[113]: time="2020-05-29T10:45:58.695105454Z" level=info msg="ClientConn switching balancer to "pick_first"" module=grpc
May 29 10:45:58 minikube dockerd[113]: time="2020-05-29T10:45:58.695201151Z" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc0006cc6c0, CONNECTING" module=grpc
May 29 10:45:58 minikube dockerd[113]: time="2020-05-29T10:45:58.695593127Z" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc0006cc6c0, READY" module=grpc
May 29 10:45:58 minikube dockerd[113]: time="2020-05-29T10:45:58.703894637Z" level=info msg="[graphdriver] using prior storage driver: overlay2"
May 29 10:45:58 minikube dockerd[113]: time="2020-05-29T10:45:58.729227989Z" level=warning msg="Your kernel does not support swap memory limit"
May 29 10:45:58 minikube dockerd[113]: time="2020-05-29T10:45:58.733846165Z" level=warning msg="Your kernel does not support cgroup blkio weight"
May 29 10:45:58 minikube dockerd[113]: time="2020-05-29T10:45:58.733857095Z" level=warning msg="Your kernel does not support cgroup blkio weight_device"
May 29 10:45:58 minikube dockerd[113]: time="2020-05-29T10:45:58.734048466Z" level=info msg="Loading containers: start."
May 29 10:45:58 minikube dockerd[113]: time="2020-05-29T10:45:58.854365892Z" level=info msg="Default bridge (docker0) is assigned with an IP address 172.18.0.0/16. Daemon option --bip can be used to set a preferred IP address"
May 29 10:45:58 minikube dockerd[113]: time="2020-05-29T10:45:58.936157828Z" level=info msg="Loading containers: done."
May 29 10:46:18 minikube dockerd[113]: time="2020-05-29T10:46:18.322025830Z" level=info msg="Docker daemon" commit=6a30dfca03 graphdriver(s)=overlay2 version=19.03.2
May 29 10:46:18 minikube dockerd[113]: time="2020-05-29T10:46:18.322340467Z" level=info msg="Daemon has completed initialization"
May 29 10:46:18 minikube dockerd[113]: time="2020-05-29T10:46:18.383020998Z" level=info msg="API listen on /run/docker.sock"
May 29 10:46:18 minikube systemd[1]: Started Docker Application Container Engine.
May 29 10:46:19 minikube systemd[1]: docker.service: Current command vanished from the unit file, execution of the command list won't be resumed.
May 29 10:46:19 minikube dockerd[113]: time="2020-05-29T10:46:19.922352345Z" level=info msg="Processing signal 'terminated'"
May 29 10:46:19 minikube systemd[1]: Stopping Docker Application Container Engine...
May 29 10:46:19 minikube dockerd[113]: time="2020-05-29T10:46:19.923167593Z" level=info msg="stopping event stream following graceful shutdown" error="" module=libcontainerd namespace=moby
May 29 10:46:19 minikube dockerd[113]: time="2020-05-29T10:46:19.923590180Z" level=info msg="Daemon shutdown complete"
May 29 10:46:19 minikube systemd[1]: docker.service: Succeeded.
May 29 10:46:19 minikube systemd[1]: Stopped Docker Application Container Engine.
May 29 10:46:19 minikube systemd[1]: Starting Docker Application Container Engine...
May 29 10:46:19 minikube dockerd[347]: time="2020-05-29T10:46:19.973990479Z" level=info msg="Starting up"
May 29 10:46:19 minikube dockerd[347]: time="2020-05-29T10:46:19.975715640Z" level=info msg="parsed scheme: "unix"" module=grpc
May 29 10:46:19 minikube dockerd[347]: time="2020-05-29T10:46:19.975736700Z" level=info msg="scheme "unix" not registered, fallback to default scheme" module=grpc
May 29 10:46:19 minikube dockerd[347]: time="2020-05-29T10:46:19.975755628Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock 0 }] }" module=grpc
May 29 10:46:19 minikube dockerd[347]: time="2020-05-29T10:46:19.975770411Z" level=info msg="ClientConn switching balancer to "pick_first"" module=grpc
May 29 10:46:19 minikube dockerd[347]: time="2020-05-29T10:46:19.975830036Z" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc00074d100, CONNECTING" module=grpc
May 29 10:46:19 minikube dockerd[347]: time="2020-05-29T10:46:19.976170208Z" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc00074d100, READY" module=grpc
May 29 10:46:19 minikube dockerd[347]: time="2020-05-29T10:46:19.976736885Z" level=info msg="parsed scheme: "unix"" module=grpc
May 29 10:46:19 minikube dockerd[347]: time="2020-05-29T10:46:19.976750961Z" level=info msg="scheme "unix" not registered, fallback to default scheme" module=grpc
May 29 10:46:19 minikube dockerd[347]: time="2020-05-29T10:46:19.976765038Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock 0 }] }" module=grpc
May 29 10:46:19 minikube dockerd[347]: time="2020-05-29T10:46:19.976772997Z" level=info msg="ClientConn switching balancer to "pick_first"" module=grpc
May 29 10:46:19 minikube dockerd[347]: time="2020-05-29T10:46:19.976803513Z" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc0001dc6f0, CONNECTING" module=grpc
May 29 10:46:19 minikube dockerd[347]: time="2020-05-29T10:46:19.977008077Z" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc0001dc6f0, READY" module=grpc
May 29 10:46:19 minikube dockerd[347]: time="2020-05-29T10:46:19.980586474Z" level=info msg="[graphdriver] using prior storage driver: overlay2"
May 29 10:46:19 minikube dockerd[347]: time="2020-05-29T10:46:19.997616201Z" level=warning msg="Your kernel does not support swap memory limit"
May 29 10:46:19 minikube dockerd[347]: time="2020-05-29T10:46:19.997747516Z" level=warning msg="Your kernel does not support cgroup blkio weight"
May 29 10:46:19 minikube dockerd[347]: time="2020-05-29T10:46:19.997760740Z" level=warning msg="Your kernel does not support cgroup blkio weight_device"
May 29 10:46:19 minikube dockerd[347]: time="2020-05-29T10:46:19.997914724Z" level=info msg="Loading containers: start."
May 29 10:46:20 minikube dockerd[347]: time="2020-05-29T10:46:20.082887586Z" level=info msg="Default bridge (docker0) is assigned with an IP address 172.18.0.0/16. Daemon option --bip can be used to set a preferred IP address"
May 29 10:46:20 minikube dockerd[347]: time="2020-05-29T10:46:20.162456530Z" level=info msg="Loading containers: done."
May 29 10:46:20 minikube dockerd[347]: time="2020-05-29T10:46:20.174191784Z" level=info msg="Docker daemon" commit=6a30dfca03 graphdriver(s)=overlay2 version=19.03.2
May 29 10:46:20 minikube dockerd[347]: time="2020-05-29T10:46:20.174377628Z" level=info msg="Daemon has completed initialization"
May 29 10:46:20 minikube dockerd[347]: time="2020-05-29T10:46:20.192426146Z" level=info msg="API listen on /var/run/docker.sock"
May 29 10:46:20 minikube dockerd[347]: time="2020-05-29T10:46:20.192440269Z" level=info msg="API listen on [::]:2376"
May 29 10:46:20 minikube systemd[1]: Started Docker Application Container Engine.

==> container status <==
time="2020-05-29T11:34:29Z" level=fatal msg="failed to connect: failed to connect, make sure you are running as root and the runtime has been started: context deadline exceeded"
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

==> describe nodes <==
E0529 08:34:30.013390 50958 logs.go:178] command /bin/bash -c "sudo /var/lib/minikube/binaries/v1.18.2/kubectl describe nodes --kubeconfig=/var/lib/minikube/kubeconfig" failed with error: /bin/bash -c "sudo /var/lib/minikube/binaries/v1.18.2/kubectl describe nodes --kubeconfig=/var/lib/minikube/kubeconfig": Process exited with status 1
stdout:

stderr:
error: stat /var/lib/minikube/kubeconfig: no such file or directory
output: "\n** stderr ** \nerror: stat /var/lib/minikube/kubeconfig: no such file or directory\n\n** /stderr **"

==> dmesg <==
[May29 10:10] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[ +0.417494] usb: port power management may be unreliable
[ +0.000232] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[ +0.007607] platform eisa.0: EISA: Cannot allocate resource for mainboard
[ +0.000001] platform eisa.0: Cannot allocate resource for EISA slot 1
[ +0.000000] platform eisa.0: Cannot allocate resource for EISA slot 2
[ +0.000001] platform eisa.0: Cannot allocate resource for EISA slot 3
[ +0.000001] platform eisa.0: Cannot allocate resource for EISA slot 4
[ +0.000000] platform eisa.0: Cannot allocate resource for EISA slot 5
[ +0.000001] platform eisa.0: Cannot allocate resource for EISA slot 6
[ +0.000000] platform eisa.0: Cannot allocate resource for EISA slot 7
[ +0.000001] platform eisa.0: Cannot allocate resource for EISA slot 8
[ +0.064857] resource sanity check: requesting [mem 0xfdffe800-0xfe0007ff], which spans more than pnp 00:00 [mem 0xfdb00000-0xfdffffff]
[ +0.000003] caller pmc_core_probe+0x7f/0x17f mapping multiple BARs
[ +0.022811] integrity: Problem loading X.509 certificate -65
[ +0.000003] integrity: Problem loading X.509 certificate -65
[ +0.273000] wmi_bus wmi_bus-PNP0C14:01: WQ data block query control method not found
[ +0.000001] wmi_bus wmi_bus-PNP0C14:01: WQ data block query control method not found
[ +0.000001] wmi_bus wmi_bus-PNP0C14:01: WQ data block query control method not found
[ +0.000001] wmi_bus wmi_bus-PNP0C14:01: WQ data block query control method not found
[ +0.031786] r8169 0000:03:00.1: can't disable ASPM; OS doesn't have ASPM control
[ +0.016332] i2c_hid i2c-ELAN0501:01: i2c-ELAN0501:01 supply vdd not found, using dummy regulator
[ +0.000011] i2c_hid i2c-ELAN0501:01: i2c-ELAN0501:01 supply vddl not found, using dummy regulator
[ +2.138508] uvcvideo 1-9:1.0: Entity type for entity Extension 4 was not initialized!
[ +0.000002] uvcvideo 1-9:1.0: Entity type for entity Extension 3 was not initialized!
[ +0.000000] uvcvideo 1-9:1.0: Entity type for entity Processing 2 was not initialized!
[ +0.000001] uvcvideo 1-9:1.0: Entity type for entity Camera 1 was not initialized!
[ +0.034144] nvidia: loading out-of-tree module taints kernel.
[ +0.000007] nvidia: module license 'NVIDIA' taints kernel.
[ +0.000001] Disabling lock debugging due to kernel taint
[ +0.128240] [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS
[ +0.010554] thermal thermal_zone3: failed to read out thermal zone (-61)
[ +0.000230] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 440.64 Fri Feb 21 01:17:26 UTC 2020
[ +0.077570] Bluetooth: hci0: unexpected event for opcode 0xfc2f
[ +3.796473] ACPI Warning: _SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20190816/nsarguments-59)
[ +4.446092] VBoxNetFlt: Successfully started.
[ +0.005636] VBoxNetAdp: Successfully started.
[ +0.163526] kauditd_printk_skb: 67 callbacks suppressed
[ +0.305402] Started bpfilter
[ +20.714801] kauditd_printk_skb: 9 callbacks suppressed
[May29 10:11] kauditd_printk_skb: 1486 callbacks suppressed
[ +6.025426] kauditd_printk_skb: 4 callbacks suppressed
[ +48.715437] kauditd_printk_skb: 1477 callbacks suppressed
[May29 10:26] kmem.limit_in_bytes is deprecated and will be removed. Please report your usecase to linux-mm@kvack.org if you depend on this functionality.

==> kernel <==
11:34:30 up 1:24, 0 users, load average: 1.11, 1.30, 1.36
Linux minikube 5.4.0-31-generic #35-Ubuntu SMP Thu May 7 20:20:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
PRETTY_NAME="Ubuntu 19.10"

==> kubelet <==
-- Logs begin at Fri 2020-05-29 10:45:58 UTC, end at Fri 2020-05-29 11:34:30 UTC. --
-- No entries --

❗ unable to fetch logs for: describe nodes

A versão do sistema operacional usado: Ubuntu 20.04

@romulofagundes romulofagundes added the l/pt-BR Issues in or relating to Portuguese (Brazil) label May 29, 2020
@romulofagundes
Copy link
Author

Verifiquei que o erro ocorre devido a uma network que havia sido criada anteriormente:
docker network ls

NETWORK ID          NAME                 DRIVER              SCOPE
c0335016fe70        bridge               bridge              local
fa69364dc1c9        docker_gwbridge      bridge              local
bfcb5a25c61f        host                 host                local
e8d3f624be93        none                 null                local
a76340244cf1        romulofc_local-net   bridge              local

Execute o comando docker network prune e execute o docker network ls

NETWORK ID          NAME                 DRIVER              SCOPE
c0335016fe70        bridge               bridge              local
bfcb5a25c61f        host                 host                local
e8d3f624be93        none                 null                local
a76340244cf1        romulofc_local-net   bridge              local

E em seguida criei novamente o minikube, e está funcionando de acordo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l/pt-BR Issues in or relating to Portuguese (Brazil)
Projects
None yet
Development

No branches or pull requests

1 participant