Quantcast
Channel: Ask OpenStack: Q&A Site for OpenStack Users and Developers - Individual question feed
Viewing all articles
Browse latest Browse all 2

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

Previous: Answer by thomas.oneill for 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.
$
0
0
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.

Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images