hashicorp / vagrant

Vagrant is a tool for building and distributing development environments.
https://www.vagrantup.com
Other
26.32k stars 4.43k forks source link

Failed to install any plugin #8999

Closed asif-alam closed 7 years ago

asif-alam commented 7 years ago

Please note that the Vagrant issue tracker is reserved for bug reports and enhancements. For general usage questions, please use the Vagrant mailing list: https://groups.google.com/forum/#!forum/vagrant-up. Thank you!

2.0.0

Run vagrant -v to show the version. If you are not running the latest version of Vagrant, please upgrade before submitting an issue.

Windows 10

This is the operating system that you run locally.

Error when trying to install any plugin:

conflicting dependencies childprocess (= 0.5.6) and childprocess (= 0.6.3) Activated childprocess-0.6.3 which does not match conflicting dependency (= 0.5.6)

Conflicting dependency chains: childprocess (= 0.6.3), 0.6.3 activated

versus: childprocess (= 0.5.6)

Gems matching childprocess (= 0.5.6): childprocess-0.5.6

briancain commented 7 years ago

Hi @asif-alam - Are you trying to install a vagrant plugin? Also if you could please provide us with the full command you're running, and share the output with the --debug flag used that would be very helpful, thank you!

asif-alam commented 7 years ago

hi @briancain,

I was trying to to install "vagrant plugin install vagrant-winrm" I was successful when I used 1.8.1 but was failing when i was using 2.0.0

debug details:

PS C:\chef\packer-templates> vagrant plugin list vagrant-share (1.1.9, system) PS C:\chef\packer-templates> vagrant plugin install vagrant-winrm --debug INFO global: Vagrant version: 2.0.0 INFO global: Ruby version: 2.3.4 INFO global: RubyGems version: 2.5.2.1 INFO global: VAGRANT_DETECTED_ARCH="64" INFO global: VAGRANT_DETECTED_OS="msys" INFO global: VAGRANT_DISABLE_PLUGIN_INIT="1" INFO global: VAGRANT_EXECUTABLE="C:\HashiCorp\Vagrant\embedded\gems\gems\vagrant-2.0.0\bin\vagrant" INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="C:\HashiCorp\Vagrant\embedded" INFO global: VAGRANT_INSTALLER_ENV="1" INFO global: VAGRANT_INSTALLER_VERSION="2" INFO global: VAGRANT_LOG="debug" INFO global: VAGRANT_NO_PLUGINS="1" INFO global: VAGRANT_OLD_ENV_ALLUSERSPROFILE="C:\ProgramData" INFO global: VAGRANT_OLD_ENV_APPDATA="C:\Users\Asif.Alam\AppData\Roaming" INFO global: VAGRANT_OLD_ENV_ChocolateyInstall="C:\ProgramData\chocolatey" INFO global: VAGRANT_OLD_ENV_ChocolateyLastPathUpdate="Mon Sep 25 16:18:23 2017" INFO global: VAGRANT_OLD_ENV_ChocolateyPath="C:\Chocolatey" INFO global: VAGRANT_OLD_ENV_CommonProgramFiles="C:\Program Files\Common Files" INFO global: VAGRANT_OLD_ENV_CommonProgramFiles(x86)="C:\Program Files (x86)\Common Files" INFO global: VAGRANT_OLD_ENV_CommonProgramW6432="C:\Program Files\Common Files" INFO global: VAGRANT_OLD_ENV_COMPUTERNAME="MYOBGKGXH72" INFO global: VAGRANT_OLD_ENV_ComSpec="C:\Windows\system32\cmd.exe" INFO global: VAGRANT_OLD_ENV_DineChefDir="C:\personal\Hasan\DineChef\dinechef\DineChef.WinClient\bin\Debug" INFO global: VAGRANT_OLD_ENV_DisplayLinkConfigRoot="C:\Program Files\DisplayLink Core Software\8.2.1646.0\" INFO global: VAGRANT_OLD_ENV_HOMEDRIVE="C:" INFO global: VAGRANT_OLD_ENV_HOMEPATH="\Users\Asif.Alam" INFO global: VAGRANT_OLD_ENV_LOCALAPPDATA="C:\Users\Asif.Alam\AppData\Local" INFO global: VAGRANT_OLD_ENV_LOGONSERVER="\\NZAKLCDC03" INFO global: VAGRANT_OLD_ENV_NATASHA_DB="MySqlRedis" INFO global: VAGRANT_OLD_ENV_NUMBER_OF_PROCESSORS="4" INFO global: VAGRANT_OLD_ENV_OneDrive="C:\Users\Asif.Alam\OneDrive - MYOB" INFO global: VAGRANT_OLD_ENV_OS="Windows_NT" INFO global: VAGRANT_OLD_ENV_Path="C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\ \;C:\Users\Asif.Alam\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL Server\110\ Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files\Git\cmd;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel( R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\TortoiseSVN\bin;C:\Program Files\nodejs\;C:\Program Files (x86)\S kype\Phone\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\dotnet\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\GitExtensions\;C:\Program Files\Oracle\VirtualBox;C:\Program Files\Git\usr\bin;C:\ProgramData\chocol atey\lib\packer\tools;C:\ProgramData\chocolatey\bin;c:\users\asif.alam\appdata\local\chefdk\gem\ruby\2.4.0\bin;C:\opscode\chefdk\bin\;C:\Program Files\Oracle\VirtualBox;C:\HashiCorp\Vagrant\bin;C:\Program Files (x86)\MSBuild\14.0\Bin;C:\User s\Asif.Alam\AppData\Roaming\npm;C:\Program Files (x86)\NuGet\bin;C:\Users\Asif.Alam\AppData\Local\Programs\Fiddler;C:\Program Files\Microsoft VS Code\bin" INFO global: VAGRANT_OLD_ENV_PATHEXT=".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL" INFO global: VAGRANT_OLD_ENV_PROCESSOR_ARCHITECTURE="AMD64" INFO global: VAGRANT_OLD_ENV_PROCESSOR_IDENTIFIER="Intel64 Family 6 Model 78 Stepping 3, GenuineIntel" INFO global: VAGRANT_OLD_ENV_PROCESSOR_LEVEL="6" INFO global: VAGRANT_OLD_ENV_PROCESSOR_REVISION="4e03" INFO global: VAGRANT_OLD_ENV_ProgramData="C:\ProgramData" INFO global: VAGRANT_OLD_ENV_ProgramFiles="C:\Program Files" INFO global: VAGRANT_OLD_ENV_ProgramFiles(x86)="C:\Program Files (x86)" INFO global: VAGRANT_OLD_ENV_ProgramW6432="C:\Program Files" INFO global: VAGRANT_OLD_ENV_PSModulePath="C:\Users\Asif.Alam\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\PowerS hell\Modules\;C:\Program Files (x86)\AWS Tools\PowerShell\;C:\opscode\chefdk\modules\" INFO global: VAGRANT_OLD_ENV_PUBLIC="C:\Users\Public" INFO global: VAGRANT_OLD_ENV_SystemDrive="C:" INFO global: VAGRANT_OLD_ENV_SystemRoot="C:\Windows" INFO global: VAGRANT_OLD_ENV_TEMP="C:\Users\ASIF~1.ALA\AppData\Local\Temp" INFO global: VAGRANT_OLD_ENV_TMP="C:\Users\ASIF~1.ALA\AppData\Local\Temp" INFO global: VAGRANT_OLD_ENV_UATDATA="C:\Windows\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77" INFO global: VAGRANT_OLD_ENV_USERDNSDOMAIN="MYOB.MYOBCORP.NET" INFO global: VAGRANT_OLD_ENV_USERDOMAIN="MYOB" INFO global: VAGRANT_OLD_ENV_USERDOMAIN_ROAMINGPROFILE="MYOB" INFO global: VAGRANT_OLD_ENV_USERNAME="Asif.Alam" INFO global: VAGRANT_OLD_ENV_USERPROFILE="C:\Users\Asif.Alam" INFO global: VAGRANT_OLD_ENV_VBOX_MSI_INSTALL_PATH="C:\Program Files\Oracle\VirtualBox\" INFO global: VAGRANT_OLD_ENV_VS110COMNTOOLS="C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\" INFO global: VAGRANT_OLD_ENV_VS140COMNTOOLS="C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\" INFO global: VAGRANT_OLD_ENV_VS150PROCOMNTOOLS="C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\Tools\" INFO global: VAGRANT_OLD_ENV_windir="C:\Windows" INFO global: VAGRANT_OLD_ENV_WIX="C:\Program Files (x86)\WiX Toolset v3.10\" INFO global: Plugins: INFO global: - vagrant-share = [installed: undefined constraint: > 0] DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/box/plugin.rb INFO manager: Registered plugin: box command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/cap/plugin.rb INFO manager: Registered plugin: cap command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/destroy/plugin.rb INFO manager: Registered plugin: destroy command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/global-status/plugin.rb INFO manager: Registered plugin: global-status command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/halt/plugin.rb INFO manager: Registered plugin: halt command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/help/plugin.rb INFO manager: Registered plugin: help command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/init/plugin.rb INFO manager: Registered plugin: init command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/list-commands/plugin.rb INFO manager: Registered plugin: list-commands command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/login/plugin.rb INFO manager: Registered plugin: vagrant-login DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/package/plugin.rb INFO manager: Registered plugin: package command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/plugin/plugin.rb INFO manager: Registered plugin: plugin command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/port/plugin.rb INFO manager: Registered plugin: port command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/powershell/plugin.rb INFO manager: Registered plugin: powershell command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/provider/plugin.rb INFO manager: Registered plugin: provider command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/provision/plugin.rb INFO manager: Registered plugin: provision command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/push/plugin.rb INFO manager: Registered plugin: push command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/rdp/plugin.rb INFO manager: Registered plugin: rdp command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/reload/plugin.rb INFO manager: Registered plugin: reload command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/resume/plugin.rb INFO manager: Registered plugin: resume command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/snapshot/plugin.rb INFO manager: Registered plugin: snapshot command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/ssh/plugin.rb INFO manager: Registered plugin: ssh command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/ssh_config/plugin.rb INFO manager: Registered plugin: ssh-config command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/status/plugin.rb INFO manager: Registered plugin: status command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/suspend/plugin.rb INFO manager: Registered plugin: suspend command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/up/plugin.rb INFO manager: Registered plugin: up command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/validate/plugin.rb INFO manager: Registered plugin: validate command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/version/plugin.rb INFO manager: Registered plugin: version command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/communicators/ssh/plugin.rb INFO manager: Registered plugin: ssh communicator DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/communicators/winrm/plugin.rb INFO manager: Registered plugin: winrm communicator DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/communicators/winssh/plugin.rb INFO manager: Registered plugin: windows ssh communicator DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/alt/plugin.rb INFO manager: Registered plugin: ALT Platform guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/amazon/plugin.rb INFO manager: Registered plugin: Amazon Linux guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/arch/plugin.rb INFO manager: Registered plugin: Arch guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/atomic/plugin.rb INFO manager: Registered plugin: Atomic Host guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/bsd/plugin.rb INFO manager: Registered plugin: BSD-based guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/coreos/plugin.rb INFO manager: Registered plugin: CoreOS guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/darwin/plugin.rb INFO manager: Registered plugin: Darwin guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/debian/plugin.rb INFO manager: Registered plugin: Debian guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/dragonflybsd/plugin.rb INFO manager: Registered plugin: DragonFly BSD guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/elementary/plugin.rb INFO manager: Registered plugin: Elementary guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/esxi/plugin.rb INFO manager: Registered plugin: ESXi guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/fedora/plugin.rb INFO manager: Registered plugin: Fedora guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/freebsd/plugin.rb INFO manager: Registered plugin: FreeBSD guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/funtoo/plugin.rb INFO manager: Registered plugin: Funtoo guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/gentoo/plugin.rb INFO manager: Registered plugin: Gentoo guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/kali/plugin.rb INFO manager: Registered plugin: Kali guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/linux/plugin.rb INFO manager: Registered plugin: Linux guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/mint/plugin.rb INFO manager: Registered plugin: Mint guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/netbsd/plugin.rb INFO manager: Registered plugin: NetBSD guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/nixos/plugin.rb INFO manager: Registered plugin: NixOS guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/omnios/plugin.rb INFO manager: Registered plugin: OmniOS guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/openbsd/plugin.rb INFO manager: Registered plugin: OpenBSD guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/photon/plugin.rb INFO manager: Registered plugin: VMware Photon guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/pld/plugin.rb INFO manager: Registered plugin: PLD Linux guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/redhat/plugin.rb INFO manager: Registered plugin: Red Hat Enterprise Linux guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/slackware/plugin.rb INFO manager: Registered plugin: Slackware guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/smartos/plugin.rb INFO manager: Registered plugin: SmartOS guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/solaris/plugin.rb INFO manager: Registered plugin: Solaris guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/solaris11/plugin.rb INFO manager: Registered plugin: Solaris 11 guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/suse/plugin.rb INFO manager: Registered plugin: SUSE guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/tinycore/plugin.rb INFO manager: Registered plugin: TinyCore Linux guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/trisquel/plugin.rb INFO manager: Registered plugin: Trisquel guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/ubuntu/plugin.rb INFO manager: Registered plugin: Ubuntu guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/windows/plugin.rb INFO manager: Registered plugin: Windows guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/hosts/alt/plugin.rb INFO manager: Registered plugin: ALT Platform host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/hosts/arch/plugin.rb INFO manager: Registered plugin: Arch host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/hosts/bsd/plugin.rb INFO manager: Registered plugin: BSD host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/hosts/darwin/plugin.rb INFO manager: Registered plugin: Mac OS X host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/hosts/freebsd/plugin.rb INFO manager: Registered plugin: FreeBSD host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/hosts/gentoo/plugin.rb INFO manager: Registered plugin: Gentoo host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/hosts/linux/plugin.rb INFO manager: Registered plugin: Linux host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/hosts/null/plugin.rb INFO manager: Registered plugin: null host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/hosts/redhat/plugin.rb INFO manager: Registered plugin: Red Hat Enterprise Linux host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/hosts/slackware/plugin.rb INFO manager: Registered plugin: Slackware host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/hosts/suse/plugin.rb INFO manager: Registered plugin: SUSE host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/hosts/windows/plugin.rb INFO manager: Registered plugin: Windows host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/kernel_v1/plugin.rb INFO manager: Registered plugin: kernel DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/kernel_v2/plugin.rb INFO manager: Registered plugin: kernel DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/providers/docker/plugin.rb INFO manager: Registered plugin: docker-provider DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/providers/hyperv/plugin.rb INFO manager: Registered plugin: Hyper-V provider DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/providers/virtualbox/plugin.rb INFO manager: Registered plugin: VirtualBox provider DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/provisioners/ansible/plugin.rb INFO manager: Registered plugin: ansible DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/provisioners/cfengine/plugin.rb INFO manager: Registered plugin: CFEngine Provisioner DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/provisioners/chef/plugin.rb INFO manager: Registered plugin: chef DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/provisioners/docker/plugin.rb INFO manager: Registered plugin: docker DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/provisioners/file/plugin.rb INFO manager: Registered plugin: file DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/provisioners/puppet/plugin.rb INFO manager: Registered plugin: puppet DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/provisioners/salt/plugin.rb INFO manager: Registered plugin: salt DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/provisioners/shell/plugin.rb INFO manager: Registered plugin: shell DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/pushes/atlas/plugin.rb INFO manager: Registered plugin: atlas DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/pushes/ftp/plugin.rb INFO manager: Registered plugin: ftp DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/pushes/heroku/plugin.rb INFO manager: Registered plugin: heroku DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/pushes/local-exec/plugin.rb INFO manager: Registered plugin: local-exec DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/pushes/noop/plugin.rb INFO manager: Registered plugin: noop DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/synced_folders/nfs/plugin.rb INFO manager: Registered plugin: NFS synced folders DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/synced_folders/rsync/plugin.rb INFO manager: Registered plugin: RSync synced folders DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/synced_folders/smb/plugin.rb INFO manager: Registered plugin: SMB synced folders DEBUG global: Plugin loading is currently disabled. INFO vagrant: vagrant invoked: ["plugin", "install", "vagrant-winrm", "--debug"] DEBUG vagrant: Creating Vagrant environment INFO environment: Environment initialized (#) INFO environment: - cwd: C:/chef/packer-templates INFO environment: Home path: C:/Users/Asif.Alam/.vagrant.d DEBUG environment: Effective local data path: WARN environment: No local data path is set. Local data cannot be stored. INFO environment: Running hook: environment_plugins_loaded INFO runner: Preparing hooks for middleware sequence... INFO runner: 1 hooks defined. INFO runner: Running action: environment_plugins_loaded # INFO environment: Running hook: environment_load INFO runner: Preparing hooks for middleware sequence... INFO runner: 1 hooks defined. INFO runner: Running action: environment_load # INFO cli: CLI: [] "plugin" ["install", "vagrant-winrm"] DEBUG cli: Invoking command class: VagrantPlugins::CommandPlugin::Command::Root ["install", "vagrant-winrm"] DEBUG root: Invoking command class: VagrantPlugins::CommandPlugin::Command::Install ["vagrant-winrm"] INFO loader: Loading configuration in order: [:home, :root] DEBUG loader: Configuration loaded successfully, finalizing and returning DEBUG push: finalizing INFO host: Autodetecting host type for [#<Vagrant::Environment: C:/chef/packer-templates>] DEBUG host: Trying: alt DEBUG host: Trying: arch DEBUG host: Trying: darwin DEBUG host: Trying: freebsd DEBUG host: Trying: gentoo DEBUG host: Trying: redhat DEBUG host: Trying: slackware DEBUG host: Trying: suse DEBUG host: Trying: bsd DEBUG host: Trying: linux DEBUG host: Trying: null DEBUG host: Trying: windows INFO host: Detected: windows! INFO runner: Preparing hooks for middleware sequence... INFO runner: 1 hooks defined. INFO runner: Running action: # INFO warden: Calling IN action: # INFO interface: info: Installing the 'vagrant-winrm' plugin. This can take a few minutes... Installing the 'vagrant-winrm' plugin. This can take a few minutes... DEBUG bundler: Enabling strict dependency enforcement DEBUG bundler: Dependency list for installation:

conflicting dependencies childprocess (= 0.5.6) and childprocess (= 0.6.3) Activated childprocess-0.6.3 which does not match conflicting dependency (= 0.5.6)

Conflicting dependency chains: childprocess (= 0.6.3), 0.6.3 activated

versus: childprocess (= 0.5.6)

Gems matching childprocess (= 0.5.6): childprocess-0.5.6

INFO warden: Beginning recovery process... INFO warden: Calling recover: # INFO warden: Recovery complete. INFO environment: Running hook: environment_unload INFO runner: Preparing hooks for middleware sequence... INFO runner: 1 hooks defined. INFO runner: Running action: environment_unload # ERROR vagrant: Vagrant experienced an error! Details: ERROR vagrant: #<Vagrant::Errors::BundlerError: Bundler, the underlying system Vagrant uses to install plugins, reported an error. The error is shown below. These errors are usually caused by misconfigured plugin installations or transient network issues. The error from Bundler is:

conflicting dependencies childprocess (= 0.5.6) and childprocess (= 0.6.3) Activated childprocess-0.6.3 which does not match conflicting dependency (= 0.5.6)

Conflicting dependency chains: childprocess (= 0.6.3), 0.6.3 activated

versus: childprocess (= 0.5.6)

Gems matching childprocess (= 0.5.6): childprocess-0.5.6

ERROR vagrant: Bundler, the underlying system Vagrant uses to install plugins, reported an error. The error is shown below. These errors are usually caused by misconfigured plugin installations or transient network issues. The error from Bundler is:

conflicting dependencies childprocess (= 0.5.6) and childprocess (= 0.6.3) Activated childprocess-0.6.3 which does not match conflicting dependency (= 0.5.6)

Conflicting dependency chains: childprocess (= 0.6.3), 0.6.3 activated

versus: childprocess (= 0.5.6)

Gems matching childprocess (= 0.5.6): childprocess-0.5.6

ERROR vagrant: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/lib/vagrant/plugin/manager.rb:94:in rescue in install_plugin' C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/lib/vagrant/plugin/manager.rb:44:ininstall_plugin' C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/plugin/action/install_gem.rb:29:in call' C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/lib/vagrant/action/warden.rb:34:incall' C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/lib/vagrant/action/builder.rb:116:in call' C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/lib/vagrant/action/runner.rb:66:inblock in run' C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/lib/vagrant/util/busy.rb:19:in busy' C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/lib/vagrant/action/runner.rb:66:inrun' C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/plugin/command/base.rb:14:in action' C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/plugin/command/install.rb:32:inblock in execute' C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/plugin/command/install.rb:31:in each' C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/plugin/command/install.rb:31:inexecute' C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/plugin/command/root.rb:66:in execute' C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/lib/vagrant/cli.rb:42:inexecute' C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/lib/vagrant/environment.rb:308:in cli' C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/bin/vagrant:138:in

' INFO interface: error: Bundler, the underlying system Vagrant uses to install plugins, reported an error. The error is shown below. These errors are usually caused by misconfigured plugin installations or transient network issues. The error from Bundler is:

conflicting dependencies childprocess (= 0.5.6) and childprocess (= 0.6.3) Activated childprocess-0.6.3 which does not match conflicting dependency (= 0.5.6)

Conflicting dependency chains: childprocess (= 0.6.3), 0.6.3 activated

versus: childprocess (= 0.5.6)

Gems matching childprocess (= 0.5.6): childprocess-0.5.6

Bundler, the underlying system Vagrant uses to install plugins, reported an error. The error is shown below. These errors are usually caused by misconfigured plugin installations or transient network issues. The error from Bundler is:

conflicting dependencies childprocess (= 0.5.6) and childprocess (= 0.6.3) Activated childprocess-0.6.3 which does not match conflicting dependency (= 0.5.6)

Conflicting dependency chains: childprocess (= 0.6.3), 0.6.3 activated

versus: childprocess (= 0.5.6)

Gems matching childprocess (= 0.5.6): childprocess-0.5.6 INFO interface: Machine: error-exit ["Vagrant::Errors::BundlerError", "Bundler, the underlying system Vagrant uses to install plugins,\nreported an error. The error is shown below. These errors are usually\ncaused by misconfigured plugin installations or transient netwo rk\nissues. The error from Bundler is:\n\nconflicting dependencies childprocess (= 0.5.6) and childprocess (= 0.6.3)\n Activated childprocess-0.6.3\n which does not match conflicting dependency (= 0.5.6)\n\n Conflicting dependency chains:\n childprocess (= 0.6.3), 0.6.3 activated\n\n versus:\n childprocess (= 0.5.6)\n\n Gems matching childprocess (= 0.5.6):\n childprocess-0.5.6\n"] PS C:\chef\packer-templates>

Thanks

briancain commented 7 years ago

Hi @asif-alam : Vagrant now does not require a plugin to use winrm. You should be able to communicate over winrm with just core vagrant. I believe this is likely why you are running into these dependency issues. Please give it a shot and let me know if you can use winrm without the plugin! Thanks.

asif-alam commented 7 years ago

Hi @briancain I am creating a new virtual box which is taking time for updates, will let you know once finished

asif-alam commented 7 years ago

Hi @briancain,

Thanks a lot for your cooperation. Actually I was trying to do some test on chef test-kitchen with vagrant but still I am not sure whether test-kitchen has some dependency with winrm plugin or not. I need more time to come back with detail findings.

Thanks Asif

asif-alam commented 7 years ago

Hi @briancain,

I was able to create the virtual box using packer properly and which use winrm and I think test-kitchen has some dependency with winrm plugin because I was getting following error:

PS C:\chef\packer-box\learn-chef\cookbooks\learn_chef_iis> kitchen list

------Exception------- Class: Kitchen::UserError Message: WinRM Transport requires the vagrant-winrm Vagrant plugin to properly communicate with this Vagrant VM. Please install this plugin with: `vagrant plugin install vagrant-winrm' and try again.

Please see .kitchen/logs/kitchen.log for more details Also try running kitchen diagnose --all for configuration

Thanks Asif

chrisroberts commented 7 years ago

@asif-alam Would you please try uninstalling Vagrant and then re-installing it. It looks like there are some old dependency versions still installed that are causing a conflict. The uninstall process should properly delete the related directory and the fresh install should then stop generating this error.

asif-alam commented 7 years ago

@chrisroberts I think this is not related to vigrant, the issue with chef test kitchen

Thanks Asif

ghost commented 4 years ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.