Skip to content

PHP recipe marked as unsupported on Ubuntu ARM/Graviton instance #963

Open
@indygriffiths

Description

Description

I'm trialling New Relic and attempting to use the newrelic_installer Puppet module to install the New Relic CLI on our AWS Graviton fleet and install the appropriate recipes, but the PHP recipe fails with an unsupported error.

Though the docs state ARM64 is supported and manually installing the PHP agent from the tarball works as expected, it looks like the recipe for PHP is locked to x86 from #779 and I can't tell whether it should still be locked to x86 or not.

Steps to Reproduce

  1. Execute /usr/local/bin/newrelic install -n infrastructure-agent-installer,logs-integration,php-agent-installer on a ARM-based instance (this is grokked from the Puppet module so my syntax may not be correct)
  2. Note that the PHP agent installer fails with unsupported.

Expected Behavior

The PHP recipe is able to be installed on an ARM64 instance as per the docs.

Relevant Logs / Console output

Console logs from the Puppet install:

Notice: /Stage[main]/Newrelic_installer::Install/Remote_file[/tmp/newrelic_cli_install.sh]/ensure: created
Notice: /Stage[main]/Newrelic_installer::Install/File[/tmp/newrelic_cli_install.sh]/mode: mode changed '0600' to '0511'
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic-cli]/returns: Installing New Relic CLI v0.70.0
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic-cli]/returns: Installing to /usr/local/bin
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic-cli]/returns: executed successfully
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns:
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns:  _   _                 ____      _ _
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns: | \ | | _____      __ |  _ \ ___| (_) ___
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns: |  \| |/ _ \ \ /\ / / | |_) / _ | | |/ __|
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns: | |\  |  __/\ V  V /  |  _ |  __| | | (__
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns: |_| \_|\___| \_/\_/   |_| \_\___|_|_|\___|
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns:
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns: Welcome to New Relic. Let's set up full stack observability for your environment.
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns: Our Data Privacy Notice: https://newrelic.com/termsandconditions/services-notices
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns:
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns:    Connected
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns:
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns:
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns: Installing New Relic Infrastructure Agent
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns:    Installed
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns:    Installed
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns:
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns:   New Relic installation complete
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns:
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns:   --------------------
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns:   Installation Summary
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns:
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns:   ✔  Infrastructure Agent  (installed)
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns:   ✔  Logs Integration  (installed)
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns:   ⊘  php-agent-installer  (unsupported)
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns:
[snip]
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns:
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns: We encountered an issue during the installation: one or more selected recipes could not be installed.
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns: If this problem persists, visit the documentation and support page for additional help here at https://docs.newrelic.com/docs/infrastructure/install-infrastructure-agent/get-started/requirements-infrastructure-agent/
Notice: /Stage[main]/Newrelic_installer::Install/Exec[install newrelic instrumentation]/returns: executed successfully

Your Environment

OS: Ubuntu 20.04
Arch: aarch64 (Graviton)
New Relic CLI version: v0.70.0

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions