Troubleshoot OpenStack monitoring issues

Troubleshooting OpenStack monitoring issues

Troubleshooting OpenStack monitoring issues

When you set up OpenStack monitoring in Site24x7, you may encounter errors related to Keystone connectivity, user authentication, or resource discovery. This article walks you through the most common issues and their fixes.

Quick reference

Monitor creation fails immediately.The On-Premise Poller cannot reach the Keystone endpoint.Connectivity issues
Discovery fails with an authorization error.The monitoring user lacks required API permissions.Authorization issues
Resources show as down after a successful setup.The On-Premise Poller is offline.On-Premise Poller status issues
The Keystone URL is not accepted during setup.There is an incorrect URL format or version mismatch.Connectivity issues

Connectivity issues

If monitor creation fails immediately after you click Save , the On-Premise Poller is likely unable to reach the Keystone endpoint. Use the steps below to diagnose the problem from the Poller machine.

Verify Keystone accessibility using a browser

Open the following URL from the On-Premise Poller server:
http://<keystone-host>:5000

or

http://<keystone-host>/identity

A valid Keystone endpoint returns a JSON response with version information. If the page doesn't load, there is a network or firewall issue between the On-Premise Poller and the OpenStack host.

Verify connectivity using cURL

Run the following command from the On-Premise Poller machine:
curl http://<keystone-host>:5000

If HTTPS is configured with self-signed certificates:
curl -k https://<keystone-host>:5000

A successful response confirms the Poller can communicate with Keystone. If the request times out or is refused, check the following:

  • Firewall rules permit outbound TCP connections from the Poller to the OpenStack host on port 5000 (and any other service ports).
  • The OpenStack host IP or hostname is correct and resolvable from the Poller machine.
  • The Keystone service is running on the OpenStack host.

Identify the correct Keystone URL

If the Keystone URL you entered during setup is not accepted, locate the correct URL from the Horizon dashboard:

  1. Log in to the Horizon dashboard by entering your OpenStack host IP in a browser.
  2. Go to Project in the left pane and click API Access .
  3. Click View Credentials and locate the URL listed under Authentication URL .

The On-Premise Poller automatically detects whether your Keystone endpoint uses v2 or v3 and selects the correct authentication API.

Authorization issues

If resource discovery fails with an authorization error after the monitor is created, the monitoring user likely doesn't have the required permissions.

Verify user credentials

  • Confirm the username and password configured in the OpenStack credential profile are correct.
  • Ensure the credentials belong to the correct project or tenant.
  • If you recently rotated the password, update the credential profile in Site24x7.

Verify RBAC permissions

Site24x7 recommends using an OpenStack user with administrator privileges. If administrator access isn't available, ensure the monitoring user has RBAC permissions to access the APIs for the following services:

IdentityKeystoneAuthenticate and list service endpoints
ComputeNovaList instances, hypervisors, and compute services
ImageGlanceList images and their status
NetworkNeutronList network agents
Block StorageCinderList storage services

Verify project access

Ensure the monitoring account has access to the projects that contain the resources you want to monitor. If the account is scoped to a specific project, enable the Project Scoped Token option in the monitor configuration and confirm the Project / Tenant Name matches the correct project.

On-Premise Poller status issues

If resources show as down after a successful setup, verify if there are any network connectivity issues between the On-Premise Poller and the OpenStack resource. Next, check whether the On-Premise Poller is online. Learn how to troubleshoot common issues related to the On-Premise Poller .

Authentication failures

  • Confirm the username and password in the credential profile are correct.
  • Confirm the Project / Tenant Name matches the correct project. If your OpenStack deployment requires project-scoped tokens, enable the Project Scoped Token in the monitor configuration:
    1. In Site24x7, navigate to Virtual > OpenStack .
    2. Click the monitor to edit it.
    3. Set Project Scoped Token to Yes .
    4. Confirm the Project / Tenant Name matches the correct project.
    5. Click Save .