Fails at 'Creating the Glance service and endpoint' on CentOS

Bug #1568008 reported by Yogesh
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla
Invalid
High
Steven Dake

Bug Description

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

Revision history for this message
Steven Dake (sdake) wrote :

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.

Changed in kolla:
status: New → Incomplete
importance: Undecided → High
milestone: none → newton-1
Revision history for this message
Yogesh (yogesh-deshmukh) wrote :

I've attached globals.yml. The vip is unused in network. I'm using centos-binary distro. Let me know if you need anything.

Thanks,

Changed in kolla:
assignee: nobody → Steven Dake (sdake)
Revision history for this message
Christian Berendt (berendt) wrote :

Closing as invalid, CI tests are green, creating of API endpoints is possible. This is probably a local issue. Please re-open this bug report if this bug still occurs in your environment.

Changed in kolla:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.