<div dir="ltr">Hi,<div><br></div><div>I recently cloned the latest Congress source code and tried to run unit-tests on my Ubuntu PC. Using "<b>scripts/run_api_server</b>", I found this following error:</div><div>
<br></div><div><i><br></i></div><div><div><i>Jun 20 11:28:11|0|__main__|INFO|Starting congress server</i></div><div><i>Traceback (most recent call last):</i></div><div><i> File "/usr/lib/python2.7/dist-packages/eventlet/greenpool.py", line 80, in _spawn_n_impl</i></div>
<div><i> func(*args, **kwargs)</i></div><div><i> File "server.py", line 82, in ad_update_thread</i></div><div><i> ad_model.update_from_ad() # XXX: blocks eventlet</i></div><div><i> File "/home/madhu/Project/policyFW/congress/congress/server/ad_sync.py", line 72, in update_from_ad</i></div>
<div><i> l.simple_bind_s(BIND_USER, BIND_PW)</i></div><div><i> File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 206, in simple_bind_s</i></div><div><i> msgid = self.simple_bind(who,cred,serverctrls,clientctrls)</i></div>
<div><i> File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 200, in simple_bind</i></div><div><i> return self._ldap_call(self._l.simple_bind,who,cred,EncodeControlTuples(serverctrls),EncodeControlTuples(clientctrls))</i></div>
<div><i> File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 96, in _ldap_call</i></div><div><i> result = func(*args,**kwargs)</i></div><div><i>SERVER_DOWN: {'desc': "Can't contact LDAP server"}</i></div>
<div><i>(5065) wsgi starting up on <a href="http://0.0.0.0:8080/">http://0.0.0.0:8080/</a></i></div></div><div><i><br></i></div><div>Does other guys face this error too ? </div><div>Am i missing any prerequisite to run the congress unit-test ?</div>
<div><br></div><div>"make" was successful and had no issues.</div><div><br></div><div>Please suggest a way to proceed further.<br></div><div><br></div><div>Thanks and Regards,</div><div>Madhu Mohan</div><div><br>
</div><div><br></div><div><br></div><div><br></div></div>