Closed abhirams-1 closed 1 year ago
thanks for contacting us. On analyzing this issue, we found out that REST calls are not returning JSON output in SV 8.3.1.5 (The build on which the issue is reported).
This is a known issue on SV 8.3.1.3 and 8.3.1.4 versions. The same is mentioned as a limitation in README as well (https://github.com/ansible-collections/ibm.spectrum_virtualize#limitation)
we will update the README to include 8.3.1.5 as well. The fix for this issue is present in 8.3.1.6 version.
For solution, we would recommend upgrading to other SV versions, upgrading to 8.3.1.6 would work, else 8.4.x and 8.5.x would also work.
@abhirams-1 Let me know if I can close this issue.
@abhirams-1 Closing this issue, in case you still face the issue, feel free to reopen it.
SUMMARY
When trying to create resources (user, volume, host, hostvdiskmap, etc.) the tasks fail with Python error. Despite errors, the resources are created, as evident when listing. The error appears to originate in _svc_rest method in ibm_svc_utils.py plugin as suggested by the log output.
ISSUE TYPE
COMPONENT NAME
ibm_svc_utils.py, ibm_svc_manage_user, ibm_svc_vdisk, ibm_svc_host, ibm_svc_vol_map
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
IBM FlashSystem 9100 version 8.3.1.5 (build 150.27.2104221539000)
STEPS TO REPRODUCE
EXPECTED RESULTS
Expecting user to be created without any errors.
ACTUAL RESULTS
User was created, but module failed with error.