ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lav Jain (JIRA)" <>
Subject [jira] [Created] (AMBARI-14582) Adding custom repository gives 404 error
Date Thu, 07 Jan 2016 23:45:39 GMT
Lav Jain created AMBARI-14582:

             Summary: Adding custom repository gives 404 error
                 Key: AMBARI-14582
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: trunk, 2.2.0
            Reporter: Lav Jain
            Priority: Minor

This JIRA is follow-up to

Adding repo using PUT API gives 404 (although it looks the repo was added)

*Method: PUT*

*URL:* {{}}

Authorization: 'Basic YWRtaW46YWRtaW4='
X-Requested-By: ambari

{"operating_systems": [{"repositories": [{"Repositories": {"repo_id": "PHD-", "base_url":
"", "repo_name": "PHD"}}, {"Repositories":
{"repo_id": "PHD-UTILS-", "base_url": "",
"repo_name": "PHD-UTILS"}}, {"Repositories": {"repo_id": "PIVOTAL-HDB", "base_url": "",
"repo_name": "PIVOTAL-HDB"}}], "OperatingSystems": {"os_type": "redhat6"}}]}

  "status" : 404,
  "message" : "org.apache.ambari.server.controller.spi.NoSuchResourceException: The specified
resource doesn't exist: Stack data, stackName=PHD, stackVersion= 3.3, osType=redhat6, repoId=

This message was sent by Atlassian JIRA

View raw message