在运行minishift时,是否存在将RH DevelopmentTools安装到D:的已知问题?
我安装到了D:\DevelopmentTools,它创建了一个C:\Users\rcoe.minishift目录,其中包含RHEL iso。配置看起来是正确的:
> D:\DevelopmentSuite>minishift config view
> - iso-url : file://C:/Users/rcoe/.minishift/cache/iso/minishift-rhel7.iso
> - memory : 4096
> - vm-driver : hyperv然而,当我尝试启动minishift时,它找不到iso。从错误条件来看,并不清楚正在搜索哪个驱动器来查找/Users。它是否真的会尝试从安装了开发工具的驱动器中解析/Users,即D:?
> D:\DevelopmentSuite>minishift start
> -- Checking if Hyper-V driver is installed ... OK
> -- Checking if Hyper-V driver is configured to use a Virtual Switch ... OK
> -- Checking if user is a member of the Hyper-V Administrators group ... OK
> -- Starting local OpenShift cluster using 'hyperv' hypervisor ...
> -- Minishift VM will be configured with ... Memory: 4 GB vCPUs : 2 Disk size: 20 GB
> -- Starting Minishift VM ...... FAIL E0107 11:49:57.549243 3524 start.go:356] Error starting the VM: Error creating the VM. Error
> creating machine: Error in driver during machine creation: open
> /Users/rcoe/.minishift/cache/iso/minishift-rhel7.iso: The system
> cannot find the path specified.. Retrying. Error starting the VM:
> Error creating the VM. Error creating machine: Error in driver during
> machine creation: open
> /Users/rcoe/.minishift/cache/iso/minishift-rhel7.iso: The system
> cannot find the path specified.已知问题或单独的配置项可以解决此问题吗?
我是从cmd shell运行的。我是HyperV管理员组的成员。
谢谢,罗宾
发布于 2018-07-13 22:40:31
晚做总比不做强。虽然我不知道这是什么原因(坦率地说,看起来没有人知道),但它与以下内容有关:https://github.com/minishift/minishift/issues/236
然而,在线程上提出的修复方法都不能单独工作。你需要做的是:
minishift.exe文件夹所在的同一驱动器的根目录下,并从路径中删除minishift (确保除了从用户配置文件驱动器中的提升PowerShell (以管理员身份运行PowerShell )直接调用cd F:\ ./minishift.exe启动
Schrödinger知道这种奇怪行为的原因-我的意思是主路径解析是编程中最基本的事情之一,但你可以这样做。
https://stackoverflow.com/questions/48139682
复制相似问题