InstanceDeployFailure: Cannot setup network: 'NoneType' object has no attribute 'endswith'

Bug #1245185 reported by Daniel Kuffner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
New
Undecided
Unassigned

Bug Description

I tried to setup havana with docker hypervisor on Centos 6.4

I followed this documentation to setup docker: http://nareshv.blogspot.de/2013/09/installing-dockerio-version-061-on.html
I pulled out all other relevant topics regarding docker out of devstack. I have started a docker repository on the same node, it works, images are available in horizon.

When I try to start a new instance with e.g. the centos or busybox docker image it will fail.
When I observe docker (docker ps) then I can see that a instance will be created and after a couple of seconds removed.

In the log file I found following:

/var/log/nova/compute.log

2013-10-27 07:56:05.221 11974 TRACE nova.compute.manager [instance: 81a76b09-9e0c-4b51-a9d1-1012de836bf0] Traceback (most recent call last):
2013-10-27 07:56:05.221 11974 TRACE nova.compute.manager [instance: 81a76b09-9e0c-4b51-a9d1-1012de836bf0] File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1405, in _spawn
2013-10-27 07:56:05.221 11974 TRACE nova.compute.manager [instance: 81a76b09-9e0c-4b51-a9d1-1012de836bf0] block_device_info)
2013-10-27 07:56:05.221 11974 TRACE nova.compute.manager [instance: 81a76b09-9e0c-4b51-a9d1-1012de836bf0] File "/usr/lib/python2.6/site-packages/nova/virt/docker/driver.py", line 314, in spawn
2013-10-27 07:56:05.221 11974 TRACE nova.compute.manager [instance: 81a76b09-9e0c-4b51-a9d1-1012de836bf0] instance_id=instance['name'])
2013-10-27 07:56:05.221 11974 TRACE nova.compute.manager [instance: 81a76b09-9e0c-4b51-a9d1-1012de836bf0] InstanceDeployFailure: Cannot setup network: 'NoneType' object has no attribute 'endswith'
2013-10-27 07:56:05.221 11974 TRACE nova.compute.manager [instance: 81a76b09-9e0c-4b51-a9d1-1012de836bf0]

Any idea what that could be? Is it a network misconfiguration?

description: updated
description: updated
tags: added: havana network
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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