well thank you again Nicholas, pip -intsall -U boto fixed that
but now i’m stuck on other issues, here is my out:
fab -H localhost setup_all
Digital Ocean’s API not loaded
***> No role definitions found in /srv/secrets-newsblur/configs/hosts.yml. Usin
g default roles.
—> You need to fix django’s settings. Enter python and type ‘import settings’
.
[localhost] Executing task ‘setup_all’
[localhost] sudo: apt-get -y update
Traceback (most recent call last):
File “/usr/local/lib/python2.7/site-packages/fabric/main.py”, line 743, in mai
n
*args, **kwargs
File “/usr/local/lib/python2.7/site-packages/fabric/tasks.py”, line 368, in ex
ecute
multiprocessing
File “/usr/local/lib/python2.7/site-packages/fabric/tasks.py”, line 264, in _e
xecute
return task.run(*args, **kwargs)
File “/usr/local/lib/python2.7/site-packages/fabric/tasks.py”, line 171, in ru
n
return self.wrapped(*args, **kwargs)
File “/newsapps/fabfile.py”, line 211, in setup_all
setup_common()
File “/newsapps/fabfile.py”, line 186, in setup_common
setup_installs()
File “/newsapps/fabfile.py”, line 330, in setup_installs
sudo(‘apt-get -y update’)
File “/usr/local/lib/python2.7/site-packages/fabric/network.py”, line 639, in
host_prompting_wrapper
return func(*args, **kwargs)
File “/usr/local/lib/python2.7/site-packages/fabric/operations.py”, line 1095,
in sudo
stderr=stderr, timeout=timeout, shell_escape=shell_escape,
File “/usr/local/lib/python2.7/site-packages/fabric/operations.py”, line 909,
in _run_command
channel=default_channel(), command=wrapped_command, pty=pty,
File “/usr/local/lib/python2.7/site-packages/fabric/state.py”, line 388, in de
fault_channel
chan = _open_session()
File “/usr/local/lib/python2.7/site-packages/fabric/state.py”, line 380, in _o
pen_session
return connections[env.host_string].get_transport().open_session()
File “/usr/local/lib/python2.7/site-packages/fabric/network.py”, line 151, in
__getitem__
self.connect(key)
File “/usr/local/lib/python2.7/site-packages/fabric/network.py”, line 143, in
connect
self[key] = connect(user, host, port, cache=self)
File “/usr/local/lib/python2.7/site-packages/fabric/network.py”, line 444, in
connect
sock=sock
File “/usr/local/lib/python2.7/site-packages/paramiko/client.py”, line 342, in
connect
self._auth(username, password, pkey, key_filenames, allow_agent, look_for_ke
ys)
File “/usr/local/lib/python2.7/site-packages/paramiko/client.py”, line 462, in
_auth
key = pkey_class.from_private_key_file(key_filename, password)
File “/usr/local/lib/python2.7/site-packages/paramiko/pkey.py”, line 198, in f
rom_private_key_file
key = cls(filename=filename, password=password)
File “/usr/local/lib/python2.7/site-packages/paramiko/rsakey.py”, line 51, in
__init__
self._from_private_key_file(filename, password)
File “/usr/local/lib/python2.7/site-packages/paramiko/rsakey.py”, line 163, in
_from_private_key_file
data = self._read_private_key_file(‘RSA’, filename, password)
File “/usr/local/lib/python2.7/site-packages/paramiko/pkey.py”, line 279, in _
read_private_key_file
f = open(filename, ‘r’)
IOError: [Errno 2] No such file or directory: ‘/srv/secrets-newsblur/keys/newsbl
ur.key’
is their any guide for walking through fabfile for linux installation?
thanks again