question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

launch failed: instance "microk8s-vm" already exists

See original GitHub issue

Originates from @bmbferreira on https://github.com/ubuntu/microk8s/issues/1287#issuecomment-642731101

> microk8s install
launch failed: The following errors occurred:
Instance stopped while starting
launch failed: instance "microk8s-vm" already exists


launch failed: instance "microk8s-vm" already exists


launch failed: instance "microk8s-vm" already exists


launch failed: instance "microk8s-vm" already exists


launch failed: instance "microk8s-vm" already exists


launch failed: instance "microk8s-vm" already exists


launch failed: instance "microk8s-vm" already exists


launch failed: instance "microk8s-vm" already exists


launch failed: instance "microk8s-vm" already exists


launch failed: instance "microk8s-vm" already exists


An error occurred with the instance when trying to launch with 'multipass': returned exit code 2.
Ensure that 'multipass' is setup correctly and try again

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
slmingolcommented, Jun 24, 2020

I ran into a similar issue while I had a VPN connection running, after stopping it I was able to microk8s uninstall and microk8s install and things worked.

$ multipass list
Name                    State             IPv4             Image
microk8s-vm             Unknown           --               Ubuntu 18.04 LTS

Droppped VPN

$ microk8s uninstall
Thank you for using MicroK8s!

$ microk8s install
VM disk size requested exceeds free space on host.
Launched: microk8s-vm
Mount snap "core" (9289)                                                                                                                                                                      |2020-06-23T23:44:38-04:00 INFO Waiting for restart...
microk8s (latest/stable) v1.18.4 from Canonical✓ installed
MicroK8s is up and running. See the available commands with `microk8s --help`.

$ multipass exec microk8s-vm -- lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.4 LTS
Release:	18.04
Codename:	bionic

$ microk8s status --wait-ready
microk8s is running
addons:
cilium: disabled
dashboard: disabled
dns: disabled
fluentd: disabled
gpu: disabled
helm: disabled
helm3: disabled
host-access: disabled
ingress: disabled
istio: disabled
jaeger: disabled
knative: disabled
kubeflow: disabled
linkerd: disabled
metallb: disabled
metrics-server: disabled
prometheus: disabled
rbac: disabled
registry: disabled
storage: disabled
2reactions
nc-ruthcommented, Nov 22, 2021

@slmingol same issue here, dropping the VPN connection did solve the issue. Thank you for the solution 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

launch failed: instance "microk8s-vm" already exists #1313
Hi @bmbferreira, Can you please try running microk8s uninstall before microk8s install and let me know if you still see an issue? Many...
Read more >
Why is microk8s failing to install? - Stack Overflow
(where launch failed: instance "microk8s-vm" already exists appears several times.) I've tried reinstalling both several times and that doesn't ...
Read more >
Addon: dashboard - microk8s - Discuss Kubernetes
The standard Kubernetes Dashboard is a convenient way to keep track of the activity and resource use of MicroK8s.
Read more >
New way to launch images other than cloud images from ...
This allows launching and starting new Multipass instances from Fedora ... A Fedora cloud image already exists on the local file system at...
Read more >
Snapcraft stopped working issuing multipass error
info failed: The following errors occurred: instance "snapcraft-hello" does not exist launch failed: Remote "snapcraft" is unknown or ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found