HPE OneView
cancel
Showing results for 
Search instead for 
Did you mean: 

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
ChrisLynchHPE
Neighborhood Moderator

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

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