When running kolla-ansible, it is failing on Glance service and endpoint creation step.
Following is the error message:
TASK: [glance | Creating the Glance service and endpoint] *********************
failed: [control01] => (item={'interface': 'admin', 'url': u'http://192.168.20.202:9292'}) => {"attempts": 10, "changed": false, "cmd": ["docker", "exec", "-t", "kolla_toolbox", "/usr/bin/ansible", "localhost", "-m", "kolla_keystone_service", "-a", "service_name=glance service_type=image description='Openstack Image' endpoint_region=RegionOne url='http://192.168.20.202:9292' interface='admin' region_name=RegionOne auth={# openstack_glance_auth #}", "-e", "{'openstack_glance_auth':{'username': 'admin', 'project_name': 'admin', 'password': 'password', 'auth_url': 'http://192.168.20.202:35357', 'domain_name': 'default'}}"], "delta": "0:01:15.678796", "end": "2016-04-08 06:16:07.253685", "failed": true, "item": {"interface": "admin", "url": "http://192.168.20.202:9292"}, "rc": 2, "start": "2016-04-08 06:14:51.574889", "stdout_lines": ["localhost | FAILED! => {", " \"changed\": false, ", " \"failed\": true, ", " \"module_stderr\": \"No handlers could be found for logger \\\"keystoneauth.identity.generic.base\\\"\\nTraceback (most recent call last):\\n File \\\"/tmp/ansible-tmp-1460110491.89-54127786996893/kolla_keystone_service\\\", line 2242, in <module>\\n main()\\n File \\\"/tmp/ansible-tmp-1460110491.89-54127786996893/kolla_keystone_service\\\", line 79, in main\\n module.exit_json(failed=True, changed=True, msg=e)\\n File \\\"/tmp/ansible-tmp-1460110491.89-54127786996893/kolla_keystone_service\\\", line 1684, in exit_json\\n kwargs = remove_values(kwargs, self.no_log_values)\\n File \\\"/tmp/ansible-tmp-1460110491.89-54127786996893/kolla_keystone_service\\\", line 507, in remove_values\\n return dict((k, remove_values(v, no_log_strings)) for k, v in value.items())\\n File \\\"/tmp/ansible-tmp-1460110491.89-54127786996893/kolla_keystone_service\\\", line 507, in <genexpr>\\n return dict((k, remove_values(v, no_log_strings)) for k, v in value.items())\\n File \\\"/tmp/ansible-tmp-1460110491.89-54127786996893/kolla_keystone_service\\\", line 518, in remove_values\\n raise TypeError('Value of unknown type: %s, %s' % (type(value), value))\\nTypeError: Value of unknown type: <class 'keystoneauth1.exceptions.discovery.DiscoveryFailure'>, Could not determine a suitable URL for the plugin\\n\", ", " \"module_stdout\": \"\", ", " \"msg\": \"MODULE FAILURE\", ", " \"parsed\": false", "}"], "warnings": []}
stdout: localhost | FAILED! => {
"changed": false,
"failed": true,
"module_stderr": "No handlers could be found for logger \"keystoneauth.identity.generic.base\"\nTraceback (most recent call last):\n File \"/tmp/ansible-tmp-1460110491.89-54127786996893/kolla_keystone_service\", line 2242, in <module>\n main()\n File \"/tmp/ansible-tmp-1460110491.89-54127786996893/kolla_keystone_service\", line 79, in main\n module.exit_json(failed=True, changed=True, msg=e)\n File \"/tmp/ansible-tmp-1460110491.89-54127786996893/kolla_keystone_service\", line 1684, in exit_json\n kwargs = remove_values(kwargs, self.no_log_values)\n File \"/tmp/ansible-tmp-1460110491.89-54127786996893/kolla_keystone_service\", line 507, in remove_values\n return dict((k, remove_values(v, no_log_strings)) for k, v in value.items())\n File \"/tmp/ansible-tmp-1460110491.89-54127786996893/kolla_keystone_service\", line 507, in <genexpr>\n return dict((k, remove_values(v, no_log_strings)) for k, v in value.items())\n File \"/tmp/ansible-tmp-1460110491.89-54127786996893/kolla_keystone_service\", line 518, in remove_values\n raise TypeError('Value of unknown type: %s, %s' % (type(value), value))\nTypeError: Value of unknown type: <class 'keystoneauth1.exceptions.discovery.DiscoveryFailure'>, Could not determine a suitable URL for the plugin\n",
"module_stdout": "",
"msg": "MODULE FAILURE",
"parsed": false
}
Also tried to execute same command on kola_toolbox container but same error.
Any idea why is it failing?
Thanks
without seeing your globals.yml it is hard to say. I'd suspect the VIP you have specified is the same as your host's ip address.
We have built checking into kolla to determine if the environment is in an operational state.
You can do this by running
kolla-ansible prechecks
I'd recommend hitting us up on irc if you need help deploying - its the best way to get ahold of developers.