Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Cannot Reproduce
-
2.5.2
-
None
Description
This should be a general issue that can be reproduced by having a service as an extension. add it to an HDP 2.6.2/Ambari 2.5.2 cluster, then try to update repos for the HDP 2.6.2 stack.
Our QA hit on BigSQL, but it doesn't have to be BigSQL to reproduce.
Our QA hit the following error on HDP/HDP upgrade ( will most likely to hit it also on the migration):
Case HDP 2.4/BigSQL 4.2.5 upgrade to HDP 2.5.1/BigSQL 5.0.1
Error Updating BigSQL URL via UI and via REST API throws errors, after adding BigSQL back to the cluster post HDP 2.5.1 EU.
```Via UI: The validation will fail with ambari server side error:
An internal syste
m exception occurred: Stack data, stackName=HDP, stackVersion= 2.5, osType=redhat7,
repoId= IBM-Big_SQL
Via REST API:
{
"status" : 404,
"message" : "org.apache.ambari.server.controller.spi.NoSuchResourceException: The specified resource doesn't exist: Stack data, stackName=HDP, stackVersion= 2.5, osType=redhat7, repoId= IBM-Big_SQL"
}```
Investigation: Ambari server failed to reads BigSQL's repoinfo.xml (defined as part of the extension /var/lib/ambari-server/resources/extensions/IBM-Big_SQL/5.0.1.0/services/BIGSQL/repos/repoinfo.xml ) for the repo id. It only reads repo ids defined in /var/lib/ambari-server/resources/stacks/HDP/2.6/repos/repoinfo.xml
Attachments
Issue Links
- is related to
-
AMBARI-15538 Support service-specific repo for add-on services
-
- Resolved
-