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

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

Open
indygriffiths opened this issue Aug 29, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@indygriffiths
Copy link

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

@indygriffiths indygriffiths added the bug Something isn't working label Aug 29, 2023
@dkmuir
Copy link

dkmuir commented Jan 12, 2024

I just hit this issue too. I noticed that the docs say that Ubuntu is not supported, but Debian is: https://docs.newrelic.com/docs/apm/agents/php-agent/getting-started/php-agent-compatibility-requirements/#operating-systems

Unfortunately, after re-provisioning with Debian, I'm also getting the same unsupported error:

ok: [i-xxxxxxxxxxx] => {
    "msg": {
        "node": "ip-xxxxxxxxxxxxx",
        "status": "INCOMPLETE",
        "summary": [
            "  Installation Summary",
            "",
            "  ✔  Infrastructure Agent  (installed)  ",
            "  ✔  Logs Integration  (installed)  ",
            "  ⊘  NGINX Integration  (unsupported)  ",
            "  ⊘  php-agent-installer  (unsupported)  ",
            "",
            "  Installation was successful overall, however, one or more installations could not be completed.",
            "  Follow the instructions at the URL below to complete the installation process. ",
            "",
            "  ⮕  https://onenr.io/0ZQW58o73RW",
            "",
            "  View your logs at the link below:",
            "  ⮕  https://onenr.io/02wdnO8DGjE",
            "",
            "  --------------------",
            "",
            "",
            "We encountered an issue during the installation: one or more selected recipes could not be installed.",
            "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/"
        ]
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants