Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
1.7.0
-
None
-
None
-
centos6.4
Description
1. Build RPM off trunk (8/20/2014) and install ambari-server
2. Define a new non-HDP stack in /var/lib/ambari-server/resources/stacks/PHD/2.1.0
3. Start Ambari Server, enter the cluster creation wizard, specify PHD 2.1.0 stack to create, enter hosts and try to navigate to step 4 "Choose Services"
4. No services are presented on the screen to choose from and further wizard progress is impossible.
The UI is requesting http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/PHD-2.1.0/services?fields=StackServices/*,serviceComponents/*&_=1408573789399 and receives the response:
{
"status" : 404,
"message" : "Parent Stack Version resource doesn't exist. Stack data, stackName=HDP, stackVersion=PHD-2.1.0"
}
where the name of the stack family is still hardcoded to HDP, instead of PHD.
The following API returns a proper list of services for the new stack: http://c6401.ambari.apache.org:8080/api/v1/stacks/PHD/versions/2.1.0