newrelic / open-install-library

New Relic's open instrumentation installation recipe database and service
Apache License 2.0
19 stars 53 forks source link

ARMv8 is not supported now #371

Closed michaelzhye closed 3 years ago

michaelzhye commented 3 years ago

This machine architecture is not supported. The supported architectures are x86_64, aarch64, armv7.

截圖 2021-05-24 下午6 58 44

$ uname -a Linux FusionWrt 5.4.117 #0 SMP PREEMPT Fri May 14 04:32:48 2021 aarch64 GNU/Linux

It's not work in armv8.

zlesnr commented 3 years ago

Thank you for raising the issue. Can you tell me about this host, so we can try to replicate and test for support? uname -m looks like it should be aarch64 which should work unless there is a bug in the install script.

michaelzhye commented 3 years ago

Thank you for raising the issue. Can you tell me about this host, so we can try to replicate and test for support? uname -m looks like it should be aarch64 which should work unless there is a bug in the install script.

Hi, yes and uname -m looks like aarch64, my Hardware is NanoPi with: https://wiki.friendlyarm.com/wiki/index.php/NanoPi_R4S , help have a look pls. So, which is right? or bug with the install script? how to test it?

michaelzhye commented 3 years ago

Try to install in a new OS release is not work too with diff error.

`$ curl -Ls https://raw.githubusercontent.com/newrelic/newrelic-cli/master/scripts/install.sh | bash && sudo NEW_RELIC_API_KEY=?? NEW_RELIC_ACCOUNT_ID=3173350 /usr/local/bin/newrelic install

Starting installation. Installing New Relic CLI v0.27.4 Installing to /usr/local/bin mv: can't rename 'newrelic': No such file or directory An error occurred installing the tool. The contents of the directory /tmp/tmp.NpOAkO have been left in place to help to debug the issue.`

Then, I have try to install from debug tmp dir:

`# root @ Black4G in /tmp/tmp.NpOAkO [11:23:33] C:1 $ NEW_RELIC_API_KEY=?? NEW_RELIC_ACCOUNT_ID=????? ./newrelic install WARNING unknown region, using default: US
INFO profile default added
INFO setting default as default profile


| \ | | | \ _| () | | |/ \ \ /\ / / | |) / _ | | |/ | | |\ | /\ V V / | | | | | ( || _|_| _/_/ || \_|||_|

Welcome to New Relic. Let's install some instrumentation.

Questions? Read more about our installation process at https://docs.newrelic.com/

INFO Validating connectivity to the New Relic platform... ✅ Checking for data in New Relic (this may take a few minutes)...success. ERROR error retrieving recipe infrastructure-agent-installer: infrastructure agent was unable to be installed for your operating system. For additional installation options please see: https://docs.newrelic.com/docs/infrastructure/install-infrastructure-agent/linux-installation/tarball-assisted-install-infrastructure-agent-linux/

FATAL We encountered an error during the installation: infrastructure agent was unable to be installed for your operating system. For additional installation options please see: https://docs.newrelic.com/docs/infrastructure/install-infrastructure-agent/linux-installation/tarball-assisted-install-infrastructure-agent-linux/. If this problem persists please visit the documentation and support page for additional help here: https://one.nr/06vjAeZLKjP `

Display " infrastructure agent was unable to be installed for your operating system" always.

Julien4218 commented 3 years ago

Hello @michaelzhye We've started to support ARM through this installation method a couple of days ago. However I checked with your OS and unfortunately installation with this library follows the package manager list documented at https://docs.newrelic.com/docs/infrastructure/install-infrastructure-agent/linux-installation/install-infrastructure-monitoring-agent-linux/ Without a compatible family, the only option would be to follow the steps in the "Other Linux distros".