cloud-native-toolkit / cloud-native-toolkit/software-everywhere

igc binary download issues with Apple M1 Silicon

Offen
#421 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
8
Forks
8
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I am testing with Multipass VM using an Apple M1 based Mac.

When applying the [105 layer to install OpenShift on IBM Cloud](https://github.com/IBM/automation-ibmcloud-infra-openshift/tree/main/1-quickstart/105-ibm-vpc-openshift), I encounter the following error:


│ Error: External Program Execution Failed

│ with module.ibm-activity-tracker.module.clis.data.external.setup-binaries,
│ on .terraform/modules/ibm-activity-tracker.clis/main.tf line 22, in data "external" "setup-binaries":
│ 22: program = ["bash", "${path.module}/scripts/setup-binaries.sh"]

│ The data source received an unexpected error while attempting to execute the program.

│ Program: /usr/bin/bash
│ Error Message: Error downloading igc from https://github.com/cloud-native-toolkit/ibm-garage-cloud-cli/releases/download/v1.37.6/igc-linux

│ State: exit status 1

When applying the [200 layer to install GitOps](https://github.com/IBM/automation-ibmcloud-infra-openshift/tree/main/1-quickstart/200-openshift-gitops), I encounter the following errors:

Error: External Program Execution Failed

│ with module.resource_group.module.clis.data.external.setup-binaries,
│ on .terraform/modules/resource_group.clis/main.tf line 22, in data "external" "setup-binaries":
│ 22: program = ["bash", "${path.module}/scripts/setup-binaries.sh"]

│ The data source received an unexpected error while attempting to execute the program.

│ Program: /usr/bin/bash
│ Error Message: Error downloading igc from https://github.com/cloud-native-toolkit/ibm-garage-cloud-cli/releases/download/v1.38.0/igc-linux

│ State: exit status 1


│ Error: local-exec provisioner error

│ with module.toolkit_namespace.null_resource.setup_gitops,
│ on .terraform/modules/toolkit_namespace/main.tf line 33, in resource "null_resource" "setup_gitops":
│ 33: provisioner "local-exec" {

│ Error running command '/automation/200-ibm-openshift-gitops/terraform/bin2/igc gitops-namespace toolkit --contentDir
│ /automation/200-ibm-openshift-gitops/terraform/.tmp/namespace-toolkit --serverName default': exit status 2. Output: /bin/sh: 1:
│ /automation/200-ibm-openshift-gitops/terraform/bin2/igc: Exec format error

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.