GoogleCloudPlatform / google-cloud-ops-agents-ansible

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

Alma Linux Not Supported #82

Open leone145 opened 2 years ago

leone145 commented 2 years ago

Alma Linux provided on GCP is not supported by the playbook

TASK [googlecloudplatform.google_cloud_ops_agents : Validate Operating System] **** fatal: [127.0.0.1]: FAILED! => { "assertion": "ansible_os_family == 'Windows' or ansible_distribution in ['Debian', 'Ubuntu', 'RedHat', 'CentOS', 'Amazon', 'SLES', 'openSUSE', 'SuSE', 'SLES_SAP', 'Windows']\n", "changed": false, "evaluated_to": false, "msg": "Received invalid Operating System: 'AlmaLinux'. The Cloud Ops Ansible role supports the following OSs: 'Debian', 'Ubuntu', 'RedHat', 'CentOS', 'Amazon', 'SLES', 'openSUSE', 'SuSE', 'SLES_SAP' and 'Windows'.\n" }

PLAY RECAP **** 127.0.0.1 : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

kyleabenson commented 2 years ago

Hey @leone145 we don't support AlmaLinux at this time in the Ops Agent generally, which is why this role doesn't support it: https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent#supported_operating_systems

More broadly, our goal with the Ops Agent is to support operating systems supported by the GCE platform. I think we could clean up this playbook assertion to reduce confusion, but can tell you that currently there aren't plans for supporting AlmaLinux.

leone145 commented 2 years ago

Thanks for the feedback. This is in contrast to what our account team has informed us on AlmaLinux. This distribution was their recommendation to replace CentOS 8 EOL.

antdking commented 1 year ago

For convenience, can a bypass for the assertion be added? This would make testing on Fedora easier, too

paulmaunders commented 7 months ago

Hi, is there any update on this?

AlmaLinux is recommended by Google on the CentOS 7 EOL page: https://cloud.google.com/compute/docs/eol/centos-eol-guidance

tripledm commented 3 months ago

Any update? AlmaLinux part of marketplace installation and as @paulmaunders shared, recommended by GCP so it is unfortunate that its not added to the Ops Agent as supported OS.

igorpeshansky commented 3 months ago

I believe what @kyleabenson meant in the above comment was that the Ops Agent today only supports images that have commercial support provided by Google Cloud. Unfortunately, AlmaLinux is not one of those images.

If you are in a position to open a Cloud Support case, please use that to open a feature request for the Ops Agent to support AlmaLinux. If not, at the very least please file a feature request in the Ops Agent repository and link here. If and when such support is added, the Ansible playbook will be updated accordingly.