Closed Bug 1350584 Opened 8 years ago Closed 8 years ago

HG commit access for Christina Fu (JSS)

Categories

(Infrastructure & Operations :: MOC: Service Requests, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cfu, Assigned: Usul)

Details

I seem to have lost authorization to commit into JSS Mercurial repository. I'd like to get it back. My new ssh key has just replaced the old in another bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1350451 Thanks, Christina
Assignee: nobody → ludovic
Status: NEW → ASSIGNED
I vouch for Christina, probably not needed since she is the JSS Mozilla module owner.
hg bit shows enabled. Can you give it a try again?
still the same: $ hg push pushing to https://hg.mozilla.org/projects/jss searching for changes abort: authorization failed
I added debug to .hgrc. Hopefully this will help. sorry I'm new to Mercurial. $ hg push pushing to https://hg.mozilla.org/projects/jss using https://hg.mozilla.org/projects/jss sending capabilities command hg.mozilla.org certificate successfully verified query 1; heads sending batch command searching for changes all remote heads known locally preparing listkeys for "phases" sending listkeys command received listkey for "phases": 15 bytes checking for updated bookmarks preparing listkeys for "bookmarks" sending listkeys command received listkey for "bookmarks": 0 bytes sending branchmap command sending branchmap command preparing listkeys for "bookmarks" sending listkeys command received listkey for "bookmarks": 0 bytes 1 changesets found list of changesets: 06c4e9ea20f2df51fd79750e4b88637d47a16561 bundle2-output-bundle: "HG20", 4 parts total bundle2-output-part: "replycaps" 155 bytes payload bundle2-output-part: "check:heads" streamed payload bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload sending unbundle command sending 80409 bytes abort: authorization failed
did you configure ssh properly ?
I did generate a new key, changed my password, and updated the key recently. I went to the login and deleted all keys and reloaded the latest again too just to be sure. I have never tried to commit before though, so it's unclear if I ever really was able to push before all the changes I made listed above. I have been googling around. I am able to do "hg outgoing -v". Would that require the same authorization as well?
(In reply to Vinh Hua [:vinh] from comment #2) > hg bit shows enabled. Can you give it a try again? She probably needs to nss bits, but I'm not sure. Fubar probably knows better.
Flags: needinfo?(klibby)
Correct: sekrit$ ssh hg.mozilla.org repo-group projects/jss scm_nss But she already has that set. I don't see any login attempts from 'cfu@redhat.com' though. Please ensure hg is set up correctly (http://mozilla-version-control-tools.readthedocs.io/en/latest/hgmozilla/auth.html) and then run `ssh -v hg.mozilla.org` and paste the output.
Flags: needinfo?(klibby) → needinfo?(cfu)
Hi, that last bit of tip really helped. Turns out I did not even have .ssh/config, and my .hgrc is lacking some content. I was able to ask Elio for his copies of those files and now it works!! Thanks!
Flags: needinfo?(cfu)
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.