Broken deployments using GH Actions to our instance
Run invoke backup prod
##[debug]Overwrite 'shell' base on job defaults.
##[debug]/usr/bin/bash --noprofile --norc -e -o pipefail /home/runner/work/_temp/46f5b3bb-8e81-4da7-ad30-f93f40505b27.sh
[2023-08-20T00:41:07+0000] INFO [tasks.py:150] Start creating database backup.
[2023-08-20T00:41:07+0000] INFO [transport.py:1893] Connected (version 2.0, client OpenSSH_7.2p2)
Traceback (most recent call last):
File "/home/runner/.local/bin/invoke", line 8, in <module>
sys.exit(program.run())
File "/home/runner/.local/lib/python3.10/site-packages/invoke/program.py", line 398, in run
self.execute()
File "/home/runner/.local/lib/python3.10/site-packages/invoke/program.py", line 583, in execute
executor.execute(*self.tasks)
File "/home/runner/.local/lib/python3.10/site-packages/invoke/executor.py", line 140, in execute
result = call.task(*args, **call.kwargs)
File "/home/runner/.local/lib/python3.10/site-packages/invoke/tasks.py", line 138, in __call__
result = self.body(*args, **kwargs)
File "/home/runner/work/OpenOversight/OpenOversight/tasks.py", line 177, in backup
backup_(connection, config)
File "/home/runner/work/OpenOversight/OpenOversight/tasks.py", line 152, in backup_
c.run(
File "/home/runner/.local/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/runner/.local/lib/python3.10/site-packages/fabric/connection.py", line 22, in opens
self.open()
File "/home/runner/.local/lib/python3.10/site-packages/fabric/connection.py", line 665, in open
result = self.client.connect(**kwargs)
File "/home/runner/.local/lib/python3.10/site-packages/paramiko/client.py", line 485, in connect
self._auth(
File "/home/runner/.local/lib/python3.10/site-packages/paramiko/client.py", line 818, in _auth
raise saved_exception
File "/home/runner/.local/lib/python3.10/site-packages/paramiko/client.py", line 788, in _auth
key = self._key_from_filepath(
File "/home/runner/.local/lib/python3.10/site-packages/paramiko/client.py", line 638, in _key_from_filepath
key = klass.from_private_key_file(key_path, password)
File "/home/runner/.local/lib/python3.10/site-packages/paramiko/pkey.py", line 421, in from_private_key_file
key = cls(filename=filename, ***
File "/home/runner/.local/lib/python3.10/site-packages/paramiko/ed25519key.py", line 60, in __init__
pkformat, data = self._read_private_key("OPENSSH", f)
File "/home/runner/.local/lib/python3.10/site-packages/paramiko/pkey.py", line 5[29](https://github.com/lucyparsons/OpenOversight/actions/runs/5907186031/job/16039672185#step:7:30), in _read_private_key
raise SSHException(
paramiko.ssh_exception.SSHException: encountered RSA key, expected OPENSSH key
Error: Process completed with exit code 1.
##[debug]Finishing: backup db
What issue are you seeing?
Broken deployments using GH Actions to our instance