IBM Support

skopeo error when execute command "cpd-cli manage login-entitled-registry ${IBM_ENTITLEMENT_KEY}"

Question & Answer


Question

Following error occurred when I tried to execute command "cpd-cli manage login-entitled-registry ${IBM_ENTITLEMENT_KEY}":
#  cpd-cli manage login-entitled-registry ${IBM_ENTITLEMENT_KEY}
[INFO] 2024-10-17T09:42:08.495854Z Checking architecture: amd64
[INFO] 2024-10-17T09:42:08.495883Z Checking podman or docker
[INFO] 2024-10-17T09:42:08.709083Z Dockerexe: podman
[INFO] 2024-10-17T09:42:09.059584Z Attempting pull container image icr.io/cpopen/cpd/olm-utils-v2:latest
[INFO] 2024-10-17T09:42:12.308320Z Pulling image output: Trying to pull icr.io/cpopen/cpd/olm-utils-v2:latest...
....
+ /usr/bin/skopeo login --tls-verify=false -u cp -p eyJ0eXAiEdrrer093dCCsposfe0343f...I2PB_RB_hRmGuQBew cp.icr.io
runtime/cgo: pthread_create failed: Operation not permitted
SIGABRT: abort
PC=0x7f39131d694c m=0 sigcode=18446744073709551610
...
[ERROR] 2024-10-17T09:42:16.402653Z cmd.Run() failed with exit status 2
[ERROR] 2024-10-17T09:42:16.402693Z Command exception: The login-entitled-registry command failed (exit status 2). You may find output and logs in the /work/cpd-cli-workspace/olm-utils-workspace/work directory.
[ERROR] 2024-10-17T09:42:16.403662Z RunPluginCommand:Execution error:  exit status 1
Could you tell me how to solve this problem?

[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSHGYS","label":"IBM Cloud Pak for Data"},"ARM Category":[{"code":"a8m3p000000UoS7AAK","label":"Installation-\u003EConfiguration"}],"ARM Case Number":"TS017603059","Platform":[{"code":"PF040","label":"Red Hat OpenShift"}],"Version":"5.0.3"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
28 October 2024

UID

ibm17174238