IBM-Cloud / ibm-cloud-cli-release

Apache License 2.0
155 stars 76 forks source link

Feature Enhancement : idt for Apple Silicon based Linux #186

Closed SeungYeop-Yang closed 1 year ago

SeungYeop-Yang commented 2 years ago

I could install idt and some of plugins under linux/arm64 (Ubuntu 22.04 docker container on Apple Silicon M1 MacBook), but many of them are still not supported yet as below:

ubuntu@2920ad6ce514:/iaas-tfp/02-packer-ubuntu-22.04$ ic plugin install --all -f
Looking up plug-ins available for installation from repository 'IBM Cloud'...

The following plug-ins will be installed:
* 'container-registry 0.1.571'
* 'container-service[kubernetes-service] 1.0.431'
* 'vpc-infrastructure[infrastructure-service] 5.0.1'
* 'schematics[sch] 1.12.1'
* 'observe-service 1.0.82'
* 'code-engine 1.38.1'
* 'secrets-manager[sm] 0.1.21'
* 'monitoring 0.2.12'
* 'atracker[at] 0.2.12'

The following errors occurred while looking up plug-ins:
Error: Could not find compatible binary to install for plug-in analytics-engine.
Error: Could not find compatible binary to install for plug-in cloud-functions[wsk/functions/fn].
Error: Could not find compatible binary to install for plug-in cloud-internet-services[cis].
Error: Could not find compatible binary to install for plug-in dbaas-cli[dbaas].
Error: Could not find compatible binary to install for plug-in cloud-databases[cdb].
Error: Could not find compatible binary to install for plug-in key-protect[kp].
Error: Could not find compatible binary to install for plug-in doi[doi].
Error: Could not find compatible binary to install for plug-in tke.
Error: Could not find compatible binary to install for plug-in cloud-object-storage.
Error: Could not find compatible binary to install for plug-in event-streams.
Error: Could not find compatible binary to install for plug-in power-iaas[pi].
Error: Could not find compatible binary to install for plug-in cloud-dns-services[dns].
Error: Could not find compatible binary to install for plug-in dl-cli.
Error: Could not find compatible binary to install for plug-in watson.
Error: Could not find compatible binary to install for plug-in catalogs-management.
Error: Could not find compatible binary to install for plug-in tg-cli[tg].
Error: Could not find compatible binary to install for plug-in hpvs.
Error: Could not find compatible binary to install for plug-in push-notifications[push].
Error: Could not find compatible binary to install for plug-in app-configuration[ac].
Error: Could not find compatible binary to install for plug-in logging.
Error: Could not find compatible binary to install for plug-in cloudant[cl].
Error: Could not find compatible binary to install for plug-in hpcs-cert-mgr[hpcs-cert-mgr].
Error: Could not find compatible binary to install for plug-in analytics-engine-v3[ae-v3].
Error: Could not find compatible binary to install for plug-in cra[cra].
Error: Could not find compatible binary to install for plug-in event-notifications[en/event-notifications].
Error: Could not find compatible binary to install for plug-in dvaas[watson-query].
Error: Could not find compatible binary to install for plug-in hpnet.
Error: Could not find compatible binary to install for plug-in qiskit-runtime[qr].
Error: Could not find compatible binary to install for plug-in hpcs.
Error: Could not find compatible binary to install for plug-in cbr.
steveclay commented 2 years ago

Plug-in teams control the architectures that they support and so the CLI can only report the problem. However, we can bring this to the attention of the teams so that they can prioritize this work, especially if there are specific plug-ins that you depend upon that are not available. In the above you installed with --all, but I suspect there is a smaller list that will block your progress?

syyang-in-cloud commented 2 years ago

Plug-in teams control the architectures that they support and so the CLI can only report the problem. However, we can bring this to the attention of the teams so that they can prioritize this work, especially if there are specific plug-ins that you depend upon that are not available. In the above you installed with --all, but I suspect there is a smaller list that will block your progress?

Thanks for the reply, here's my shorter list:

key-protect
tke
cloud-object-storage
power-iaas
cloud-dns-services
logging
hpcs-cert-mgr
cra
hpcs
cbr 
steveclay commented 1 year ago

The CLI has now been modified to allow installing the AM64 plug-in version if ARM64 is not available.