[openstack-dev] [nova][nova-docker]

Daniel Depaoli daniel.depaoli at create-net.org
Fri Jul 10 09:03:29 UTC 2015


Hi all.
I have a brief question about nova and nova-docker.
In nova-docker I add a piece of code when I raise an exception, in
particular in 'novadocker/virt/docker/driver.py', function
'_start_container':

*
exitcode=self.docker.inspect_container(container_id)['State']['ExitCode']*
*        if exitcode > 0:*
*            raise exception.NoValidHost(reason="Error in docker exit
code")*

In nova cli or horizon I expect to see my error and not the general error
raised after my code.
Can you help me?

Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150710/1398cf3c/attachment.html>


More information about the OpenStack-dev mailing list