Gün Turhal
unread,Jan 28, 2021, 12:55:33 PM1/28/21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AWX Project
TASK [local_docker : Remove AWX containers before migrating postgres so that the old postgres container does not get used] ***
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Cannot have both the docker-py and docker python modules (old and new version of Docker SDK for Python) installed together as they use the same namespace and cause a corrupt installation. Please uninstall both packages, and re-install only the docker-py or docker python module (for onex's Python /usr/bin/python3). It is recommended to install the docker module if no support for Python 2.6 is required. Please note that simply uninstalling one of the modules can leave the other module in a broken state."}
...ignoring
TASK [local_docker : Run migrations in task container] *************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "docker-compose run --rm --service-ports task awx-manage migrate --no-input", "delta": "0:00:00.244683", "end": "2021-01-28 18:51:58.782691", "msg": "non-zero return code", "rc": 1, "start": "2021-01-28 18:51:58.538008", "stderr": "Traceback (most recent call last):\n File \"/usr/local/bin/docker-compose\", line 8, in <module>\n sys.exit(main())\n File \"/usr/local/lib/python3.8/dist-packages/compose/cli/main.py\", line 71, in main\n command()\n File \"/usr/local/lib/python3.8/dist-packages/compose/cli/main.py\", line 124, in perform_command\n project = project_from_options('.', options)\n File \"/usr/local/lib/python3.8/dist-packages/compose/cli/command.py\", line 33, in project_from_options\n return get_project(\n File \"/usr/local/lib/python3.8/dist-packages/compose/cli/command.py\", line 121, in get_project\n client = get_client(\n File \"/usr/local/lib/python3.8/dist-packages/compose/cli/command.py\", line 92, in get_client\n client = docker_client(\n File \"/usr/local/lib/python3.8/dist-packages/compose/cli/docker_client.py\", line 127, in docker_client\n client = APIClient(**kwargs)\n File \"/usr/local/lib/python3.8/dist-packages/docker/api/client.py\", line 127, in __init__\n self._auth_configs = auth.load_config(\nTypeError: load_config() got an unexpected keyword argument 'config_dict'", "stderr_lines": ["Traceback (most recent call last):", " File \"/usr/local/bin/docker-compose\", line 8, in <module>", " sys.exit(main())", " File \"/usr/local/lib/python3.8/dist-packages/compose/cli/main.py\", line 71, in main", " command()", " File \"/usr/local/lib/python3.8/dist-packages/compose/cli/main.py\", line 124, in perform_command", " project = project_from_options('.', options)", " File \"/usr/local/lib/python3.8/dist-packages/compose/cli/command.py\", line 33, in project_from_options", " return get_project(", " File \"/usr/local/lib/python3.8/dist-packages/compose/cli/command.py\", line 121, in get_project", " client = get_client(", " File \"/usr/local/lib/python3.8/dist-packages/compose/cli/command.py\", line 92, in get_client", " client = docker_client(", " File \"/usr/local/lib/python3.8/dist-packages/compose/cli/docker_client.py\", line 127, in docker_client", " client = APIClient(**kwargs)", " File \"/usr/local/lib/python3.8/dist-packages/docker/api/client.py\", line 127, in __init__", " self._auth_configs = auth.load_config(", "TypeError: load_config() got an unexpected keyword argument 'config_dict'"], "stdout": "", "stdout_lines": []}