-
Notifications
You must be signed in to change notification settings - Fork 116
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
debops-update : no such file or directory #123
Comments
So you tried DebOps from pypi? Can you try with version from GitHub and see if you get the same result? |
different issue...
Is python 2.7 correct. I noticed I'm running ansible 1.7, while 1.9 is recommended, but I don't think that's what caused the error here. |
Yes, python 2.7 is fine. DebOps scripts should work in the same environment
Ansible does, Debian Wheezy+, Ubuntu Trusty+. Don't use virtualenv. Perhaps
try in clean Jessie VM. If that doesn't help I could do a shared screen
session to try and debug.
|
Ok so for my first issue, debops-update returning For the second issue, python ZeroReturnError(), I resolved that by:
I rarely use python, so I installed python on this machine (Debian Jessie) just a few days ago for the first time to play around with ansible. The pyOpenSSL package installed by default was 0.14, and updating it to 0.15 solved the ZeroReturnError problem. Thanks so much for your advice! |
Good to know you fixed the issue. I wonder if it's repeatable and should requirements reflect that pyOpenSSL needs to be updated on Jessie, however I'm running Ansible on Ubuntu Trusty machine where I have |
Can confirm pyOpenSSL needs to be updated in this fashion from a clean install of debian 8.1 edit: actually you have to uninstall pyOpenSSL with apt first before you can upgrade it with pip:
|
@drybjed I had the same problem I discovered it was the lack of git package. You forgot to include it as prerequisites. |
Yes, as @thiagotalma said, this is caused by the |
I've been following through the the installation instructions here.
When I get to
debops-update
I get the output below. I'm a bit naive to this, I tried creating the directory mentioned in the second line, but I get the same error, looks like something to do with the install_pathlevi@debianOffice:~$ debops-update
DebOps playbooks have not been found, installing into /home/levi/.local/share/debops/debops-playbooks
Traceback (most recent call last):
File "/usr/local/bin/debops-update", line 220, in
main(args.project_dir)
File "/usr/local/bin/debops-update", line 201, in main
clone_git_repository(PLAYBOOKS_GIT_URI, 'master', install_path)
File "/usr/local/bin/debops-update", line 129, in clone_git_repository
repo_uri, destination])
File "/usr/lib/python2.7/subprocess.py", line 522, in call
return Popen(_popenargs, *_kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
The text was updated successfully, but these errors were encountered: