SMAPI get -109 return error

Problem

Sometimes, the compute node is not able to communicate with SMAPI and gets a -109 error, such as beneath we use smcli tool to communicate:

# smcli Query_API_Functional_Level --addRCheader -T dummy
Failed
Return Code: -109
Description: ULGSMC6010E Socket not connected error
Errno value: 107
ERROR: Unable to determine SMAPI level.

or similar error when add compute node:

Installation result: 0.
generate admin token
token updated, please remeberto update the token data on client side!
useradd: user 'zvmsdk' already exists
Created symlink /etc/systemd/system/multi-user.target.wants/sdkserver.service → /usr/lib/systemd/system/sdkserver.service.
● sdkserver.service - zVM SDK API server
   Loaded: loaded (/usr/lib/systemd/system/sdkserver.service; enabled; vendor preset: disabled)
   Active: active (running)
 Main PID: 60729 (sdkserver)
    Tasks: 1 (limit: 50237)
   Memory: 27.8M
   CGroup: /system.slice/sdkserver.service
           └─60729 /usr/libexec/platform-python /usr/bin/sdkserver
Jun 29 12:22:59 wscis10 systemd[1]: Started zVM SDK API server.
Jun 29 12:23:00 wscis10 sudo[60732]:   zvmsdk : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/vmcp query userid
Jun 29 12:23:00 wscis10 sudo[60735]:   zvmsdk : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/vmcp query userid
tcp        0      0 127.0.0.1:2000          0.0.0.0:*               LISTEN      60729/platform-pyth
port 2000 is listening in loop 1!
tcp        0      0 127.0.0.1:2000          0.0.0.0:*               LISTEN      60729/platform-pyth
Failed
  Return Code: -109
  Description: ULGSMC6010E Socket not connected error
Errno value: 107
ERROR: Unable to determine SMAPI level.
Error: 'smcli Query_API_Functional_Level' doesn't work!Quit install!
Host virt type is z/VM.

Explanation

This is because the z/VM® user ID of compute node is not authorized to issue SMAPI call.