You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
│ Conditions: │
│ Last Transition Time: 2021-02-05T17:27:30Z │
│ Message: unable to clone 'ssh://[email protected]/v3/XXX/XXX/XXX', error: user cancelled hostkey check │
│ Reason: ReconciliationFailed │
│ Status: False │
│ Type: Ready │
│ Observed Generation: 1 │
│ Events: │
│ Type Reason Age From Message │
│ ---- ------ ---- ---- ------- │
│ Normal error 4m21s (x334 over 3d15h) image-automation-controller unable to clone 'ssh://[email protected]/v3/XXX/XXX/XXX', error: user cancelled hostkey check
The ssh credentials are correct, because all other processes are working as expected, so there seems to be only an issue in the image update controller.
The text was updated successfully, but these errors were encountered:
The "auth strategy", which depends on the GitImplementation, was
hard-wired to the "gogit" constant, but it should come from the
GitRepository spec. When the implementation is "libgit2" and the git
URL entails SSH, the result would normally include a callback for
checking the host key against known_hosts; but since it was
hard-wired, it was missing that callback.
This explains at least some instances of the error `user cancelled
hostkey check` from #106. The error, or a close relative, might also
arise if the callback rejects the host key because the host as it
appears in the known_hosts doesn't match that host as passed to the
callback -- see
fluxcd/source-controller#287.
Signed-off-by: Michael Bridgen <[email protected]>
Currently the imageautomationupdate I created is failing with the error: ** error: user cancelled hostkey check**
The system is setup as follows:
This results in the following:
The ssh credentials are correct, because all other processes are working as expected, so there seems to be only an issue in the image update controller.
The text was updated successfully, but these errors were encountered: