Thanks to visit codestin.com
Credit goes to github.com

Skip to content

OpenStack Exporter on RHEL 8.10 with OpenStack 17: "Resource not found" errors for security groups metrics #470

@noor47-pixel

Description

@noor47-pixel

Description:
I am running the OpenStack exporter in a container using Podman on RHEL 8.10. The exporter is configured with a clouds.yaml file to connect to a Red Hat OpenStack Platform 17 deployment.

Since upgrading to OpenStack 17, the exporter struggles to retrieve some information related to security groups. I repeatedly see the following error in the logs:

ts=2025-05-07T15:51:20.362Z caller=main.go:169 level=info msg="Starting openstack exporter version for cloud" version="(version=, branch=, revision=1a2e1138ca951da736a974cbeba91fda4501afb0-modified)" cloud=openstack
ts=2025-05-07T15:51:20.363Z caller=exporter.go:205 level=info msg="SSL verification disabled on transport"
…
ts=2025-05-07T15:51:34.639Z caller=exporter.go:100 level=info msg="Collecting metrics for exporter" exporter=openstack_nova metrics=security_groups
ts=2025-05-07T15:51:34.643Z caller=exporter.go:126 level=error err="Failed to collect metric for exporter" exporter=nova error="failed to collect metric: security_groups, error: Resource not found: [GET https://url_of_openstackv17:13774/v2.1/os-security-groups], error message: {\"itemNotFound\": {\"code\": 404, \"message\": \"The resource could not be found.\"}}"

This leads to latency issues and repeated errors in the logs.

I suspect that since I upgraded OpenStack to version 17, some API endpoints (like /v2.1/os-security-groups) might no longer be available or have changed.

  • I run the exporter as a container with Podman and provide clouds.yaml for authentication.
  • SSL verification is disabled as noted in the logs.
  • Could the API endpoint have changed in OpenStack 17?
  • Is there a recommended approach to update the exporter or configuration for this OpenStack version?

Any guidance or similar experiences would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions