GoogleCloudPlatform / google-cloud-ops-agents-ansible

Ansible Role for Google Cloud Ops
https://cloud.google.com/products/operations
Apache License 2.0
99 stars 55 forks source link

google-cloud-monitoring-bullseye-all does not have a Release file #76

Closed DavidMorp closed 2 years ago

DavidMorp commented 3 years ago

The google-cloud-monitoring-bullseye-all does not have a release file in https://packages.cloud.google.com/apt/dists/

TASK [google-cloud-ops-agents-ansible : Add repo and install agent or remove repo and uninstall agent] ***************************************************************************************************************************************
task path: /Users/DavidMorp/Repos/infrastructure/galaxy/google-cloud-ops-agents-ansible/tasks/linux.yml:19
Wednesday 15 September 2021  15:02:03 +0200 (0:00:00.255)       0:00:20.107 ***
FAILED - RETRYING: Add repo and install agent or remove repo and uninstall agent (5 retries left).
FAILED - RETRYING: Add repo and install agent or remove repo and uninstall agent (4 retries left).
FAILED - RETRYING: Add repo and install agent or remove repo and uninstall agent (3 retries left).
FAILED - RETRYING: Add repo and install agent or remove repo and uninstall agent (2 retries left).
FAILED - RETRYING: Add repo and install agent or remove repo and uninstall agent (1 retries left).
fatal: [hostname]: FAILED! => changed=true
  attempts: 5
  cmd:
  - bash
  - add-monitoring-agent-repo.sh
  - --also-install
  - --version=latest
  delta: '0:00:01.047746'
  end: '2021-09-15 15:03:00.063662'
  msg: non-zero return code
  rc: 1
  start: '2021-09-15 15:02:59.015916'
  stderr: |-
    E: The repository 'https://packages.cloud.google.com/apt google-cloud-monitoring-bullseye-all Release' does not have a Release file.
    [2021-09-15T15:03:00+0200] Could not refresh the google-cloud-monitoring apt repositories.
    Please check your network connectivity and make sure you are running a supported
    debian distribution. See https://cloud.google.com/monitoring/agent/#supported_operating_systems
    for a list of supported platforms.
  stderr_lines: <omitted>
  stdout: |-
    Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
    Hit:2 http://deb.debian.org/debian bullseye InRelease
    Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
    Hit:4 http://deb.debian.org/debian bullseye-backports InRelease
    Hit:5 http://packages.cloud.google.com/apt cloud-sdk-bullseye InRelease
    Hit:6 http://packages.cloud.google.com/apt google-cloud-packages-archive-keyring-bullseye InRelease
    Hit:7 http://packages.cloud.google.com/apt google-compute-engine-bullseye-stable InRelease
    Ign:8 https://packages.cloud.google.com/apt google-cloud-monitoring-bullseye-all InRelease
    Err:9 https://packages.cloud.google.com/apt google-cloud-monitoring-bullseye-all Release
      404  Not Found [IP: 142.250.185.174 443]
    Reading package lists...
  stdout_lines: <omitted>
daniel-goldstein commented 2 years ago

Any updates on this from the ops agent team? Debian 11 is not supported by the legacy logging agent and has been released for more than 8 months now. The only reason we can't use it is logging support.

qingling128 commented 2 years ago

Hi, Debian 11 support is available for Ops Agent: https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent#supported_operating_systems

Ops Agent is the new unified agent that handles both logging and metrics. If you are using the legacy standalone logging and monitoring agents, we highly recommend upgrading to Ops Agent instead (https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/transition#migrate_legacy) to get the latest operating system support and new features.

If there are any blockers for the migration that requires any missing features in Ops Agent or requires extending the Debian 11 support to the legacy agent(s), please file a customer case at https://cloud.google.com/support-hub. We'll carefully review the impact and make exceptions as seen fit.