Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Ansible is not able to connect to ONTAP - NetApp API failed
2022-07-28
08:21 PM
1,671 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Kindly help how to resolve the issue for automation of ontap with ansible
TASK [Volume Create] ***************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Error on vserver: “JPR_NETAPP_A400_1756_01_SVM”: NetApp API failed. Reason - Unexpected error:UnicodeEncodeError('latin-1', '“10.78.198.52”:443', 0, 1, 'ordinal not in range(256)')"}
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you recreate this and collect logging from EMS for the same timeframe so we can see the failure from storage?
::>event log show -time <MM/DD/YYYY HH:MM:SS>..<MM/DD/YYYY HH:MM:SS>
You would just need to fill in the 10 second window to when the test occurred in each section.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Playbooks are sensitive to copy paste that can alter spacing and indentation. Also EOL and tab characters. This could also be related to special characters. {, }, [, ], ,, &, :, *, #, ?, |. -, <. >, =, !, %, @, \. There are online validators for yaml files that may help you identify the issue if EMS does not reveal the issue.
