Hi Team,
I am trying to do a pull replication from a remote pod to my target pod. While running the pull replication command on the target pod, getting the error:
[2024-07-01 12:24:23,432] [b9d53c78] ASYNC replication from ssh://admin@localhost:29418/multisite_region.git started for refs [..all..] ...
[2024-07-01 12:24:23,435] [b9d53c78] Fetch references [+refs/*:refs/*] from ssh://admin@localhost:29418/multisite_region.git
[2024-07-01 12:24:23,492] [b9d53c78] Cannot replicate from ssh://admin@localhost:29418/multisite_region.git: ssh://admin@localhost:29418/multisite_region.git: [ssh-connection]: Failed (UnsupportedCredentialItem) to execute: ssh://admin@localhost:29418: org.eclipse.jgit.transport.CredentialItem$YesNoType:Accept and store this key, and continue connecting?
Somehow the Gerrit replication process is encountering an interactive prompt to accept and store the SSH key. Since this interaction can't occur in an automated replication process, it is failing.
NOTE: I have put the public key of each pod into the other pod as well.
My remote config file:
[remote]
url = ssh://admin@localhost:29418/${name}.git
projects = multisite_region
fetch = +refs/*:refs/*
Can someone help me on this?
Thanks
Aankhi