[UI BUG] Resource limits for type 15 (ObjectStorage) and 16 (GPU) do not sync/display correctly in Web UI
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Accessibilité débutants
- 68/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- javascript
- Domaine
- frontend
Piste de recherche
Commencez par localiser le panneau de configuration des limites de Vue.js et son mappage des types de ressources dans le frontend, puis comparez la gestion des ID de ressources 15 et 16 avec la réponse de l’API listResourceLimits. C’est terminé lorsque les champs de limite Object Storage et GPU affichent les valeurs définies via updateResourceLimit ; exécutez les vérifications d’UI pertinentes ou reproduisez les étapes de l’API et de la Web UI pour vérifier le résultat.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
problem
Hi,
I found that more resource limits are shown in the application then is actually mentioned in https://cloudstack.apache.org/api/apidocs-4.22/apis/updateResourceLimit.html. So I asked my AI assistent. He/she came up with additional resource type ids 12, 13, 14, 15 and 16. This seemed to work fine, except that it does not work for resource type id 15 and 16, based on that my newly imposed limits were not shown in the application. But then I tried the listResourceLimit api endpoint, and the values for both resource types (15, 16) were shown correctly. So this is about the presentation of this data in the UI.
The following problem description is created by the AI assistent. But I hope the picture is clear already.
Kind regards, Maurice.
There is a synchronization and presentation discrepancy between the CloudStack backend API and the Vue.js Web UI regarding resource limits for newer resource types (specifically resourcetype 15 for ObjectStorage and 16 for GPU).
While the backend correctly processes these values via updateResourceLimit and returns them accurately via listResourceLimits, the Web UI limits configuration panel fails to parse, map, or visually reflect these values accurately.
Steps to Reproduce
- Update the GPU resource limit for a domain/account via the API using: updateResourceLimit resourcetype=16 max=2 ...
- Verify the backend successfully registered the limit by calling the listResourceLimits API endpoint (the value shows up correctly).
- Log into the CloudStack Web UI as a Root Admin and navigate to the limits configuration for that same domain/account.
- Observe that the values for "Max. Object Storage (GiB)" and/or "Max. GPUs" do not reflect the values set via the API, or fail to display the updated state.
Expected Behavior
The Web UI's frontend mapping array should dynamically parse or correctly hardcode mappings for sequential backend resource IDs beyond 11 (including 12 through 16) so that administrative changes made via the API align 1:1 with the graphical dashboard views.
Actual Behavior
The backend successfully enforces and reports the limits via API, but the Web UI component fails to map the frontend input fields to resourcetype 15 and 16 data payloads.
versions
The versions of ACS, hypervisors, storage, network etc..
The steps to reproduce the bug
...
What to do about it?
No response
- Langage dominant
- Java
- Étoiles
- 3.1k
- Forks
- 1.4k
- Merge moyen
- 7 j 5 h
- PR mergées (30 j)
- 28
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de apache/cloudstack
-
bug
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
apache/cloudstack#14222 ·
-
create-kubernetes-binaries-iso.sh builds the ISO without setting a volume ID on EL8 based os's Ouvertebug component:kubernetes
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
apache/cloudstack#14180 ·
-
bug component:projects component:UI
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
apache/cloudstack#14070 · 5 commentaires ·
-
component:backup
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
apache/cloudstack#14013 ·
-
KVM agent fails to connect to Ceph RBD storage pool after upgrading Ceph client to Tentacle 20.2.4 Ouvertebug component:ceph
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
apache/cloudstack#13989 · 3 commentaires ·
Toutes les issues de apache/cloudstack
Issues similaires
-
[BUG]茶杯方块在取茶时会引发崩溃 Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
-
Cannot differ own consent and managed consents in My Consents view and detailed consent view. Ouverte1.0.0-alpha2 Type/Improvement
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
wso2/dpdp-accelerator#272 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
infinispan/infinispan#18150 ·
-
area/frontend
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100