Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
playground opened this issue Mar 20, 2024 · 2 comments
Open

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

playground opened this issue Mar 20, 2024 · 2 comments
Assignees

Comments

@playground
Copy link

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
@dlarson04
Copy link

The all-in-one script only supports x86 architecture... Looks like we need to update this

https://open-horizon.github.io/docs/mgmt-hub/docs/index.html so explicitly state x86 only

@dlarson04
Copy link

@playground Can we close this since all in one won't work on Mac M1?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants