HewlettPackard / oneview-ansible

This project is no longer being developed and has limited support. Please use the newer Ansible Collection project: https://github.com/HewlettPackard/oneview-ansible-collection
Apache License 2.0
104 stars 65 forks source link

Server profile - logical disk and sasLogicalJBODUri #386

Closed DungKHoang closed 3 years ago

DungKHoang commented 5 years ago

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': []})

sijeesh commented 5 years ago

@DungKHoang , please share the playbook you have used.

DungKHoang commented 5 years ago

I use the synergy_environment_setup.yml in the examples folder

VenkateshRavula commented 3 years ago

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