Skip to content

Instantly share code, notes, and snippets.

@sjha4
Created June 19, 2019 18:11
Show Gist options
  • Save sjha4/0afdd783bac7cea56055b706f6b02155 to your computer and use it in GitHub Desktop.
Save sjha4/0afdd783bac7cea56055b706f6b02155 to your computer and use it in GitHub Desktop.
Ansible_sync_error
{
"code": null,
"description": "argument of type 'NoneType' is not iterable",
"traceback": " File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/rq/worker.py\", line 812, in perform_job\n rv = job.perform()\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/rq/job.py\", line 588, in perform\n self._result = self._execute()\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/rq/job.py\", line 594, in _execute\n return self.func(*self.args, **self.kwargs)\n File \"/usr/local/lib/pulp/src/pulp-ansible/pulp_ansible/app/tasks/collections.py\", line 65, in sync\n repository_spec_strings=repository_spec_strings,\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/ansible_galaxy/actions/install.py\", line 212, in install_repository_specs_loop\n force_overwrite=force_overwrite)\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/ansible_galaxy/actions/install.py\", line 99, in install_repositories_matching_repository_specs\n force_overwrite=force_overwrite)\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/ansible_galaxy/actions/install.py\", line 317, in install_repositories\n force_overwrite=force_overwrite)\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/ansible_galaxy/actions/install.py\", line 386, in install_repository\n find_results = install.find(fetcher)\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/ansible_galaxy/install.py\", line 24, in find\n find_results = fetcher.find()\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/ansible_galaxy/fetch/galaxy_url.py\", line 85, in find\n collection_detail_data = api.get_object(href=collection_detail_url)\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/ansible_galaxy/rest_api.py\", line 55, in wrapped\n server_version = self._get_server_api_version()\n File \"/usr/local/lib/pulp/lib64/python3.6/site-packages/ansible_galaxy/rest_api.py\", line 217, in _get_server_api_version\n if 'current_version' not in data:\n"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment