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
ansible_local: bash: line 5: pip: command not found #10950
Comments
I can confirm this issue. |
Hi, we see this as well; see https://gitlab.com/aegir/aegir-dev-vm/issues/16 comparing Vagrant 2.2.4 to Vagrant 2.2.5 debug logs. Something fishy is going on with the execution of the curl command to install pip in the ansible_local provisioner. Vagrant appears to be trying execute the string |
Yep, I just had this, reverted to Vagrant 2.2.4 and it worked without issues. |
Hi, how do you revert to vagrant 2.2.4? |
Just uninstall and install the previous version. You may need to fix your plugins as well. There is a link on the download page to download the previous versions |
Looking at the release notes, the issue that may have introduced this is: #9584 |
Setting ansible.pip_install_cmd in the ansible_local configuration also worked around the issue for me.
|
TODO: Revert when these are fixed? + hashicorp/vagrant#10914 + hashicorp/vagrant#10950 Thread in Trellis forums: + https://discourse.roots.io/t/trellis-on-windows-perpetually-failing-to-provision/16508
i have done a fix for this issue here: #11096 It would be nice to have a review on that. anyone here? thx. :) |
Fixes #10950: Ensure pip_install_cmd is finalized
* commit '07a51906769ad1d717e9246a67d3dc4fc57e84a9': Update CHANGELOG Update CHANGELOG Update CHANGELOG Fixes hashicorp#10950: Ensure pip_install_cmd is finalized Fixes hashicorp#11027: Ensure VM id is passed to list snapshots Update CHANGELOG Move around example mention in docs Docs: Add note about running bash with the `run` option for triggers Fixes hashicorp#10966: Ensure all subdirectory files are watched Fixes issue hashicorp#10973: checks that VMMS WMI reference is null & throws appropriately ansible_ssh_host in the example is deprecated
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. |
Vagrant version
Vagrant 2.2.5
Host operating system
Ubuntu 18.04
Ubuntu 19.04
Guest operating system
bento/ubuntu-18.04
Vagrantfile
Debug output
bash: line 5: pip: command not found
Expected behavior
Pip should be successfully installed
Actual behavior
Pip not found
PS: Downgrade to Vagrant 2.2.4 works.
The text was updated successfully, but these errors were encountered: