You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Greg Hill (JIRA)" <ji...@apache.org> on 2014/07/21 20:26:39 UTC

[jira] [Updated] (AMBARI-6293) Python client bootstrap hosts is broken

     [ https://issues.apache.org/jira/browse/AMBARI-6293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Hill updated AMBARI-6293:
------------------------------

    Attachment: AMBARI-6293.patch

Turning the array into a string before JSON-encoding is broken.  Not sure how that change ended up in trunk.

> Python client bootstrap hosts is broken
> ---------------------------------------
>
>                 Key: AMBARI-6293
>                 URL: https://issues.apache.org/jira/browse/AMBARI-6293
>             Project: Ambari
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.6.0, 1.6.1
>            Reporter: Greg Hill
>            Assignee: subin
>            Priority: Minor
>              Labels: newbie, patch
>             Fix For: 1.6.0
>
>         Attachments: AMBARI-6293.patch
>
>
> Because we do a string escape on the ssh key prior to doing a json encode on it, we get double-escaped characters.  This leads to a bunch of \\n characters in the key, causing ssh to reject the key and the bootstrap to fail.



--
This message was sent by Atlassian JIRA
(v6.2#6252)