Closed DungKHoang closed 3 years ago
@DungKHoang , please share the playbook you have used.
I use the synergy_environment_setup.yml in the examples folder
Going forward, all the enhancement requests will be addressed in the NEW HPE OneView Ansible Collection. Please consider migration to the Ansible Collection. Migration support material can be found in the Migration Support folder.
We have added this resource in our ansible collections backlog. https://github.com/HewlettPackard/oneview-ansible-collection
Scenario/Intent
create logical disk in server profile
Environment Details
Module Version: current master - v5.1.1
Ansible Version:2.64
OneView Appliance Version: 4.10.03-364293
OneView Client API Version: 600
Python Version: 2.710
python-hpOneView SDK Version: v4.7
Platform: Ubuntu 18
Steps to Reproduce
using the example sysnergy_environment_setup, in the localstorage --> sasLogicalJBOD, the attribute sasLogicalJBODUri is not supported
Expected Result
Actual Result
Error: unrecognized JSON field An exception occurred during task execution. To see the full traceback, use -vvv. The error was: HPOneViewException: (u'Unrecognized JSON field.', {u'errorSource': None, u'recommendedActions': [u'Check the valid fields for this JSON object and remove or correct the unrecognized field.'], u'data': {}, u'errorCode': u'UNRECOGNIZED_JSON_FIELD', u'details': u'The field named sasLogicalJBODUri near line 1, column 1,607 is not a valid field in this JSON object.', u'message': u'Unrecognized JSON field.', u'nestedErrors': []})