Debugging for Vagrant issue "Vagrant seems to hang during smb setup. #3139" (https://github.com/mitchellh/vagrant/issues/3139). · GitHub
Skip to content

Instantly share code, notes, and snippets.

@mzeis
Last active August 29, 2015 13:57
Show Gist options
  • Save mzeis/9503045 to your computer and use it in GitHub Desktop.
Save mzeis/9503045 to your computer and use it in GitHub Desktop.
Debugging for Vagrant issue "Vagrant seems to hang during smb setup. #3139" (https://github.com/mitchellh/vagrant/issues/3139).

Input:

set VAGRANT_LOG=debug
vagrant up

Output:

 INFO synced_folders: Invoking synced folder prepare for: smb
 INFO interface: output: Preparing SMB shared folders...
 INFO interface: output: ==> default: Preparing SMB shared folders...
==> default: Preparing SMB shared folders...
 INFO interface: detail: You will be asked for the username and password to use for the SMB
folders shortly. Please use the proper username/password of your
Windows account.

 INFO interface: detail:     default: You will be asked for the username and password to use for the SMB
	default: folders shortly. Please use the proper username/password of your
	default: Windows account.
	default:
	default: You will be asked for the username and password to use for the SMB
	default: folders shortly. Please use the proper username/password of your
	default: Windows account.
	default:
 INFO interface: ask: Username:
 INFO interface: ask:     default: Username:
	default: Username: m.zeis
 INFO interface: ask: Password (will be hidden):
 INFO interface: ask:     default: Password (will be hidden):
	default: Password (will be hidden):
 INFO subprocess: Starting process: ["C:\\windows\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoProfile", "-
ExecutionPolicy", "Bypass", "C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.0/plugins/synced_folders/smb/scripts/se
t_share.ps1", "-path", "C:\\webserver\\vagrant-dev", "-share_name", "9c25b28f-f1bb-4535-82f6-e98bf2d63488--var-www"]
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stderr: Systemfehler 1332 aufgetreten.

Zuordnungen von Kontennamen und Sicherheitskennungen wurden nicht durchgeführt.

Error:

Input:

set VAGRANT_LOG=info
vagrant up

Output:

 INFO synced_folders: Invoking synced folder prepare for: smb
 INFO interface: output: Preparing SMB shared folders...
 INFO interface: output: ==> default: Preparing SMB shared folders...
==> default: Preparing SMB shared folders...
 INFO interface: detail: You will be asked for the username and password to use for the SMB
folders shortly. Please use the proper username/password of your
Windows account.

 INFO interface: detail:     default: You will be asked for the username and password to use for the SMB
	default: folders shortly. Please use the proper username/password of your
	default: Windows account.
	default:
	default: You will be asked for the username and password to use for the SMB
	default: folders shortly. Please use the proper username/password of your
	default: Windows account.
	default:
 INFO interface: ask: Username:
 INFO interface: ask:     default: Username:
	default: Username: m.zeis
 INFO interface: ask: Password (will be hidden):
 INFO interface: ask:     default: Password (will be hidden):
	default: Password (will be hidden):
 INFO subprocess: Starting process: ["C:\\windows\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoProfile", "-
ExecutionPolicy", "Bypass", "C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.0/plugins/synced_folders/smb/scripts/se
t_share.ps1", "-path", "C:\\webserver\\vagrant-dev", "-share_name", "9c25b28f-f1bb-4535-82f6-e98bf2d63488--var-www"]
GuestAdditions 4.3.8 running --- OK.
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting SMB shared folders...
C:/Programme/Vagrant/embedded/lib/ruby/2.0.0/json/common.rb:155:in `parse': 757: unexpected token at 'C:/Programme/Vagra
(JSON::ParserError)s/vagrant-1.5.1/plugins/synced_folders/smb/scripts/host_info.ps1
'
from C:/Programme/Vagrant/embedded/lib/ruby/2.0.0/json/common.rb:155:in `parse'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/synced_folders/smb/synced_folder.rb:140:in `load_host_ips'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/synced_folders/smb/synced_folder.rb:94:in `enable'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/synced_folders.rb:75:in `block in call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/synced_folders.rb:73:in `each'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/synced_folders.rb:73:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/synced_folder_cleanup.rb:28:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/synced_folders/nfs/action_cleanup.rb:19:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/providers/virtualbox/action/prepare_nfs_valid_ids.rb:12:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/handle_forwarded_port_collisions.rb:118:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/providers/virtualbox/action/prepare_forwarded_port_collision_params.rb:30:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/env_set.rb:19:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/provision.rb:76:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/providers/virtualbox/action/clear_forwarded_ports.rb:15:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/providers/virtualbox/action/set_name.rb:19:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/providers/virtualbox/action/clean_machine_folder.rb:17:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/providers/virtualbox/action/check_accessible.rb:18:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builder.rb:116:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/runner.rb:69:in `block in run'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/util/busy.rb:19:in `busy'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/runner.rb:69:in `run'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/call.rb:51:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builder.rb:116:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/runner.rb:69:in `block in run'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/util/busy.rb:19:in `busy'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/runner.rb:69:in `run'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/call.rb:51:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builder.rb:116:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/runner.rb:69:in `block in run'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/util/busy.rb:19:in `busy'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/runner.rb:69:in `run'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/call.rb:51:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/box_check_outdated.rb:60:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/providers/virtualbox/action/check_virtualbox.rb:17:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/call.rb:57:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/call.rb:57:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/plugins/providers/virtualbox/action/check_virtualbox.rb:17:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builder.rb:116:in `call'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/runner.rb:69:in `block in run'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/util/busy.rb:19:in `busy'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/runner.rb:69:in `run'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/machine.rb:157:in `action'
from C:/Programme/Vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/batch_action.rb:72:in `block (2 levels) in run'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment