Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

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

Closed
mosuka opened this issue Nov 17, 2016 · 2 comments
Closed

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

mosuka opened this issue Nov 17, 2016 · 2 comments

Comments

@mosuka
Copy link

mosuka commented Nov 17, 2016

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...
@mosuka mosuka changed the title Initial setup of Kube-Cluster VMs doesn't successful. [ERROR] stat master-data.img: no such file or directory Nov 17, 2016
@rimusz
Copy link
Member

rimusz commented Nov 17, 2016

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

@mosuka
Copy link
Author

mosuka commented Nov 18, 2016

Thank you. I solved it.

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

2 participants