Alexander Denissov created AMBARI-6964:
------------------------------------------

             Summary: List of services from Non-HDP stack is not available on UI
                 Key: AMBARI-6964
                 URL: https://issues.apache.org/jira/browse/AMBARI-6964
             Project: Ambari
          Issue Type: Bug
    Affects Versions: 1.7.0
         Environment: centos6.4
            Reporter: Alexander Denissov
            Priority: Critical


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



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to