Ask Your Question
0

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

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

thomas.oneill gravatar image

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

fatal: [compute01]: FAILED! => {"changed": true, "failed": true, "msg": "'Traceback (most recent call last):
  File "/tmp/ansible_kBrnte/ansible_module_kolla_docker.py", line 742, in main
    result = bool(getattr(dw, module.params.get('action'))())
  File "/tmp/ansible_kBrnte/ansible_module_kolla_docker.py", line 572, in start_container
    self.dc.start(container=self.params.get('name'))
  File "/usr/lib/python2.7/site-packages/docker/utils/decorators.py", line 21, in wrapped
    return f(self, resource_id, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/docker/api/container.py", line 383, in start
    self._raise_for_status(res)
  File "/usr/lib/python2.7/site-packages/docker/client.py", 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        10.10.20.10:4000/kolla/centos-binary-kolla-toolbox:3.0.3   "kolla_start"       10 minutes ago  Created                                 kolla_toolbox
2288bcca5e7d        10.10.20.10:4000/kolla/centos-binary-heka:3.0.3            "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
Client:
 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
0

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

thomas.oneill gravatar image

Ah, I'd deleted the /etc/systemd/system/docker.service.d/kolla.confconfiguration documented here: https://github.com/openstack/kolla/blob/master/doc/quickstart.rst#install-dependencies (https://github.com/openstack/kolla/bl...)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

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

Seen: 343 times

Last updated: Jan 24 '17