2016-10-17 3 views
0

Я хотел встать на местный экземпляр Openshift, но vagrant up не заканчивается.Начало работы с Openshift с помощью Vagrant

Скачано cdk-2.2.0.zip и rhel-cdk-kubernetes-7.2-29.x86_64.vagrant-virtualbox.box с developer.redhat.com.

Запуск vagrant up после установки застревает на Configuring and enabling network interfaces...:

me:~/cdk/components/rhel/rhel-ose $ vagrant up 
Bringing machine 'default' up with 'virtualbox' provider... 
==> default: Importing base box 'cdkv2'... 
==> default: Matching MAC address for NAT networking... 
==> default: Setting the name of the VM: rhel-ose_default_1476736433516_4922 
==> 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: 22 (guest) => 2222 (host) (adapter 1) 
==> default: Running 'pre-boot' VM customizations... 
==> 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: Remote connection disconnect. 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: Registering box with vagrant-registration... 
    default: Would you like to register the system now (default: yes)? [y|n]y 
    default: username: [email protected] 
    default: password: 
==> default: Registration successful. 
==> default: Checking for guest additions in VM... 
    default: No guest additions were detected on the base box for this VM! Guest 
    default: additions are required for forwarded ports, shared folders, host only 
    default: networking, and more. If SSH fails on this machine, please install 
    default: the guest additions and repackage the box to continue. 
    default: 
    default: This is not an error message; everything may continue to work properly, 
    default: in which case you may ignore this message. 
==> default: Configuring and enabling network interfaces... 

Любые идеи, как устранить это? Не уверен, что это бродяга или виртуальная машина или что-то еще.

Благодарим вас за внимание!

ответ

1

То же самое случилось со мной, но после обновления Vagrant до 1.9.1 версии проблема была решена ,

Я использую OSX, но он может быть таким же для всех остальных ОС.

+0

Спасибо! Хорошо знать. Я дам это попробовать в следующий раз. –

+0

Просто попробовал 1.9.1, и он работает. Благодарим за отправку решения! –

0

проще всего установить vagrant vbguest plugin и дайте ему установить и настроить Virtual Box Guest Прибавление для правильной версии вашего VirtualBox

+0

Спасибо за подсказку, но плагин не работает. Вам нужно было сделать что-то особенное, чтобы получить бродячую работу с SSH во время бродячего монтажа? –