Skip to content

The deploy script is only pulling x86 even for Macs M1 #164

Description

@playground

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions