Improve docs about Horizon Settings

Bug #1221115 reported by Julie Pichon
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Wishlist
Denise Hale

Bug Description

http://docs.openstack.org/developer/horizon/topics/settings.html could use an update, local_settings.py.example is nice but sometimes it is more handy to point people to the docs.

Missing ones I can see:

* Horizon section

auto-fade alerts?

I wonder if we might want to add a warning about the 'exceptions' attribute, or probably the HORIZON_CONFIG dictionary in general. I've seen issues where people define only one attribute that they want to override (e.g. help_url) thinking the rest would remain at the defaults, and then wonder why exceptions/HTTP 401 bring up an Internal Server Error.

* Openstack section

SESSION_TIMEOUT

OPENSTACK_NEUTRON_NETWORK should talk about security groups, quotas, profile support.

OPENSTACK_API_VERSIONS

SECONDARY_ENDPOINT_TYPE

OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT
OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = 'Default'
OPENSTACK_KEYSTONE_BACKEND

CONSOLE_TYPE

OPENSTACK_SSL_CACERT

OPENSTACK_IMAGE_BACKEND and SECURITY_GROUPS_RULES?

CREATE_INSTANCE_FLAVOR_SORT

TROVE_ADD_USER_PERMS
TROVE_ADD_DATABASE_PERMS

* Django settings

Perhaps it would be nice to add something about ALLOWED_HOSTS, I know I got caught upgrading to Django 1.5 and it's difficult to debug.

This is also another place where we could highlight the SECRET_KEY issue.

...There were more than I initially expected.

Changed in horizon:
status: New → Confirmed
Changed in horizon:
importance: Undecided → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

Changed in horizon:
assignee: nobody → David Lyle (david-lyle)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/56299
Committed: http://github.com/openstack/horizon/commit/ca014eba80f61c934238584915922ba5cc3a48ac
Submitter: Jenkins
Branch: master

commit ca014eba80f61c934238584915922ba5cc3a48ac
Author: David Lyle <email address hidden>
Date: Wed Nov 13 16:59:29 2013 -0700

    Documenting OPENSTACK_SSL_CACERT

    Partial-bug: #1221115

    Change-Id: I0aa0ed1d871cd72fe3375ec8afdf0588073a382f

David Lyle (david-lyle)
Changed in horizon:
assignee: David Lyle (david-lyle) → nobody
Revision history for this message
Matthias Runge (mrunge) wrote :

Logging options should be added as well.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

Changed in horizon:
assignee: nobody → Matthias Runge (mrunge)
Matthias Runge (mrunge)
Changed in horizon:
milestone: none → icehouse-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/65074
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=95565286bf8cf153209a54707fa08c5e5f261adc
Submitter: Jenkins
Branch: master

commit 95565286bf8cf153209a54707fa08c5e5f261adc
Author: Matthias Runge <email address hidden>
Date: Mon Jan 6 14:17:50 2014 +0100

    Improve docs about horizon settings

    added ALLOWED_HOSTS
    added SESSION_TIMEOUT

    Since settings become longer and longer, I re-arranged the options
    in alphabetical order.

    Change-Id: I4424cc178ec0cd7892b0f07cb0192b5af5b2ee0d
    Partial-bug: #1221115

David Lyle (david-lyle)
Changed in horizon:
milestone: icehouse-2 → icehouse-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

Changed in horizon:
assignee: Matthias Runge (mrunge) → Julie Pichon (jpichon)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/68639
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=6cb164f262abe122a41e2511dd0e3202dccaf93b
Submitter: Jenkins
Branch: master

commit 6cb164f262abe122a41e2511dd0e3202dccaf93b
Author: Julie Pichon <email address hidden>
Date: Thu Jan 23 13:26:47 2014 +0000

    Document the IMAGE_LIST_FILTER_TENANTS setting

    This has been around since Grizzly.

    Change-Id: I1e3d3f3aaf2c0d6d7698572a1efbae9acb3e0a3e
    Partial-Bug: #1221115

Julie Pichon (jpichon)
Changed in horizon:
assignee: Julie Pichon (jpichon) → nobody
Revision history for this message
Anne Gentle (annegentle) wrote :

Just wanted to say, we already automate the 2500+ config options for <project>.conf files (for ceilometer cinder glance keystone nova neutron), but I don't know how to automate horizon config options. If anyone has ideas, let the docs team know!

Changed in horizon:
assignee: nobody → Kevin Kirkpatrick (kevkirkpatrick)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/74437
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=69a299c70bb8ac5c99825be483a40a8810cbde1d
Submitter: Jenkins
Branch: master

commit 69a299c70bb8ac5c99825be483a40a8810cbde1d
Author: Kevin Kirkpatrick <email address hidden>
Date: Tue Feb 18 08:31:53 2014 -0800

    Documented Flavor Sorting Options

    Documented with examples to add a sorting mechanisms to hardware template flavors.

    Change-Id: Ic42b4f7b9e1fe8a59aaa548bd2883e6eef450e98
    Partial-Bug: #1221115

Thierry Carrez (ttx)
Changed in horizon:
milestone: icehouse-3 → icehouse-rc1
Revision history for this message
Julie Pichon (jpichon) wrote :

Thanks for the tips Anne. Our current issue is that we don't have a canonical location where settings live, some are documented in the dev docs, some are documented in the example local settings file and some only exists in the code and no one even remember they exist. Definitely some space for us to improve here!

Changed in horizon:
status: In Progress → Confirmed
assignee: Kevin Kirkpatrick (kevkirkpatrick) → nobody
David Lyle (david-lyle)
Changed in horizon:
milestone: icehouse-rc1 → next
Changed in horizon:
assignee: nobody → Denise Hale (denise-hale)
Changed in horizon:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Denise Hale (<email address hidden>) on branch: master
Review: https://review.openstack.org/117544
Reason: Issue with merged code

Changed in horizon:
assignee: Denise Hale (denise-hale) → Akihiro Motoki (amotoki)
Akihiro Motoki (amotoki)
Changed in horizon:
assignee: Akihiro Motoki (amotoki) → Denise Hale (denise-hale)
Changed in horizon:
assignee: Denise Hale (denise-hale) → Akihiro Motoki (amotoki)
Changed in horizon:
assignee: Akihiro Motoki (amotoki) → Denise Hale (denise-hale)
Changed in horizon:
assignee: Denise Hale (denise-hale) → Akihiro Motoki (amotoki)
Akihiro Motoki (amotoki)
Changed in horizon:
assignee: Akihiro Motoki (amotoki) → Denise Hale (denise-hale)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/117653
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=8c3e36e6ce1d9f292f7369705425dbb4b6631cd6
Submitter: Jenkins
Branch: master

commit 8c3e36e6ce1d9f292f7369705425dbb4b6631cd6
Author: Denise Hale <email address hidden>
Date: Thu Aug 28 16:54:50 2014 -0700

    Updates to horizon settings.rst

    Added documentation for auto_fade_alerts.

    Also added to the OpenStack section documentation for:
    OPENSTACK_API_VERSIONS,
    OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT,
    OPENSTACK_KEYSTONE_DEFAULT_DOMAIN,
    OPENSTACK_KEYSTONE_BACKEND,
    CONSOLE_TYPE,
    TROVE_ADD_USER_PERMS,
    TROVE_ADD_DATABASE_PERMS.

    In the Django section, added ALLOWED_HOSTS
    and a note about use of SECRET_KEY.

    Closes-Bug: #1221115
    Change-Id: I16596fef2af62b892cef00ab25e2bfe4a80e1c65

Changed in horizon:
status: In Progress → Fix Committed
Akihiro Motoki (amotoki)
Changed in horizon:
milestone: next → kilo-rc1
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: kilo-rc1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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