-
Notifications
You must be signed in to change notification settings - Fork 0
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
vagrant up not working on mac #16
Comments
Why "port upgrade"? Should be enough with "vagrant provision course"..?
|
to make sure ansible was updated (via macports) - it's not part of the On 07/05/16 10:41, Morten W. Hansen wrote:
|
Strange. You should check the git log of nersc-vagrant if any changes was
|
not sure what the old version was (quite old), but that had the same On 07/05/16 10:56, Morten W. Hansen wrote:
|
actually, from google, setting LC_ALL and LANG fixed it, and it seemed to work, except there were a lot of messages saying: PLAY skipping: no hosts matched On 07/05/16 10:56, Morten W. Hansen wrote:
|
These messages are OK. They tell you only run provisioning of the 'course' machine. Where did you have to specify LC_ALL and LANG? In your machine or on the guest machine? I was trying to fix that issue here: |
That was on my personal machine. On 09/05/16 11:15, Anton Korosov wrote:
|
did "git pull"
and sudo port upgrade outdated
so code & ansible etc should be up-to-date
error:
==> course: Running provisioner: ansible...
course: Running ansible-playbook...
PYTHONUNBUFFERED=1 ANSIBLE_FORCE_COLOR=true ANSIBLE_HOST_KEY_CHECKING=false ANSIBLE_SSH_ARGS='-o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -i '/Users/timill/GITHUB-REPOSITORIES/python/nersc-vagrant/.vagrant/machines/course/virtualbox/private_key' -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s' ansible-playbook --connection=ssh --timeout=30 --extra-vars=ansible_ssh_user='vagrant' --limit='course' --inventory-file=provisioning/hosts -v provisioning/site.yml
Traceback (most recent call last):
File "/opt/local/bin/ansible-playbook", line 110, in
display.error("Unexpected Exception: %s" % to_unicode(e), wrap_text=False)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ansible/utils/display.py", line 261, in error
self.display(new_msg, color='red', stderr=True)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ansible/utils/display.py", line 124, in display
msg2 = to_bytes(msg2, encoding=self._output_encoding(stderr=stderr))
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ansible/utils/unicode.py", line 208, in to_bytes
return obj.encode(encoding, errors)
LookupError: unknown encoding:
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
The text was updated successfully, but these errors were encountered: