Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25444

Deploy fails with 401:Unauthorized on HDP-GPL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • 2.7.5
    • None

    Description

      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

      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 

      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

      Attachments

        1. AMBARI-25444.patch
          1.0 kB
          Andrew Onischuk
        2. AMBARI-25444.patch
          2 kB
          Andrew Onischuk

        Activity

          People

            aonishuk Andrew Onischuk
            aonishuk Andrew Onischuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1.5h
                1.5h