[
https://issues.apache.org/jira/browse/AMBARI-9576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14317263#comment-14317263
]
Hudson commented on AMBARI-9576:
--------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #1741 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/1741/])
AMBARI-9576 - LDAP Sync: Port and Protocol hard coded
/usr/sbin/ambari-server.py (tbeerbower) (tbeerbower:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=52250d5e1df7e8b873e880f100ee59e52b3663ec)
* ambari-server/src/main/python/ambari_server/setupHttps.py
* ambari-server/src/test/python/TestAmbariServer.py
* ambari-server/src/main/python/ambari_server/setupSecurity.py
* ambari-server/src/main/python/ambari-server.py
* ambari-server/src/main/python/ambari_server/serverConfiguration.py
> LDAP Sync: Port and Protocol hard coded /usr/sbin/ambari-server.py
> ------------------------------------------------------------------
>
> Key: AMBARI-9576
> URL: https://issues.apache.org/jira/browse/AMBARI-9576
> Project: Ambari
> Issue Type: Bug
> Reporter: Tom Beerbower
> Assignee: Tom Beerbower
> Fix For: 2.0.0
>
> Attachments: AMBARI-9576.patch
>
>
> PROBLEM: User is unable to ldap sync with ambari server and LDAP SSL
> configured.
> It appears that /usr/sbin/ambari-server.py has the port of the api hard coded.
> {code}
> root@ml-ambari /var/log>ambari-server sync-ldap --all -v
> Using python /usr/bin/python2.6
> Syncing with LDAP...
> INFO: about to run command: ps -p 54735
> INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
> Enter Ambari Admin login: rayoung
> Enter Ambari Admin password:
> Syncing all.
> Calling API /api/v1/ldap_sync_events : [{'Event': {'specs':
> [{'principal_type': 'users', 'sync_type': 'all'}, {'principal_type':
> 'groups', 'sync_type': 'all'}]}}]
> ERROR: Exiting with exit code 1.
> REASON: Sync event creation failed. Error details: <urlopen error [Errno 111]
> Connection refused>
> {code}
> It can be worked around by manually editing ...
> {code}
> SERVER_API_PROTOCOL = 'http'
> SERVER_API_PORT = '8080'
> {code}
> in the python script or by turning off SSL and restarting Ambari.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)