You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2019/12/09 16:07:00 UTC

[jira] [Commented] (AMBARI-25444) Deploy fails with 401:Unauthorized on HDP-GPL

    [ https://issues.apache.org/jira/browse/AMBARI-25444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16991732#comment-16991732 ] 

Hudson commented on AMBARI-25444:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-branch-2.7 #631 (See [https://builds.apache.org/job/Ambari-branch-2.7/631/])
AMBARI-25444. Deploy fails with 401:Unauthorized on HDP-GPL; whereas url (aonishuk: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=9d4dec96387b863dfae1aaa8724db8c4f350d73f])
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RepositoryResourceProvider.java


> Deploy fails with 401:Unauthorized on HDP-GPL
> ---------------------------------------------
>
>                 Key: AMBARI-25444
>                 URL: https://issues.apache.org/jira/browse/AMBARI-25444
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.7.5
>
>         Attachments: AMBARI-25444.patch, AMBARI-25444.patch
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> We are trying to deploy with paywalled repos of HDP and Ambari (ones supplied
> in RELENG-7654) but deploy is failing at client install with {code}
> RuntimeError: Failed to execute command '/usr/bin/yum -y install hdp-select',
> exited with code '1', message: 'https://****:****@archive-test.cloudera.com/p
> /HDP-GPL/centos7/3.x/BUILDS/3.1.5.0-139/repodata/repomd.xml: [Errno 14] HTTPS
> Error 401 - Unauthorized {code} This url is accessible with credentials RE has
> supplied ie; https://1055c7c3-1b7b-
> 43f6-80a7-3e72cb0f8912:Cloudera_TechPreview2@archive-test.cloudera.com/p/HDP-
> GPL/centos7/3.x/BUILDS/3.1.5.0-139/repodata/repomd.xml So not sure which
> credential is Ambari picking as from the error it looks like the credentials
> Ambari is using on this repo is incorrect. Could you please take a look Live
> cluster : http://172.27.136.132:8080/ Repo urls used here for deploy: Ambari :
> https://1055c7c3-1b7b-43f6-80a7-3e72cb0f8912:Cloudera_TechPreview2@archive-
> test.cloudera.com/p/ambari/2.7.5.0-64/centos7/ambaribn.repo HDP:
> https://1055c7c3-1b7b-43f6-80a7-3e72cb0f8912:Cloudera_TechPreview2@archive-
> test.cloudera.com/p/HDP/centos7/3.x/BUILDS/3.1.5.0-139 cc
> [~accountid:557058:af856db7-a0ad-
> 4e2b-b848-f11f481bf96f]/[~accountid:5dc59258b6e6b50c58af136b]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)