Di Li commented on AMBARI-21625:

Hello Balázs Bence Sári,

Tim and I gave our QA new steps and that appeared to have resolved the issue I 
reported here. I have talked to my QA and we decided it's ok to close this JIRA 
for now. I will reopen if he hit it in any way later on.

Please close it for now.


> Failed to update custom repos defined via service extension after such a 
> service is installed to cluster
> --------------------------------------------------------------------------------------------------------
>                 Key: AMBARI-21625
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21625
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.5.2
>            Reporter: Di Li
>            Assignee: Balázs Bence Sári
>             Fix For: 2.5.2
> 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/
>  ) for the repo id. It only reads repo ids defined in 
> /var/lib/ambari-server/resources/stacks/HDP/2.6/repos/repoinfo.xml

This message was sent by Atlassian JIRA

Reply via email to