Swift install failing and report one error
TASK [swift : Swift sanity checks] *********************************************************************************************************
FAILED - RETRYING: Swift sanity checks (10 retries left).
FAILED - RETRYING: Swift sanity checks (9 retries left).
FAILED - RETRYING: Swift sanity checks (8 retries left).
FAILED - RETRYING: Swift sanity checks (7 retries left).
FAILED - RETRYING: Swift sanity checks (6 retries left).
FAILED - RETRYING: Swift sanity checks (5 retries left).
FAILED - RETRYING: Swift sanity checks (4 retries left).
FAILED - RETRYING: Swift sanity checks (3 retries left).
FAILED - RETRYING: Swift sanity checks (2 retries left).
FAILED - RETRYING: Swift sanity checks (1 retries left).
fatal: [openstack01]: FAILED! => {"attempts": 10, "changed": false, "cmd": ["docker", "exec", "-t", "kolla_toolbox", "ansible", "localhost", "-m", "kolla_sanity", "-a", "service=swift project=service user=admin password=ouYC4eXOoOccaRBZbdymyEvCZ0oxNhrnv160vcEI role=admin region_name=RegionOne auth={{ openstack_swift_auth }}", "-e", "{'openstack_swift_auth':{u'username': u'admin', u'project_name': u'admin', u'user_domain_name': u'default', u'domain_name': u'default', u'auth_url': u'http://10.16.138.230:35357', u'password': u'admin'}}"], "delta": "0:00:01.357204", "end": "2020-04-22 17:23:18.518583", "msg": "non-zero return code", "rc": 2, "start": "2020-04-22 17:23:17.161379", "stderr": "", "stderr_lines": [], "stdout": "localhost | FAILED! => {\r\n \"changed\": true, \r\n \"failed\": true, \r\n \"msg\": \"'Traceback (most recent call last):\\\\n File \\\"/tmp/ansible_K9mOqn/ansible_module_kolla_sanity.py\\\", line 53, in main\\\\n cloud = shade.operator_cloud(**module.params)\\\\n File \\\"/opt/ansible/lib/python2.7/site-packages/shade/__init__.py\\\", line 127, in operator_cloud\\\\n cloud_config = config.get_one_cloud(**kwargs)\\\\n File \\\"/opt/ansible/lib/python2.7/site-packages/os_client_config/config.py\\\", line 1088, in get_one_cloud\\\\n auth_plugin = loader.load_from_options(**config[\\\\'auth\\\\'])\\\\n File \\\"/opt/ansible/lib/python2.7/site-packages/keystoneauth1/loading/base.py\\\", line 162, in load_from_options\\\\n raise exceptions.MissingRequiredOptions(missing_required)\\\\nMissingRequiredOptions: Auth plugin requires parameters which were not given: auth_url\\\\n'\"\r\n}", "stdout_lines": ["localhost | FAILED! => {", " \"changed\": true, ", " \"failed\": true, ", " \"msg\": \"'Traceback (most recent call last):\\\\n File \\\"/tmp/ansible_K9mOqn/ansible_module_kolla_sanity.py\\\", line 53, in main\\\\n cloud = shade.operator_cloud(**module.params)\\\\n File \\\"/opt/ansible/lib/python2.7/site-packages/shade/__init__.py\\\", line 127, in operator_cloud\\\\n cloud_config = config.get_one_cloud(**kwargs)\\\\n File \\\"/opt/ansible/lib/python2.7/site-packages/os_client_config/config.py\\\", line 1088, in get_one_cloud\\\\n auth_plugin = loader.load_from_options(**config[\\\\'auth\\\\'])\\\\n File \\\"/opt/ansible/lib/python2.7/site-packages/keystoneauth1/loading/base.py\\\", line 162, in load_from_options\\\\n raise exceptions.MissingRequiredOptions(missing_required)\\\\nMissingRequiredOptions: Auth plugin requires parameters which were not given: auth_url\\\\n'\"", "}"]}
fatal: [openstack01]: FAILED! => {
"attempts": 10,
"changed": false,
"cmd": [
"docker",
"exec",
"-t",
"kolla_toolbox",
"ansible",
"localhost",
"-m",
"kolla_sanity",
"-a",
"service=swift project=service user=admin password=ouYC4eXOoOccaRBZbdymyEvCZ0oxNhrnv160vcEI role=admin region_name=RegionOne auth={{ openstack_swift_auth }}",
"-e",
"{'openstack_swift_auth':{u'username': u'admin', u'project_name': u'admin', u'user_domain_name': u'default', u'domain_name': u'default', u'auth_url': u'http://10.16.138.230:35357', u'password': u'admin'}}"
],
"delta": "0:00:01.382304",
"end": "2020-04-22 17:36:12.926138",
"invocation": {
"module_args": {
"_raw_params": "docker exec -t kolla_toolbox ansible localhost -m kolla_sanity -a \"service=swift project=service user=admin password=ouYC4eXOoOccaRBZbdymyEvCZ0oxNhrnv160vcEI role=admin region_name=RegionOne auth={{ openstack_swift_auth }}\" -e \"{'openstack_swift_auth':{u'username': u'admin', u'project_name': u'admin', u'user_domain_name': u'default', u'domain_name': u'default', u'auth_url': u'http://10.16.138.230:35357', u'password': u'admin'}}\"",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"msg": "non-zero return code",
"rc": 2,
"start": "2020-04-22 17:36:11.543834",
"stderr": "",
"stderr_lines": [],
"stdout": "localhost | FAILED! => {\r\n \"changed\": true, \r\n \"failed\": true, \r\n \"msg\": \"'Traceback (most recent call last):\\\\n File \\\"/tmp/ansible_qKPtgC/ansible_module_kolla_sanity.py\\\", line 53, in main\\\\n cloud = shade.operator_cloud(**module.params)\\\\n File \\\"/opt/ansible/lib/python2.7/site-packages/shade/__init__.py\\\", line 127, in operator_cloud\\\\n cloud_config = config.get_one_cloud(**kwargs)\\\\n File \\\"/opt/ansible/lib/python2.7/site-packages/os_client_config/config.py\\\", line 1088, in get_one_cloud\\\\n auth_plugin = loader.load_from_options(**config[\\\\'auth\\\\'])\\\\n File \\\"/opt/ansible/lib/python2.7/site-packages/keystoneauth1/loading/base.py\\\", line 162, in load_from_options\\\\n raise exceptions.MissingRequiredOptions(missing_required)\\\\nMissingRequiredOptions: Auth plugin requires parameters which were not given: auth_url\\\\n'\"\r\n}",
"stdout_lines": [
"localhost | FAILED! => {",
" \"changed\": true, ",
" \"failed\": true, ",
" \"msg\": \"'Traceback (most recent call last):\\\\n File \\\"/tmp/ansible_qKPtgC/ansible_module_kolla_sanity.py\\\", line 53, in main\\\\n cloud = shade.operator_cloud(**module.params)\\\\n File \\\"/opt/ansible/lib/python2.7/site-packages/shade/__init__.py\\\", line 127, in operator_cloud\\\\n cloud_config = config.get_one_cloud(**kwargs)\\\\n File \\\"/opt/ansible/lib/python2.7/site-packages/os_client_config/config.py\\\", line 1088, in get_one_cloud\\\\n auth_plugin = loader.load_from_options(**config[\\\\'auth\\\\'])\\\\n File \\\"/opt/ansible/lib/python2.7/site-packages/keystoneauth1/loading/base.py\\\", line 162, in load_from_options\\\\n raise exceptions.MissingRequiredOptions(missing_required)\\\\nMissingRequiredOptions: Auth plugin requires parameters which were not given: auth_url\\\\n'\"",
"}"
]
}
Hmm, these are sanity checks failing, they are not tested. Having a quick glance over them, they all look terrible.
I suggest you disable sanity checks. Swift is tested regularly and real checks would be done via Tempest or just any valid Swift interaction.