incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-3082) Ambari-Client Some bad api calls does not raise exceptions
Date Tue, 03 Sep 2013 19:39:52 GMT
Andrew Onischuk created AMBARI-3082:
---------------------------------------

             Summary: Ambari-Client Some bad api calls does not raise exceptions
                 Key: AMBARI-3082
                 URL: https://issues.apache.org/jira/browse/AMBARI-3082
             Project: Ambari
          Issue Type: Task
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk


E.g: 
Let's execute create_host on the host dev05.hortonworks.com, which is not registered:
{code}
hosts.create_host(client, 'dev05.hortonworks.com', '192.168.56.105')
{code}

We will the this errorcode after calling the api call, but no exception is raised
{code}
{
  "status" : 400,
  "message" : "Attempted to add unknown hosts to a cluster.  These hosts have not been registered
with the server: dev05.hortonworks.com"
}
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message