Automic Workload Automation

 View Only
  • 1.  UID 1000 not defined in /etc/passwd in AAKE v24 docker images

    Posted Apr 16, 2025 05:33 AM
    Edited by Michael A. Lowry Apr 16, 2025 08:39 AM

    Since v24, AAKE containers in Kubernetes run as UID 1000. (Prior to v24, they ran as root.)

    For some reason though, the UID 1000 is not defined in the /etc/passwd file in these containers. This does not usually cause a problem for the AAKE server processes. However, it can cause other problems.

    For example, we recently tried to use the DB connection test program ucdbconntest, and discovered that it fails due to an inability to look up the details of the user.

    ./ucdbconntest -C${AUTOMIC_ODBC_SQLDRIVERCONNECT}
    ** Database error 3590 'local user with ID 1000 does not exist'

    Has anyone else observed this problem?



  • 2.  RE: UID 1000 not defined in /etc/passwd in AAKE v24 docker images

    Posted Apr 16, 2025 08:54 AM
    Edited by Michael A. Lowry Apr 16, 2025 08:54 AM

    I used Dive to inspect the ae-wp image. One of the layers of the image includes a CMD that runs (among other things):

    groupadd -r -g 1010 default
    useradd -m -u 1010 -r -g default -c "default user" default

    I was not able to find corresponding commands to add GID or UID 1000.



  • 3.  RE: UID 1000 not defined in /etc/passwd in AAKE v24 docker images

    Posted Apr 23, 2025 03:13 AM
    Edited by Michael A. Lowry Apr 23, 2025 03:13 AM

    I opened a ticket with Tricise. They opened a ticket with Broadcom. Eventually we'll get an answer.



  • 4.  RE: UID 1000 not defined in /etc/passwd in AAKE v24 docker images

    Posted 30 days ago
    Edited by Michael A. Lowry 30 days ago

    Broadcom declined to consider as a bug the fact that UID/GID 1000 are missing from the ae-wp image in AAKE.

    I found I could work around this limitation by copying the program and several shared libraries upon which it depends to a directory where the pod user 1000 has write access, such as /tmp. E.g., 

    cd /usr/server/bin
    cp ucdbconntest uc.msl ucupgs.so libsysapi.so libuc001.so libucudb32.so libunicode.so libzu00132.so libzugss.so /tmp
    cd /tmp
    ./ucdbconntest -C"${AUTOMIC_ODBC_SQLDRIVERCONNECT}"
    ...

    The particular libraries required likely vary by DB type.



  • 5.  RE: UID 1000 not defined in /etc/passwd in AAKE v24 docker images

    Posted 9 days ago
    Edited by Michael A. Lowry 9 days ago

    I have it on good authority that UID/GID 1000 will be included in the images in a future release. This should make troubleshooting running AAKE pods somewhat easier.