[RHOSP 13] starting container process caused "exec: \"dumb-init\"

Solution Verified - Updated -

Environment

  • Red Hat OpenStack Platform Version 13.0

Issue

  • Overcloud deployment is failing with an error container_linux.go:235: starting container process caused "exec: \"dumb-init\": executable file not found in $PATH"

Resolution

  • The container was not able to find the dumb-init binary

    [root@abc-lab-ctrl02 ~]# docker ps -a | grep image_tag
    1ef1a908444f        172.xx.xx.30:8787/rhosp13/openstack-mariadb:13.0-126              "dumb-init -- /bin..."   16 hours ago        Created                                         mysql_image_tag
    f684fd410e10        172.xx.xx.30:8787/rhosp13/openstack-rabbitmq:13.0-128             "dumb-init --singl..."   16 hours ago        Created                                         rabbitmq_image_tag
    46e938c1cf5a        172.xx.xx.30:8787/rhosp13/openstack-haproxy:13.0-130              "dumb-init --singl..."   16 hours ago        Created                                         haproxy_image_tag
    9f02ab555800        172.xx.xx.30:8787/rhosp13/openstack-redis:13.0-128                "dumb-init --singl..."   16 hours ago        Created                                         redis_image_tag
    80eb5a3fb428        172.xx.xx.30:8787/rhosp13/openstack-cinder-volume:13.0-128        "dumb-init --singl..."   16 hours ago        Created                                         cinder_volume_image_tag
    [root@abc-lab-ctrl02 ~]# docker logs f684fd410e10
    container_linux.go:235: starting container process caused "exec: \"dumb-init\": executable file not found in $PATH"
    [root@abc-lab-ctrl02 ~]#
    
  • This issue is already reported in bug[1]

    https://bugzilla.redhat.com/show_bug.cgi?id=1771756
    
  • Install dumb-init package on the controller node.

  • This just a workaround, not a permanent solution.
  • After that, the deployment and it succeeded.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments