Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
2.7.0
Description
When setting up SSO via the Ambari server CLI using a new Ambari server instance, the following error is encountered:
[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
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.
GET /api/v1/services/AMBARI/components/AMBARI_SERVER/configurations/sso-configuration
{ "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." }
The CLI handle this response and assume the following default values:
ambari.sso.manage_services = false ambari.sso.enabled_services =
Attachments
Issue Links
- links to