You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/04/04 17:54:00 UTC
[jira] [Commented] (AMBARI-23440) 404 error while setting up SSO on
a new cluster
[ https://issues.apache.org/jira/browse/AMBARI-23440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16425925#comment-16425925 ]
Hudson commented on AMBARI-23440:
---------------------------------
FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8980 (See [https://builds.apache.org/job/Ambari-trunk-Commit/8980/])
AMBARI-23440. Receiving HTTP error code of 404 when fetching (rlevas: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=e1d45a0884d9fd7ff5a82fc5ac48f7df1a027410])
* (edit) ambari-server/src/test/python/TestSetupSso.py
* (edit) ambari-server/src/main/python/ambari_server/setupSso.py
> 404 error while setting up SSO on a new cluster
> ------------------------------------------------
>
> Key: AMBARI-23440
> URL: https://issues.apache.org/jira/browse/AMBARI-23440
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.7.0
> Reporter: Sandor Molnar
> Assignee: Sandor Molnar
> Priority: Critical
> Labels: SSO, pull-request-available, security
> Fix For: 2.7.0
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> When setting up SSO via the Ambari server CLI using a new Ambari server instance, the following error is encountered:
> {noformat}
> [root@c7401 ~]# ambari-server setup-sso
> Using python /usr/bin/python
> Setting up SSO authentication properties...
> Enter Ambari Admin login: admin
> Enter Ambari Admin password:
> Fetching SSO configuration from DB.ERROR: Exiting with exit code 1.
> REASON: Error while fetching SSO configuration. Error details: HTTP Error 404: Not Found
> {noformat}
> This is caused by the lack of the {{sso-configuration}} category in the Ambari configuration set - which will be a common scenario for new Ambari clusters.
> {noformat}
> GET /api/v1/services/AMBARI/components/AMBARI_SERVER/configurations/sso-configuration
> {noformat}
> {noformat}
> {
> "status" : 404,
> "message" : "The requested resource doesn't exist: RootServiceComponentConfiguration not found where Configuration/service_name=AMBARI AND Configuration/component_name=AMBARI_SERVER AND Configuration/category=sso-configuration."
> }
> {noformat}
> The CLI handle this response and assume the following default values:
> {noformat}
> ambari.sso.manage_services = false
> ambari.sso.enabled_services =
> {noformat}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)