Skip to content

Commit cac4608

Browse files
committed
하이퍼바이져 정보 추출 오류 수정 및 clsuter_status() 결과 정보 강화
1 parent d1331bc commit cac4608

File tree

5 files changed

+713
-57
lines changed

5 files changed

+713
-57
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,18 @@
1818

1919
-**OpenStack SDK Integration**: Direct integration with OpenStack SDK for real-time cluster operations.
2020
-**Production-Safe Operations**: Built-in safety controls with `ALLOW_MODIFY_OPERATIONS` environment variable to prevent modification operations in production environments.
21-
-**Comprehensive Monitoring**: Enhanced cluster status reports with hypervisor health, resource utilization, and health scoring.
22-
-**Complete Service Coverage**: 90+ comprehensive tools covering Identity, Compute, Network, Storage, Image, Orchestration, Load Balancer, and Monitoring services.
23-
-**Advanced Instance Management**: Enhanced server lifecycle operations with backup, migration, rescue, and administrative functions.
21+
-**Enhanced Cluster Monitoring**: Comprehensive cluster status reports with 100-point health scoring system, resource utilization analysis, instance state tracking, and detailed health breakdown by service categories.
22+
-**Complete Service Coverage**: 93+ comprehensive tools covering Identity, Compute, Network, Storage, Image, Orchestration, Load Balancer, and Monitoring services.
23+
-**Advanced Instance Management**: Enhanced server lifecycle operations with backup, migration, rescue, and administrative functions including state analysis.
2424
-**Server Event Tracking**: Detailed server event history and lifecycle monitoring with comprehensive logging.
25-
-**Hypervisor Monitoring**: Real-time hypervisor resource statistics with utilization tracking and cluster totals.
26-
-**Volume Management**: Comprehensive volume attachment/detachment operations with metadata tracking.
25+
-**Hypervisor Resource Monitoring**: Real-time hypervisor resource statistics with CPU/memory/disk utilization tracking and cluster resource totals.
26+
-**Enhanced Network Analysis**: Comprehensive network operations with external/private network classification, floating IP pool management, and port forwarding support.
27+
-**Volume Management**: Comprehensive volume attachment/detachment operations with state analysis and capacity tracking.
2728
-**Large-Scale Environment Support**: Pagination and limits for environments with thousands of instances.
28-
-**Enterprise Features**: User management, role assignments, keypair management, floating IP operations, volume snapshots.
29+
-**Enterprise Features**: User management, role assignments, keypair management, floating IP operations, volume snapshots with visibility analysis.
2930
-**Intelligent Search**: Flexible instance search with partial matching and case-sensitive options.
30-
-**Network & Volume Operations**: Comprehensive network analysis and volume management capabilities.
31+
-**Network & Volume Operations**: Comprehensive network analysis and volume management capabilities with state tracking.
32+
-**Load Balancer Integration**: Complete load balancer management with health monitoring and amphora status tracking.
3133
-**Connection Optimization**: Global connection caching and automatic retry mechanisms.
3234
-**Docker Support**: Containerized deployment optimized for OpenStack Epoxy environments.
3335
-**Flexible Transport**: Support for both `stdio` and `streamable-http` transports with comprehensive logging.

docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
services:
22
open-webui:
3+
env_file: .env
34
image: ghcr.io/open-webui/open-webui:main
45
container_name: mcp-openstack-ops-open-webui
56
ports:
@@ -13,6 +14,7 @@ services:
1314
restart: unless-stopped
1415

1516
mcp-server:
17+
env_file: .env
1618
image: call518/mcp-server-openstack-ops:1.0.0
1719
container_name: mcp-openstack-ops-mcp-server
1820
ports:
@@ -32,6 +34,7 @@ services:
3234
start_period: 10s
3335

3436
mcpo-proxy:
37+
env_file: .env
3538
image: call518/mcpo-proxy-openstack-ops:1.0.0
3639
container_name: mcp-openstack-ops-mcpo-proxy
3740
depends_on:

src/mcp_openstack_ops/prompt_template.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,17 @@ Every tool call triggers a real OpenStack API request. Call tools ONLY when nece
5959
| **"Find instances"** | `search_instances("keyword", "field")` | Advanced instance search with filters |
6060

6161
### 📊 **Monitoring & Status Tools (7 tools)**
62-
- `get_cluster_status`: Enhanced cluster analysis with resource utilization, health scoring, server groups, availability zones, usage analytics, quota information
62+
- `get_cluster_status`: **ENHANCED** - Comprehensive cluster analysis with:
63+
- Resource utilization and health scoring (100-point scale system)
64+
- Instance state analysis (ACTIVE/ERROR/SUSPENDED tracking)
65+
- Network classification (external/private networks)
66+
- Volume state and capacity analysis
67+
- Image visibility and status tracking
68+
- Floating IP pool information and state analysis
69+
- Load balancer integration (listeners/pools/members)
70+
- Hypervisor resource monitoring (vCPU/memory/disk utilization)
71+
- Detailed health breakdown by service/resource/instance categories
72+
- Cluster summary with key performance metrics
6373
- `get_service_status`: Service health and API endpoint status
6474
- `get_instance_details`: Specific instance information with pagination support
6575
- `search_instances`: Flexible instance search with partial matching and case-sensitive options
@@ -217,18 +227,21 @@ Every tool call triggers a real OpenStack API request. Call tools ONLY when nece
217227

218228
### 📊 **Common Operations**
219229
```
220-
"Show cluster status" → get_cluster_status()
230+
"Show cluster status" → get_cluster_status() [ENHANCED: Now includes health scoring, resource states, utilization]
221231
"Start web-server-01" → set_instance("web-server-01", "start")
222232
"Create Ubuntu VM" → set_instance("web-server-01", "create", flavor="m1.small", image="ubuntu-20.04", networks="demo-net", security_groups="default")
223233
"Create network demo-net" → set_networks("create", network_name="demo-net", description="Demo network")
224234
"Create image with min requirements" → set_image("custom-image", "create", disk_format="qcow2", min_disk=20, min_ram=1024)
225235
"List all volumes" → get_volume_list()
226236
"Show all networks" → get_network_details("all")
227-
"Show floating IP pools" → get_floating_ip_pools()
237+
"Show floating IP pools" → get_floating_ip_pools() [NEW: Enhanced with pool capacity and usage]
228238
"Find web servers" → search_instances("web", "name")
229239
"Associate floating IP" → set_server_floating_ip(server_name="X", action="add", floating_ip="Y")
230240
"Create port forwarding" → set_floating_ip_port_forwarding("create", floating_ip_address="IP", external_port=80, internal_port=8080)
231241
"Create 50GB volume" → set_volume("vol-name", "create", size=50)
242+
"Check instance states" → get_cluster_status() [NEW: Instance state analysis (ACTIVE/ERROR/SUSPENDED)]
243+
"Show hypervisor utilization" → get_cluster_status() [NEW: Resource utilization monitoring]
244+
"Check load balancer status" → get_cluster_status() [NEW: Load balancer health integration]
232245
```
233246

234247
---

0 commit comments

Comments
 (0)