Closed
Bug 837533
Opened 12 years ago
Closed 12 years ago
Can't push to try
Categories
(Developer Services :: General, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: djc, Assigned: bkero)
Details
I used to have push access to hg.mozilla.org. It was disabled because I was inactive for a long time. Recently (~2 weeks ago) I asked for it to be re-enabled, and it was. Currently, it doesn't seem like I have access. I would like to be able to push to try.
Is it possible it got disabled for inactivity again?
Updated•12 years ago
|
Assignee: network-operations → server-ops
Component: Server Operations: ACL Request → Server Operations: Account Requests
QA Contact: ravi → tfairfield
Reporter | ||
Comment 1•12 years ago
|
||
See bug 830655 for the recent re-enabling.
Comment 2•12 years ago
|
||
It looks like your account is still set to active in LDAP, so the issue is likely elsewhere. Pushing this over to devservices to investigate why you can't push.
Assignee: server-ops → server-ops-devservices
Component: Server Operations: Account Requests → Server Operations: Developer Services
QA Contact: tfairfield → shyam
Summary: Enable push access for me → Can't push to try
Assignee | ||
Comment 3•12 years ago
|
||
[root@hgssh1.dmz.scl3 log]# tail pash.log
Exception
ERROR:root:Failed to update LDAP attributes for andres@appcoast.com
Traceback (most recent call last):
File "/usr/local/bin/pash.py", line 35, in <module>
ldap_helper.update_ldap_attribute(os.getenv('USER'), 'hgAccessDate', datetime.datetime.utcnow().strftime("%Y%m%d%H%M%S.%fZ"), 'ldap://ldap.db.scl3.mozilla.com', 'ldap://ldapsync1.db.scl3.mozilla.com')
File "/usr/local/bin/ldap_helper.py", line 47, in update_ldap_attribute
access_time = datetime.datetime.strptime(results[0][1][attr][0], "%Y%m%d%H%M%S.%fZ")
File "/usr/lib64/python2.6/_strptime.py", line 325, in _strptime
(data_string, format))
ValueError: time data '20121227132733Z' does not match format '%Y%m%d%H%M%S.%fZ'
[root@hgssh1.dmz.scl3 log]# ls -lh pash.log
-rwxrwxrwx 1 root root 9.1M Feb 4 09:02 pash.log
The format of the date in pash.py needs to be fixed.
Assignee | ||
Comment 4•12 years ago
|
||
openldap/files/scripts/vcs_accounts_disable.py: cutoff = (datetime.datetime.utcnow() - datetime.timedelta(days = QUERY_INTERVAL)).strftime("%Y%m%d%H%M%SZ")
Found out where it's getting the different format.
Comment 5•12 years ago
|
||
This is very similar to the svn issue we had a while back where we fixed the date values for everyone across the board.
Reporter | ||
Comment 6•12 years ago
|
||
Ping...
Updated•12 years ago
|
Severity: minor → normal
Assignee | ||
Comment 7•12 years ago
|
||
I've manually edited the hgAccessDate entry for your account. This should resolve the issue. I will file a separate bug to scan all user accounts and update them to a valid format.
Please let me know if you experience any problems.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 8•12 years ago
|
||
Bug to resolve the underlying issue here is 846961
Updated•12 years ago
|
Assignee: server-ops-devservices → bkero
Updated•10 years ago
|
Component: Server Operations: Developer Services → General
Product: mozilla.org → Developer Services
You need to log in
before you can comment on or make changes to this bug.
Description
•