Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1446D200CE7 for ; Thu, 3 Aug 2017 01:15:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 126CE16A815; Wed, 2 Aug 2017 23:15:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 580BD16A814 for ; Thu, 3 Aug 2017 01:15:08 +0200 (CEST) Received: (qmail 54044 invoked by uid 500); 2 Aug 2017 23:15:07 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 54035 invoked by uid 99); 2 Aug 2017 23:15:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2017 23:15:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 05C4B1A037A for ; Wed, 2 Aug 2017 23:15:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id l6QVqo-KgF7p for ; Wed, 2 Aug 2017 23:15:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id A601B5FCB5 for ; Wed, 2 Aug 2017 23:15:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6A16EE07DD for ; Wed, 2 Aug 2017 23:15:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id B7B242464D for ; Wed, 2 Aug 2017 23:15:02 +0000 (UTC) Date: Wed, 2 Aug 2017 23:15:02 +0000 (UTC) From: "Siddharth Wagle (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (AMBARI-21625) Failed to update custom repos defined via service extension after such a service is installed to cluster MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 02 Aug 2017 23:15:09 -0000 [ https://issues.apache.org/jira/browse/AMBARI-21625?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Siddharth Wagle reassigned AMBARI-21625: ---------------------------------------- Assignee: Bal=C3=A1zs Bence S=C3=A1ri > 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=C3=A1zs Bence S=C3=A1ri > 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 h= it 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:=20 > An internal syste > m exception occurred: Stack data, stackName=3DHDP, stackVersion=3D 2.5, o= sType=3Dredhat7, > repoId=3D IBM-Big_SQL > Via REST API:=20 > { > "status" : 404, > "message" : "org.apache.ambari.server.controller.spi.NoSuchResourceExce= ption: The specified resource doesn't exist: Stack data, stackName=3DHDP, s= tackVersion=3D 2.5, osType=3Dredhat7, repoId=3D IBM-Big_SQL" > }``` > *Investigation*: Ambari server failed to reads BigSQL's repoinfo.xml (de= fined 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. I= t only reads repo ids defined in /var/lib/ambari-server/resources/stacks/HD= P/2.6/repos/repoinfo.xml -- This message was sent by Atlassian JIRA (v6.4.14#64029)