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.
| 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 |
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.
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.
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:
If the Keystone URL you entered during setup is not accepted, locate the correct URL from the Horizon dashboard:
The On-Premise Poller automatically detects whether your Keystone endpoint uses v2 or v3 and selects the correct authentication API.
If resource discovery fails with an authorization error after the monitor is created, the monitoring user likely doesn't have the required 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:
| Identity | Keystone | Authenticate and list service endpoints |
|---|---|---|
| Compute | Nova | List instances, hypervisors, and compute services |
| Image | Glance | List images and their status |
| Network | Neutron | List network agents |
| Block Storage | Cinder | List storage services |
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.
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 .