TheNewNormal / kube-cluster-osx

Local development multi node Kubernetes Cluster for macOS made very simple
Apache License 2.0
298 stars 26 forks source link

[ERROR] stat master-data.img: no such file or directory #107

Closed mosuka closed 7 years ago

mosuka commented 7 years ago

I installed Kube-Cluster.app and corectl.app on my Mac (El Capitan). But, Initial setup of Kube-Cluster VMs can not be completed because the following error occurs. How can I solve it?

~$ /Applications/Kube-Cluster.app/Contents/Resources/first-init.command; exit;

Setting up Kubernetes Cluster for macOS

Reading ssh key from /Users/minoru/.ssh/id_rsa.pub

/Users/minoru/.ssh/id_rsa.pub found, updating configuration files ...

Set CoreOS Release Channel:
 1)  Alpha (may not always function properly)
 2)  Beta
 3)  Stable (recommended)

Select an option:

Set CoreOS Release Channel:
 1)  Alpha (may not always function properly)
 2)  Beta
 3)  Stable (recommended)

Select an option: 3

Please type Nodes RAM size in GBs followed by [ENTER]:
[default is 2]:
Changing Nodes RAM to 2GB...

Creating 5GB sparse disk (QCow2) for Master ...
dyld: Library not loaded: /usr/local/opt/libev/lib/libev.4.dylib
  Referenced from: /Users/minoru/bin/qcow-tool
  Reason: image not found
/Applications/Kube-Cluster.app/Contents/Resources/functions.sh: line 152:  7550 Trace/BPT trap: 5       ~/bin/qcow-tool create --size=5GiB master-data.img
-
Created 5GB Data disk for Master

Please type Nodes Data disk size in GBs followed by [ENTER]:
[default is 15]:

Creating 15GB sparse disk (QCow2) for Node1...
dyld: Library not loaded: /usr/local/opt/libev/lib/libev.4.dylib
  Referenced from: /Users/minoru/bin/qcow-tool
  Reason: image not found
/Applications/Kube-Cluster.app/Contents/Resources/functions.sh: line 152:  7552 Trace/BPT trap: 5       ~/bin/qcow-tool create --size=15GiB node-01-data.img
-
Created 15GB Data disk for Node1

Creating 15GB sparse disk (QCow2) for Node2...
dyld: Library not loaded: /usr/local/opt/libev/lib/libev.4.dylib
  Referenced from: /Users/minoru/bin/qcow-tool
  Reason: image not found
/Applications/Kube-Cluster.app/Contents/Resources/functions.sh: line 152:  7553 Trace/BPT trap: 5       ~/bin/qcow-tool create --size=15GiB node-02-data.img
-
Created 15GB Data disk for Node2

Starting k8smaster-01 VM ...
> booting k8smaster-01 (1/1)
---> downloading and verifying stable/1185.3.0
32.54 MB / 32.54 MB [====================================================================] 100.00 %
---> SHA512 hash for coreos_production_pxe.vmlinuz OK
215.79 MB / 215.79 MB [==================================================================] 100.00 %
---> SHA512 hash for coreos_production_pxe_image.cpio.gz OK
---> stable/1185.3.0 ready
[ERROR] stat master-data.img: no such file or directory

Master VM has not booted, please check '~/kube-cluster/logs/master_vm_up.log' and report the problem !!!

Press [Enter] key to continue...
rimusz commented 7 years ago

you need to use brew install libev till we sort out qcow-tool binary with all dependencies in it. ref: #156

mosuka commented 7 years ago

Thank you. I solved it.