Troubleshooting
Problem
If you have an M1, M2, or M3 Mac, you might encounter errors when you try to run cpd-cli manage commands.
Symptom
When you run the cpd-cli manage restart-container command, you see one or both of the following errors:
Error - Image platform (linux/amd64) does not match the expected platform
[INFO] ... Checking architecture: amd64
[INFO] ... Checking podman or docker
.
.
.
[ERROR] ... Command exception: Failed to create the olm-utils-play-v2 container: WARNING: image platform (linux/amd64) does not match the expected platform (linux/arm64)
Error: .../cpd-cli-workspace/olm-utils-workspace/work: no such file or directory (exit status 125)
[ERROR] ... RunPluginCommand:Execution error: exit status 1
[INFO] ... Checking podman or docker
.
.
.
[ERROR] ... Command exception: Failed to create the olm-utils-play-v2 container: WARNING: image platform (linux/amd64) does not match the expected platform (linux/arm64)
Error: .../cpd-cli-workspace/olm-utils-workspace/work: no such file or directory (exit status 125)
[ERROR] ... RunPluginCommand:Execution error: exit status 1
Error - Permission denied
error: KUBECONFIG is set to a file that cannot be created or modified: /opt/ansible/.kubeconfig; caused by: open /opt/ansible/.kubeconfig: permission denied
[ERROR] ... cmd.Run() failed with exit status 1
Document Location
Worldwide
[{"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":"a8m3p000000UoS5AAK","label":"Installation"},{"code":"a8m3p000000UoTXAA0","label":"Utilities-\u003Ecpd-cli"}],"ARM Case Number":"","Platform":[{"code":"PF040","label":"Red Hat OpenShift"}],"Version":"4.8.0;4.8.1;4.8.2;4.8.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.
Was this topic helpful?
Document Information
More support for:
IBM Cloud Pak for Data
Component:
Installation, Utilities->cpd-cli
Software version:
4.8.0, 4.8.1, 4.8.2, 4.8.3
Operating system(s):
Red Hat OpenShift
Document number:
7129280
Modified date:
28 March 2024
UID
ibm17129280
Manage My Notification Subscriptions