upgrade from newton to ocata: error with mongodb
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
High
|
Unassigned | ||
Ocata |
Fix Released
|
High
|
Unassigned |
Bug Description
Trying to upgrade from newton to ocata, ubuntu/source installation, mongodb deployed, upgrade task fails when
TASK [mongodb : Waiting for the mongodb startup] *******
fatal: [control01]: FAILED! => {"changed": false, "elapsed": 300, "failed": true, "msg": "Timeout when waiting for 10.20.0.11:27017"}
inspecting container logs:
2017-02-
2017-02-
2017-02-
so, it looks like the upgrade procedure does not clear .lock files....
affects: | kolla → kolla-ansible |
Changed in kolla-ansible: | |
milestone: | none → pike-1 |
importance: | Undecided → High |
status: | New → Confirmed |
Another note:
on newton, mongodb was running under UID 105. But on ocata, mongodb is running under UID 42432. So this bug might be related with uid/perms.
NEWTON: docker/ volumes/ mongodb/ _data/mongod. lock docker/ volumes/ mongodb/ _data/mongod. loc
root@control01:~# ls -l /var/lib/
-rwxr-xr-x 1 _apt nogroup 2 Feb 27 12:39 /var/lib/
OCATA: docker/ volumes/ mongodb/ _data/
root@control01:~# ls -lt /var/lib/
total 1294352
-rwxr-xr-x 1 42432 nogroup 0 Feb 27 16:30 mongod.lock