apache / apache/cloudstack

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

Ouverte
#9,577 10 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
component:kvm component:libvirt good-first-issue
Langage dominant
Java
Étoiles
3.1k
Forks
1.4k
Merge moyen
6 j 19 h
PR mergées (30 j)
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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par plugins/hypervisors/kvm/src/main/java/org/apache/cloudstack/utils/qemu/QemuCommand.java, en particulier l’implémentation existante de freeze. Suivez la manière dont les commandes de guest-agent sont exposées via l’API et l’UI, puis définissez l’étendue des commandes prises en charge et vérifiez qu’une commande invitée peut être envoyée via les deux interfaces.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
java
Domaine
backend-api-design, cloud, frontend
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.