mcp-openstack-ops 3.6.8__tar.gz → 3.6.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/Dockerfile.MCP-Server +2 -1
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/PKG-INFO +50 -9
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/README.md +48 -8
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/build-mcp-server-docker-image.sh +1 -1
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/docker-compose.yml +1 -1
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/pyproject.toml +1 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/functions.py +7 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/prompt_template.md +96 -28
- mcp_openstack_ops-3.6.9/src/mcp_openstack_ops/services/gnocchi.py +381 -0
- mcp_openstack_ops-3.6.9/src/mcp_openstack_ops/tools/get_gnocchi_aggregates.py +91 -0
- mcp_openstack_ops-3.6.9/src/mcp_openstack_ops/tools/get_gnocchi_measures.py +56 -0
- mcp_openstack_ops-3.6.9/src/mcp_openstack_ops/tools/get_gnocchi_metrics.py +42 -0
- mcp_openstack_ops-3.6.9/src/mcp_openstack_ops/tools/get_gnocchi_resources.py +46 -0
- mcp_openstack_ops-3.6.9/src/mcp_openstack_ops/tools/get_gnocchi_service_info.py +29 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_resource_monitoring.py +2 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_usage_statistics.py +1 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_alarms.py +7 -2
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_metrics.py +5 -1
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops.egg-info/PKG-INFO +50 -9
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops.egg-info/SOURCES.txt +7 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops.egg-info/requires.txt +1 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops.egg-info/scm_file_list.json +7 -0
- mcp_openstack_ops-3.6.9/src/mcp_openstack_ops.egg-info/scm_version.json +8 -0
- mcp_openstack_ops-3.6.9/tests/test_gnocchi.py +246 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/tests/test_tool_registration.py +13 -2
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/uv.lock +372 -3
- mcp_openstack_ops-3.6.8/src/mcp_openstack_ops.egg-info/scm_version.json +0 -8
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/.env.example +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/.github/FUNDING.yml +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/.github/copilot-instructions.md +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/.github/dependabot.yml +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/.github/workflows/pypi-publish.yml +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/.github/workflows/tests.yml +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/.gitignore +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/.gitleaks.toml +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/.pre-commit-config.yaml +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/.python-version +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/AGENTS.md +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/Dockerfile.MCPO-Proxy +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/LICENSE +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/MANIFEST.in +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/build-mcpo-server-docker-image.sh +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/diagnose_openstack.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/docs/issues/issue-73-test-report-20261104-054928.ko.md +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/docs/issues/issue-73-test-report-20261104-054928.md +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/docs/multi-user-guide.md +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/img/MCP-Workflow-of-Quickstart-Tutorial.png +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/img/screenshot-claude-desktop.png +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/img/screenshot-example-cluster-status.png +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/img/screenshot-openstack-dashboard.png +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/main.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/mcp-config.json.http +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/mcp-config.json.multi-project +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/mcp-config.json.multi-user +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/mcp-config.json.stdio +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/scripts/check_release.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/scripts/mcp-server-docker-cmd.sh +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/scripts/publish_release.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/scripts/run-mcp-inspector-local.sh +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/scripts/run-mcp-inspector-pypi.sh +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/setup.cfg +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/__init__.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/__main__.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/connection.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/mcp_main.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/services/__init__.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/services/alarms.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/services/compute.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/services/core.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/services/identity.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/services/image.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/services/load_balancer/__init__.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/services/load_balancer/amphorae.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/services/load_balancer/core.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/services/load_balancer/health_monitors.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/services/load_balancer/l7_policies.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/services/load_balancer/listeners.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/services/load_balancer/management.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/services/load_balancer/pools.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/services/monitoring.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/services/network.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/services/orchestration.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/services/storage.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/__init__.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_availability_zones.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_domains.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_floating_ip_pools.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_floating_ips.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_heat_stack_details.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_heat_stacks.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_hypervisor_details.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_identity_groups.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_image_detail_list.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_image_members.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_instance.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_instance_by_name.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_instance_details.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_instances_by_status.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_keypair_list.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_load_balancer_amphorae.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_load_balancer_availability_zones.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_load_balancer_details.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_load_balancer_flavors.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_load_balancer_health_monitors.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_load_balancer_l7_policies.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_load_balancer_l7_rules.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_load_balancer_list.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_load_balancer_listeners.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_load_balancer_pool_members.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_load_balancer_pools.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_load_balancer_providers.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_load_balancer_quotas.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_network_details.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_network_qos_policies.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_project_details.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_quota.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_role_assignments.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_routers.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_security_groups.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_server_events.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_server_groups.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_server_volumes.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_service_status.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_user_list.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_volume_backups.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_volume_groups.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_volume_list.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_volume_qos.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_volume_snapshots.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_volume_transfers.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/get_volume_types.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/search_instances.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_compute_agents.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_domains.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_flavor.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_floating_ip.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_floating_ip_port_forwarding.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_heat_stack.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_identity_groups.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_image.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_image_members.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_image_metadata.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_image_visibility.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_instance.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_keypair.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_load_balancer.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_load_balancer_amphora.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_load_balancer_availability_zone.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_load_balancer_flavor.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_load_balancer_health_monitor.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_load_balancer_l7_policy.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_load_balancer_l7_rule.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_load_balancer_listener.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_load_balancer_pool.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_load_balancer_pool_member.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_load_balancer_quota.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_network_agents.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_network_ports.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_network_qos_policies.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_networks.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_project.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_quota.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_roles.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_routers.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_security_groups.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_server_backup.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_server_dump.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_server_fixed_ip.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_server_floating_ip.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_server_group.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_server_migration.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_server_network.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_server_properties.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_server_security_group.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_server_volume.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_service_logs.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_services.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_snapshot.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_subnets.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_users.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_volume.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_volume_backups.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_volume_groups.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_volume_qos.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/tools/set_volume_types.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/user_connection.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops.egg-info/dependency_links.txt +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops.egg-info/entry_points.txt +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops.egg-info/top_level.txt +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/test_compatibility.sh +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/test_project_isolation.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/tests/test_connection.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/tests/test_expanded_validation_fixes.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/tests/test_floating_ip.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/tests/test_instance_image.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/tests/test_live_regressions.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/tests/test_operational_tools.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/tests/test_phase1_stabilization.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/tests/test_publish_release.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/tests/test_release.py +0 -0
- {mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/tests/test_user_connection.py +0 -0
|
@@ -14,7 +14,8 @@ RUN pip install \
|
|
|
14
14
|
'mcpo>=0.0.17' \
|
|
15
15
|
'fastmcp>=2.12.4' \
|
|
16
16
|
'aiohttp>=3.12.0' \
|
|
17
|
-
'openstacksdk>=4.1.0,<=4.
|
|
17
|
+
'openstacksdk>=4.1.0,<=4.22.0' \
|
|
18
|
+
'gnocchiclient>=7.2.0,<8' \
|
|
18
19
|
'python-dotenv>=1.1.1'
|
|
19
20
|
|
|
20
21
|
CMD ["/bin/bash", "/app/scripts/mcp-server-docker-cmd.sh"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mcp-openstack-ops
|
|
3
|
-
Version: 3.6.
|
|
3
|
+
Version: 3.6.9
|
|
4
4
|
Summary: OpenStack operations automation MCP server
|
|
5
5
|
Author-email: JungJungIn <call518@gmail.com>
|
|
6
6
|
Requires-Python: >=3.12
|
|
@@ -11,6 +11,7 @@ Requires-Dist: openstacksdk<=4.22.0,>=4.1.0
|
|
|
11
11
|
Requires-Dist: python-dotenv>=1.1.1
|
|
12
12
|
Requires-Dist: setuptools-scm>=10.0.5
|
|
13
13
|
Requires-Dist: pre-commit>=4.6.0
|
|
14
|
+
Requires-Dist: gnocchiclient<8,>=7.2.0
|
|
14
15
|
Provides-Extra: dev
|
|
15
16
|
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
|
16
17
|
Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
|
|
@@ -51,7 +52,7 @@ cross-project queries are outside this phase.
|
|
|
51
52
|
- ✅ **90+ Purpose-Built Tools**: Broad coverage across compute, networking, storage, images, identity, Heat, and Octavia load balancing tasks. Project resources are scoped to the active project; cloud-wide administrative APIs remain subject to OpenStack policy.
|
|
52
53
|
- ✅ **Bulk & Filtered Actions**: Instance, volume, network, image, snapshot, and keypair managers accept comma-delimited targets or filter criteria to orchestrate bulk changes intentionally.
|
|
53
54
|
- ✅ **Post-Action Feedback & Async Guidance**: Mutating tools reuse a shared result handler that adds emoji status checks, asynchronous timing notes, and follow-up verification commands.
|
|
54
|
-
- ✅ **Monitoring & Usage Insights**: `get_service_status`, `get_resource_monitoring`, `get_usage_statistics`, and quota tools report service probes, project allocations, separate quota limits, and API-backed compute allocation-hours.
|
|
55
|
+
- ✅ **Monitoring & Usage Insights**: `get_service_status`, `get_resource_monitoring`, `get_usage_statistics`, and quota tools report service probes, project allocations, separate quota limits, and API-backed compute allocation-hours. These tools do not collect live utilization or trends; read-only `get_gnocchi_*` tools return telemetry time series when Ceilometer and Gnocchi are deployed.
|
|
55
56
|
- ✅ **Unified Instance Queries**: The `get_instance` tool consolidates name, ID, status, and free-form search paths with pagination plus summary/detailed modes.
|
|
56
57
|
- ✅ **Server Insight & Audit Trail**: Dedicated tools expose server events, hypervisor details, availability zones, quotas, and resource ownership to speed diagnostics.
|
|
57
58
|
- ✅ **Load Balancer Management**: Octavia tools cover listeners, pools, members, health monitors, flavors, quotas, and amphora operations with the same safety gates.
|
|
@@ -216,10 +217,30 @@ and the [multi-user setup guide](docs/multi-user-guide.md).
|
|
|
216
217
|
HTTP-only multi-user test override is **Live unverified**; only its fail-closed
|
|
217
218
|
default, explicit opt-in, endpoint generation, and startup warning were tested
|
|
218
219
|
locally.
|
|
219
|
-
- **
|
|
220
|
+
- **Targeted telemetry check (2026-11-08 UTC; partial; uncommitted working tree
|
|
221
|
+
based on `d954eba`):** After Ceilometer, Gnocchi, and Aodh were added to the
|
|
222
|
+
test cloud, only `set_alarms` and the four new `get_gnocchi_*` tools were
|
|
223
|
+
rerun through the MCP server. This partial check does not update the
|
|
224
|
+
105-tool live summary above. All five tools passed at least one live path.
|
|
225
|
+
A metric-ownership fix for metric-UUID-only lookups was retested live after
|
|
226
|
+
the MCP server was recreated. Polled metrics were initially absent because
|
|
227
|
+
the test cloud's ceilometer-compute agent had failed to reach libvirt at
|
|
228
|
+
startup; after that agent was restarted, `cpu`, `memory.usage`, disk I/O,
|
|
229
|
+
and network I/O measures were read through the tools. Aodh evaluated `cpu`
|
|
230
|
+
`rate:mean` alarms to the expected `ok` and `alarm` states. Test alarms were
|
|
231
|
+
deleted.
|
|
232
|
+
- **Targeted aggregation check (2026-11-09 UTC; partial; uncommitted working
|
|
233
|
+
tree based on `a5115d3`):** only the new `get_gnocchi_aggregates` tool was
|
|
234
|
+
run through the MCP server. The test project had one instance, so ranking
|
|
235
|
+
and grouping returned one series each. After that run, null-gap output,
|
|
236
|
+
metric-name validation, and the failure hint were changed; those changes
|
|
237
|
+
and the core aggregation paths were rerun through a second streamable-HTTP
|
|
238
|
+
MCP server started from the current working tree.
|
|
239
|
+
- **Local unit tests (current working tree, 2026-11-09):** 311/311 (100%); no
|
|
220
240
|
failures or skipped tests. These tests include MCP action-description and
|
|
221
|
-
advanced-parameter forwarding regressions
|
|
222
|
-
regressions; they do not replace
|
|
241
|
+
advanced-parameter forwarding regressions, the insecure-HTTP opt-in
|
|
242
|
+
regressions, and Gnocchi project-scoping and aggregation-input regressions; they do not replace
|
|
243
|
+
live service validation.
|
|
223
244
|
|
|
224
245
|
**Detailed Mapping by Category**
|
|
225
246
|
|
|
@@ -480,14 +501,27 @@ and the [multi-user setup guide](docs/multi-user-guide.md).
|
|
|
480
501
|
|
|
481
502
|
### 8. 📊 **Monitoring & Logging**
|
|
482
503
|
|
|
504
|
+
Allocation and measured telemetry are separate. `get_resource_monitoring`,
|
|
505
|
+
`get_quota`, and `get_usage_statistics` report flavor allocations, quotas,
|
|
506
|
+
capacity, and allocation-hours from Nova. `get_gnocchi_*` tools report observed
|
|
507
|
+
time series collected by Ceilometer into Gnocchi. Tool descriptions cross-reference
|
|
508
|
+
each other so that requests for utilization, load, or trends use Gnocchi. They
|
|
509
|
+
also instruct the model to report an uncollected measured metric as not
|
|
510
|
+
collected instead of substituting allocations.
|
|
511
|
+
|
|
483
512
|
| OpenStack CLI Command | MCP Tool | Status | Notes |
|
|
484
513
|
|---------------------|---------|------|------|
|
|
485
514
|
| Resource monitoring | `get_resource_monitoring` | ⚠️ Live unverified | Reader physical-capacity policy restrictions; allocations are separate from capacity; no live utilization |
|
|
486
515
|
| Service status | `get_service_status` | ⚠️ Live unverified | Reader service-policy restrictions; partial data is not proof of global health |
|
|
487
516
|
| Cluster overview | `get_service_status` + `get_resource_monitoring` | ⚠️ Live unverified | Reader physical-capacity policy restrictions; allocations are separate from capacity; no live utilization |
|
|
488
517
|
| Service log metadata | `set_service_logs` | Partial | Service listing only; log retrieval is unavailable without a logging backend |
|
|
489
|
-
| Resource metadata | `set_metrics` | Partial | list/summary only;
|
|
490
|
-
|
|
|
518
|
+
| Resource metadata | `set_metrics` | Partial | Nova/Neutron/Cinder list/summary only; does not call Gnocchi. Use `get_gnocchi_*` for telemetry |
|
|
519
|
+
| `gnocchi resource list/search/show/history` | `get_gnocchi_resources` | ✅ | Current-project resources; list, attribute filter, show with metrics map, and history passed live |
|
|
520
|
+
| `gnocchi metric list/show` | `get_gnocchi_metrics` | ✅ | List, per-resource details, show by resource + name, and show by metric UUID passed live |
|
|
521
|
+
| `gnocchi measures show` | `get_gnocchi_measures` | ✅ | By resource + name and by metric UUID passed live, including start, granularity, resample, refresh, latest-N limit, and `rate:mean` for `cpu`; `memory.usage`, disk, and network measures were read. Unsupported aggregation and missing metric returned failures |
|
|
522
|
+
| `gnocchi aggregates` | `get_gnocchi_aggregates` | ✅ | Current-project search is always applied. Passed live: project-wide `cpu` `rate:mean` mean, `top`, `groupby="flavor_name"`, and the `memory.usage`/`memory` ratio expression. Ranking across several resources is unit-tested only because the test project had one instance. A metric UUID owned outside the project returned 404 in expression mode. Mixed modes and missing metrics returned failures with hints. Unfilled gaps are returned as null |
|
|
523
|
+
| `gnocchi archive-policy/archive-policy-rule/resource-type list`, `gnocchi capabilities list`, `gnocchi status` | `get_gnocchi_service_info` | ✅ | All five sections returned live with the admin test account; a denied section is reported per section |
|
|
524
|
+
| Alarm management | `set_alarms` | ✅ | list/create/show/delete passed live, by name and by ID. Evaluation passed live: `cpu` alarms with `aggregation_method="rate:mean"` reached `ok` and `alarm` as expected, and a `vcpus` alarm reached `alarm`. Aodh accepted alarms for a nonexistent resource and for the default `cpu_util`, which current Ceilometer does not collect; check metrics with `get_gnocchi_metrics` first |
|
|
491
525
|
| Compute agents | `set_compute_agents` | ✅ | Compute agent management |
|
|
492
526
|
| Usage statistics | `get_usage_statistics` | ✅ | Period compute allocation-hours plus separately labeled current snapshots |
|
|
493
527
|
|
|
@@ -509,13 +543,14 @@ and the [multi-user setup guide](docs/multi-user-guide.md).
|
|
|
509
543
|
The feature table marks implemented API paths, not verification against every OpenStack deployment. Service and policy requirements must be checked in the target deployment. A missing service, extension, required microversion, or permission is an operation failure, not an empty successful result.
|
|
510
544
|
|
|
511
545
|
- **Modification tools:** the MCP server registers `set_*` management tools only when `ALLOW_MODIFY_OPERATIONS=true`. Existing action guards also reject writes when disabled. Dedicated read-only `get_*` tools remain available. API authorization is enforced by the target cloud; agent, user, domain, type and QoS administration may require elevated OpenStack roles.
|
|
512
|
-
- **Alarms:** `set_alarms` calls the Keystone catalog's `alarming` endpoint for the configured interface/region. It supports list/create/show/delete of project alarms and creates `gnocchi_resources_threshold` alarms. Aodh, Gnocchi, the specified resource and a collected metric are required. The default metric is `
|
|
546
|
+
- **Alarms:** `set_alarms` calls the Keystone catalog's `alarming` endpoint for the configured interface/region. It supports list/create/show/delete of project alarms and creates `gnocchi_resources_threshold` alarms. Aodh, Gnocchi, the specified resource and a collected metric are required. The default metric `cpu_util` is kept for compatibility, but Ceilometer has not produced it since Stein, so such alarms stay `insufficient data`. For CPU alarms, use `metric="cpu"` with `aggregation_method="rate:mean"`; the threshold is CPU nanoseconds per granularity window (percent / 100 × granularity × 10⁹ × vCPUs; 80% of one vCPU over 300 s is `2.4e11`). `metric`, `resource_type`, `aggregation_method`, `granularity`, `evaluation_periods`, and `alarm_actions` can be supplied. An empty action list creates an alarm without notifications. There is no simulation fallback.
|
|
513
547
|
- **Usage:** `get_usage_statistics` calls Nova simple tenant usage for the current project. Requires Nova API microversion 2.40 or newer for complete pagination. Date bounds are UTC midnight, start inclusive and end exclusive; start must precede end. `usage_statistics.period_compute` contains paginated Nova allocation-hours, not actual CPU load, billed currency, or network/storage history. Nova accounts using VM lifetime and the latest flavor; stop/pause/resize history is not reconstructed. Existing `compute`, `network`, and `storage` fields are current snapshots, labeled by `snapshot_fields` and `snapshot_timestamp`. An unavailable period API returns failure. A failed snapshot section is reported as partial failure.
|
|
514
548
|
- **Capacity:** `get_resource_monitoring` separates flavor allocations from project quota limits and the physical totals of visible hypervisors. Missing physical totals or incomplete flavor allocations return `null`, not invented capacity or zero usage. Physical totals and project allocations have different scopes. This tool does not collect live utilization or trends.
|
|
515
549
|
- **Floating IP pools:** `total_ips` is the exact sum of visible subnet allocation ranges; `used_ips` counts visible Floating IP objects. Global `available_ips` is `null`: other projects and non-floating ports may consume addresses that are not visible to the caller.
|
|
516
550
|
- **Volume groups:** the cloud must support Cinder generic groups (microversion 3.13 or newer). Create requires an existing `group_type` and comma-delimited `volume_types`. Deletion does not delete member volumes unless `delete_volumes=true` is explicitly supplied. Async creation/deletion responses mean accepted, not finished.
|
|
517
551
|
- **Identity and images:** `set_users` reads a new user's password from the server variable named by `password_env`; never put passwords in prompts. It does not grant project roles. Disable a domain explicitly with `set_domains(action="update", enabled=false)` before deleting it. Image member modifications require an image owned by the current project, shared visibility, and appropriate Glance policy; adding a member does not automatically accept the recipient's membership.
|
|
518
|
-
- **
|
|
552
|
+
- **Telemetry (Gnocchi):** the read-only `get_gnocchi_resources`, `get_gnocchi_metrics`, `get_gnocchi_measures`, `get_gnocchi_aggregates`, and `get_gnocchi_service_info` tools use `gnocchiclient` with the Keystone catalog's `metric` endpoint for the configured interface/region. Ceilometer must be collecting data into Gnocchi; it has no API of its own. Results are limited to resources whose `project_id` is the current project. Metrics are created by the Ceilometer service project, so ownership is checked through the embedded resource. Available metrics depend on deployment. Notification-based metrics such as `vcpus`, `memory`, and `disk.root.size` record flavor sizes. Polled metrics such as `cpu`, `memory.usage`, `disk.device.*`, and `network.*` require a working ceilometer-compute agent and a running instance. `cpu` is cumulative nanoseconds; use `aggregation="rate:mean"` when the archive policy supports it. Current Ceilometer does not produce `cpu_util`. Measures and aggregation methods are limited by each metric's archive policy. `get_gnocchi_aggregates` accepts either structured parameters or an operations expression; both add a current-project resource search, so expression metric references resolve as metric names on matched resources. Arithmetic between metrics returns points only where every operand has data. Gnocchi write operations (measure ingestion, resource/metric/archive policy changes) are not implemented.
|
|
553
|
+
- **Logs and telemetry:** `set_service_logs(action="show")` and `set_metrics(action="show")` return explicit unsupported errors. No centralized logging backend is implemented. `set_metrics` list/summary operations expose Nova/Neutron/Cinder resource metadata only; use the Gnocchi tools for telemetry samples.
|
|
519
554
|
|
|
520
555
|
## Quick Start
|
|
521
556
|
|
|
@@ -748,6 +783,7 @@ Common OpenWebUI 0.13 errors:
|
|
|
748
783
|
| `tools: array too long` | External and built-in tool definitions exceeded the model provider's request limit | Enable Tool Search with threshold `0` |
|
|
749
784
|
| `Function tools with reasoning_effort are not supported ... /v1/chat/completions` | Chat Completions received function tools and a non-`none` reasoning effort | Use Responses, or set reasoning effort to `none` if reasoning is not needed |
|
|
750
785
|
| `Unsupported parameter: reasoning_effort ... moved to reasoning.effort` | OpenWebUI 0.13.0 sent a custom Reasoning Effort through a Responses connection | Set Reasoning Effort to Default; use custom `reasoning={"effort":"medium"}` only when an explicit value is required |
|
|
786
|
+
| MCPO logs `POST http://mcp-server:8000/mcp "404 Not Found"` and `McpError: Session terminated`; `mcp-server` logs `Rejected request with unknown or expired session ID` | MCP sessions exist only in the running `mcp-server` process. After `mcp-server` restarts, MCPO keeps its old session and does not reconnect. `docker compose restart` does not wait for the `mcp-server` health check, so MCPO can connect to the old process just before it stops | With `mcp-server` running, run `docker compose restart mcpo-proxy`. To restart both, use `docker compose up -d --force-recreate mcp-server mcpo-proxy` instead of `docker compose restart`. If a direct MCP client reports the same session error, reconnect it |
|
|
751
787
|
|
|
752
788
|
### 5. Enable modifications only when needed
|
|
753
789
|
|
|
@@ -920,6 +956,11 @@ MCP server may authenticate successfully and then fail on the first service tool
|
|
|
920
956
|
`OS_INTERFACE` does not change these explicit endpoint URLs. The current
|
|
921
957
|
single-host configuration uses the internal interface convention.
|
|
922
958
|
|
|
959
|
+
Aodh (`alarming`) and Gnocchi (`metric`) have no `OS_*_PORT` setting. Their
|
|
960
|
+
tools use the Keystone catalog endpoint for `OS_INTERFACE` and
|
|
961
|
+
`OS_REGION_NAME`, which must also be reachable from the `mcp-server` container.
|
|
962
|
+
|
|
963
|
+
|
|
923
964
|
### HTTPS and private CA setup
|
|
924
965
|
|
|
925
966
|
For HTTPS OpenStack endpoints signed by a public CA, use the system CA bundle
|
|
@@ -33,7 +33,7 @@ cross-project queries are outside this phase.
|
|
|
33
33
|
- ✅ **90+ Purpose-Built Tools**: Broad coverage across compute, networking, storage, images, identity, Heat, and Octavia load balancing tasks. Project resources are scoped to the active project; cloud-wide administrative APIs remain subject to OpenStack policy.
|
|
34
34
|
- ✅ **Bulk & Filtered Actions**: Instance, volume, network, image, snapshot, and keypair managers accept comma-delimited targets or filter criteria to orchestrate bulk changes intentionally.
|
|
35
35
|
- ✅ **Post-Action Feedback & Async Guidance**: Mutating tools reuse a shared result handler that adds emoji status checks, asynchronous timing notes, and follow-up verification commands.
|
|
36
|
-
- ✅ **Monitoring & Usage Insights**: `get_service_status`, `get_resource_monitoring`, `get_usage_statistics`, and quota tools report service probes, project allocations, separate quota limits, and API-backed compute allocation-hours.
|
|
36
|
+
- ✅ **Monitoring & Usage Insights**: `get_service_status`, `get_resource_monitoring`, `get_usage_statistics`, and quota tools report service probes, project allocations, separate quota limits, and API-backed compute allocation-hours. These tools do not collect live utilization or trends; read-only `get_gnocchi_*` tools return telemetry time series when Ceilometer and Gnocchi are deployed.
|
|
37
37
|
- ✅ **Unified Instance Queries**: The `get_instance` tool consolidates name, ID, status, and free-form search paths with pagination plus summary/detailed modes.
|
|
38
38
|
- ✅ **Server Insight & Audit Trail**: Dedicated tools expose server events, hypervisor details, availability zones, quotas, and resource ownership to speed diagnostics.
|
|
39
39
|
- ✅ **Load Balancer Management**: Octavia tools cover listeners, pools, members, health monitors, flavors, quotas, and amphora operations with the same safety gates.
|
|
@@ -198,10 +198,30 @@ and the [multi-user setup guide](docs/multi-user-guide.md).
|
|
|
198
198
|
HTTP-only multi-user test override is **Live unverified**; only its fail-closed
|
|
199
199
|
default, explicit opt-in, endpoint generation, and startup warning were tested
|
|
200
200
|
locally.
|
|
201
|
-
- **
|
|
201
|
+
- **Targeted telemetry check (2026-11-08 UTC; partial; uncommitted working tree
|
|
202
|
+
based on `d954eba`):** After Ceilometer, Gnocchi, and Aodh were added to the
|
|
203
|
+
test cloud, only `set_alarms` and the four new `get_gnocchi_*` tools were
|
|
204
|
+
rerun through the MCP server. This partial check does not update the
|
|
205
|
+
105-tool live summary above. All five tools passed at least one live path.
|
|
206
|
+
A metric-ownership fix for metric-UUID-only lookups was retested live after
|
|
207
|
+
the MCP server was recreated. Polled metrics were initially absent because
|
|
208
|
+
the test cloud's ceilometer-compute agent had failed to reach libvirt at
|
|
209
|
+
startup; after that agent was restarted, `cpu`, `memory.usage`, disk I/O,
|
|
210
|
+
and network I/O measures were read through the tools. Aodh evaluated `cpu`
|
|
211
|
+
`rate:mean` alarms to the expected `ok` and `alarm` states. Test alarms were
|
|
212
|
+
deleted.
|
|
213
|
+
- **Targeted aggregation check (2026-11-09 UTC; partial; uncommitted working
|
|
214
|
+
tree based on `a5115d3`):** only the new `get_gnocchi_aggregates` tool was
|
|
215
|
+
run through the MCP server. The test project had one instance, so ranking
|
|
216
|
+
and grouping returned one series each. After that run, null-gap output,
|
|
217
|
+
metric-name validation, and the failure hint were changed; those changes
|
|
218
|
+
and the core aggregation paths were rerun through a second streamable-HTTP
|
|
219
|
+
MCP server started from the current working tree.
|
|
220
|
+
- **Local unit tests (current working tree, 2026-11-09):** 311/311 (100%); no
|
|
202
221
|
failures or skipped tests. These tests include MCP action-description and
|
|
203
|
-
advanced-parameter forwarding regressions
|
|
204
|
-
regressions; they do not replace
|
|
222
|
+
advanced-parameter forwarding regressions, the insecure-HTTP opt-in
|
|
223
|
+
regressions, and Gnocchi project-scoping and aggregation-input regressions; they do not replace
|
|
224
|
+
live service validation.
|
|
205
225
|
|
|
206
226
|
**Detailed Mapping by Category**
|
|
207
227
|
|
|
@@ -462,14 +482,27 @@ and the [multi-user setup guide](docs/multi-user-guide.md).
|
|
|
462
482
|
|
|
463
483
|
### 8. 📊 **Monitoring & Logging**
|
|
464
484
|
|
|
485
|
+
Allocation and measured telemetry are separate. `get_resource_monitoring`,
|
|
486
|
+
`get_quota`, and `get_usage_statistics` report flavor allocations, quotas,
|
|
487
|
+
capacity, and allocation-hours from Nova. `get_gnocchi_*` tools report observed
|
|
488
|
+
time series collected by Ceilometer into Gnocchi. Tool descriptions cross-reference
|
|
489
|
+
each other so that requests for utilization, load, or trends use Gnocchi. They
|
|
490
|
+
also instruct the model to report an uncollected measured metric as not
|
|
491
|
+
collected instead of substituting allocations.
|
|
492
|
+
|
|
465
493
|
| OpenStack CLI Command | MCP Tool | Status | Notes |
|
|
466
494
|
|---------------------|---------|------|------|
|
|
467
495
|
| Resource monitoring | `get_resource_monitoring` | ⚠️ Live unverified | Reader physical-capacity policy restrictions; allocations are separate from capacity; no live utilization |
|
|
468
496
|
| Service status | `get_service_status` | ⚠️ Live unverified | Reader service-policy restrictions; partial data is not proof of global health |
|
|
469
497
|
| Cluster overview | `get_service_status` + `get_resource_monitoring` | ⚠️ Live unverified | Reader physical-capacity policy restrictions; allocations are separate from capacity; no live utilization |
|
|
470
498
|
| Service log metadata | `set_service_logs` | Partial | Service listing only; log retrieval is unavailable without a logging backend |
|
|
471
|
-
| Resource metadata | `set_metrics` | Partial | list/summary only;
|
|
472
|
-
|
|
|
499
|
+
| Resource metadata | `set_metrics` | Partial | Nova/Neutron/Cinder list/summary only; does not call Gnocchi. Use `get_gnocchi_*` for telemetry |
|
|
500
|
+
| `gnocchi resource list/search/show/history` | `get_gnocchi_resources` | ✅ | Current-project resources; list, attribute filter, show with metrics map, and history passed live |
|
|
501
|
+
| `gnocchi metric list/show` | `get_gnocchi_metrics` | ✅ | List, per-resource details, show by resource + name, and show by metric UUID passed live |
|
|
502
|
+
| `gnocchi measures show` | `get_gnocchi_measures` | ✅ | By resource + name and by metric UUID passed live, including start, granularity, resample, refresh, latest-N limit, and `rate:mean` for `cpu`; `memory.usage`, disk, and network measures were read. Unsupported aggregation and missing metric returned failures |
|
|
503
|
+
| `gnocchi aggregates` | `get_gnocchi_aggregates` | ✅ | Current-project search is always applied. Passed live: project-wide `cpu` `rate:mean` mean, `top`, `groupby="flavor_name"`, and the `memory.usage`/`memory` ratio expression. Ranking across several resources is unit-tested only because the test project had one instance. A metric UUID owned outside the project returned 404 in expression mode. Mixed modes and missing metrics returned failures with hints. Unfilled gaps are returned as null |
|
|
504
|
+
| `gnocchi archive-policy/archive-policy-rule/resource-type list`, `gnocchi capabilities list`, `gnocchi status` | `get_gnocchi_service_info` | ✅ | All five sections returned live with the admin test account; a denied section is reported per section |
|
|
505
|
+
| Alarm management | `set_alarms` | ✅ | list/create/show/delete passed live, by name and by ID. Evaluation passed live: `cpu` alarms with `aggregation_method="rate:mean"` reached `ok` and `alarm` as expected, and a `vcpus` alarm reached `alarm`. Aodh accepted alarms for a nonexistent resource and for the default `cpu_util`, which current Ceilometer does not collect; check metrics with `get_gnocchi_metrics` first |
|
|
473
506
|
| Compute agents | `set_compute_agents` | ✅ | Compute agent management |
|
|
474
507
|
| Usage statistics | `get_usage_statistics` | ✅ | Period compute allocation-hours plus separately labeled current snapshots |
|
|
475
508
|
|
|
@@ -491,13 +524,14 @@ and the [multi-user setup guide](docs/multi-user-guide.md).
|
|
|
491
524
|
The feature table marks implemented API paths, not verification against every OpenStack deployment. Service and policy requirements must be checked in the target deployment. A missing service, extension, required microversion, or permission is an operation failure, not an empty successful result.
|
|
492
525
|
|
|
493
526
|
- **Modification tools:** the MCP server registers `set_*` management tools only when `ALLOW_MODIFY_OPERATIONS=true`. Existing action guards also reject writes when disabled. Dedicated read-only `get_*` tools remain available. API authorization is enforced by the target cloud; agent, user, domain, type and QoS administration may require elevated OpenStack roles.
|
|
494
|
-
- **Alarms:** `set_alarms` calls the Keystone catalog's `alarming` endpoint for the configured interface/region. It supports list/create/show/delete of project alarms and creates `gnocchi_resources_threshold` alarms. Aodh, Gnocchi, the specified resource and a collected metric are required. The default metric is `
|
|
527
|
+
- **Alarms:** `set_alarms` calls the Keystone catalog's `alarming` endpoint for the configured interface/region. It supports list/create/show/delete of project alarms and creates `gnocchi_resources_threshold` alarms. Aodh, Gnocchi, the specified resource and a collected metric are required. The default metric `cpu_util` is kept for compatibility, but Ceilometer has not produced it since Stein, so such alarms stay `insufficient data`. For CPU alarms, use `metric="cpu"` with `aggregation_method="rate:mean"`; the threshold is CPU nanoseconds per granularity window (percent / 100 × granularity × 10⁹ × vCPUs; 80% of one vCPU over 300 s is `2.4e11`). `metric`, `resource_type`, `aggregation_method`, `granularity`, `evaluation_periods`, and `alarm_actions` can be supplied. An empty action list creates an alarm without notifications. There is no simulation fallback.
|
|
495
528
|
- **Usage:** `get_usage_statistics` calls Nova simple tenant usage for the current project. Requires Nova API microversion 2.40 or newer for complete pagination. Date bounds are UTC midnight, start inclusive and end exclusive; start must precede end. `usage_statistics.period_compute` contains paginated Nova allocation-hours, not actual CPU load, billed currency, or network/storage history. Nova accounts using VM lifetime and the latest flavor; stop/pause/resize history is not reconstructed. Existing `compute`, `network`, and `storage` fields are current snapshots, labeled by `snapshot_fields` and `snapshot_timestamp`. An unavailable period API returns failure. A failed snapshot section is reported as partial failure.
|
|
496
529
|
- **Capacity:** `get_resource_monitoring` separates flavor allocations from project quota limits and the physical totals of visible hypervisors. Missing physical totals or incomplete flavor allocations return `null`, not invented capacity or zero usage. Physical totals and project allocations have different scopes. This tool does not collect live utilization or trends.
|
|
497
530
|
- **Floating IP pools:** `total_ips` is the exact sum of visible subnet allocation ranges; `used_ips` counts visible Floating IP objects. Global `available_ips` is `null`: other projects and non-floating ports may consume addresses that are not visible to the caller.
|
|
498
531
|
- **Volume groups:** the cloud must support Cinder generic groups (microversion 3.13 or newer). Create requires an existing `group_type` and comma-delimited `volume_types`. Deletion does not delete member volumes unless `delete_volumes=true` is explicitly supplied. Async creation/deletion responses mean accepted, not finished.
|
|
499
532
|
- **Identity and images:** `set_users` reads a new user's password from the server variable named by `password_env`; never put passwords in prompts. It does not grant project roles. Disable a domain explicitly with `set_domains(action="update", enabled=false)` before deleting it. Image member modifications require an image owned by the current project, shared visibility, and appropriate Glance policy; adding a member does not automatically accept the recipient's membership.
|
|
500
|
-
- **
|
|
533
|
+
- **Telemetry (Gnocchi):** the read-only `get_gnocchi_resources`, `get_gnocchi_metrics`, `get_gnocchi_measures`, `get_gnocchi_aggregates`, and `get_gnocchi_service_info` tools use `gnocchiclient` with the Keystone catalog's `metric` endpoint for the configured interface/region. Ceilometer must be collecting data into Gnocchi; it has no API of its own. Results are limited to resources whose `project_id` is the current project. Metrics are created by the Ceilometer service project, so ownership is checked through the embedded resource. Available metrics depend on deployment. Notification-based metrics such as `vcpus`, `memory`, and `disk.root.size` record flavor sizes. Polled metrics such as `cpu`, `memory.usage`, `disk.device.*`, and `network.*` require a working ceilometer-compute agent and a running instance. `cpu` is cumulative nanoseconds; use `aggregation="rate:mean"` when the archive policy supports it. Current Ceilometer does not produce `cpu_util`. Measures and aggregation methods are limited by each metric's archive policy. `get_gnocchi_aggregates` accepts either structured parameters or an operations expression; both add a current-project resource search, so expression metric references resolve as metric names on matched resources. Arithmetic between metrics returns points only where every operand has data. Gnocchi write operations (measure ingestion, resource/metric/archive policy changes) are not implemented.
|
|
534
|
+
- **Logs and telemetry:** `set_service_logs(action="show")` and `set_metrics(action="show")` return explicit unsupported errors. No centralized logging backend is implemented. `set_metrics` list/summary operations expose Nova/Neutron/Cinder resource metadata only; use the Gnocchi tools for telemetry samples.
|
|
501
535
|
|
|
502
536
|
## Quick Start
|
|
503
537
|
|
|
@@ -730,6 +764,7 @@ Common OpenWebUI 0.13 errors:
|
|
|
730
764
|
| `tools: array too long` | External and built-in tool definitions exceeded the model provider's request limit | Enable Tool Search with threshold `0` |
|
|
731
765
|
| `Function tools with reasoning_effort are not supported ... /v1/chat/completions` | Chat Completions received function tools and a non-`none` reasoning effort | Use Responses, or set reasoning effort to `none` if reasoning is not needed |
|
|
732
766
|
| `Unsupported parameter: reasoning_effort ... moved to reasoning.effort` | OpenWebUI 0.13.0 sent a custom Reasoning Effort through a Responses connection | Set Reasoning Effort to Default; use custom `reasoning={"effort":"medium"}` only when an explicit value is required |
|
|
767
|
+
| MCPO logs `POST http://mcp-server:8000/mcp "404 Not Found"` and `McpError: Session terminated`; `mcp-server` logs `Rejected request with unknown or expired session ID` | MCP sessions exist only in the running `mcp-server` process. After `mcp-server` restarts, MCPO keeps its old session and does not reconnect. `docker compose restart` does not wait for the `mcp-server` health check, so MCPO can connect to the old process just before it stops | With `mcp-server` running, run `docker compose restart mcpo-proxy`. To restart both, use `docker compose up -d --force-recreate mcp-server mcpo-proxy` instead of `docker compose restart`. If a direct MCP client reports the same session error, reconnect it |
|
|
733
768
|
|
|
734
769
|
### 5. Enable modifications only when needed
|
|
735
770
|
|
|
@@ -902,6 +937,11 @@ MCP server may authenticate successfully and then fail on the first service tool
|
|
|
902
937
|
`OS_INTERFACE` does not change these explicit endpoint URLs. The current
|
|
903
938
|
single-host configuration uses the internal interface convention.
|
|
904
939
|
|
|
940
|
+
Aodh (`alarming`) and Gnocchi (`metric`) have no `OS_*_PORT` setting. Their
|
|
941
|
+
tools use the Keystone catalog endpoint for `OS_INTERFACE` and
|
|
942
|
+
`OS_REGION_NAME`, which must also be reachable from the `mcp-server` container.
|
|
943
|
+
|
|
944
|
+
|
|
905
945
|
### HTTPS and private CA setup
|
|
906
946
|
|
|
907
947
|
For HTTPS OpenStack endpoints signed by a public CA, use the system CA bundle
|
|
@@ -16,7 +16,7 @@ services:
|
|
|
16
16
|
|
|
17
17
|
mcp-server:
|
|
18
18
|
env_file: .env
|
|
19
|
-
image: call518/mcp-server-openstack-ops:1.0.
|
|
19
|
+
image: call518/mcp-server-openstack-ops:1.0.4
|
|
20
20
|
container_name: mcp-openstack-ops-mcp-server
|
|
21
21
|
ports:
|
|
22
22
|
- "${DOCKER_BIND_ADDRESS:-127.0.0.1}:${DOCKER_EXTERNAL_PORT_MCP_SERVER}:8000"
|
|
@@ -623,6 +623,13 @@ def set_metrics(
|
|
|
623
623
|
|
|
624
624
|
|
|
625
625
|
from .services.alarms import set_alarms
|
|
626
|
+
from .services.gnocchi import (
|
|
627
|
+
get_gnocchi_aggregates,
|
|
628
|
+
get_gnocchi_measures,
|
|
629
|
+
get_gnocchi_metrics,
|
|
630
|
+
get_gnocchi_resources,
|
|
631
|
+
get_gnocchi_service_info,
|
|
632
|
+
)
|
|
626
633
|
|
|
627
634
|
|
|
628
635
|
def set_compute_agents(
|
{mcp_openstack_ops-3.6.8 → mcp_openstack_ops-3.6.9}/src/mcp_openstack_ops/prompt_template.md
RENAMED
|
@@ -408,7 +408,7 @@ For requests like "Create cluster status report", "Show cluster operational repo
|
|
|
408
408
|
- `get_service_status()` - Check all OpenStack service availability
|
|
409
409
|
|
|
410
410
|
**2. Infrastructure & Resource Analysis:**
|
|
411
|
-
- `get_resource_monitoring()` -
|
|
411
|
+
- `get_resource_monitoring()` - Project allocations, quota limits, and visible physical capacity (not measured utilization)
|
|
412
412
|
- `get_hypervisor_details()` - Physical infrastructure and hypervisor status
|
|
413
413
|
|
|
414
414
|
**3. Compute Resources:**
|
|
@@ -435,6 +435,11 @@ This approach provides **comprehensive 360-degree cluster visibility** with infr
|
|
|
435
435
|
- `get_instance_by_name`: Quick single instance lookup
|
|
436
436
|
- `get_instances_by_status`: Filter instances by operational status
|
|
437
437
|
- `get_resource_monitoring`: current project flavor allocations, separate quota limits and visible hypervisor capacity; no live utilization or trends
|
|
438
|
+
- `get_gnocchi_resources`: Gnocchi telemetry resources of the current project (list, filter, show with metrics map, history)
|
|
439
|
+
- `get_gnocchi_metrics`: Gnocchi metric list/details (archive policy, unit)
|
|
440
|
+
- `get_gnocchi_measures`: Stored telemetry time series for a metric (start/stop, granularity, aggregation, resample)
|
|
441
|
+
- `get_gnocchi_aggregates`: Measured telemetry across many current-project resources (project-wide mean/sum, top N, groupby, metric arithmetic)
|
|
442
|
+
- `get_gnocchi_service_info`: Archive policies, rules, resource types, aggregation capabilities, processing status
|
|
438
443
|
|
|
439
444
|
### 🌐 **Network Management Tools (12 tools)**
|
|
440
445
|
**Core Network Operations:**
|
|
@@ -573,9 +578,12 @@ This approach provides **comprehensive 360-degree cluster visibility** with infr
|
|
|
573
578
|
- **"Create cluster status report"** / **"Cluster status report"** / **"클러스터 운영 현황"** →
|
|
574
579
|
- `get_service_status()` + `get_resource_monitoring()` + `get_hypervisor_details()` + `get_instance_details()` + `get_project_details()` + `get_network_details()` + `get_volume_list()` + `get_load_balancer_details()` + `get_heat_stacks()`
|
|
575
580
|
|
|
576
|
-
- **"Show detailed cluster analysis"** / **"resource
|
|
581
|
+
- **"Show detailed cluster analysis"** / **"resource allocation and capacity"** →
|
|
577
582
|
- `get_resource_monitoring()` + `get_hypervisor_details()` + `get_instance_details()` + `get_volume_list()`
|
|
578
583
|
|
|
584
|
+
- **"Resource utilization"** / **"actual CPU or memory usage"** →
|
|
585
|
+
- `get_gnocchi_resources()` + `get_gnocchi_measures()` for measured values; add `get_resource_monitoring()` only as separately labeled allocation context
|
|
586
|
+
|
|
579
587
|
- **"Cluster overview"** / **"cluster status"** →
|
|
580
588
|
- `get_service_status()` + `get_resource_monitoring()` + `get_instance_details()` + `get_project_details()` + `get_network_details()`
|
|
581
589
|
|
|
@@ -612,27 +620,45 @@ This approach provides **comprehensive 360-degree cluster visibility** with infr
|
|
|
612
620
|
- "Create/delete stack" → `set_heat_stack("stack_name", "action")`
|
|
613
621
|
|
|
614
622
|
### 📈 **Monitoring & Resources**
|
|
615
|
-
- "Hypervisor statistics" / "resource
|
|
623
|
+
- "Hypervisor statistics" / "resource allocation" / "capacity" → `get_resource_monitoring`
|
|
624
|
+
- "Telemetry metrics of a VM" / "metric history" → `get_gnocchi_resources(resource_type="instance", resource_id="server UUID")` then `get_gnocchi_measures(metric="name", resource_id="server UUID")`
|
|
625
|
+
- "Average/total/top N/per-flavor measured usage across instances" → `get_gnocchi_aggregates` (simple mode: `metric`, `aggregation`, optional `reaggregation`, `top`, `groupby`; leave `operations` empty)
|
|
626
|
+
- "Which metrics/granularities exist" → `get_gnocchi_service_info`
|
|
627
|
+
- Alarm `metric` must be an existing Gnocchi metric of the resource; check with `get_gnocchi_metrics` before `set_alarms`
|
|
628
|
+
|
|
629
|
+
### ⚖️ **Allocation vs Measured Telemetry (choose by what the number means)**
|
|
630
|
+
|
|
631
|
+
| Question is about | Source | Tools |
|
|
632
|
+
|---|---|---|
|
|
633
|
+
| **Allocated / reserved / capacity / headroom / quota** | Nova flavors, hypervisors, quotas; current point in time | `get_resource_monitoring`, `get_quota`, `get_hypervisor_details` |
|
|
634
|
+
| **Allocation-hours over a period** | Nova simple tenant usage | `get_usage_statistics` |
|
|
635
|
+
| **Measured utilization / load / trend / history / "over the last N hours"** | Ceilometer → Gnocchi time series | `get_gnocchi_resources`, `get_gnocchi_metrics`, `get_gnocchi_measures` (one resource), `get_gnocchi_aggregates` (many resources) |
|
|
636
|
+
|
|
637
|
+
- Bare "usage": CPU or memory usage of a server → measured (Gnocchi); "quota usage" → `get_quota`; cluster-wide "resource usage" → allocation, and say it is allocation-based.
|
|
638
|
+
- Gnocchi `vcpus`, `memory`, `disk.root.size` record flavor sizes, not usage. Usage metrics are names like `cpu`, `memory.usage`, `disk.device.read.bytes`.
|
|
639
|
+
- If the requested measured metric is not collected, say "not collected" and name the missing metric. Never substitute allocation numbers or compute a utilization rate from allocation / capacity.
|
|
640
|
+
- Hypervisor-level measured utilization needs host metrics (for example `compute.node.cpu.percent` on `host` or `nova_compute` resources); otherwise only allocation and capacity are available.
|
|
616
641
|
|
|
617
642
|
---
|
|
618
643
|
|
|
619
644
|
## 4. Response Formatting Guidelines
|
|
620
645
|
|
|
621
646
|
1. **Call appropriate tool** → **Present structured results** → **Include operation status**
|
|
622
|
-
2. **For monitoring queries,
|
|
623
|
-
- **
|
|
624
|
-
- **
|
|
625
|
-
- **
|
|
626
|
-
- **
|
|
647
|
+
2. **For monitoring queries, label every number by its kind** (see "Allocation vs Measured Telemetry" in section 3):
|
|
648
|
+
- **Allocated**: flavor reservations of the current project (`get_resource_monitoring`)
|
|
649
|
+
- **Quota**: project limits; quota usage = allocated / quota (e.g., "vCPU: 3/40 (7.5%)")
|
|
650
|
+
- **Visible physical capacity**: hypervisor totals; may be `null` for non-admin users
|
|
651
|
+
- **Measured**: observed telemetry from `get_gnocchi_measures`, with timestamp and granularity
|
|
652
|
+
- Never divide project allocations by physical capacity, and never call allocations "usage" or "utilization"
|
|
653
|
+
- If no measured metric is collected, write "not collected" instead of a number
|
|
627
654
|
3. **For management operations**: Add confirmation and show actual returned status
|
|
628
|
-
4. **
|
|
655
|
+
4. **TABLE FORMAT** for resource data (example values):
|
|
629
656
|
|
|
630
|
-
| Resource |
|
|
631
|
-
|
|
632
|
-
| **
|
|
633
|
-
| **
|
|
634
|
-
| **
|
|
635
|
-
| **Virtual Memory** | - | - | - | 96,000 MB | 5.3% |
|
|
657
|
+
| Resource | Allocated (project) | Quota | Quota Usage | Visible Physical Capacity | Measured (Gnocchi) |
|
|
658
|
+
|----------|---------------------|-------|-------------|---------------------------|--------------------|
|
|
659
|
+
| **vCPU** | 3 vCPU | 40 vCPU | 7.5% | 4 cores or `null` | `cpu`: not collected |
|
|
660
|
+
| **Memory** | 5,120 MB | 96,000 MB | 5.3% | 31,805 MB or `null` | `memory.usage`: 1,830 MB (mean, 5 min, 10:05 UTC) |
|
|
661
|
+
| **Instances** | 3 | 40 | 7.5% | - | - |
|
|
636
662
|
|
|
637
663
|
---
|
|
638
664
|
|
|
@@ -672,7 +698,8 @@ This approach provides **comprehensive 360-degree cluster visibility** with infr
|
|
|
672
698
|
"Create port forwarding" → set_floating_ip_port_forwarding("create", floating_ip_address="IP", external_port=80, internal_port=8080)
|
|
673
699
|
"Create 50GB volume" → set_volume("vol-name", "create", size=50)
|
|
674
700
|
"Check instance states" → get_instance_details() + get_instances_by_status() [Instance state analysis across projects]
|
|
675
|
-
"Show hypervisor
|
|
701
|
+
"Show hypervisor allocation and capacity" → get_resource_monitoring() + get_hypervisor_details() [Allocation, not measured utilization]
|
|
702
|
+
"Show CPU usage of web-01 over the last hour" → get_gnocchi_resources() + get_gnocchi_measures() [Measured telemetry]
|
|
676
703
|
"Check load balancer status" → get_load_balancer_details() [Load balancer health monitoring]
|
|
677
704
|
```
|
|
678
705
|
|
|
@@ -701,7 +728,7 @@ This approach provides **comprehensive 360-degree cluster visibility** with infr
|
|
|
701
728
|
"Show me the overall cluster status"
|
|
702
729
|
"Create a comprehensive cluster report"
|
|
703
730
|
"What's the current infrastructure health?"
|
|
704
|
-
"Give me a cluster overview with resource
|
|
731
|
+
"Give me a cluster overview with resource allocation and capacity"
|
|
705
732
|
```
|
|
706
733
|
|
|
707
734
|
**Tools Used:** `get_service_status()`, `get_resource_monitoring()`, `get_service_status()`
|
|
@@ -798,17 +825,58 @@ This approach provides **comprehensive 360-degree cluster visibility** with infr
|
|
|
798
825
|
|
|
799
826
|
**Tools Used:** `search_instances()`, `get_instances_by_status()`
|
|
800
827
|
|
|
801
|
-
### 📊 **Resource
|
|
828
|
+
### 📊 **Resource Allocation & Capacity**
|
|
802
829
|
|
|
803
830
|
```
|
|
804
|
-
"Show resource
|
|
805
|
-
"
|
|
831
|
+
"Show resource allocation and capacity by hypervisor"
|
|
832
|
+
"How many vCPUs and how much RAM are allocated in my project?"
|
|
806
833
|
"Show quota usage and limits"
|
|
807
834
|
"Display storage capacity statistics"
|
|
835
|
+
"Show the vCPUs and memory allocated to my project and the remaining quota"
|
|
808
836
|
```
|
|
809
837
|
|
|
810
838
|
**Tools Used:** `get_resource_monitoring()`, `get_quota()`, `get_usage_statistics()`
|
|
811
839
|
|
|
840
|
+
Results are allocations, quotas, and capacity, not measured utilization.
|
|
841
|
+
|
|
842
|
+
### 📡 **Telemetry Metrics (Gnocchi)**
|
|
843
|
+
|
|
844
|
+
```
|
|
845
|
+
"Monitor CPU and memory usage of web-01"
|
|
846
|
+
"Show the actual CPU utilization trend of web-01"
|
|
847
|
+
"Show the telemetry metrics collected for server web-01"
|
|
848
|
+
"Show memory measures of web-01 since 2026-11-08T00:00:00, resampled hourly"
|
|
849
|
+
"List all Gnocchi metrics in my project"
|
|
850
|
+
"Show the archive policies and supported aggregation methods"
|
|
851
|
+
"Is Gnocchi measure processing backlogged?"
|
|
852
|
+
"Show the latest 10 vcpus measures of web-01"
|
|
853
|
+
"What is the average CPU usage across all instances in my project?"
|
|
854
|
+
"Show the top 5 instances by CPU usage"
|
|
855
|
+
"Show mean memory usage per flavor"
|
|
856
|
+
"Show the memory.usage to flavor memory ratio across my instances"
|
|
857
|
+
```
|
|
858
|
+
|
|
859
|
+
**Tools Used:** `get_gnocchi_resources()`, `get_gnocchi_metrics()`, `get_gnocchi_measures()`, `get_gnocchi_aggregates()`, `get_gnocchi_service_info()`
|
|
860
|
+
|
|
861
|
+
**Flow:** Resolve the server UUID with `get_instance_by_name()`, find metric names with `get_gnocchi_resources(resource_type="instance", resource_id=UUID)`, then call `get_gnocchi_measures(metric=name, resource_id=UUID)`. Use a granularity and aggregation from the metric's archive policy. `cpu` is cumulative nanoseconds: request `aggregation="rate:mean"` and divide by granularity × 10^9 × vCPUs for a utilization fraction. Report a missing metric as not collected; never estimate values.
|
|
862
|
+
|
|
863
|
+
**Cross-resource flow:** Use `get_gnocchi_aggregates` in ONE mode. Simple mode examples: project average CPU → `metric="cpu", aggregation="rate:mean", reaggregation="mean"`; top 5 CPU → `metric="cpu", aggregation="rate:mean", top=5`; per-flavor memory → `metric="memory.usage", reaggregation="mean", groupby="flavor_name"`. Use expression mode (`operations` only) just for arithmetic such as `(/ (metric memory.usage mean) (metric memory mean))`; write metric names, never metric UUIDs. Report `resource_name` from the series and state that results cover only the current project. A "Metric ... does not exist" failure can also mean no current-project resource matched.
|
|
864
|
+
|
|
865
|
+
### 🚨 **Alarms (Aodh)**
|
|
866
|
+
|
|
867
|
+
```
|
|
868
|
+
"List alarms in my project"
|
|
869
|
+
"Create an alarm when web-01 memory.usage exceeds 1500 MB"
|
|
870
|
+
"Create an alarm when web-01 CPU exceeds 80%"
|
|
871
|
+
"Show details and current state of alarm mem-high"
|
|
872
|
+
"Delete alarm mem-high"
|
|
873
|
+
"Create a threshold alarm on the vcpus metric of web-01"
|
|
874
|
+
```
|
|
875
|
+
|
|
876
|
+
**Tools Used:** `set_alarms()` (requires `ALLOW_MODIFY_OPERATIONS=true`), `get_gnocchi_metrics()`
|
|
877
|
+
|
|
878
|
+
**Flow:** Before `set_alarms(action="create")`, confirm the metric exists on the resource with `get_gnocchi_metrics(resource_id=UUID)`. Aodh accepts nonexistent resources and uncollected metrics such as the default `cpu_util`, and such alarms stay `insufficient data`. Never rely on the `cpu_util` default: for CPU percentage alarms, pass `metric="cpu"`, `aggregation_method="rate:mean"`, and `threshold = percent / 100 × granularity × 10^9 × vCPUs` (80% of 1 vCPU at 300 s = 2.4e11). A new alarm is `insufficient data` until evaluated, which can take several minutes; report the returned state, not an assumed one.
|
|
879
|
+
|
|
812
880
|
### 🛠️ **Troubleshooting**
|
|
813
881
|
|
|
814
882
|
```
|
|
@@ -834,13 +902,13 @@ This approach provides **comprehensive 360-degree cluster visibility** with infr
|
|
|
834
902
|
### 📈 **Performance & Optimization**
|
|
835
903
|
|
|
836
904
|
```
|
|
837
|
-
"Show top 10
|
|
838
|
-
"Display flavor
|
|
905
|
+
"Show top 10 instances by allocated vCPU and RAM"
|
|
906
|
+
"Display flavor allocation statistics"
|
|
839
907
|
"Monitor network resource counts and status"
|
|
840
|
-
"Check
|
|
908
|
+
"Check disk I/O telemetry of web-01"
|
|
841
909
|
```
|
|
842
910
|
|
|
843
|
-
**Tools Used:** `get_instance_details()`, `get_resource_monitoring()
|
|
911
|
+
**Tools Used:** `get_instance_details()`, `get_resource_monitoring()` (allocation), `get_gnocchi_measures()` (measured I/O, if collected)
|
|
844
912
|
|
|
845
913
|
### 🎛️ **Batch Operations**
|
|
846
914
|
|
|
@@ -860,7 +928,7 @@ This approach provides **comprehensive 360-degree cluster visibility** with infr
|
|
|
860
928
|
```
|
|
861
929
|
"Show complete infrastructure overview" →
|
|
862
930
|
1. get_service_status() (service health)
|
|
863
|
-
2. get_resource_monitoring() (
|
|
931
|
+
2. get_resource_monitoring() (allocation and capacity)
|
|
864
932
|
3. get_instance_details() (compute resources)
|
|
865
933
|
4. get_network_details() (network topology)
|
|
866
934
|
5. get_volume_list() (storage resources)
|
|
@@ -870,8 +938,8 @@ This approach provides **comprehensive 360-degree cluster visibility** with infr
|
|
|
870
938
|
```
|
|
871
939
|
"Troubleshoot performance issues" →
|
|
872
940
|
1. get_instance_details() (instance status & specs)
|
|
873
|
-
2.
|
|
874
|
-
3. get_hypervisor_details() (host capacity)
|
|
941
|
+
2. get_gnocchi_measures() (measured load, if collected)
|
|
942
|
+
3. get_resource_monitoring() + get_hypervisor_details() (allocation and host capacity)
|
|
875
943
|
4. get_service_status() (service health)
|
|
876
944
|
```
|
|
877
945
|
|
|
@@ -914,6 +982,6 @@ This approach provides **comprehensive 360-degree cluster visibility** with infr
|
|
|
914
982
|
- `get_domains`, `get_identity_groups`: read-only Keystone listings. `set_domains` and `set_identity_groups` support list/create/show/update/delete. Domains must be explicitly disabled before deletion.
|
|
915
983
|
- `get_image_members`: read-only image member listing. `set_image_members(action="add")` adds a recipient project to a shared image; recipient acceptance is separate.
|
|
916
984
|
- `get_heat_stack_details`: `section` is resources/events/template/outputs.
|
|
917
|
-
- `set_service_logs(action="show")` and `set_metrics(action="show")` are unavailable without additional backend implementation. Never claim to have retrieved logs or telemetry samples from metadata-only results
|
|
985
|
+
- `set_service_logs(action="show")` and `set_metrics(action="show")` are unavailable without additional backend implementation. Never claim to have retrieved logs or telemetry samples from metadata-only results; telemetry samples come only from `get_gnocchi_measures`.
|
|
918
986
|
|
|
919
987
|
Confirm service availability and permissions in the target deployment before attempting Aodh/Neutron QoS operations or network-agent state changes. Check returned errors and partial flags; never describe an accepted asynchronous request as a completed operation. Usage date bounds are UTC midnight, start inclusive/end exclusive. Missing physical capacity is null, not zero. Physical capacity and project allocations have different scopes and must not be divided into a utilization rate.
|