ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Hill <greg.h...@RACKSPACE.COM>
Subject setting maintenance mode doesn't return a request id
Date Thu, 21 Aug 2014 17:17:27 GMT
I have two ways that I know of to enable maintenance mode on a host, but it seems like neither
one returns a request id, where pretty much every other API call that generates a request
does return an id.  Is this a bug?

I'm testing against ambari 1.6.1

{"RequestInfo": {"query": "Hosts/", "context": "Start
Maintenance Mode"}, "Body": {"Hosts": {"maintenance_state": "ON"}}}

Response is a 200 with an empty response body.


{"RequestInfo": {"context": "Start Maintenance Mode"}, "Body": {"HostRoles": {"maintenance_state":

Same response.  200 OK, no body.

Thanks in advance for any help.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message