Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.7.3
-
None
-
None
Description
Problems Statement : Currently i am having service administrator privilage in my cluster. i am trying to create Custom Alert in ambari and its failing with above exception :
curl -u TestUser:admin -i -H 'X-Requested-By:ambari' -X POST -d @alertsjson.txt http://test1:8080/api/v1/clusters/test1/alert_definitions HTTP/1.1 100 Continue HTTP/1.1 403 Forbidden X-Frame-Options: DENY X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff Cache-Control: no-store Pragma: no-cache Set-Cookie: AMBARISESSIONID=9g1ieqg3rijo1tuclt3dxkedl;Path=/;HttpOnly Expires: Thu, 01 Jan 1970 00:00:00 GMT User: TestUser Content-Type: text/plain Content-Length: 109 { "status" : 403, "message" : "The authenticated user is not authorized to manage cluster-level alerts" }
But i feel as i am service administrator i should be able to create a alert.
Currently only Ambari Administrator is able to create alert in ambaril