You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Paulo Moraes Moura (JIRA)" <ji...@apache.org> on 2018/10/23 14:51:00 UTC

[jira] [Commented] (AMBARI-24809) API Call to change the repository configuration doesn't work

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

Paulo Moraes Moura commented on AMBARI-24809:
---------------------------------------------

Just discovered that the repo customization should be done throught the version definition since Ambari 2.6.

Maybe displaying a deprecated warning to any calls made to the old api would be helpful.

> API Call to change the repository configuration doesn't work
> ------------------------------------------------------------
>
>                 Key: AMBARI-24809
>                 URL: https://issues.apache.org/jira/browse/AMBARI-24809
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-sever
>    Affects Versions: 2.7.1
>            Reporter: Paulo Moraes Moura
>            Priority: Major
>         Attachments: ambari-audit.log, curl_get_new_repo.txt, curl_put_new_repo.txt, hdp-3.0-repo.json
>
>
> 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
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)