Quantum should either be fully optional or not optional

Bug #893466 reported by Gabriel Hurley on 2011-11-22
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
High
Gabriel Hurley

Bug Description

Right now Quantum is a code dependency for dashboard, but using having a running quantum endpoint and enabling quantum in the dashboard is not. The wiki refers to it as "quantum endpoint (optional)" which is leading to confusion.

We should either stop referring to quantum as optional and just let it be enabled/disabled as a service, or we should make it truly optional and not include it as a dependency and wrap the code imports in "try: import quantum, except ImportError" blocks so it doesn't fail if it's not installed.

Jesse Andrews (anotherjesse) wrote :

Isn't this an issue with "plugins?" (I'm using plugins to denote the panels in https://github.com/openstack/horizon/tree/master/horizon/horizon/dashboards/nova

Should dashboard be able:

 * have plugins that can be disabled/enabled (via a UI like jenkins or a conf file)
 * if a plugin doesn't load, it should marked as disabled and the admin can see the traceback

As folks add support for more projects, having this might be valuable

Changed in horizon:
status: New → Confirmed
Devin Carlen (devcamcar) on 2011-12-09
Changed in horizon:
milestone: none → essex-3
importance: Undecided → High
Devin Carlen (devcamcar) on 2011-12-21
Changed in horizon:
assignee: nobody → Gabriel Hurley (gabriel-hurley)
Tres Henry (tres) on 2012-01-10
Changed in horizon:
milestone: essex-3 → essex-4
Devin Carlen (devcamcar) on 2012-02-16
Changed in horizon:
milestone: essex-4 → 2012.1

Fix proposed to branch: master
Review: https://review.openstack.org/4374

Changed in horizon:
status: Confirmed → In Progress
Changed in horizon:
milestone: 2012.1 → essex-4

Reviewed: https://review.openstack.org/4374
Committed: http://github.com/openstack/horizon/commit/784a9a022888b541b46fb5fc6ed879b4e0c8b4d5
Submitter: Jenkins
Branch: master

commit 784a9a022888b541b46fb5fc6ed879b4e0c8b4d5
Author: Gabriel Hurley <email address hidden>
Date: Tue Feb 21 15:35:45 2012 -0800

    Cleanup of quantum dependencies and imports.

    Note: python-gflags is still a dependency for the quantum client,
    but the client's setup.py properly lists it as a dependency so
    we don't need it in our pip-requires.

    Given that we now detect quantum fully from the keystone service catalog,
    there are no settings/configuration for it in horizon anymore, and there
    are no special dependencies for it beyond the client, I'm
    saying that this fixes bug 893466.

    Change-Id: I2f31215974082fd354ab7fd274a6643010640fa8

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2012-02-29
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in horizon:
milestone: essex-4 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers