francie | Hello gouthamr, maaritamn Good morning | 06:06 |
---|---|---|
francie | I am still having this challenge with Gerrit | 06:06 |
francie | https://paste.opendev.org/show/bTz3y1eJ3DUDrScWBwVQ/ | 06:06 |
vkmc | francie, hey | 08:02 |
vkmc | francie, is your gerrit username "franciedigital"? | 08:03 |
vkmc | you can check in https://review.opendev.org/settings/ | 08:03 |
vkmc | in the profile you have "id, email, registered, username, ..." | 08:04 |
vkmc | the username is the field we want | 08:04 |
vkmc | if it is franciedigital, the next step to check is if the ssh key is correctly updated | 08:04 |
vkmc | also, I saw you did | 08:05 |
vkmc | stack@devstack-VirtualBox:~/python-manilaclient$ git remote rename origin gerrit | 08:05 |
vkmc | we need to add a remote, not to rename it | 08:05 |
vkmc | remove the repo and start over please | 08:05 |
francie | vkmc Thanks, okay let me try. Yes my username on gerrit is 'franciedigital'. | 08:14 |
vkmc | perfect! | 08:14 |
vkmc | so, rm the repo | 08:14 |
vkmc | clone it again | 08:15 |
vkmc | and then we add the gerrit remote | 08:15 |
francie | vkmc, here: https://paste.opendev.org/show/bJfKXdBpF7YN8iNCemdP/ | 08:33 |
francie | 1. I have removed .ssh and reconfigured it back | 08:33 |
francie | 2. I have added ssh public key both at Github and Gerrit | 08:33 |
francie | 3. I could successfully authenticate to Github using `ssh -T git@github.com` | 08:34 |
vkmc | francie, didn't ask you to regenerate the ssh key | 08:34 |
vkmc | it doesn't hurt, but it was not needed | 08:34 |
vkmc | francie, what you want to do now, then, is "git remote add gerrit ssh://franciedigital@review.opendev.org:29418/openstack/python-manilaclient.git" | 08:35 |
vkmc | in the repo | 08:35 |
francie | ok, just a moment | 08:36 |
francie | Aha! Now I see a different issue: https://paste.opendev.org/show/bJ9gThxnCevBqucKCvRK/ | 08:37 |
vkmc | francie, you are missing the t | 08:37 |
vkmc | in "ssh://franciedigital@review.opendev.org:29418/openstack/python-manilaclient.git" | 08:37 |
vkmc | so... let's remove the remote and create it again | 08:38 |
vkmc | git remove remote gerrit | 08:38 |
vkmc | and then | 08:38 |
vkmc | git remote add gerrit ssh://franciedigital@review.opendev.org:29418/openstack/python-manilaclient.git | 08:38 |
francie | Oh I see | 08:39 |
francie | same: https://paste.opendev.org/show/blEfm8vzWup485i0prOS/ | 08:41 |
francie | I am suspecting something wrong with the hooks? | 08:42 |
vkmc | can you provide a tmate session to me? | 08:42 |
vkmc | https://tmate.io/ | 08:42 |
vkmc | not sure if you are familiar with it | 08:42 |
vkmc | the next thing I'd check is the name and the permissions of the keys that has been created | 08:44 |
vkmc | and make sure that id_rsa.pub is the key that has been uploaded to your gerrit profile | 08:44 |
francie | one moment | 08:45 |
francie | ssh session: ssh zUcJU5ddx9c7aG6khJ6QkNkgC@lon1.tmate.io | 08:46 |
vkmc | great, I'm in | 08:47 |
vkmc | francie, ^ | 08:47 |
vkmc | permissions are ok | 08:49 |
vkmc | francie, can you check that id_rsa.pub is the one that has been uploaded to your profile? | 08:50 |
francie | Let me paste that | 08:50 |
vkmc | yeah, that output needs to be in your profile | 08:51 |
vkmc | from ssh-rsa to the email | 08:51 |
francie | https://paste.opendev.org/show/bT6crQtQ7P30LCTmaWJa/ | 08:52 |
vkmc | yes, that one | 08:52 |
francie | They are same | 08:52 |
francie | You can test ssh to Github on tmate | 08:53 |
vkmc | hm, I'm clueless then :) | 08:54 |
francie | You see this line: | 08:55 |
francie | The following command failed with exit code 1 │···· | 08:55 |
francie | "scp -P29418 franciedigital@review.opendev.org:hooks/commit-msg .git/hooks/commit-msg" | 08:55 |
vkmc | I do | 08:55 |
francie | something is wrong with the hooks I suppose | 08:55 |
vkmc | well, the key needs to be in | 08:55 |
vkmc | https://review.opendev.org/settings/#SSHKeys | 08:56 |
vkmc | that's review.opendev.org | 08:56 |
francie | It is right there | 08:58 |
vkmc | so I'm probably missing something | 08:59 |
vkmc | your env looks good as far as I know | 08:59 |
francie | Sure | 08:59 |
francie | I feel something might have changed somewhere maybe a new patch introduced a bug somehow ? | 09:00 |
vkmc | I don't think so | 09:00 |
vkmc | otherwise it would be all the ci broken | 09:00 |
vkmc | I'll deploy a fresh env and let you know if I hit the same | 09:01 |
vkmc | how new is this environment? | 09:01 |
vkmc | in any case | 09:01 |
vkmc | no code changes should affect the functioning of the peer reviewed system | 09:02 |
vkmc | oki, logging out now | 09:03 |
francie | When I hit the issue yesterday, I googled all through to resolve it but could not. So I made a fresh deployment (Removed the VM, set it back, then stack up) Could not succeed till this morning | 09:06 |
francie | ok, Thanks, I wait once you have a fresh env | 09:06 |
vkmc | honestly, there is no much to it... if the key is correctly uploaded to your profile, the permissions on the key are ok (0600), your username is correct | 09:07 |
vkmc | it should just work | 09:07 |
francie | hmmmm | 09:07 |
francie | If you hit same issue on fresh env then it's wide? | 09:07 |
vkmc | in that event, maybe yes | 09:09 |
vkmc | but again, we would see it on the ci | 09:09 |
vkmc | which is running | 09:09 |
vkmc | every couple of minutes | 09:09 |
vkmc | :) | 09:09 |
francie | ok | 09:10 |
vkmc | probably I am missing something | 09:10 |
vkmc | but not sure what | 09:11 |
francie | I doubt but let's see | 09:11 |
vkmc | francie, have you started the internship already? | 09:12 |
francie | Yes | 09:12 |
vkmc | nice! | 09:12 |
vkmc | so, you have a meeting scheduled with your mentors? | 09:12 |
francie | On tmate, you could remove the .ssh dir then recreate the the ssh key and copy and share with me so I add back both to Github and to Gerrit. Then test | 09:13 |
francie | Yes, I speak with maaritamn | 09:13 |
vkmc | so, why you are adding it to github? | 09:13 |
francie | I am following a guide on setting up local environment :) | 09:13 |
francie | https://superuser.openstack.org/articles/openstack-developer-beginner-setup/ | 09:14 |
vkmc | https://docs.openstack.org/contributors/common/setup-gerrit.html#import-public-key-into-gerrit | 09:14 |
francie | Always handy | 09:14 |
vkmc | I'd stick with the official docs | 09:15 |
vkmc | which is what we use | 09:15 |
francie | Could be I missed this line: This guide recommends using ed25519 keys because it has been found that this type works well across all operating systems. | 09:15 |
vkmc | because there are several things there that are outdated | 09:15 |
francie | Got it! | 09:15 |
vkmc | no, it doesn't matter what kind of encryption you use for your ssh key | 09:16 |
francie | ok | 09:16 |
vkmc | so if you want we can have a quick call and you share your screen with me | 09:24 |
vkmc | and we try to follow the process | 09:24 |
vkmc | I have 30min now | 09:25 |
francie | Google meet? | 09:26 |
francie | works for you? | 09:27 |
vkmc | sure | 09:27 |
vkmc | francie, https://meet.google.com/xbo-ybpd-yao | 09:28 |
francie | one moment | 09:41 |
vkmc | sure, let me know when you are available | 09:44 |
vkmc | francie, I have to run for another meeting now, so maybe we can sync up later :) | 09:51 |
francie | sorry i needed to change my wears, lets catch up later | 09:53 |
francie | thank you | 09:53 |
francie | i appreciate | 09:53 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!