My Oracle Support Banner

Oracle Openstack 4.0.1: kollacli deploy Fails "mysqlcluster : Running the mysqlcluster bootstrap container, Status: failed, Message: Container exited with non-zero return code" (Doc ID 2360366.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle OpenStack for Oracle Linux - Version OpenStack 4.0.1 and later
Linux x86-64

Symptoms

Oracle Openstack 4.0.1 kollacli deploy Fails:
$ kollacli deploy
(snip)
TASK [mysqlcluster : Starting api container] ***********************************
ok: [lufenostk2.nz.oracle.com]
fatal: [lufenostk1.nz.oracle.com]: FAILED! => {"_ansible_parsed": true, "_ansible_no_log": false, "changed": true, "failed": true, "invocation": {"module_args": {"tls_key": null, "image": "oracle/ol-openstack-mysqlcluster-api:4.0", "labels": {}, "tls_verify": false, "tls_cacert": null, "auth_password": null, "graceful_timeout": 10, "environment": {"KOLLA_CONFIG_STRATEGY": "COPY_ALWAYS"}, "auth_registry": "", "volumes_from": null, "tls_cert": null, "privileged": false, "api_version": "auto", "remove_on_exit": true, "restart_retries": 10, "detach": true, "auth_username": null, "name": "mysqlcluster_api", "security_opt": [], "cap_add": [], "restart_policy": "unless-stopped", "auth_email": null, "volumes": ["/etc/kolla//mysqlcluster-api/:/var/lib/kolla/config_files:ro", "mysqlcluster:/var/lib/mysql"], "action": "start_container"}}, "msg": "'Traceback (most recent call last):\\n File \"/tmp/ansible_vuZ1B0/ansible_module_kolla_docker.py\", line 799, in main\\n result = bool(getattr(dw, module.params.get(\\'action\\'))())\\n File \"/tmp/ansible_vuZ1B0/ansible_module_kolla_docker.py\", line 602, in start_container\\n if not self.check_image():\\n File \"/tmp/ansible_vuZ1B0/ansible_module_kolla_docker.py\", line 251, in check_image\\n for image in self.dc.images():\\n File \"/usr/lib/python2.7/site-packages/docker/api/image.py\", line 39, in images\\n res = self._result(self._get(self._url(\"/images/json\"), params=params),\\n File \"/usr/lib/python2.7/site-packages/docker/utils/decorators.py\", line 47, in inner\\n return f(self, *args, **kwargs)\\n File \"/usr/lib/python2.7/site-packages/docker/client.py\", line 120, in _get\\n return self.get(url, **self._set_request_timeout(kwargs))\\n File \"/usr/lib/python2.7/site-packages/requests/sessions.py\", line 488, in get\\n return self.request(\\'GET\\', url, **kwargs)\\n File \"/usr/lib/python2.7/site-packages/requests/sessions.py\", line 475, in request\\n resp = self.send(prep, **send_kwargs)\\n File \"/usr/lib/python2.7/site-packages/requests/sessions.py\", line 596, in send\\n r = adapter.send(request, **kwargs)\\n File \"/usr/lib/python2.7/site-packages/requests/adapters.py\", line 499, in send\\n raise ReadTimeout(e, request=request)\\nReadTimeout: UnixHTTPConnectionPool(host=\\'localhost\\', port=None): Read timed out. (read timeout=60)\\n'"}

TASK [mysqlcluster : include] **************************************************
tok: [lufenostk2.nz.oracle.com]
included: /usr/share/kolla/ansible/roles/mysqlcluster/tasks/bootstrap.yml

TASK [mysqlcluster : Running the mysqlcluster bootstrap container] *************
fatal: [lufenostk2.nz.oracle.com]: FAILED! => {"_ansible_parsed": true, "_ansible_no_log": false, "_ansible_delegated_vars": {"ansible_host": "lufenostk1.nz.oracle.com"}, "changed": true, "failed": true, "invocation": {"module_args": {"tls_key": null, "image": "oracle/ol-openstack-mysqlcluster-api:4.0", "labels": {"BOOTSTRAP": null}, "tls_verify": false, "tls_cacert": null, "auth_password": null, "graceful_timeout": 10, "environment": {"KOLLA_SERVICE_NAME": "bootstrap-mysqlcluster", "MYSQLCLUSTER_ROOT_PASSWORD": "2nmsLF8438jpklX4qCwMVU8ed4TYg2nXUzwMUC7n", "KOLLA_CONFIG_STRATEGY": "COPY_ALWAYS", "KOLLA_BOOTSTRAP": "True"}, "auth_registry": "", "volumes_from": null, "tls_cert": null, "privileged": false, "api_version": "auto", "remove_on_exit": true, "restart_retries": 10, "detach": false, "auth_username": null, "name": "bootstrap_mysqlcluster", "security_opt": [], "cap_add": [], "restart_policy": "never", "auth_email": null, "volumes": ["/etc/kolla//mysqlcluster-api/:/var/lib/kolla/config_files:ro", "mysqlcluster:/var/lib/mysql"], "action": "start_container"}}, "msg": "Container exited with non-zero return code"}

PLAY RECAP *********************************************************************
lufenostk1.nz.oracle.com : ok=66 changed=13 unreachable=0 failed=1 ignored=0
lufenostk4.nz.oracle.com : ok=1 changed=0 unreachable=0 failed=0 ignored=0
lufenostk2.nz.oracle.com : ok=64 changed=13 unreachable=0 failed=1 ignored=0
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/kollacli/commands/deploy.py", line 103, in take_action
.format(msg=job.get_error_message()))
CommandError: ERROR: Job failed:
Host: lufenostk1.nz.oracle.com, Task: mysqlcluster : Starting api container, Status: failed, Message: 'Traceback (most recent call last):\n File "/tmp/ansible_vuZ1B0/ansible_module_kolla_docker.py", line 799, in main\n result = bool(getattr(dw, module.params.get(\'action\'))())\n File "/tmp/ansible_vuZ1B0/ansible_module_kolla_docker.py", line 602, in start_container\n if not self.check_image():\n File "/tmp/ansible_vuZ1B0/ansible_module_kolla_docker.py", line 251, in check_image\n for image in self.dc.images():\n File "/usr/lib/python2.7/site-packages/docker/api/image.py", line 39, in images\n res = self._result(self._get(self._url("/images/json"), params=params),\n File "/usr/lib/python2.7/site-packages/docker/utils/decorators.py", line 47, in inner\n return f(self, *args, **kwargs)\n File "/usr/lib/python2.7/site-packages/docker/client.py", line 120, in _get\n return self.get(url, **self._set_request_timeout(kwargs))\n File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 488, in get\return self.request(\'GET\', url, **kwargs)\n File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 475, in request\n resp = self.send(prep, **send_kwargs)\n File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 596, in send\n r = adapter.send(request, **kwargs)\n File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 499, in send\n raise ReadTimeout(e, request=request)\nReadTimeout: UnixHTTPConnectionPool(host=\'localhost\', port=None): Read timed out. (read timeout=60)\n'
Host: lufenostk2.nz.oracle.com, Task: mysqlcluster : Running the mysqlcluster bootstrap container, Status: failed, Message: Container exited with non-zero return code

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.