Ask Your Question

kolla-ansible deploy error - /run not a shared mount

asked 2017-01-24 04:33:38 -0600

thomas.oneill gravatar image

updated 2017-01-24 05:58:19 -0600

fatal: [compute01]: FAILED! => {"changed": true, "failed": true, "msg": "'Traceback (most recent call last):
  File "/tmp/ansible_kBrnte/", line 742, in main
    result = bool(getattr(dw, module.params.get('action'))())
  File "/tmp/ansible_kBrnte/", line 572, in start_container
  File "/usr/lib/python2.7/site-packages/docker/utils/", line 21, in wrapped
    return f(self, resource_id, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/docker/api/", line 383, in start
  File "/usr/lib/python2.7/site-packages/docker/", line 174, in _raise_for_status
    raise errors.APIError(e, response, explanation=explanation)
APIError: 500 Server Error: Internal Server Error ("linux mounts: Path /run is mounted on /run but it is not a shared mount.")

This is on CentOS 7. I was having some separate issues with SELinux before, I've disabled that now and have tried destroying and then deploying again, have also rebooted. Here's how it goes when I jump on compute01 and try manually:

stack@compute01:~ $ sudo docker ps -a
CONTAINER ID        IMAGE                                                      COMMAND             CREATED  STATUS              PORTS               NAMES
09a69d0b107d   "kolla_start"       10 minutes ago  Created                                 kolla_toolbox
2288bcca5e7d            "kolla_start"       10 minutes ago  Up 10 minutes                           heka
stack@compute01:~ $ sudo docker start kolla_toolbox
Error response from daemon: linux mounts: Path /run is mounted on /run but it is not a shared mount.
Error: failed to start containers: kolla_toolbox
stack@compute01:~ $ sudo docker version
 Version:      1.11.2
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   b9f10c9
 Built:        Wed Jun  1 21:23:11 2016
 OS/Arch:      linux/amd64

Update: Have tried deleting and re-building the kolla-toolbox image and deleting the /var/lib/docker directory, still no good.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-01-24 11:01:00 -0600

thomas.oneill gravatar image

Ah, I'd deleted the /etc/systemd/system/docker.service.d/kolla.confconfiguration documented here: (

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2017-01-24 04:33:38 -0600

Seen: 788 times

Last updated: Jan 24 '17