<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hi Madhu,</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>- Peter</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Madhu Mohan Nelemane <<a href="mailto:snmohan83@gmail.com">snmohan83@gmail.com</a>><br>
<span style="font-weight:bold">Reply-To: </span>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Date: </span>Thursday, June 19, 2014 at 11:03 PM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>[openstack-dev] [Congress] Error running scripts/run_api_server<br>
</div>
<div><br>
</div>
<div>
<div>
<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="https://urldefense.proofpoint.com/v1/url?u=http://0.0.0.0:8080/&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=mYent%2BmR7V0sa7RY7M%2BpYzKVM7VyHMp6E0xzex5gq%2Fk%3D%0A&m=8TV%2BidBe1PGhPV6HDsWP1kAFjFUfm6tiNH45mjDGKTM%3D%0A&s=60b96fe30d991c8587c532155fad983594a5d43f2654e9e8d5e82cb74edff9dd">
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>
</div>
</div>
</span>
</body>
</html>