Comment 4 for bug 1805410

Revision history for this message
Cédric Jeanneret (cjeanner) wrote :

Another thing: I just deployed an undercloud, then ran a `openstack undercloud upgrade`, and I end up with the following situation:
sudo podman ps -a | grep keystone
58d0db49a66b docker.io/tripleomaster/centos-binary-keystone:618d3ab83cd319e03fac86c1d6de510ef4a5134b_be9e0d5c /bin/bash -c /usr... 13 minutes ago Up 13 minutes ago keystone_cron-8tprne4k
49cccd9d16b2 docker.io/tripleomaster/centos-binary-keystone:618d3ab83cd319e03fac86c1d6de510ef4a5134b_be9e0d5c kolla_start 13 minutes ago Exited (1) 12 minutes ago keystone-s99dch8g
17382f319bb2 docker.io/tripleomaster/centos-binary-keystone:618d3ab83cd319e03fac86c1d6de510ef4a5134b_be9e0d5c /usr/bin/bootstra... 13 minutes ago Exited (0) 13 minutes ago keystone_db_sync-srgb7fip
6ee00f10c833 docker.io/tripleomaster/centos-binary-keystone:618d3ab83cd319e03fac86c1d6de510ef4a5134b_be9e0d5c /bin/bash -c chow... 16 minutes ago Exited (0) 16 minutes ago keystone_init_log-9wayk053
8b075f747698 docker.io/tripleomaster/centos-binary-keystone:618d3ab83cd319e03fac86c1d6de510ef4a5134b_be9e0d5c /bin/bash -c /usr... About an hour ago Up About an hour ago keystone_cron
c19a540e2a3e docker.io/tripleomaster/centos-binary-keystone:618d3ab83cd319e03fac86c1d6de510ef4a5134b_be9e0d5c kolla_start About an hour ago Up About an hour ago keystone
925cc11c5d9c docker.io/tripleomaster/centos-binary-keystone:618d3ab83cd319e03fac86c1d6de510ef4a5134b_be9e0d5c /usr/bin/bootstra... About an hour ago Exited (0) About an hour ago keystone_db_sync
50ef09040c85 docker.io/tripleomaster/centos-binary-keystone:618d3ab83cd319e03fac86c1d6de510ef4a5134b_be9e0d5c /bin/bash -c chow... About an hour ago Exited (0) About an hour ago keystone_init_log

In short: I now have 2 keystone-cron containers:
13 minutes ago Up 13 minutes ago keystone_cron-8tprne4k
About an hour ago Up About an hour ago keystone_cron

Also, I have multiple, duplicated containers:
keystone_db_sync vs keystone_db_sync-srgb7fip
keystone_init_log vs keystone_db_sync-srgb7fip
keystone vs keystone-s99dch8g (exited 1 btw)

So yeah. We have a big, big issue, and idempotency is broken for some reason. I see actually two locations where we get the <random> at the end of the container name:
- the one pointed by Alex
- the other one in t-h-t "docker-puppet.py".