← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1276814] [NEW] Provide ability to expose Trove database backups panel regardless of Swift's presence in Keystone catalog

 

Public bug reported:

Currently, the Trove database backups panel is only shown when the user
has the openstack.services.object-store permission, which is set when
the Swift endpoint is registered in Swift.

At present, Trove does not consult the catalog for any endpoints, let
alone Swift. So today, an operator has the ability to specify the
swift_url in trove*.conf without ever registering anything in the
catalog. If the operator never registers anything in the catalog, the
database backups panel will not be shown, despite fully-functional Trove
services.

References:
* https://github.com/openstack/horizon/blob/028332da4acb1ef6b9b9a1026affcf97e5501a84/openstack_dashboard/dashboards/project/database_backups/panel.py#L28
* https://github.com/openstack/django_openstack_auth/blob/b49304d9e75b2ed845b278d80d7fb98ce1e5d73e/openstack_auth/backend.py#L190-L191
* https://github.com/openstack/trove/blob/8b2b08f72da09a4c1a81975f9142060b9e6be6b0/etc/trove/trove-guestagent.conf.sample#L28

** 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/1276814

Title:
  Provide ability to expose Trove database backups panel regardless of
  Swift's presence in Keystone catalog

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Currently, the Trove database backups panel is only shown when the
  user has the openstack.services.object-store permission, which is set
  when the Swift endpoint is registered in Swift.

  At present, Trove does not consult the catalog for any endpoints, let
  alone Swift. So today, an operator has the ability to specify the
  swift_url in trove*.conf without ever registering anything in the
  catalog. If the operator never registers anything in the catalog, the
  database backups panel will not be shown, despite fully-functional
  Trove services.

  References:
  * https://github.com/openstack/horizon/blob/028332da4acb1ef6b9b9a1026affcf97e5501a84/openstack_dashboard/dashboards/project/database_backups/panel.py#L28
  * https://github.com/openstack/django_openstack_auth/blob/b49304d9e75b2ed845b278d80d7fb98ce1e5d73e/openstack_auth/backend.py#L190-L191
  * https://github.com/openstack/trove/blob/8b2b08f72da09a4c1a81975f9142060b9e6be6b0/etc/trove/trove-guestagent.conf.sample#L28

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


Follow ups

References