[
https://issues.apache.org/jira/browse/AMBARI-4921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13948358#comment-13948358
]
Jeff Sposetti commented on AMBARI-4921:
---------------------------------------
The props are in the stack definition:
https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/configuration/global.xml
But the /stacks is not returning the props that have empty default values.
"configurations" : [
{
"href" :
"http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.0.6/stackServices/NAGIOS/configurations/nagios_group",
"StackConfigurations" : {
"property_name" : "nagios_group",
"service_name" : "NAGIOS",
"stack_name" : "HDP",
"stack_version" : "2.0.6"
}
},
{
"href" :
"http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.0.6/stackServices/NAGIOS/configurations/nagios_user",
"StackConfigurations" : {
"property_name" : "nagios_user",
"service_name" : "NAGIOS",
"stack_name" : "HDP",
"stack_version" : "2.0.6"
}
},
{
"href" :
"http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.0.6/stackServices/NAGIOS/configurations/nagios_web_login",
"StackConfigurations" : {
"property_name" : "nagios_web_login",
"service_name" : "NAGIOS",
"stack_name" : "HDP",
"stack_version" : "2.0.6"
}
}
> Provisioning cluster via API is broken due to global/user_group configuration
> property being required
> -----------------------------------------------------------------------------------------------------
>
> Key: AMBARI-4921
> URL: https://issues.apache.org/jira/browse/AMBARI-4921
> Project: Ambari
> Issue Type: Bug
> Affects Versions: 1.5.0
> Reporter: John Speidel
> Priority: Blocker
> Fix For: 1.5.0
>
>
> The configuration property "global/user_group" is now required for cluster
> install but not included in the stack configuration. Instead, this property
> is only set via the Ambari UI. Clients who currently provision clusters via
> the Ambari REST API are now broken due to the addition of this property.
> This includes OpenStack Savanna and Ambari Blueprints.
> There are 2 issues here.
> - A new required configuration was added. Existing users of the API will not
> know to provide this configuration property and will therefore be broken.
> This property shouldn't be required and should have a default if not
> specified.
> - This property should be included in all of the stack definitions that
> require it. The work being done in Ambari Blueprints uses the stack
> configurations as defaults and since this property is not included in the
> stack definition, it is not being set which causes an install failure.
--
This message was sent by Atlassian JIRA
(v6.2#6252)