We are using the Ansible Modules to run some testing.
We are using the Ansible Modules to run some testing. Anytime we try to use the purefa_info module in the purestorage.flasharray collection. This is the error we get, other modules work fine. Anyone encounter this have any guidance. `TASK [Grab info] ***********************************************************************************************************************************************************************************` fatal: [localhost]: FAILED! => {“changed”: false, “module_stderr”: “/usr/local/Cellar/ansible/7.3.0/libexec/lib/python3.11/site-packages/urllib3/connectionpool.py InsecureRequestWarning: Unverified HTTPS request is being made to host ‘http://us-wcp-sp-pur-lab-01.qvcdev.qvc.net|us-wcp-sp-pur-lab-01.qvcdev.qvc.net’. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings\n warnings.warn(\n/usr/local/Cellar/ansible/7.3.0/libexec/lib/python3.11/site-packages/urllib3/connectionpool.py InsecureRequestWarning: Unverified HTTPS request is being made to host ‘http://us-wcp-sp-pur-lab-01.qvcdev.qvc.net|us-wcp-sp-pur-lab-01.qvcdev.qvc.net’. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings\n warnings.warn(\n/usr/local/Cellar/ansible/7.3.0/libexec/lib/python3.11/site-packages/urllib3/connectionpool.py InsecureRequestWarning: Unverified HTTPS request is being made to host ‘http://us-wcp-sp-pur-lab-01.qvcdev.qvc.net|us-wcp-sp-pur-lab-01.qvcdev.qvc.net’. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings\n warnings.warn(\n/usr/local/Cellar/ansible/7.3.0/libexec/lib/python3.11/site-packages/urllib3/connectionpool.py InsecureRequestWarning: Unverified HTTPS request is being made to host ‘http://us-wcp-sp-pur-lab-01.qvcdev.qvc.net|us-wcp-sp-pur-lab-01.qvcdev.qvc.net’. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings\n warnings.warn(\n/usr/local/Cellar/ansible/7.3.0/libexec/lib/python3.11/site-packages/urllib3/connectionpool.py InsecureRequestWarning: Unverified HTTPS request is being made to host ‘http://us-wcp-sp-pur-lab-01.qvcdev.qvc.net|us-wcp-sp-pur-lab-01.qvcdev.qvc.net’. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings\n warnings.warn(\n/usr/local/Cellar/ansible/7.3.0/libexec/lib/python3.11/site-packages/urllib3/connectionpool.py InsecureRequestWarning: Unverified HTTPS request is being made to host ‘http://us-wcp-sp-pur-lab-01.qvcdev.qvc.net|us-wcp-sp-pur-lab-01.qvcdev.qvc.net’. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings\n warnings.warn(\n/usr/local/Cellar/ansible/7.3.0/libexec/lib/python3.11/site-packages/urllib3/connectionpool.py InsecureRequestWarning: Unverified HTTPS request is being made to host ‘http://us-wcp-sp-pur-lab-01.qvcdev.qvc.net|us-wcp-sp-pur-lab-01.qvcdev.qvc.net’. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings\n warnings.warn(\n/usr/local/Cellar/ansible/7.3.0/libexec/lib/python3.11/site-packages/urllib3/connectionpool.py InsecureRequestWarning: Unverified HTTPS request is being made to host ‘http://us-wcp-sp-pur-lab-01.qvcdev.qvc.net|us-wcp-sp-pur-lab-01.qvcdev.qvc.net’. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings\n warnings.warn(\n/usr/local/Cellar/ansible/7.3.0/libexec/lib/python3.11/site-packages/urllib3/connectionpool.py InsecureRequestWarning: Unverified HTTPS request is being made to host ‘http://us-wcp-sp-pur-lab-01.qvcdev.qvc.net|us-wcp-sp-pur-lab-01.qvcdev.qvc.net’. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings\n warnings.warn(\n/usr/local/Cellar/ansible/7.3.0/libexec/lib/python3.11/site-packages/urllib3/connectionpool.py InsecureRequestWarning: Unverified HTTPS request is being made to host ‘http://us-wcp-sp-pur-lab-01.qvcdev.qvc.net|us-wcp-sp-pur-lab-01.qvcdev.qvc.net’. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings\n warnings.warn(\n/usr/local/Cellar/ansible/7.3.0/libexec/lib/python3.11/site-packages/urllib3/connectionpool.py InsecureRequestWarning: Unverified HTTPS request is being made to host ‘http://us-wcp-sp-pur-lab-01.qvcdev.qvc.net|us-wcp-sp-pur-lab-01.qvcdev.qvc.net’. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings\n warnings.warn(\nTraceback (most recent call last):\n File \“/Users/q1431233/.ansible/tmp/ansible-tmp-1680037549.953009-19922-124783552331072/AnsiballZ_purefa_info.py\“, line 107, in <module>\n _ansiballz_main()\n File \“/Users/q1431233/.ansible/tmp/ansible-tmp-1680037549.953009-19922-124783552331072/AnsiballZ_purefa_info.py\“, line 99, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \“/Users/q1431233/.ansible/tmp/ansible-tmp-1680037549.953009-19922-124783552331072/AnsiballZ_purefa_info.py\“, line 47, in invoke_module\n runpy.run_module(mod_name=‘ansible_collections.purestorage.flasharray.plugins.modules.purefa_info’, init_globals=dict(_module_fqn=‘ansible_collections.purestorage.flasharray.plugins.modules.purefa_info’, _modlib_path=modlib_path),\n File \“<frozen runpy>\“, line 226, in run_module\n File \“<frozen runpy>\“, line 98, in _run_module_code\n File \“<frozen runpy>\“, line 88, in _run_code\n File \“/var/folders/fb/vw9q4b9d5xs9wmrsx3s56cdjsggj6w/T/ansible_purefa_info_payload_wsm285r2/ansible_purefa_info_payload.zip/ansible_collections/purestorage/flasharray/plugins/modules/purefa_info.py\“, line 2083, in <module>\n File \“/var/folders/fb/vw9q4b9d5xs9wmrsx3s56cdjsggj6w/T/ansible_purefa_info_payload_wsm285r2/ansible_purefa_info_payload.zip/ansible_collections/purestorage/flasharray/plugins/modules/purefa_info.py\“, line 2008, in main\n File \“/var/folders/fb/vw9q4b9d5xs9wmrsx3s56cdjsggj6w/T/ansible_purefa_info_payload_wsm285r2/ansible_purefa_info_payload.zip/ansible_collections/purestorage/flasharray/plugins/modules/purefa_info.py\“, line 583, in generate_config_dict\n File \“/usr/local/lib/python3.11/site-packages/pypureclient/flasharray/FA_2_17/client.py\“, line 7133, in get_directory_services\n return self._call_api(endpoint, kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \“/usr/local/lib/python3.11/site-packages/pypureclient/flasharray/FA_2_17/client.py\“, line 28551, in _call_api\n response = api_function(**kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^\n File \“/usr/local/lib/python3.11/site-packages/pypureclient/flasharray/FA_2_17/api/directory_services_api.py\“, line 132, in api217_directory_services_get_with_http_info\n return self.api_client.call_api(\n ^^^^^^^^^^^^^^^^^^^^^^^^^\n File \“/usr/local/lib/python3.11/site-packages/pypureclient/flasharray/FA_2_17/api_client.py\“, line 327, in call_api\n return self.__call_api(resource_path, method,\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \“/usr/local/lib/python3.11/site-packages/pypureclient/flasharray/FA_2_17/api_client.py\“, line 170, in __call_api\n return_data = self.deserialize(response_data, response_type)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \“/usr/local/lib/python3.11/site-packages/pypureclient/flasharray/FA_2_17/api_client.py\“, line 243, in deserialize\n return self.__deserialize(data, response_type)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \“/usr/local/lib/python3.11/site-packages/pypureclient/flasharray/FA_2_17/api_client.py\“, line 282, in __deserialize\n return self.__deserialize_model(data, klass)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \“/usr/local/lib/python3.11/site-packages/pypureclient/flasharray/FA_2_17/api_client.py\“, line 632, in __deserialize_model\n kwargs[attr] = self.__deserialize(value, attr_type)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \“/usr/local/lib/python3.11/site-packages/pypureclient/flasharray/FA_2_17/api_client.py\“, line 259, in __deserialize\n return [self.__deserialize(sub_data, sub_kls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \“/usr/local/lib/python3.11/site-packages/pypureclient/flasharray/FA_2_17/api_client.py\“, line 259, in <listcomp>\n return [self.__deserialize(sub_data, sub_kls)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \“/usr/local/lib/python3.11/site-packages/pypureclient/flasharray/FA_2_17/api_client.py\“, line 282, in __deserialize\n return self.__deserialize_model(data, klass)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \“/usr/local/lib/python3.11/site-packages/pypureclient/flasharray/FA_2_17/api_client.py\“, line 634, in __deserialize_model\n instance = klass(**kwargs)\n ^^^^^^^^^^^^^^^\n File \“/usr/local/lib/python3.11/site-packages/pypureclient/flasharray/FA_2_17/models/directory_service.py\“, line 96, in __init__\n http://self.ca|self.ca_certificate = ca_certificate\n ^^^^^^^^^^^^^^^^^^^\n File \“/usr/local/lib/python3.11/site-packages/pypureclient/flasharray/FA_2_17/models/directory_service.py\“, line 113, in __setattr__\n raise ValueError(\“Invalid value for `ca_certificate`, length must be less than or equal to `3000`\“)\nValueError: Invalid value for `ca_certificate`, length must be less than or equal to `3000`\n”, “module_stdout”: “”, “msg”: “MODULE FAILURE\nSee stdout/stderr for the exact error”, “rc”: 1}6Views0likes0Comments