Closed Bug 604084 Opened 14 years ago Closed 14 years ago

Basket: Can't connect to LDAP

Categories

(mozilla.org Graveyard :: Server Operations, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: abuchanan, Assigned: oremj)

Details

I'm getting error emails from Basket,

Error: {'desc': "Can't contact LDAP server"}


Aravind said this is probably due to a moved LDAP slave that was moved.
Do you get more detail that than?  Is it transient?
These errors come and go sometimes, usually I ignore them and they go away quickly.  These have been going for 12+ hours now.

Seems like they started about the time that jabba pulled a minor Basket update.  That update only touched one line afaik, and it wasn't related to LDAP.

Sorry, I can't think of any more detail.  Maybe check that settings_local.py is pointing at the correct LDAP slave?
I emailed and thought I filed a bug on making the new LDAP slaves permanent.  

settings_local.py is pointing to the now-decommissioned LDAP slave.  

LDAP = {
    'host': 'ldap://pm-weaveadmin01.mozilla.org',

That should be 10.10.12.11 or 10.10.12.12.
I should also say, I was told there wasn't anything in svn that had to be changed and that my local edit was just fine.
I manually edited that file (again).  Who has to fix this in svn or whatever so it doesn't break on the next update?
Let's not put configs in revision control.  use -dist or something to avoid conflicts or we can use a script to generate config files -- whatever we can do to avoid getting a conflict in a config.
Changes to settings_local.py shouldn't be getting reverted.  How did that happen?
(In reply to comment #6)
> Let's not put configs in revision control.
I mean we should, but not in a way that causes conflicts.  :)
I don't know but I'm punting to oremj.
Assignee: server-ops → jeremy.orem+bugs
Let's find out what caused the issue:
- rcs conflict on update
- git lock
- the code change
- another cause
Matthew, will you give me the full path to the file you edited?
mradm02:/data/generic_python/src/basket.mozilla.com/basket
The deploy script wasn't run. https://intranet.mozilla.org/DjangoApps#How_to_update_an_app .
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.