Comment 4 for bug 1546798

Revision history for this message
Liyi Meng (liyi-meng) wrote :

commit d077fa279c69c9a56d2bae138e5b8cfa62991d78
Merge: 8812271 94a79b1
Author: Jenkins <email address hidden>
Date: Wed Feb 17 15:06:25 2016 +0000

    Merge "Trove ubuntu binary container"

Deploy with ubuntu binary

Here is my error:

<pre>
TASK: [neutron | Starting neutron-dhcp-agent container] ***********************
skipping: [k-blade-4]
skipping: [k-blade-5]
failed: [k-blade-1] => {"changed": true, "failed": true}
msg: APIError(HTTPError(u'500 Server Error: Internal Server Error for url: http+docker://localunixsocket/v1.22/containers/neutron_dhcp_agent/start',),)
failed: [k-blade-3] => {"changed": true, "failed": true}
msg: APIError(HTTPError(u'500 Server Error: Internal Server Error for url: http+docker://localunixsocket/v1.22/containers/neutron_dhcp_agent/start',),)
failed: [k-blade-2] => {"changed": true, "failed": true}
msg: APIError(HTTPError(u'500 Server Error: Internal Server Error for url: http+docker://localunixsocket/v1.22/containers/neutron_dhcp_agent/start',),)
</pre>

On the controller node
<pre>
time="2016-02-18T14:45:46.198232044Z" level=warning msg="Auto-creating non-existent volume host path /run/netns, this is deprecated and will be removed soon"
time="2016-02-18T14:45:46.264529981Z" level=error msg="error locating sandbox id 712989fd759ec8902903cad4b7c562c12805c363c2b4c8d7c284b6cb5bd87ed9: sandbox 712989fd759ec8902903cad4b7c562c12805c363c2b4c8d7c284b6cb5bd87ed9 not found"
time="2016-02-18T14:45:46.265495865Z" level=warning msg="failed to cleanup ipc mounts:\nfailed to umount /var/lib/docker/containers/73f4ec8885377419c1694ab77dea494c1f23a88cf4bc300a87aa0304ff94b135/shm: invalid argument"
time="2016-02-18T14:45:46.265640402Z" level=error msg="Error unmounting container 73f4ec8885377419c1694ab77dea494c1f23a88cf4bc300a87aa0304ff94b135: not mounted"
time="2016-02-18T14:45:46.266043143Z" level=error msg="Handler for POST /v1.22/containers/neutron_dhcp_agent/start returned error: Cannot start container 73f4ec8885377419c1694ab77dea494c1f23a88cf4bc300a87aa0304ff94b135: Path /run/netns is mounted on /run but it is not a shared mount."
</pre>

Try to run the container manually
<pre>
docker start neutron_dhcp_agent
Error response from daemon: Cannot start container 73f4ec8885377419c1694ab77dea494c1f23a88cf4bc300a87aa0304ff94b135: Path /run/netns is mounted on /run but it is not a shared mount.
Error: failed to start containers: neutron_dhcp_agent
</pre>

sudo grep shared /proc/self/mountinfo
342 335 0:17 / /run rw,relatime shared:1 - tmpfs none rw
163 342 0:4 / /run/docker/netns/default rw shared:2 - nsfs nsfs rw