会卡在mounting NFS shared folders这一步
hxr2333 opened this issue · 2 comments
hxr2333 commented
Environment
- OS:centos7.6
- Kubernetes version:
- VirtualBox version:6.0.10
- Vagrant version:2.2.5
What I did?
在下载完项目需要的文件后执行vagrant up 卡在mounting NFS shared folders这一步
Your operations on this repo.
Messages
Logs or error messages.
==> node1: Mounting NFS shared folders...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
mount -o vers=3 172.17.8.1:/home/duoyi/kubernetes-vagrant-centos-cluster-master /vagrant
Stdout from the command:
Stderr from the command:
mount.nfs: No route to host
hxr2333 commented
将Vagrantfile中的config.vm.synced_folder ".", "/vagrant", type: "nfs", nfs_udp: false
改为
config.vm.synced_folder ".", "/vagrant", type: "rsync"
改成用rsync的方式传输kubernetes的安装包,就可以正常执行安装流程,看来有可能是NFS没法正常在系统中安装,或者安装时间过长
rootsongjc commented
@hxr2333 solved