Incorrect description on Flavor Access tab

Bug #1714961 reported by Dr. Jens Harbott
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Confirmed
Low
N V Srilakshmi Prasanna Pantagani

Bug Description

It reads:

"Select the projects where the flavors will be used. If no projects are selected, then the flavor will be available in all projects."

This is only true when the flavor is public, in that case the selection of projects isn't relevant anyway. When the flavor is private and no projects are selected, the flavor is not available in any project.

This can be seen on Admin > Compute > Flavors, and select Modify Access on one of the entries in the table

tags: added: low-hanging-fruit
Changed in horizon:
importance: Undecided → Low
status: New → Confirmed
description: updated
Revision history for this message
Trygve Vea (trygve-vea-gmail) wrote :

As far as I read the source code, the is_public flag gets set to true if no projects are added - as long as the change is done in Horizon.

So as far as I can tell, Horizon is behaving consistently with itself here.

But maybe it'd be a good idea to add a boolean flag to set is_public instead of implicit behavior when no projects are selected?

Changed in horizon:
assignee: nobody → N V Srilakshmi Prasanna Pantagani (nvsrilakshmi)
Revision history for this message
Abhishek Mahajan (mahajan-abhishek) wrote :

Observation with cli command, when all projects are removed via Horizon GUI - in a bug senerio. Cli command of Flavor list don't show the flavor, Even flavor show command fail for that flavor.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.