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 CB4A3200CFC for ; Wed, 23 Aug 2017 22:05:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C7FC4161375; Wed, 23 Aug 2017 20:05:08 +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 ED37A16120E for ; Wed, 23 Aug 2017 22:05:07 +0200 (CEST) Received: (qmail 1016 invoked by uid 500); 23 Aug 2017 20:05:06 -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 1007 invoked by uid 99); 23 Aug 2017 20:05:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Aug 2017 20:05:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id E9E7CC32D7 for ; Wed, 23 Aug 2017 20:05:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-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-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Wd8UkIofc0Sq for ; Wed, 23 Aug 2017 20:05:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id D288F5F29A for ; Wed, 23 Aug 2017 20:05:04 +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 717A8E01A8 for ; Wed, 23 Aug 2017 20:05:03 +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 30BBC2538A for ; Wed, 23 Aug 2017 20:05:02 +0000 (UTC) Date: Wed, 23 Aug 2017 20:05:02 +0000 (UTC) From: "Robert Levas (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-21798) Oozie server crashes post migration after regen kerberos keytabs and restart all services MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 23 Aug 2017 20:05:09 -0000 [ https://issues.apache.org/jira/browse/AMBARI-21798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Levas updated AMBARI-21798: ---------------------------------- Description: This is specifically for the IOP *4.2.0 *to HDP migration Start with an IOP 4.2.0 cluster with both Oozie and Knox installed, enable Kerberos then run thru the migration. Once EU is finalized, regen Kerberos keytabs via Ambari web UI and check the checkbox to make Ambari restart all services as part of the regen process. Notice Oozie crashes after a successful restart with following error in the oozie.log file {noformat} 2017-08-23 12:39:48,480 FATAL Services:514 - SERVER[umiak2.fyre.ibm.com] E0550: Could not normalize host name [${host}], Could not resolve host [${host}], ${host}: Name or service not known org.apache.oozie.service.ServiceException: E0550: Could not normalize host name [${host}], Could not resolve host [${host}], ${host}: Name or service not known {noformat} This is because Knox kerberos.json in IOP 4.2.0 has oozie proxy setting as {{"oozie.service.ProxyUserService.proxyuser.knox.hosts": "$\{hosts\}",}} In HDP 2.6.2, the same property is now {{"oozie.service.ProxyUserService.proxyuser.$\{knox-env/knox_user\}.hosts": "$\{clusterHostInfo/knox_gateway_hosts\}"}}, where the $\{hosts\} placeholder is changed and Knox params.py no longer has the logic to calculate it . *A manual fix* is to change Kerboers config for Knox - update {{"oozie.service.ProxyUserService.proxyuser.knox.hosts"}} to have value {{"$\{clusterHostInfo/knox_gateway_hosts\}"}} ( done via UI, this will kick off regen keytabs and restart services) was: This is specifically for the IOP *4.2.0 *to HDP migration Start with an IOP 4.2.0 cluster with both Oozie and Knox installed, enable Kerberos then run thru the migration. Once EU is finalized, regen Kerberos keytabs via Ambari web UI and check the checkbox to make Ambari restart all services as part of the regen process. Notice Oozie crashes after a successful restart with following error in the oozie.log file 2017-08-23 12:39:48,480 FATAL Services:514 - SERVER[umiak2.fyre.ibm.com] E0550: Could not normalize host name [${host}], Could not resolve host [${host}], ${host}: Name or service not known org.apache.oozie.service.ServiceException: E0550: Could not normalize host name [${host}], Could not resolve host [${host}], ${host}: Name or service not known This is because Knox kerberos.json in IOP 4.2.0 has oozie proxy setting as "oozie.service.ProxyUserService.proxyuser.knox.hosts": "${hosts}", In HDP 2.6.2, the same property is now ""oozie.service.ProxyUserService.proxyuser.${knox-env/knox_user}.hosts": "${clusterHostInfo/knox_gateway_hosts}", where the ${hosts} placeholder is changed and Knox params.py no longer has the logic to calculate it . *A manual fix* is to change Kerboers config for Knox - update "oozie.service.ProxyUserService.proxyuser.knox.hosts" to have value "${clusterHostInfo/knox_gateway_hosts}" ( done via UI, this will kick off regen keytabs and restart services) > Oozie server crashes post migration after regen kerberos keytabs and restart all services > ----------------------------------------------------------------------------------------- > > Key: AMBARI-21798 > URL: https://issues.apache.org/jira/browse/AMBARI-21798 > Project: Ambari > Issue Type: Bug > Affects Versions: 2.5.2 > Reporter: Di Li > Assignee: Robert Levas > Fix For: 2.5.2 > > > This is specifically for the IOP *4.2.0 *to HDP migration > Start with an IOP 4.2.0 cluster with both Oozie and Knox installed, enable Kerberos then run thru the migration. Once EU is finalized, regen Kerberos keytabs via Ambari web UI and check the checkbox to make Ambari restart all services as part of the regen process. > Notice Oozie crashes after a successful restart with following error in the oozie.log file > {noformat} > 2017-08-23 12:39:48,480 FATAL Services:514 - SERVER[umiak2.fyre.ibm.com] E0550: Could not normalize host name [${host}], Could not resolve host [${host}], ${host}: Name or service not known > org.apache.oozie.service.ServiceException: E0550: Could not normalize host name [${host}], Could not resolve host [${host}], ${host}: Name or service not known > {noformat} > This is because Knox kerberos.json in IOP 4.2.0 has oozie proxy setting as > {{"oozie.service.ProxyUserService.proxyuser.knox.hosts": "$\{hosts\}",}} > In HDP 2.6.2, the same property is now > {{"oozie.service.ProxyUserService.proxyuser.$\{knox-env/knox_user\}.hosts": "$\{clusterHostInfo/knox_gateway_hosts\}"}}, where the $\{hosts\} placeholder is changed and Knox params.py no longer has the logic to calculate it . > *A manual fix* is to change Kerboers config for Knox - update {{"oozie.service.ProxyUserService.proxyuser.knox.hosts"}} to have value {{"$\{clusterHostInfo/knox_gateway_hosts\}"}} ( done via UI, this will kick off regen keytabs and restart services) -- This message was sent by Atlassian JIRA (v6.4.14#64029)