-
Notifications
You must be signed in to change notification settings - Fork 1.3k
db-sync fails to sync SSHPublicKeys #11265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks, Gero. I previously observed that I needed to restart workspace after uploading an SSH key for the connection to establish, I was guessing at the time that it could be a DB sync issue. Might be related. |
That sounds unrelated. Here the effect would be: If I connect to US cluster and store a secret, I cannot use it in the EU cluster. |
@mustard-mh I don't see
@geropl Is it not necessary anymore? |
It's not technical necessary, but good practice to try to keep TS and SQL in sync. |
@geropl @mustard-mh Can we verify somehow that all necessary db sync indexes are in place in production database? |
The error lies in the sql generated here: gitpod/components/ee/db-sync/src/export.ts Lines 143 to 145 in a75d168
Where we are not properly escaping the column names, which causes an error for the |
(internal discussion)
For unknown reasons db-sync refuses to insert public SSH keys. We have to find the offending query (e.g. by using staging) and understand what MySQL does not like about it.)
The text was updated successfully, but these errors were encountered: