opsgenie / opsgenie-configuration-backup

Backup your OpsGenie account's configuration and restore it later
https://opsgenie.com
Apache License 2.0
28 stars 26 forks source link

GIT over SSH not working anymore with gitlab #58

Open overfl0vv opened 7 months ago

overfl0vv commented 7 months ago

The git integration seems to be broken. I can't use SSH key to clone/push repositories anymore. Attached you can find the logs. I can use the key from command line and pull/push without issues.

14:30:01.724 [main] INFO  com.opsgenie.tools.backup.ExportMain - Export directory path: /opt/opsgenie-backup
14:30:01.726 [main] INFO  com.opsgenie.tools.backup.ExportMain - Opsgenie host: https://api.eu.opsgenie.com
14:30:01.726 [main] INFO  com.opsgenie.tools.backup.ExportMain - Export the git is enabled.
14:30:01.727 [main] INFO  com.opsgenie.tools.backup.ExportMain - The git SSH URI: git@git.gitlab:ops/opsgenie-backups/backup.git
14:30:01.727 [main] INFO  com.opsgenie.tools.backup.ExportMain - The SSH key path: /tmp/deploykey/git-deploy-key
14:30:02.809 [main] INFO  com.opsgenie.tools.backup.ExportMain - Account name is company
14:30:02.809 [main] INFO  com.opsgenie.tools.backup.ExportMain - OpsGenie host is https://api.eu.opsgenie.com
14:30:02.812 [main] INFO  com.opsgenie.tools.backup.BaseBackup - Cloning remote git operation started!
14:30:03.058 [main] ERROR com.opsgenie.tools.backup.ExportMain - Could not finish task: git@git.gitlab:ops/opsgenie-backups/backup.git: Auth fail

As the codebase is really old, i'm wondering if this application will receive updates anytime soon? Maybe you can plan to renew the codebase to fix issues, maybe include an option for API keys as alternative?