質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
VirtualBox

VirtualBoxは、現在米オラクル社が開発している、 x86仮想化ソフトウェア・パッケージの一つです。

Vagrant

Vagrantは、VirtualBox上の仮想マシンを コマンドラインから作成してくれるソフトウェアです。 ビルド環境など容易に構築が可能です。

CoreOS

CoreOSは、OSSで公開されているLinuxディストリビューションです。柔軟で、スケーラブルや耐障害性の高いインフラ構築を目的としています。OS仮想化ソフトであるDocker Engineに特化した専用OSです。

Q&A

0回答

1107閲覧

vagrantでcoreosを利用中突然vagrant upでエラーが出るようになった。

gaoo

総合スコア8

VirtualBox

VirtualBoxは、現在米オラクル社が開発している、 x86仮想化ソフトウェア・パッケージの一つです。

Vagrant

Vagrantは、VirtualBox上の仮想マシンを コマンドラインから作成してくれるソフトウェアです。 ビルド環境など容易に構築が可能です。

CoreOS

CoreOSは、OSSで公開されているLinuxディストリビューションです。柔軟で、スケーラブルや耐障害性の高いインフラ構築を目的としています。OS仮想化ソフトであるDocker Engineに特化した専用OSです。

0グッド

0クリップ

投稿2018/07/25 12:05

今まで問題なくvagrant upが出来ていたのですが、突然出来なくなってしまいました。

利用ソフトのバージョンなどは以下になります
vagrant: 1.8.1
VirtualBox: 5.0.14 r105127
coreosは以下を利用しています
https://github.com/coreos/coreos-vagrant/

vagrant upを実行した結果

==> core-01: Attempting graceful shutdown of VM... core-01: Guest communication could not be established! This is usually because core-01: SSH is not running, the authentication information was changed, core-01: or some other networking issue. Vagrant will force halt, if core-01: capable. ==> core-01: Forcing shutdown of VM... shuhei-no-MacBook-Pro-5128:wall shuhei$ vagrant up Bringing machine 'core-01' up with 'virtualbox' provider... ==> core-01: Checking if box 'coreos-alpha' is up to date... ==> core-01: Clearing any previously set forwarded ports... ==> core-01: Clearing any previously set network interfaces... ==> core-01: Preparing network interfaces based on configuration... core-01: Adapter 1: nat core-01: Adapter 2: hostonly ==> core-01: Forwarding ports... core-01: 22 (guest) => 2222 (host) (adapter 1) ==> core-01: Running 'pre-boot' VM customizations... ==> core-01: Booting VM... ==> core-01: Waiting for machine to boot. This may take a few minutes... core-01: SSH address: 127.0.0.1:2222 core-01: SSH username: core core-01: SSH auth method: private key core-01: Warning: Authentication failure. Retrying... core-01: Warning: Authentication failure. Retrying... core-01: Warning: Authentication failure. Retrying... core-01: Warning: Authentication failure. Retrying...                                      ・                                      ・                                      ・ Timed out while waiting for the machine to boot. This means that Vagrant was unable to communicate with the guest machine within the configured ("config.vm.boot_timeout" value) time period. If you look above, you should be able to see the error(s) that Vagrant had when attempting to connect to the machine. These errors are usually good hints as to what may be wrong. If you're using a custom box, make sure that networking is properly working and you're able to connect to the machine. It is a common problem that networking isn't setup properly in these boxes. Verify that authentication configurations are also setup properly, as well. If the box appears to be booting properly, you may want to increase the timeout ("config.vm.boot_timeout") value.

明確なログを確認したわけでなく(確認すべきログがあれば教えていただきたいです)
ネットで調べたところ、鍵の不一致でvmの起動は出来ているのにSSHでコケているようで
ゲストOSにログインしauthorized_keysを上書きしてやればいいという情報があり、
いざゲストOSにログインしようとしたのですが、coreというユーザにはパスワードがないらしく(参考1)
ログインしたくてもログイン出来ない状況に陥っています。

その他試したこと
・vagrant ssh-configで表示されるIdentityFileのinsecure_private_keyを削除(退避)し再度vagrant reload
・config.ssh.insert_key=trueでvagrant reload(config.ssh.insert_keyは元々falseでした。)

同じ事象が起き解決した方や、わかる方いましたらご教示いただければ幸いです。
よろしくお願いします。

参考

  1. https://github.com/coreos/docs/issues/10

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問