【问题标题】:Can't connect to MiniKF landing page on http://10.10.10.10 after installing MiniKF安装 MiniKF 后无法连接到 http://10.10.10.10 上的 MiniKF 登陆页面
【发布时间】:2020-07-04 08:31:38
【问题描述】:

我正在尝试使用 MiniKFKubeflow Pipelines 在本地运行一个示例机器学习管道(意思是:在 Windows 10 笔记本电脑上本地),遵循 this tutorial,但我无法访问应该出现的站点在http://10.10.10.10

我安装了:

然后,在 CMD 提示符下,我运行:

C:\Users\jervan\Documents\minikf>vagrant init arrikto/minikf
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.

C:\Users\jervan\Documents\minikf>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Using C:/Users/jervan/Documents/minikf/minikf-user-data.vdi for persistent storage.
==> default: Importing base box 'arrikto/minikf'...
==> default: Generating MAC address for NAT networking...
==> default: Using C:/Users/jervan/Documents/minikf/minikf-user-data.vdi for persistent storage.
==> default: Checking if box 'arrikto/minikf' version '20200305.1.0' is up to date...
==> default: Setting the name of the VM: minikf_default_1584993248035_85721
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 32123 (guest) => 32123 (host) (adapter 1)
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Using C:/Users/jervan/Documents/minikf/minikf-user-data.vdi for persistent storage.
==> default: Running 'pre-boot' VM customizations...
==> default: Using C:/Users/jervan/Documents/minikf/minikf-user-data.vdi for persistent storage.
==> default: ** Creating persistent storage **
==> default: Using C:/Users/jervan/Documents/minikf/minikf-user-data.vdi for persistent storage.
==> default: ** Attaching persistent storage **
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection reset. Retrying...
    default:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default:
    default: Guest Additions Version: 6.0.14_Ubuntu r132055
    default: VirtualBox Version: 6.1
==> default: Using C:/Users/jervan/Documents/minikf/minikf-user-data.vdi for persistent storage.
==> default: ** Managing persistent storage **
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
    default: /vagrant => C:/Users/jervan/Documents/minikf

==> default: Machine 'default' has a post `vagrant up` message. This is a message
==> default: from the creator of the Vagrantfile, and not from Vagrant itself:
==> default:
==> default:     Welcome to MiniKF!
==> default:     Visit http://10.10.10.10/ to get started.
==> default:

但是当我访问 http://10.10.10.10 时,我收到“无法访问此站点。10.10.10.10 响应时间过长。”错误。

我的 Virtualbox 设置如下所示:

我可以像这样 ssh 进入盒子:

C:\Users\jervan\Documents\minikf>vagrant ssh
Last login: Mon Mar 23 13:14:17 2020 from 10.0.2.2

Welcome to MiniKF!

Type "minikf" to ensure everything is up and running.

vagrant@minikf:~$

当我输入 minikf 时,我得到了 MiniKF Provisioing 工具(这就是你的 would normally see embedded in the MiniKF landing page)。

配置软件后,我看到 Pod 正在启动并且消息“Kubeflow 已部署”。但是在“暴露服务”阶段之后,我看到错误弹出:

如果我点击输入,错误就会消失,并且“配置完成”。显示用户名和密码的屏幕。

如果我转到 VirtualBox 并单击绿色箭头,它会显示 ubuntu 登录页面,但我无法使用上一步中显示的凭据登录。

【问题讨论】:

    标签: vagrant virtualbox kubeflow


    【解决方案1】:

    我遇到了类似的问题。 第一次,它无法启动,在我再次运行 vagrant up 后它启动,但我无法访问 10.10.10.10 errors I had

    然后我进入虚拟机本身并像这样关闭它:

    shutting down the VM

    手动关闭后,我再次 vagrant up,现在可以访问 10.10.10.10

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2020-10-30
      • 2015-04-11
      • 2014-01-16
      • 2017-06-09
      • 1970-01-01
      • 1970-01-01
      • 2022-06-11
      相关资源
      最近更新 更多