ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kartik Mathur (JIRA)" <>
Subject [jira] [Created] (AMBARI-18422) Unable to cleanly delete host using ambari 2.2 rest API
Date Tue, 20 Sep 2016 06:47:20 GMT
Kartik Mathur created AMBARI-18422:

             Summary: Unable to cleanly delete host using ambari 2.2 rest API 
                 Key: AMBARI-18422
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server, blueprints
    Affects Versions: 2.2.0
            Reporter: Kartik Mathur
             Fix For: 2.2-next

I have a 7 node HDP 2.4 cluster with ambari 2.2

I am trying to delete a host using the following steps - 

I am using ambari rest apis- 

1) Decommission data node and node manager on the host
2) Stop all services running on the host
3) Delete all services on the host
uptill this point everything is fine
4) Delete host using the api
5) stop ambari-agent on the deleted host.

The problem is in step 4 , which always gives me "server error" while trying to delete and
the ambari logs gives "No Host" exception. 

Interestingly the host disappears from Ambari UI however the db is in an inconsistent state
and there are alerts complaining for dead data nodes. 

Even tried the same from Ambari UI but I get the same error.

This message was sent by Atlassian JIRA

View raw message