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 7811A2009EE for ; Wed, 18 May 2016 20:32:16 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 76D90160A26; Wed, 18 May 2016 18:32:16 +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 EA89A1609B0 for ; Wed, 18 May 2016 20:32:15 +0200 (CEST) Received: (qmail 22864 invoked by uid 500); 18 May 2016 18:32:15 -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 22786 invoked by uid 99); 18 May 2016 18:32:15 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 May 2016 18:32:15 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 978AF2C1FA9 for ; Wed, 18 May 2016 18:32:13 +0000 (UTC) Date: Wed, 18 May 2016 18:32:13 +0000 (UTC) From: "Jonathan Hurley (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-16717) Knox Gateway Uses Wrong Keystore After Upgrade MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 18 May 2016 18:32:16 -0000 [ https://issues.apache.org/jira/browse/AMBARI-16717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Hurley updated AMBARI-16717: ------------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) > Knox Gateway Uses Wrong Keystore After Upgrade > ---------------------------------------------- > > Key: AMBARI-16717 > URL: https://issues.apache.org/jira/browse/AMBARI-16717 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.1.0 > Reporter: Jonathan Hurley > Assignee: Jonathan Hurley > Priority: Critical > Fix For: 2.4.0 > > Attachments: AMBARI-16717.patch > > > When upgrading Knox, the {{data}} directory and its security artifacts are not copied over to the "versioned" data directory. This causes the {{gateway.jks}} keystore to be automatically re-generated. If the installation was using a custom keystore/certificate, then this will cause connections to be rejected after a successful startup. > {code:title=Knox 2.2 -> 2.3.0.0} > /usr/hdp/current/knox-server/data -> /var/lib/knox/data > {code} > {code:title=Knox 2.3.2.0+} > /usr/hdp/current/knox-server/data -> /var/lib/knox/data-2.3.2.0-1234 > {code} > As a result, after upgrading the {{/var/lib/knox/data-2.3.2.0-1234}} does not contain any of the security artifacts from the prior version. -- This message was sent by Atlassian JIRA (v6.3.4#6332)