apache / apache/cloudstack

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

オープン
#9,577 コメント 10 件 リアクション 0 件 担当者 0 名 GitHub で見る
component:kvm component:libvirt good-first-issue
主要言語
Java
スター
3.1k
フォーク
1.4k
平均マージ
6日 19時間
マージ済み PR(30日)
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 を通じてどのように公開されているかを追跡し、サポートするコマンドの範囲を定義してから、両方のインターフェースを通じてゲストコマンドを送信できることを検証します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
backend-api-design, cloud, frontend
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。