HPE OneView
1752761 Members
4952 Online
108789 Solutions
New Discussion юеВ

Re: Unable to clear alert using PowerShell OV module

 
R-G
Advisor

Unable to clear alert using PowerShell OV module

Has anyone expirienced the following error/warning when trying to clear an alert through the OV PowerShell module?

Remove-HPOVAlert : This user session is not authorized to associate {"name":"SYSTEM", "uri":"/rest/storage-systems/SERIALNUMBER"} with this resource. User session permission roles do not grant "Use" rights to the resource being associated to this resource. Retry
the action with permissions that grant "Use" rights to the resource category or request assistance from a user who is authorized to perform this action.
At line:1 char:36
+ Get-HPOVAlert -Severity critical | Remove-HPOVAlert
+ ~~~~~~~~~~~~~~~~

This is as a user with infrastrure administrator rights running HPOneView.410 (latest module) connected to 4.10.03 OV appliance. We are able to clear any other alerts bar this particular one. It is listed as a critical unassigned alert with a cleared status.

FYI we use Remove-HPOVAlert to clear alerts when we get spammed during maintanence or other works, for example:

Get-HPOVAlert -State Cleared -Count %Number% | Remove-HPOVAlert -Confirm:$false

2 REPLIES 2
Suvamay
HPE Pro

Re: Unable to clear alert using PowerShell OV module

Hello 

Please log a support ticket with HPE for further help. This required deep dive analysis of OV support dump and may need to have the VR session.

Thanks,

 

I'm an HPE employee.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
R-G
Advisor

Re: Unable to clear alert using PowerShell OV module

Thanks, will do.