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

API Call to change the repository configuration doesn't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.7.1
    • None
    • ambari-sever
    • None

    Description

      Updating the repository configuration through the API call isn't working. After submitting the request, a status 200 is received and an update repo configuration line is printed in the ambari-audit.log, but the public repo still is used in the installation.

       

      Attached:

      • curl PUT request to update repo configuration
      • json file containing desired configuration
      • ambari-audit.log showing the update
      • curl GET request to retrieve the values after performing the PUT

       

      Attachments

        1. ambari-audit.log
          2 kB
          Paulo Moraes Moura
        2. curl_get_new_repo.txt
          2 kB
          Paulo Moraes Moura
        3. curl_put_new_repo.txt
          1 kB
          Paulo Moraes Moura
        4. hdp-3.0-repo.json
          0.4 kB
          Paulo Moraes Moura

        Activity

          People

            Unassigned Unassigned
            pmoraesm Paulo Moraes Moura
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: