Sample Header Ad - 728x90

docker logs err:"+ sudo -E kolla_set_configs sudo: unknown uid 42401: who are you?" in openstack container

2 votes
1 answer
140 views
Multinodes(3 nodes) openstack cluster deploy by kolla-ansible, two nodes(2nd and 3rd nodes) are working well, the one node(1st_node) have some containers always **Restarting** with the error logs, e.g. kolla_toolbox container:
+ sudo -E kolla_set_configs
sudo: unknown uid 42401: who are you?
I had check the kolla_toolbox container's /etc/passwd file, it has the same md5sum with the other two normal nodes. And the /etc/passwd file has the line with the content: ansible:x:42401:42401::/var/lib/ansible:/usr/sbin/nologin. The result of id 42401 and id ansible in all containers of three nodes are:
uid=42401(ansible) gid=42401(ansible) groups=42401(ansible),42400(kolla)
in three hypervisor nodes are:
:no such user
I had ran docker image rm kolla_toolbox, pull it and deploy in 1st_node, the issue still exist, but it works on the other two nodes. What's wrong with the 1st_node about the docker or container? How could I fix it? *kolla_set_configs* is a python file in the path of /usr/local/bin/kolla_set_configs which only found inside the container, and I can't figure out which line about the **kolla_set_configs ** file make the error logs.
Asked by VictorLee (37 rep)
Feb 14, 2023, 01:42 AM
Last activity: Feb 17, 2023, 07:27 AM