Joao Victor Portal 277c64bed7 Fix FM error messages for forbidden requests
The CLI error messages for users with reader role were not clear to the
operator and this change fixes this.

Test Plan:

PASS: In an AIO-SX with this change present, create a new openstack user
with reader role and through this user execute the commands:
fm alarm-list
fm alarm-delete <uuid>
fm event-suppress --alarm_id <alarm_id>
and check that the "alarm-list" command is executed without errors and
that the error message of the other commands changes from:
"HTTP Client Error (HTTP 403) (Request-ID: req-<req_id>)"
to:
"Error: Forbidden."

Story: 2010149
Task: 46620

Signed-off-by: Joao Victor Portal <Joao.VictorPortal@windriver.com>
Change-Id: I45007a7f5319ef0a0238a07d671a859b5081660a
2022-10-20 20:47:13 -03:00
2022-04-09 17:51:12 +00:00
2019-04-19 19:52:34 +00:00
2021-09-01 08:58:34 -04:00
2018-05-31 07:36:00 -07:00
2021-09-27 12:53:01 -04:00

fault

StarlingX Fault Management

Description
StarlingX Fault Management
Readme 5.7 MiB
Languages
Python 60.7%
C++ 31.8%
Shell 3.2%
C 3.1%
Makefile 1.1%