apache / apache/cloudstack

Add API/UI option to send guest command via qemu agent

未關閉
#9,577 10 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
component:kvm component:libvirt good-first-issue
主要語言
Java
星號
3.1k
分支
1.4k
平均合併
6 天 19 小時
30 天內合併 PR
32

描述

##### ISSUE TYPE
* Enhancement Request
* Feature Idea

##### COMPONENT NAME
~~~
API/UI/Backend
~~~

##### CLOUDSTACK VERSION
~~~
4.19
~~~

##### CONFIGURATION

##### OS / ENVIRONMENT

##### SUMMARY
Hi team,

I notice that actally, for vm that have qemu agent installed, is not possible through cloudstack send command to the host, like vmware guest agent tool.
This is possible with qemu agent and i notiche that `freeze` for example was implemented with this class:
https://github.com/apache/cloudstack/blob/main/plugins/hypervisors/kvm/src/main/java/org/apache/cloudstack/utils/qemu/QemuCommand.java

But is not implemented for all type of command and I don't see any API that cover it ( and also via UI I can't see any "form").

This is something that you are interested to implemet?

##### STEPS TO REPRODUCE

##### EXPECTED RESULTS

##### ACTUAL RESULTS

貢獻指南

開啟貢獻指南

研究方向

從 plugins/hypervisors/kvm/src/main/java/org/apache/cloudstack/utils/qemu/QemuCommand.java 開始,特別查看現有的 freeze 實作。追蹤 guest-agent 命令如何透過 API 和 UI 提供,然後定義支援的命令範圍,並驗證可以透過這兩個介面傳送 guest 命令。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java
領域
backend-api-design, cloud, frontend
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。