apache / apache/cloudstack

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

Open
#9,577 10 comments 0 reactions 0 assignees View on GitHub
component:kvm component:libvirt good-first-issue
Dominant language
Java
Stars
3.1k
Forks
1.4k
Avg merge
6d 19h
Merged PRs (30d)
32

Description

##### 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

Contributor guide

Open the contributing guide

Research direction

Start with plugins/hypervisors/kvm/src/main/java/org/apache/cloudstack/utils/qemu/QemuCommand.java, especially the existing freeze implementation. Trace how guest-agent commands are exposed through the API and UI, then define the supported command scope and verify that a guest command can be sent through both interfaces.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend-api-design, cloud, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.