# ansible-playbook create-volume.yml
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not
match 'all'
PLAY [Creation of Volume Group and Volume] ************************************************************************
TASK [Gathering Facts] ********************************************************************************************
ok: [localhost]
TASK [Get list of volumes] ****************************************************************************************
ok: [localhost]
TASK [Create volume group without protection policy] **************************************************************
changed: [localhost]
TASK [Create volume] **********************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "error_code": 1, "msg": "Got error HTTP code: 400, Bad Request [{'messages': [{'code': '0xE04040020008', 'severity': 'Error', 'message_l10n': 'Unable to parse passed url.'}]}] while getting details of volume", "status_code": "400"}
PLAY RECAP ********************************************************************************************************
localhost : ok=3 changed=1 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
Expected behavior
The volume should be created successfully.
System Information (please complete the following information):
Describe the bug Calling the volume module to create a new volume but failed with the following message.
To Reproduce Steps to reproduce the behavior:
Expected behavior The volume should be created successfully.
System Information (please complete the following information):