← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1315479] [NEW] Horizon doesn't show complete flavor access list

 

Public bug reported:

If I programmatically grant access to a private flavor for the admin tenant Horizon won't show it.
However nova flavor-access-list --flavor will show the correct list of tenants.
Example

        self.nova().flavor_access.add_tenant_access(flavor, tenant)
        self.nova().flavor_access.add_tenant_access(flavor, 'admin')

will result in nova flavor-access-list --flavor 1987b9ea-
32d7-4d64-8174-1039e380de92 showing

+--------------------------------------+----------------------------------+
| Flavor_ID                            | Tenant_ID                        |
+--------------------------------------+----------------------------------+
| 1987b9ea-32d7-4d64-8174-1039e380de92 | 64382b768c8b45fe9b46faf2ae5dcb68 |
| 1987b9ea-32d7-4d64-8174-1039e380de92 | admin                            |
+--------------------------------------+----------------------------------+

However Horizon will only show the 64382b768c8b45fe9b46faf2ae5dcb68
tenant in the flavor access list.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1315479

Title:
  Horizon doesn't show complete flavor access list

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  If I programmatically grant access to a private flavor for the admin tenant Horizon won't show it.
  However nova flavor-access-list --flavor will show the correct list of tenants.
  Example

          self.nova().flavor_access.add_tenant_access(flavor, tenant)
          self.nova().flavor_access.add_tenant_access(flavor, 'admin')

  will result in nova flavor-access-list --flavor 1987b9ea-
  32d7-4d64-8174-1039e380de92 showing

  +--------------------------------------+----------------------------------+
  | Flavor_ID                            | Tenant_ID                        |
  +--------------------------------------+----------------------------------+
  | 1987b9ea-32d7-4d64-8174-1039e380de92 | 64382b768c8b45fe9b46faf2ae5dcb68 |
  | 1987b9ea-32d7-4d64-8174-1039e380de92 | admin                            |
  +--------------------------------------+----------------------------------+

  However Horizon will only show the 64382b768c8b45fe9b46faf2ae5dcb68
  tenant in the flavor access list.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1315479/+subscriptions


Follow ups

References