Kilo changes for Horizon

Registered by Miguel Grinberg

Overview
########

This blueprint collects all the changes that are necessary to make the Horizon playbook ready for Kilo.
This is meant to supplement and detail the Horizon tasks necessary to fulfill the master blueprint for supporting the Kilo release: https://blueprints.launchpad.net/openstack-ansible/+spec/master-kilofication

Problem Description
-------------------

The configuration files need to be updated for Kilo.

Proposed Change
---------------

After an analysis of the changes between Juno and Kilo, we (sigmavirus24, stevelle & miguelgrinberg) have come up with the following list of changes, all in the horizon_local_settings.py.j2 template:

  * Option MAX_DROPDOWN_ITEMS=30 needs to be added.
  * The comment that enumerates the allowed console types needs to include the new SERIAL type.
  * The commented out HORIZON_CONFIG["disable_password_reveal"]=False option needs to be added.
  * The commented out ENFORCE_PASSWORD_CHECK=False option needs to be added.
  * The commented out AUTHENTICATION_URLS option needs to be added.
  * The OPENSTACK_TOKEN_HASH_ALGORITHM=md5 option should probably be changed to use SHA256 (same change needs to be done on the Keystone side). [Note: we are sticking to Horizon defaults for now, so this is out]
  * Do we need the DATABASES and SESSION_ENGINE options? The official config file does not have them. [Answer is yes, we do need these as they configure the server-side session storage]

Playbook Impact
---------------

Minor impact localized to the local_settings.py template file.

Alternatives
------------

None.

Security Impact
---------------

None. Switching token hash algorighm from the MD5 default to SHA256 will improve security.

Performance Impact
------------------

None.

End User Impact
---------------

No user impacting changes.

Deployer Impact
---------------

No change.

Developer Impact
----------------

No change.

Dependencies
------------

If the MD5 token hashing is changed to use SHA256, then Keystone has to be changed in the same way.

Documentation Impact
--------------------

No changes to docs.

References
----------

Kilo version of the local_settings.py.example:
https://github.com/openstack/horizon/blob/master/openstack_dashboard/local/local_settings.py.example

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Miguel Grinberg
Direction:
Needs approval
Assignee:
None
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Kevin Carter

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/horizon-kilofication,n,z

Addressed by: https://review.openstack.org/167460
    WIP Horizon config changes for kilo

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.