Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wait till vm ipaddress isn't empty or nil #52

Merged
merged 1 commit into from
Apr 10, 2014

Conversation

olegz-alertlogic
Copy link
Contributor

Fixes #47

Without additional check for ip address content get_ssh_info returns empty string. Problem log:

[env-manager-olegz] Waiting for SSH to become available...
DEBUG ssh: Checking whether SSH is ready...
 INFO machine: Calling action: get_ssh_info on provider vSphere (420a2048-5bfc-1e99-bf78-007a74ed78ab)
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 1 hooks defined.
 INFO runner: Running action: #<Vagrant::Action::Builder:0x007f3820ed2628>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x007f3820ee27f8>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::ConnectVSphere:0x007f3820ee27a8>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::GetSshInfo:0x007f3820ee2730>
 INFO warden: Calling IN action: #<VagrantPlugins::VSphere::Action::CloseVSphere:0x007f3820ee2708>
 INFO warden: Calling OUT action: #<VagrantPlugins::VSphere::Action::CloseVSphere:0x007f3820ee2708>
 INFO warden: Calling OUT action: #<VagrantPlugins::VSphere::Action::GetSshInfo:0x007f3820ee2730>
 INFO warden: Calling OUT action: #<VagrantPlugins::VSphere::Action::ConnectVSphere:0x007f3820ee27a8>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x007f3820ee27f8>
DEBUG ssh: Checking key permissions: /home/olegz/.vagrant.d/insecure_private_key
 INFO ssh: Attempting SSH connnection...
 INFO ssh: Attempting to connect to SSH...
 INFO ssh:   - Host: 
 INFO ssh:   - Port: 22
 INFO ssh:   - Username: vagrant
 INFO ssh:   - Key Path: ["/home/olegz/.vagrant.d/insecure_private_key"]

@flamingbear flamingbear merged commit 5bae075 into nsidc:master Apr 10, 2014
@flamingbear
Copy link
Member

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

stack trace on "vagrant up --provider=vsphere"
2 participants