[openstack-dev] [Congress] Error running scripts/run_api_server

Peter Balland pballand at vmware.com
Fri Jun 20 16:58:42 UTC 2014

Hi Madhu,

That script is a legacy holdover from a proof-of-concept done some time back.  Since that time, we have refined the policy and API designs, and should have the new code ready for testing in the next couple of days.

- Peter

From: Madhu Mohan Nelemane <snmohan83 at gmail.com<mailto:snmohan83 at gmail.com>>
Reply-To: "OpenStack Development Mailing List (not for usage questions)" <openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>>
Date: Thursday, June 19, 2014 at 11:03 PM
To: "openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>" <openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>>
Subject: [openstack-dev] [Congress] Error running scripts/run_api_server


I recently cloned the latest Congress source code and tried to run unit-tests on my Ubuntu PC. Using "scripts/run_api_server", I found this following error:

Jun 20 11:28:11|0|__main__|INFO|Starting congress server
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/eventlet/greenpool.py", line 80, in _spawn_n_impl
    func(*args, **kwargs)
  File "server.py", line 82, in ad_update_thread
    ad_model.update_from_ad()  # XXX: blocks eventlet
  File "/home/madhu/Project/policyFW/congress/congress/server/ad_sync.py", line 72, in update_from_ad
    l.simple_bind_s(BIND_USER, BIND_PW)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 206, in simple_bind_s
    msgid = self.simple_bind(who,cred,serverctrls,clientctrls)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 200, in simple_bind
    return self._ldap_call(self._l.simple_bind,who,cred,EncodeControlTuples(serverctrls),EncodeControlTuples(clientctrls))
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 96, in _ldap_call
    result = func(*args,**kwargs)
SERVER_DOWN: {'desc': "Can't contact LDAP server"}
(5065) wsgi starting up on<https://urldefense.proofpoint.com/v1/url?u=>

Does other guys face this error too ?
Am i missing any prerequisite to run the congress unit-test ?

"make" was successful and had no issues.

Please suggest a way to proceed further.

Thanks and Regards,
Madhu Mohan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140620/62170fe4/attachment.html>

More information about the OpenStack-dev mailing list