Upgrade 5.4 -> 6.0 bug duplicate deploy keys not removed
Created by: samrocketman
This is a conversation from IRC. I'm filing it on others' behalf so that it is documented to be looked into.
06:13 < morsik> hi...
06:13 < morsik> i migrated gitlab 5.4 to 6.0 and deploy keys doesn't works...
06:13 < morsik> now i'm at 6.1 and nothing changed
06:14 < morsik> using https://git.localdomain/api/v3/internal/discover?key_id=2 returns: {"message":"404 Not found"}
06:14 < morsik> (id 2 is in authorized_keys under deployment key)
06:15 < morsik> oh well...
06:15 < morsik> i removed duplicated in authorized_keys and it looks like it works now
06:15 < morsik> :D
06:15 -!- mneorr [[email protected]] has quit [Ping timeout: 245 seconds]
06:16 < honestly> morsik: yes, duplicate keys are the problem
06:16 < honestly> morsik: did you miss running the rake task to remove duplicate keys?
06:16 < morsik> honestly: nope, i didn't missed it
06:16 < morsik> i remember, it even asked if i'm sure to remove duplicates
06:18 < honestly> hmm, then I guess the rake task doesn't touch deploy keys
06:19 < honestly> consider filing an issue
If a fix is created for this it should be applied to 6.0.