Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

Doesnt' work on my Mac or Linux #92

Open
bbarclay opened this issue Dec 23, 2020 · 5 comments
Open

Doesnt' work on my Mac or Linux #92

bbarclay opened this issue Dec 23, 2020 · 5 comments

Comments

@bbarclay
Copy link

/Users/bbarclay/wks-quickstart-firekube/setup.js:105
const sshPort = machine => machine.ports.find(p => p.guest == 22).host;
^
TypeError: Cannot read property 'find' of null
at sshPort (/Users/bbarclay/wks-quickstart-firekube/setup.js:105:42)
at /Users/bbarclay/wks-quickstart-firekube/setup.js:115:16
Module (setup.js) has not been loaded

My docker ps on the mac doesn't work now.

In linux the error was

command "ignite run weaveworks/ignite-centos:firekube-pre3 --name=firekube-node0 --cpus=2 --memory=1GB --size=5GB --kernel-image=weaveworks/ignite-kernel:4.19.47 --ssh=/var/www/laradock/wks-quickstart-firekube/cluster-key.pub --ports=2222:22 --ports=6443:6443 --ports=30443:30443 --ports=30080:30080" exited with "time="2020-12-23T08:13:28Z" level=info msg="containerd image \"weaveworks/ignite-centos:firekube-pre3\" not found locally, pulling..."\ntime="2020-12-23T08:14:16Z" level=info msg="Starting image import..."\ntime="2020-12-23T08:14:41Z" level=info msg="Imported OCI image \"weaveworks/ignite-centos:firekube-pre3\" (1.6 GB) to base image with UID \"756cc53de5a0c781\""\ntime="2020-12-23T08:14:41Z" level=info msg="containerd image \"weaveworks/ignite-kernel:4.19.47\" not found locally, pulling..."\ntime="2020-12-23T08:14:45Z" level=info msg="Imported OCI image \"weaveworks/ignite-kernel:4.19.47\" (49.6 MB) to kernel image with UID \"9414cdaba181972c\""\ntime="2020-12-23T08:14:46Z" level=info msg="Created VM with ID \"f265e346fe62fdf7\" and name \"firekube-node0\""\ntime="2020-12-23T08:14:46Z" level=fatal msg="[ERROR ExistingFile--dev-kvm]: File /dev/kvm, does not exist\n[ERROR ExistingFile--opt-cni-bin-bridge]: File /opt/cni/bin/bridge, does not exist\n"\n": exit status 1

@chanwit
Copy link
Member

chanwit commented Dec 23, 2020

File /dev/kvm, does not exist

It seems you don't have KVM installed on your Linux box.
You can check about this by running:

sudo kvm-ok

@g13013
Copy link

g13013 commented Mar 29, 2021

the same on macos !

@harin7602
Copy link

I too have same issue in MAC.

Screen Shot 2021-05-11 at 23 37 13

Screen Shot 2021-05-11 at 23 37 37

@harin7602
Copy link

I too have same issue in MAC.

Screen Shot 2021-05-11 at 23 37 13 Screen Shot 2021-05-11 at 23 37 37

This issue was solved once I disabled the kubernetes in Docker Desktop for MAC

@dkdndes
Copy link

dkdndes commented Feb 1, 2022

On a minimal Debian11, I needed to install "kvm" and "dnsmasq" and needed to make sure that "dnsmasq" is running/started; after this, it all worked.

However, it would be helpful to add additional checks within "setup.sh"; this could prevent the failure of setup.js (which is started within "setup.sh", and requires on a Linux host the presence of "kvm" and a running "dnsmasq."

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

No branches or pull requests

5 participants