Error response from daemon: No such container: mariadb
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Invalid
|
Undecided
|
Unassigned |
Bug Description
**Bug Report**
What happened: We try to deploy our saved config, where we received:
RUNNING HANDLER [mariadb : remove restart policy from master mariadb] *******
task path: /root/venv/
Using module file /root/venv/
Pipelining is enabled.
<ss> ESTABLISH SSH CONNECTION FOR USER: None
<ss> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyCh
Escalation succeeded
<ss> (1, '\n{"changed": true, "end": "2019-12-05 13:03:53.344144", "stdout": "", "cmd": ["docker", "update", "--restart", "no", "mariadb"], "failed": true, "delta": "0:00:00.059409", "stderr": "Error response from daemon: No such container: mariadb", "rc": 1, "invocation": {"module_args": {"creates": null, "executable": null, "_uses_shell": false, "strip_empty_ends": true, "_raw_params": "docker update --restart no mariadb", "removes": null, "argv": null, "warn": true, "chdir": null, "stdin_
<ss> Failed to connect to the host via ssh: OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: /etc/ssh/ssh_config line 52: Deprecated option "useroaming"
debug1: auto-mux: Trying existing master
debug2: fd 3 setting O_NONBLOCK
debug2: mux_client_
debug3: mux_client_
debug3: mux_client_
debug3: mux_client_
debug3: mux_client_
debug3: mux_client_
debug1: mux_client_
debug3: mux_client_
debug2: Received exit status from master 1
fatal: [ss]: FAILED! => {
"changed": true,
"cmd": [
"docker",
"update",
"no",
"mariadb"
],
"delta": "0:00:00.059409",
"end": "2019-12-05 13:03:53.344144",
"invocation": {
"argv": null,
"warn": true
}
},
"msg": "non-zero return code",
"rc": 1,
"start": "2019-12-05 13:03:53.284735",
"stderr": "Error response from daemon: No such container: mariadb",
"stderr_lines": [
"Error response from daemon: No such container: mariadb"
],
"stdout": "",
"stdout_lines": []
}
What you expected to happen: get openstack horizon dashboard working
How to reproduce it (minimal and precise): using the globals bellow running boostrap, prechecks, deploy. rerults into fail of the mariadb docker restart.
**Environment**:
* OS (e.g. from /etc/os-release):
NAME="Ubuntu"
VERSION="18.04.3 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.3 LTS"
VERSION_ID="18.04"
HOME_URL="https:/
SUPPORT_URL="https:/
BUG_REPORT_URL="https:/
PRIVACY_
VERSION_
UBUNTU_
* Kernel (e.g. `uname -a`):
Linux ss 4.15.0-70-generic #79-Ubuntu SMP Tue Nov 12 10:36:11 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
* Docker version if applicable (e.g. `docker version`):
Client: Docker Engine - Community
Version: 19.03.5
API version: 1.40
Go version: go1.12.12
Git commit: 633a0ea838
Built: Wed Nov 13 07:29:52 2019
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 19.03.5
API version: 1.40 (minimum version 1.12)
Go version: go1.12.12
Git commit: 633a0ea838
Built: Wed Nov 13 07:28:22 2019
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.2.10
GitCommit: b34a5c8af56e510
runc:
Version: 1.0.0-rc8+dev
GitCommit: 3e425f80a8c931f
docker-init:
Version: 0.18.0
GitCommit: fec3683
* Kolla-Ansible version (e.g. `git head or tag or stable branch` or pip package version if using release): 8.0.0/8.0.1
* Docker image Install type (source/binary): binary
* Docker image distribution: community
* Are you using official images from Docker Hub or self built? Official
* Share your inventory file, globals.yml and other configuration files if relevant
Changed in kolla-ansible: | |
assignee: | nobody → Dincer Celik (osmanlicilegi) |
attached inventory