Thursday, 2016-01-28

*** neiljerram has joined #openstack-opw01:33
*** neiljerram has quit IRC01:40
*** arushi has joined #openstack-opw05:16
*** arushi has quit IRC05:31
*** rossella_s has quit IRC06:31
*** rossella_s has joined #openstack-opw06:31
*** njirap has joined #openstack-opw07:34
*** njirap has quit IRC08:09
*** njirap has joined #openstack-opw08:34
*** njirap has quit IRC09:30
*** njirap_ has joined #openstack-opw09:31
*** aysyd has joined #openstack-opw11:07
*** aysyd has quit IRC11:38
*** neiljerram has joined #openstack-opw12:15
*** njirap_ has quit IRC13:34
*** neiljerram has quit IRC13:46
*** psargent has joined #openstack-opw13:49
*** neiljerram has joined #openstack-opw13:54
*** julim has quit IRC14:13
*** lblanchard has joined #openstack-opw14:21
*** rossella_s has quit IRC14:31
*** rossella_s has joined #openstack-opw14:31
psargentneiljerram: are you there?14:57
neiljerramyes, hi!14:58
psargenthello! How are you ! I am having some problems with git review!14:59
neiljerramYes, I saw your email14:59
neiljerramHave you submitted anything to review.openstack.org before?14:59
psargentI would need to do a 'ssh-add <key-name> before issuing the git review command15:00
neiljerramYes.15:01
psargentI submitted a patch15:01
psargentyes, I submitted something in review.openstack.org15:01
neiljerramWhen was that?  I couldn't find anything when I looked just now - do you have a URL?15:02
psargentok...let me look15:02
neiljerramReason for asking is that there's a relatively complex process of setting up an account, becoming a member of OpenStack, and agreeing to some legal terms, before one can submit anything at all.15:02
psargentyes....I did that previously and thought everything was set up15:03
neiljerramIf you've never done that, or if - for example - you did that with a different email address - that may be the problem.15:03
neiljerramAH, ok, ignore that concern, then.15:04
neiljerramOK, I can see your previous changes now: https://review.openstack.org/240407 and https://review.openstack.org/24072815:05
neiljerramNo idea why I didn't see those when I looked a bit earlier.15:05
psargentok....15:05
psargentIs the <key-name>  the same keyname that is in the review.openstack.org settings?15:08
neiljerramI'm not sure, but possibly not.15:10
neiljerramIn my settings I see names like "imported-openssh-key" and "neil@laruns", but those are not the right thing for <key-name>15:11
neiljerramDo you remember how you originally generated an SSH key pair?15:11
neiljerram(Or rather, _the_ SSH key pair of which you uploaded the public part to review.openstack.org)15:12
psargenthmmm...thinking....15:12
psargentI don't remember generating the SSH key pair for review.openstack.org.....I didn't have anything in my notes....I do remember playing around with SSH key pair when I was doing something else15:15
neiljerramSo it might even have been on some other computer? non-Linux?15:15
psargentyes15:16
neiljerramIn that case probably the best thing is to generate and upload a new pair.15:16
psargentok15:16
neiljerramSo you can do 'ssh-keygen' to do that.15:16
psargentahh....15:17
neiljerramThen, in your settings on review.openstack.org, click 'Add SSH Public Key', and follow the instructions15:18
psargentok....i'll try right now15:18
*** julim has joined #openstack-opw15:20
psargent.... added a key in ".ssh/id_rsa.pub" and now I am going to settings15:20
psargent...I added a ssh public key in review.openstack.org...I am going to try the "git review" command again15:24
neiljerramcool.  But you may also need (1) an SSH agent running, if it isn't already, (2) 'ssh-add'15:25
neiljerramYou can check for (1) with 'ps waux | grep agent'15:26
psargentok...I checked if the SSH agent is running by 'ps waux | grep agent' ...didn't get anything back so don't think it is running.... I will issue ssh-add15:28
neiljerramOK, then probably ssh-add will complain...15:29
psargentshould I issue the ssh-add15:29
neiljerramsure15:30
neiljerram(It won't matter if it complains)15:30
psargentok15:30
psargentyes...it complained...could not open a connection to your authetication agent15:31
neiljerramOK, so to start an agent: eval `ssh-agent`15:31
neiljerramThe backquotes are important there.15:31
psargentok15:32
neiljerramAnd then 'ssh-add'15:33
psargentIssued both commands and got this message: Identity added: /c/Users/Petra/.ssh/id_rsa (/c/Users/Petra/.ssh/id_rsa)15:34
neiljerramI recommend that you search for some web pages to explain what's going on here.  I just did a quick search for 'ssh-agent ssh-add', and found some pages that explain much better than I am doing here.15:34
neiljerramCool.  So now I would expect your git review command to work!15:35
psargentok....I will.....I will take notes...just in case this happens again!15:35
neiljerramBy the way are you on Windows, or Linux?15:35
psargentWindows15:35
neiljerramOK... that might cause a few problems, just because most OpenStack developers use Linux.  Didn't you set up a Linux machine?15:36
psargentI am doing my git/gerrit things on windows...but all my devstack stuff is on linux15:40
neiljerramTo be honest I doubt that will make sense.15:41
neiljerramIt should work while you're working on the spec.15:41
psargentok...15:42
neiljerramBut when you're doing coding, you'll want the code that you're pushing to Gerrit to be the same as what you're using for testing in devstack15:42
psargentok...that makes sense...I can set it up15:43
neiljerramAnyway, one thing that you should now do is copy the private key that you just made (/c/Users/Petra/.ssh/id_rsa) to .ssh/id_rsa in your account on Linux.15:43
neiljerramThen you'll be able to do ssh-add on Linux too using the same key.15:43
neiljerramAnyway, does the 'git review' work now?15:44
psargentok15:44
neiljerramActually you must be quite a wiz to have git and ssh working on Windows!  I'm not sure I'd know exactly how to do that!15:45
psargentI issued the command 'git review' and get this error: Problem running 'git remote update gerrit'15:46
psargentFetching gerrit15:46
psargentfatal: Project not found: openstack/project15:46
psargentfatal: Could not read from remote repository.15:46
psargentPlease make sure you have the correct access rights15:46
psargentand the repository exists.15:47
psargenterror: Could not fetch gerrit15:47
neiljerramAre you inside your neutron-specs repository?15:47
psargentyes, I am inside the neutron-specs repo15:49
neiljerramWhat does the '.gitreview' file say?15:49
psargenthost=review.openstack.org port=29418 project=openstack/neutron-specs.git15:53
neiljerramHmmm.15:57
neiljerramIt certainly looks like a problem that the error message says "openstack/project".15:58
neiljerramI would expect "openstack/neutron-specs", as it says in your .gitreview file.15:58
psargenthmmm....where could it be getting openstack/project....15:59
neiljerramMy .gitreview file has a [gerrit] heading, and is also on multiple lines, like this:16:01
neiljerram[gerrit]16:01
neiljerramhost=review.openstack.org16:01
neiljerramport=2941816:01
neiljerramproject=openstack/neutron-specs.git16:01
psargentyes....mine is the same way16:02
neiljerramOK16:02
psargentyesterday, when I was troubleshooting... I tried to manually repo by....git remote add gerrit ssh://username@review.openstack.org:29418/openstack/project.git16:04
psargentwould that have anything to do with this issue?16:04
neiljerramAh, yes.16:05
neiljerramOK, so you can undo that, with "git remote rm gerrit"16:06
neiljerramThen try "git-review -s"16:06
psargentok....thought I was fixing the problem!!!! sorry...i'll do 'git remote....16:07
neiljerramNo worries.16:08
neiljerramWas that from https://ask.openstack.org/en/question/63383/could-not-connect-to-gerrit/ ?16:10
psargentYEAH!!!! got pass the error....now asking for Password for 'https://psargent@review.openstack.org:443'....16:10
neiljerramHmm, not sure you should be asked for a password...16:10
psargentok...one more thing that I changed...let me look at my notes...16:11
neiljerramIs your Gerrit ID psargent ?16:11
psargentI think I know why16:11
psargentyes16:11
neiljerramYes, perhaps you did this:16:15
neiljerramgit config --global gitreview.scheme https16:15
neiljerramgit config --global gitreview.port 44316:15
psargentYep!...I was just typing that!16:16
neiljerram(from http://docs.openstack.org/infra/manual/developers.html)16:16
psargentI think this password is in settings ...https password16:16
neiljerramSo I think you now want:16:17
neiljerramgit config --global --unset-all gitreview.scheme16:17
neiljerramgit config --global --unset-all gitreview.port16:17
psargentohh ok....Cancel the password....and then issue the above commands16:18
neiljerramOr, from that same web page: "Keep in mind that you will need to generate an HTTP password in Gerrit to use this connection."16:18
neiljerramBut I recommend trying the unset-alls first16:19
psargentok....unset-alls16:19
*** Akanksha08 has joined #openstack-opw16:19
psargentok... I cancelled entering the password....I issued the unset-alls command16:23
psargentnow shall I do the git review command16:23
neiljerramThen try 'git review -s' again...16:23
psargent...received this error:  We don't know where your gerrit is. Please manually create a remote16:26
psargentnamed "gerrit" and try again.16:26
psargentCould not connect to gerrit at https://psargent@review.openstack.org:29418/openstack/neutron-specs.git16:26
psargentError: Could not connect to gerrit.16:27
psargentEnter your gerrit username: psargent16:27
psargentTrying again with https://psargent@review.openstack.org:29418/openstack/neutron-specs.git16:27
psargent<traceback object at 0x00000000034B6088>16:27
psargentWe don't know where your gerrit is. Please manually create a remote16:27
psargentnamed "gerrit" and try again.16:27
psargentCould not connect to gerrit at https://psargent@review.openstack.org:29418/openstack/neutron-specs.git16:27
psargentTraceback (most recent call last):16:27
psargent  File "C:\Python27\lib\runpy.py", line 162, in _run_module_as_main16:27
psargent    "__main__", fname, loader, pkg_name)16:27
psargent  File "C:\Python27\lib\runpy.py", line 72, in _run_code16:27
psargent    exec code in run_globals16:27
psargent  File "C:\Python27\Scripts\git-review.exe\__main__.py", line 9, in <module>16:27
psargent  File "C:\Python27\lib\site-packages\git_review\cmd.py", line 1534, in main16:27
neiljerramhmm16:28
neiljerramDoes 'ping review.openstack.org' work?16:29
psargentyes16:30
neiljerrammaybe it really is that think about your ISP blocking SSH on strange ports.16:30
neiljerram*thing16:30
psargenthmmm16:31
neiljerramDid you do the " generate an HTTP password in Gerrit" step, before?16:31
psargentno16:31
neiljerramok, so perhaps you should do that, and then put back the gitreview.scheme and gitreview.port config again, and see if that makes things work16:32
psargentok....i'll try16:33
psargentYeah!! I got this: Creating a git remote called "gerrit" that maps to:16:43
psargent        https://psargent@review.openstack.org:443/openstack/neutron-specs.git16:43
psargentCreating a git remote called "gerrit" that maps to:16:44
psargent        https://psargent@review.openstack.org:443/openstack/neutron-specs.git16:44
psargentThe branch 's' does not exist on the given remote 'gerrit'. If these16:44
psargentchanges are intended to start a new branch, re-run with the '-R'16:44
psargentoption enabled.16:44
psargentI type " git review s" instead of " git review -s"16:45
*** enthurohini has joined #openstack-opw17:12
neiljerramSorry, was on another meeting for a while....17:32
neiljerramBut great, looks like all is now working for you.17:32
*** julim has quit IRC18:04
*** julim has joined #openstack-opw18:06
psargentI am not sure if everything is working...i don't see the spec in gerrit in git-review18:14
*** neiljerram has quit IRC18:27
*** enthurohini has quit IRC18:30
*** rossella_s has quit IRC18:31
*** rossella_s has joined #openstack-opw18:31
*** Akanksha08 has quit IRC19:04
*** lblanchard has quit IRC19:10
*** lblanchard has joined #openstack-opw19:14
*** jesusaur has quit IRC21:42
*** jesusaur has joined #openstack-opw21:43
*** jesusaur has quit IRC22:11
*** lblanchard has quit IRC22:12
*** Eva-i has quit IRC22:14
*** jesusaur has joined #openstack-opw22:28
*** Eva-i has joined #openstack-opw22:42
*** julim has quit IRC22:50
*** julim has joined #openstack-opw22:52
*** Eva-i has quit IRC23:00
*** Eva-i has joined #openstack-opw23:00
*** julim has quit IRC23:11

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!