HPE OneView
1752565 Members
5569 Online
108788 Solutions
New Discussion

Authorization error: User not authorized for this operation.

 
venkatchidipudi
Occasional Visitor

Authorization error: User not authorized for this operation.

Hi Experts,

I am trying to upgrade oneview appliance through python script and function is "upload_fw()", The file uploading process showing successfully,finally I am getting the exception like  below:

 

Appliance Version : 1.20.05-0201918

Patch file : HP_OneView_1.20.05_upgrade_from_any_previous_version_Z7550-96169.bin

 

Traceback (most recent call last):

  File "hp_nfvsys_upload_fw.py", line 12, in <module>

    upload_details = OneView_Settings.upload_fw("/root/venkat/HP_OneView_1.20.05_upgrade_from_any_previous_version_Z7550-96169.bin","HP_OneView",verbose=True)

  File "/root/venkat/hpOneView/settings.py", line 58, in upload_fw

    raise HPOneViewException(body)

hpOneView.exceptions.HPOneViewException: {'errorCode': 'AUTHORIZATION', 'recommendedActions': ['Please verify your credentials and re-authenticate before attempting the operation again.'], 'data': {}, 'nestedErrors': [], 'message': 'Authorization error: User not authorized for this operation.', 'errorSource': None, 'details': 'User not authorized for this operation.'}

 

Please provide solution...

 

Thanks,

Venkat.

1 REPLY 1
ChrisLynch
HPE Pro

Re: Authorization error: User not authorized for this operation.

Please submit an Issue on the Python Library Issues Tracker for assistance.


I am an HPE employee

Accept or Kudo