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 摘要。