apache / apache/cloudstack

Improvement request: Allow normal users to select pod or cluster while deploying an instance

Ouverte
#10,069 16 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
affects:4.19.1 archive component:UI type:improvement
Langage dominant
Java
Étoiles
3.1k
Forks
1.4k
Merge moyen
6 j 19 h
PR mergées (30 j)
32

Description

##### ISSUE TYPE
* Bug Report

##### COMPONENT NAME
~~~
UI
~~~

##### CLOUDSTACK VERSION
~~~
4.19.1.2
~~~

##### CONFIGURATION
We have 2 clusters called CL01 and CL02. Both of these clusters are dedicated to Account A.
Account A has a role of "User".

##### OS / ENVIRONMENT
Red Hat Enterprise Linux 9.0 using KVM

##### SUMMARY
User accounts in account A have access to 2 different clusters called CL01 and CL02 which are dedicated to account A.
If a user creates a new instance through the UI, the UI doesn't give the user a choice on which cluster they want their instance created. The UI does this selection for them.

If the user creates the instance via the API (ansible script), they are able to choose the cluster and the instance gets deployed.
This tells me that the user (role) does not limit the user in choosing the cluster on which the new instance should land.

If a Root Admin creates a new instance via the UI, they however are able to choose the POD, cluster and even host so the functionality is there in the UI. It's just not given to someone with a "User" role.

##### STEPS TO REPRODUCE
Create a new account called A and assign it the "User" role.
Create a cluster and dedicate this cluster to account A.
Create a second cluster and dedicate this cluster to account A.
As a user from account A, login to the UI and create a new instance.
After selecting the zone in which the new instance should be created, try to select the pod, cluster or host. These options will not be given.

Perform the same steps but now as a Root Admin user and you will be given the choice of pod, cluster and/or host upon creation of a new instance.

##### EXPECTED RESULTS

~~~
After logging in with the role "User", I was expecting to be able to select a cluster on which I could deploy my new instance.
~~~

##### ACTUAL RESULTS

~~~
While logged in as someone with the role "User", I'm not given the choice of selecting the pod, cluster or host upon which my new instance should land.
~~~

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par le flux de déploiement d’instance de la CloudStack UI après la sélection de la zone et comparez les parcours de User et de Root Admin ; le rapport identifie également le parcours de déploiement via l’API comme comparaison fonctionnelle. Le travail est considéré comme terminé lorsqu’un User dans un compte comportant plusieurs clusters dédiés peut sélectionner le pod, le cluster ou l’host autorisé et déployer une instance avec succès.

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

Évaluation

Stack technique
java
Domaine
cloud, infrastructure
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

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