open-horizon / open-horizon/devops

The deploy script is only pulling x86 even for Macs M1

Open
#164 2 comments 0 reactions 3 assignees View on GitHub

@dlarson04 is already working on this.

Since Mar 21, 2024.

Dominant language
Shell
Stars
12
Forks
46
PR merge metrics
No merged PRs in 30d

Description

Hi, I'm getting the following errors when try it on my Macs M1

curl -sSL https://raw.githubusercontent.com/open-horizon/devops/master/mgmt-hub/deploy-mgmt-hub.sh --output deploy-mgmt-hub.sh && chmod +x deploy-mgmt-hub.sh && sudo ./deploy-mgmt-hub.sh -PS && sudo rm -rf /tmp/horizon-all-in-1
./deploy-mgmt-hub.sh: line 672: ip: command not found
Error checking x509 extension section san
009329E801000000:error:1100006C:X509 V3 routines:X509V3_parse_list:invalid empty name:crypto/x509/v3_utl.c:349:
009329E801000000:error:11000069:X509 V3 routines:do_ext_nconf:invalid extension string:crypto/x509/v3_conf.c:102:name=subjectAltName,section=,DNS:localhost,DNS:agbot,DNS:exchange-api,DNS:css-api,DNS:fdo-owner-services
009329E801000000:error:11000080:X509 V3 routines:X509V3_EXT_nconf_int:error in extension:crypto/x509/v3_conf.c:48:section=san, name=subjectAltName, value=,DNS:localhost,DNS:agbot,DNS:exchange-api,DNS:css-api,DNS:fdo-owner-services

Error: Command failed: curl -sSL https://raw.githubusercontent.com/open-horizon/devops/master/mgmt-hub/deploy-mgmt-hub.sh --output deploy-mgmt-hub.sh && chmod +x deploy-mgmt-hub.sh && sudo ./deploy-mgmt-hub.sh -PS && sudo rm -rf /tmp/horizon-all-in-1
./deploy-mgmt-hub.sh: line 672: ip: command not found
Error checking x509 extension section san
009329E801000000:error:1100006C:X509 V3 routines:X509V3_parse_list:invalid empty name:crypto/x509/v3_utl.c:349:
009329E801000000:error:11000069:X509 V3 routines:do_ext_nconf:invalid extension string:crypto/x509/v3_conf.c:102:name=subjectAltName,section=,DNS:localhost,DNS:agbot,DNS:exchange-api,DNS:css-api,DNS:fdo-owner-services
009329E801000000:error:11000080:X509 V3 routines:X509V3_EXT_nconf_int:error in extension:crypto/x509/v3_conf.c:48:section=san, name=subjectAltName, value=,DNS:localhost,DNS:agbot,DNS:exchange-api,DNS:css-api,DNS:fdo-owner-services

I also noticed some discrepancy with hzn architecture that seems to think I'm on amd64 when M1 is arm64.

 jeff@playground  ~/Downloads  hzn architecture                                                                                           1 ↵  3787  17:18:16
amd64
 jeff@playground  ~/Downloads  arch                                                                                                         ✔  3788  17:18:31
arm64

hzn version                                                                                                  ✔  3794  17:35:03
Horizon CLI version: 2.31.0-1498
Horizon Agent version: 2.30.0-1194

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.