2025.1 Series Release Notes¶
25.3.2¶
New Features¶
Don’t send enable_port_security when disallowed by policy. When a user creates a network port, if they don’t have the rights to change port security, they will be unable to submit the form. The solution is to not send any value for port security when the user doesn’t have the rights to change it.
Horizon now supports Nova live migration with microversion 2.30. The
server_live_migrateAPI call will request the appropriate microversion when available.
25.3.1¶
Bug Fixes¶
Fix an error, when an “Admin State” status is displayed as variable (true or false) instead of “UP/DOWN” [bug:2099694]
25.2.0¶
Prelude¶
Horizon is switching away from pyscss and django-pyscss, and now uses the libsass library for partsing the scss files instead.
Upgrade Notes¶
Horizon now uses the libsass library. Horizon packagers now need to include python3-libsass in the dependency list.
Deprecation Notes¶
Horizon no longer uses the pyscss and django-pyscss libraries. They can be safely removed from the dependency lists by Horizon packagers.
Bug Fixes¶
Fix typo in metadef resource type. When Horizon retrieve possible metadata for Cinder Volume Type it will now retrieve OS::Cinder::VolumeType instead of OS:Cinder::VolumeType (note first :).
25.0.0¶
Upgrade Notes¶
Python 3.8 support has been removed. Now the minimum supported python version is 3.9.
24.0.0¶
New Features¶
Add a new setting to the OPENSTACK_NEUTRON_NETWORK configuration, named show_agents_column, that controls whether the DHCP Agents column should be displayed in the network views. Disabling this may speed up display on large deployments.
Upgrade Notes¶
Django 3.2 support was dropped. Django 3.2 ends its extended support in April 2024. Considering this horizon dropped Django 3.2 support and uses Django 4.2 as default.
23.4.0¶
Upgrade Notes¶
Default cache backend has been changed from MemcachedCache backend to PyMemcacheCache backend. MemcachedCache backend was deprecated in django 3.2 and was later removed in django 4.1. Note that the LOCATION option needs to be updated in case memcached servers use IPv6, so that inet6 prefix is not included.
23.3.0¶
New Features¶
Add suport for Time-based One-time Passwords.
23.1.0¶
New Features¶
Add support to portforwardings in the Network Floating IPs dashboard.
Requires python-neutronclient >= 8.1.0
This feature is disabled by default.
Added a new setting
OPENSTACK_KEYSTONE_ENDPOINT_TYPEthat can be used to specify the endpoint type to use when talking to the identity API. By default,OPENSTACK_ENDPOINT_TYPEis still referred for the identity API, If you would like to use a different endpoint for the identity API, you can use this setting.
Bug Fixes¶
Fixes the bug where an administrator could not specify default user_data for new VMs via
OPENSTACK_SERVER_DEFAULT_USER_DATAconfiguration setting.
23.0.0¶
New Features¶
The new setting
OPENSTACK_SERVER_DEFAULT_USER_DATAallows an administrator to specify a default user data (e.g. comments or instructions for cloudinit) for new VMs. It can be a raw string or string template that accepts the request.
The new settings
LAUNCH_INSTANCE_DEFAULTS.enable_metadataandLAUNCH_INSTANCE_DEFAULTS.enable_net_portsallow to hide Metadata and Network Ports tabs from launch instance workflow.
Cinder user messages are now available for volume backups in a messages tab.
22.2.0¶
New Features¶
Horizon can now use a system scope token when performing admin operations. To enable that, a new setting, SYSTEM_SCOPE_SERVICES, has to list the OpenStack services for which this feature is to be enabled. When that setting is not empty, a new option, “system scope” will appear in the context switching menu, and the panels for the listed services will be moved into that context in the main menu.
Upgrade Notes¶
Horizon no longer requires the keystone admin endpoint. keystone does not distinguish public and admin endpoints and there is no functional difference between public and admin endpoints. There is no need for a separate endpoint for keystone admin operations, but horizon required the keystone admin endpoint is configured previously. This requirement no longer exists. An endpoint specified by
OPENSTACK_ENDPOINT_TYPEsetting is used for the keystone admin operations. You can drop the admin endpoint for keystone (unless other services require it). [bug:1950659]
Deprecation Notes¶
The Django version of the Images, Keypairs, and Roles panels is deprecated now. Switch to the AngularJS version by setting
images_panel,key_pairs_panelandroles_panelkeys inANGULAR_FEATURESsetting toTrue(or dropping these keys fromANGULAR_FEATURESsetting). The horizon team believes that feature gaps between Django and AngularJS implementations have been closed for all these panels and we can drop the Django version. If you see any feature gap, please file a bug to horizon or contact the horizon team.
22.0.0¶
New Features¶
[blueprint:handle-multiple-login-sessions-from-same-user-in-horizon] This blueprint allows operators to control if multiple simultaneous dashboard sessions are allowed or not for a user. A new setting
SIMULTANEOUS_SESSIONScontrols the behavior. The default behavior allows multiple dashboard sessions for a user. The new setting allows operators to configure horizon to disallow multiple sessions per user. When multiple simultaneous sessions are disabled, the most recent authenticated session will be considered as the valid one and the previous session will be invalidated.
Add Rules CRUD operations to the Network QoS Policy.
Added create, edit, and delete rules operation to the network qos policy. Rules supported - Bandwidth-Limit, Minimum-Bandwidth, DSCP-Marking, and Minimum-Packet-Rate.
Upgrade Notes¶
The default value of OPENSTACK_KEYSTONE_DEFAULT_ROLE is changed from _member_ to member to conform with what keystone-bootstrap creates.
Bug Fixes¶
Fixed lack of pagination for the networks page under Project and Admin Dashboard.
Previously, ToggleSuspend class checked os-rescue policy for resume operation. By this fix, the class checks ‘os_compute_api:os-suspend-server:resume’ policy to align to resume operation.
21.0.0¶
New Features¶
A new entry has been added to the context switcher menu, visible only when the current user has access to the system scope. This entry, labeled “system scope”, allows to switch to a system-scope token, so that operations that require this kind of token can be performed.
[bug:1907843] RBAC shared security groups can now be shown in the Security Groups page. Previously only the security groups owned by the login tenant can be displayed and used. Besides, a column for the shared field is added to the Security Groups table.
Upgrade Notes¶
The Django version of the launch instance form was dropped. It was deprecated since Wallaby release.
LAUNCH_INSTANCE_LEGACY_ENABLEDandLAUNCH_INSTANCE_NG_ENABLEDsettings were dropped as horizon always uses the Angular version of the launch instance form.
Django 2.2 support was dropped. Django 2.2 ends its extended support in April 2022. Considering this horizon dropped Django 2.2 support and uses Django 3.2 as default.
Bug Fixes¶
[bug:1874705] Add a new variable WEBSSO_USE_HTTP_REFERER to facilitate WEBSSO deployments where network segmentation is used per security requirement. In this case, the controllers cannot reach other services external endpoints. Therefore, using the HTTP_REFERER to derive the Keystone endpoint in the websso view will return a timeout for requests to Keystone in cases where the external Keystone endpoint is the HTTP_REFERER. WEBSSO_USE_HTTP_REFERER defaults to True to keep inline with current functionality. When set to False the OPENSTACK_KEYSTONE_URL is used instead of the HTTP_REFERER. If OPENSTACK_KEYSTONE_URL is set to the internal Keystone endpoint the requests between Horizon and Keystone should be able to connect.
20.1.0¶
New Features¶
Django 3.2 support is added. As of Xena release, it is considered as experimental. Considering Django 2.2 EOL, Django 3.2 will be the default Django version in Yoga release.
Add “Create Network QoS Policy” button to QoS Policy Panel. From Horizon users can now create network qos policy.
20.0.0¶
New Features¶
When multiple availability zones are available, the default behavior is to allow the scheduler to spawn a VM in any of them. The new setting
LAUNCH_INSTANCE_DEFAULTS.default_availability_zoneallows an administrator to specify a default static availability zone for new VM creation.
Upgrade Notes¶
With this release, Horizon uses only the Block Storage API v3. Horizon has been using the Block Storage API v3 by default since Queens, so this change should not impact Horizon functionality. (The Block Storage API v2 was deprecated by the Cinder project in the Pike release, and is scheduled to be removed in the Xena release.)
Bug Fixes¶
Get the timezone offset for the current day instead of January 1st. This bug only appears to be a cosmetic one where the TZ offset would be calculated on current_year/01/01 so would remain in daylight saving offset when displaying the timezones list in the user configuration settings.
19.1.0¶
New Features¶
Setting ‘can_set_password’ to True in OPENSTACK_HYPERVISOR_FEATURES adds the option to set admin password from AngularJS Launch Instance dialog.
Horizon supports the registered default policies and operators now only need to define policies which they would like to override in policy files in
POLICY_FILESsetting. (Previously the policy files need to contain all defined policies including default policies.) The registered default policies are defined in files underDEFAULT_POLICY_FILESand they are synced with registered defaults of back-end services before the horizon release.
Chinese locales
zh-cnandzh-tware now changed tozh-hansandzh-hantrespectively. This follows the change in Django which is a framework horizon depends on. The new locales decouples what are spoken from specific locations as they are also used outside of China/Taiwan.
Volume backups is now supported for admin panel. Admin is now able to view all volume backups for differenet users.
Known Issues¶
Policies with the system scoped token (
system_scope:all) are not supported in horizon yet. The horizon team recognizes it as an important feature gap and would like to support it in near future.
Upgrade Notes¶
The format of the policy files under
POLICY_FILESis changed to YAML and all contents of these files are commented out now. You only need to define policies which you would like to modify from the default. You can still use policy files with JSON format. If you continue to use JSON format, configurePOLICY_FILESsetting to point JSON files.
Chinese locales
zh-cnandzh-twhave been changed tozh-hansandzh-hantrespectively. If you configureLANGUAGESin your setting explicitly, ensure to use the new Chinese locales if needed.
Deprecation Notes¶
The Django version of the launch instance form is deprecated now. Switch to the AngularJS version of the form by setting
LAUNCH_INSTANCE_NG_ENABLEDtoTrueandLAUNCH_INSTANCE_LEGACY_ENABLEDtoFalse. The horizon team believes that feature gaps between Django and AngularJS implementations have been closed and we can drop the Django version. If you see any feature gap, please file a bug to horizon or contact the horizon team.
19.0.0¶
New Features¶
A new setting
OPENSTACK_USE_SIMPLE_TENANT_USAGEwas introduced as a replacement ofSimpleTenantUsagein the deprecatedOPENSTACK_NOVA_EXTENSIONS_BLACKLISTsetting. This new setting controls whetherSimpleTenantUsagenova API is used in the usage overview. According to feedbacks to the horizon team, the usage ofSimpleTenantUsagecan cause performance issues in the nova API in larger deployments. Try to set this toFalsefor such cases.
Upgrade Notes¶
Deprecated
opensatck_dashboard/wsgi/django.wsgiis removed. If you still use it, please change your configuration to useopenstack_dashboard/wsgi.pynow.
The legacy way to retrive neutron resource usages was dropped and horizon now assumes the
quota_detailsneutron API extension implemented in Pike release (over three years ago), so we expect this is available in all Wallaby neutron deployments.
OPENSTACK_NOVA_EXTENSIONS_BLACKLISTsetting is now dropped. If you specifySimpleTenantUsagein this setting, consider settingOPENSTACK_USE_SIMPLE_TENANT_USAGEtoFalseinstead. For other effective values in this setting, no replacement is provided as nova provides all features in recent versions of nova API. Note that you can enable/disable table actions via policy rules.
Password forms in horizon now does not strip leading/trailing spaces included in input passwords. Previously horizon stripped leading/trailing spaces in input passwords but on the other hand keystone accepts leading/trailing spaces and it can be an issue when such passwords are set via keystone API. To handle this situation horizon no longer strips leading/trailing spaces in passwords. See [bug:1861224] and the related mailing thread for more detail. (Note that this change is part of horizon 18.5.0 release but we forgot to mention it.)
Considering the deprecation of
OPENSTACK_NOVA_EXTENSIONS_BLACKLIST, set a new settingOPENSTACK_USE_SIMPLE_TENANT_USAGEtoFalseif you specifySimpleTenantUsageinOPENSTACK_USE_SIMPLE_TENANT_USAGE
18.6.0¶
Security Issues¶
An open redirect has been fixed, that could redirect users to arbitrary addresses from certain views by specifying a “next” parameter in the URL. Now the redirect will only work if the target URL is in the same domain, and uses the same protocol.
18.5.0¶
New Features¶
[cinder-user-facing messages] This bp add a new tab “Messages” in volume/snapshot detail pages where User can see failure summary messages for corresponding volume and snapshot resources. Before this bp it only shows user messages and message-level info. for a specific volume in the detail page but now more parameters will be displayed for that volume.
Added an
cleanup_angular_template_cachemanagement command, that clears template cache for angularized views. The command is available as./manage.py cleanup_angular_template_cache.
[blueprint refactor-error-messages] User can see detailed error message on the horizon UI. This blueprint adds a hyperlink “details” in the alert box. So now when an exception occurs a user can click on this hyperlink “details” which shows original error message included in a corresponding error. This may help a user to understand what happens in detail.
Support for extending in-use volumes is added. The extend volume action will be shown on in-use volumes.
Bug Fixes¶
[bug/1874657] Horizon container upgrade works without additional
./manage.py compresscall.
18.3.0¶
New Features¶
Added support for Keystone locking user option. Locked user can’t change own password using the self-service password change API. By default, users are unlocked and can change their own passwords. In case of older Keystone not supporting this feature, all users treated as unlocked.
Adds options to gui to allow user to select which storage policy container will use and displays the container’s storage policy in the container information.
Deprecation Notes¶
The legacy way to retrive neutron resource usages is deprecated. In future, horizon will require
quota_detailsneutron extension. In the legacy way, horizon list all related resources to count resource usage. It is not efficient andquota_detailsneutron extension was added to address it. It was implemented in Pike release and the enough migration period has passed, so we deprecate the legacy way.
18.1.0¶
New Features¶
Introduced a new
DEFAULT_BOOT_SOURCEconfig option to allow operators to configure a default instance boot source.
18.0.0¶
New Features¶
Added support to retrieve supported disk formats from glance, so you can adjust disk_formats only inside glance-api.conf. You still can use IMAGE_BACKEND_SETTINGS to adjust format naming.
Upgrade Notes¶
Django 1.11 support was dropped. Django 1.11 ends its extended support in April 2020 which is before Ussuri release. Considering this, horizon dropped Django 1.11 support and use Django 2.2 as default.
Python 2.7 support has been dropped. Last release of horizon to support python 2.7 is OpenStack Train. The minimum version of Python now supported by horizon is Python 3.6.
Deprecation Notes¶
OPENSTACK_NOVA_EXTENSIONS_BLACKLISToption is deprecated. All of the nova API extensions have been mainlined several releases ago and there is no potential performance issue in the nova API. This option is used only to toggle features in horizon and there seems no performance issues controlled by the option in horizon. Considering this situation, this option is deprecated now.
17.1.0¶
New Features¶
Adds support for access rules for application credentials. Fine-grained restrictions can now be applied to application credentials by supplying a list of access rules upon creation. See the keystone documentation for more information.
Bug Fixes¶
The missing nova’s os-aggregates policy rules are added to the dashboard.
The missing nova’s os-flavors policy rules are added to the dashboard.
Other Notes¶
The default OPENSTACK_KEYSTONE_URL value has been changed to
"http://%s/identity/v3" % OPENSTACK_HOSTfrom"http://%s:5000/v3" % OPENSTACK_HOST.
17.0.0¶
Upgrade Notes¶
Glance API V1 support has been dropped in Ussuri release. Glance V1 API support was deprecated in Stein release.
enable_quotasinOPENSTACK_NEUTRON_NETWORKis now enabled by default. Neutron provides the quotas API for long and most horizon deployments are expected to enable this, so the feature is enabled by default. If your deployment disables the neutron quotas support, make sure to set this value toFalse.
Other Notes¶
The default values of the settings listed in
local_settings.py.examplein past releases have been moved toopenstack_dashboard/defaults.py. By doing this, horizon can now provide the definitions of the default settings more explicitly. For the available settings, seeopenstack_dashboard/defaults.pyand the horizon setting reference found at https://docs.openstack.org/horizon/latest/configuration/settings.html.Note that Django related settings and HORIZON_CONFIG still exist in
local_settings.py.examplein this release and they will be revisited in upcoming releases.
16.0.0.0rc1¶
New Features¶
Users can now change their password when it expires or is required to be changed on the first use. A new setting ALLOW_USERS_CHANGE_EXPIRED_PASSWORD has been added allowing administrators to disable that feature.
16.0.0.0b2¶
New Features¶
[blueprint kubernetes-config-gen] Horizon now supports the optional automatic generation of a Kubernetes configuration file (kubeconfig) based on application credentials. Adds a new download button for this purpose in the application credentials creation dialog.
Enabled horizon to make use of cinder’s feature to backup up snapshots of block storage volumes.
Django 2.2 is supported as experimental. Django 1.11 (LTS) and 2.0 are supported as well as Stein release does and Django 1.11 is still the primary supported version of Django.
Note that only horizon is verified with Django 2.2 and most horizon plugins are not verified with Django 2.2. If you enable horizon plugins in your environment, we would suggest to use Django 1.11 or 2.0. Be careful when you enable horizon plugins with Django 2.2.
[blueprint:multi-Attached-volume-support] Horizon now support Multi-Attached volume. User is now able to attach a volume to multiple instances. The ability to attach a volume to multiple host/servers requires that the volume type includes an extra-spec capability setting of multiattach=<is> True. Horizon automatically detects and enable multi-attach-volume feature.
- API restrictions:
Multiattach capable volumes can only be attached with nova API microversion 2.60 or later.
Upgrade Notes¶
Keystone API V2 support has been dropped in Train release. Keystone V2 API support was deprecated in Stein release. If you use Keystone V2 before, you should update the OPENSTACK_API_VERSIONS configuration option to use Keystone V3 API.
Bug Fixes¶
[bug:1840465] Fixed a bug where listing security groups did not work if one or more security groups had no rules in them.
16.0.0.0b1¶
Upgrade Notes¶
Cinder consistency group support in horizon has been dropped in Train release. It was deprecated in Pike release in Cinder and deprecated in Stein release in Horizon. The feature is superseded by the generic group feature and horizon provides full support of the generic group.
policy.json files for Cinder, Keystone Neutron and Nova are generated according to Policy file maintenance. Keystone changes to policy rules <https://docs.openstack.org/releasenotes/keystone/stein.html#prelude>__, are not compatible with the Horizon so we keystone_policy.json is not updated. Please, be sure that new Keystone policies are compatible with your deployment before syncing them.
Deprecated config option ENABLE_FLAVOR_EDIT is removed.
Deprecated
SHOW_KEYSTONE_V2_RCsince Stein release is removed.
python-cinderclient
>=4.0.1is now required to fix bug:1824017. Cinder API 3.55 or later does not accept additional properties but python-cinderclient older than 4.0.0 sends additional properties like used_id, status and so on. Horizon uses Cinder API 3.58 to create a volume, and this means the volume creation fails if python-cinderclient <4.0.0 is used. To handle this, the minimum requirement of python-cinderclient was bumped to 4.0.1.
Other Notes¶
The default visibility when creating new images has been changed from private to shared to bring it inline with the default changing in Glance since Image API v2.5.
15.0.0.0b2¶
New Features¶
Add “Create Router” button to Admin/Network/Routers panel.
With the fixes in Rocky that allow using Django’s recursive template inheritance we have added new blocks in our
base.htmltemplate to allow a better means of customizing through your themes. For details see thecustomizingdocs.
[blueprint neutron-rbac-policies] This blueprint adds RBAC policies panel to the Admin Network group. This panel will be enabled by default when the RBAC extension is enabled. Remove this panel by setting “‘enable_rbac_policy’: False” in ‘local_settings.py’. RBAC policy supports the control of two resources: networks and qos policies, because qos policies is an extension function of neutron, need to enable this extension if wants to use it.
[blueprint:instance-rescue-horizon-support] Support instance rescue feature
[bug:1792524] Modify the user detail view in a multi tabbed view, composed of:
Overviewtab displaying general information about the user.Roles assignmentstab displaying all the roles that the users have on project or domain, directly or throw their membership to a group. When the role comes from a membership to a group this will be indicated into the role column.Groupstab displaying all groups where the user is a membership to.
[blueprint:cinder-generic-volume-groups] Cinder generic groups is now supported for admin panel. Admin is now able to view all groups and group snapshots for differenet users. Also group-type and group-type-spec support added to admin panel. Admin is able to create group-type and group-type-spec now.
New setting
SESSION_REFRESH(defaults toTrue) that allows the user session expiry to be refreshed for every request until the token itself expires.SESSION_TIMEOUTacts as an idle timeout value now.
[bug:1795851] Operators now can control whether the links of “Download OpenRC” and “Download clouds.yaml” are displayed or not via new settings
SHOW_OPENRC_FILEandSHOW_OPENSTACK_CLOUDS_YAML.openrcandclouds.yamlfiles provided by horizon now assume the basic simple deployment and do not cover keystone authentication like saml2, openid and so on. The defaultopenrcandclouds.yamlfrom horizon do not make sense for such environments.Custom templates for
clouds.yamlandopenrcfiles can be configured now viaOPENSTACK_CLOUDS_YAML_CUSTOM_TEMPLATEandOPENRC_CUSTOM_TEMPLATEsettings. For more detail, see the Settings Reference.ADD_TEMPLATE_DIRSsetting is also added so that operators can place custom templates forclouds.yamlat deployment-specific paths.
Added an upgrade_check management command, that checks the configuration files for any settings that may potentially be problematic in the next version. The command is available as
./manage.py upgrade_check.
Upgrade Notes¶
To allow certain views to optionally disable analytics tracking when handling sensitive data, don’t use the
custom_head_jsblock, or the now deprecated templatehorizon/_custom_head_js.htmlfor analytics tracking. Please read thecustomizingdocs and instead use the dedicatedcustom_analyticsblock so Horizon or its plugins can when needed disable tracking on a given view.
PKI token support has been dropped from horizon. PKI token was removed from keystone in Ocata release which was released two years ago. It is a good timing to drop its support.
OPENSTACK_TOKEN_HASH_ALGORITHMsetting was removed because it was used only for PKI token check. Unless you use PKI token before upgrading, there is no affect and you can safely drop it from your local_settings.py.
SESSION_TIMEOUTnow by default acts as an idle timeout rather than a hard timeout limit. If you wish to retain the old hard timeout functionality setSESSION_REFRESHtoFalse.
The default value of
SESSION_ENGINEis changed todjango.contrib.sessions.backends.cacheso that a cache-based session backend is used.The default cache back-end is set to the memcached backend
django.core.cache.backends.memcached.MemcachedCachefrom the local-memory backend considering multi-process web server deployments.They are settings which horizon recommends for a long time but we have not use them by default.
If your deployment uses the signed-cookies as a session engine, ensure that
SESSION_ENGINEis configured todjango.contrib.sessions.backends.signed_cookiesbefore upgrading horizon to Stein release. If your deployment uses the cached session engine and your cache backend depends on horizon default setting, ensure toCACHESsetting to use the local-memory backend.
The default value of
SHOW_KEYSTONE_V2_RCsetting is changed toFalsein favor of the deprecation of keystone v2 API support in horizon.
Deprecation Notes¶
The customization override templates have been deprecated in favor of using recursive inheritance in your themes. The following templates have been deprecated and are slated for removal in the U release: *
_footer.html'*_login_footer.html*_login_form_footer.html*horizon/_custom_head_js.html*horizon/_custom_meta.html
Keystone v2 API support in horizon will be dropped in Train release. It was was removed from keystone in Queens release.
Cinder consistency group support in horizon will be dropped in Train release or later. It was deprecated in Pike release in Cinder and was superseded by the generic group feature. Horizon supports the generic group since Rocky release.
Volume v2 API support is now deprecated. The API has been marked as deprecated in cinder in favor of volume v3 API. Horizon will drop volume v2 API support in a same release where cinder drops it.
Glance v1 API support is now deprecated and will be dropped in Train release at earliest. It was removed from glance in Rokcy release.
Nova-network support will be dropped in Train release completely. Horizon dropped nova-network floating IP and security gruop supports in Queens release, but we still supports operations on server instances created with nova-network. This deprecation means such support will be dropped in the near future and horizon will assume neutron is deployed.
SHOW_KEYSTONE_V2_RCsetting is deprecated in favor of the deprecation of keystone v2 API support in horizon.
Bug Fixes¶
Fixed a bug where non-admin users would be shown the “Change Password” button for users listed under the Identity panel.
15.0.0.0b1¶
New Features¶
[blueprint:mitigate-breach-attacks] Adding Django-debreach module to mitigate breach attacks. Enabling the RandomCommentMiddleware to counter breach attack by randomising the content length of each response.
[bug:1785263] Modify the project detail view in a multi tabbed view, composed of:
Overviewtab displaying general information about the project.Userstab displaying all users which have roles on the project (and their roles on it), including users which have roles on the project throw their membership to a group.Grouptab displaying all groups which have roles on the project (and their roles on it).
Added a new
hide_create_volumesetting under theLAUNCH_INSTANCE_DEFAULTSdict. This allows you to hide the “Create New Volume” option in the “Launch Instance” form and instead rely on the default value you select withcreate_volumeis the best suitable option for your users.
Adds the possibility to redirect the login to an identity provider by default. For that purpose the following variables have been added,
WEBSSO_DEFAULT_REDIRECT,WEBSSO_DEFAULT_REDIRECT_PROTOCOL,WEBSSO_DEFAULT_REDIRECT_REGIONandWEBSSO_DEFAULT_REDIRECT_LOGOUT.
Bug Fixes¶
[bug:1544703] Add a new optional WEBSSO_KEYSTONE_URL property to facilitate WEBSSO deployments where network segmentation is used per security requirement. In this case, the controllers are not reachable from public network. Therefore, user’s browser will not be able to access OPENSTACK_KEYSTONE_URL if it is set to the internal endpoint.
14.0.0.0b3¶
New Features¶
DEFAULT_SERVICE_REGIONS can now take ‘*’ as a key which serves either as a fallback service region, or the default region if no other keys are set.
Support has been added to set and display DNS attributes for Floating IPs (DNS Name and DNS Domain). These attributes are only available if Neutron has the dns-integration extension enabled.
[blueprint:cinder-generic-volume-groups] Cinder generic groups is now supported. Consistency groups views will be disabled if the generic group support is available. User is able to create generic groups and snapshots now.
Note that operators need to create at least one group type so that users can use the generic group feature. Otherwise, it might be better to disable the group and group snapshot panels by the horizon plugin
enabledfiles.
Upgrade Notes¶
[bug:1772345]
DEFAULT_SERVICE_REGIONSno longer overrides the cookie value fromservices_region. This fixes the UX where a user controlled value keeps being overridden by a setting and changesDEFAULT_SERVICE_REGIONSto act as a default (as the name implies) per endpoint if the cookie is not set rather than an override. The cookie will still be overridden when it is for a region not present in the user’s current catalog, so this will still handle the original multi-keystone case that requried the introduction ofDEFAULT_SERVICE_REGIONS.
Add
OPENSTACK_KEYSTONE_BACKENDmanually intoREST_API_REQUIRED_SETTINGSonlocal_settings.py, if your deployment uses Angularized identity panels and needs to enablecan_edit_*settings inOPENSTACK_KEYSTONE_BACKEND.
Bug Fixes¶
Do not redirect to the /identity tab admin users on login. Now user_home config options works in the same way for all users. [bug/1778006]
[bug:1779268] Supported
can_edit_*settings in Angularized identity panels. To enable this settings in Angularized identity panels, addOPENSTACK_KEYSTONE_BACKENDintoREST_API_REQUIRED_SETTINGSonlocal_settings.py. For more detail, see REST_API_REQUIRED_SETTINGS in horizon settings documentation.
Fix an error on image description field when it is changed in the Angularized panel [:bug: 1779879]
14.0.0.0b2¶
New Features¶
Added server groups and server group members quota management. Users can specify their values when creating or modifying project information, and users can also change their quota default values on the Admin-> System-> Defaults page.
[blueprint application-credentials] Adds a new panel for creating, viewing, and deleting keystone application credentials.
“Interfaces” tab is added to the instance detail page. The new tab shows a list of ports attached to an instance. Users now have an easy way to access the list of ports of the instance and edit security groups per port. In addition, “Edit Port Security Groups” menu is added as an action of the instance table.
[bug:1690433] “Get me a network” feature provided by nova and neutron is now exposed in the launch server form. This feature will sets up a neutron network topology for a project if there is no network in the project. It simplifies the workflow when launching a server. In the horizon support, when there is no network which can be used for a server, a dummy network named ‘auto_allocated_network’ is shown in the network choices. The feature is disabled by default because it requires preparations in your neutron deployment. To enable it, set
enable_auto_allocated_networkinOPENSTACK_NEUTRON_NETWORKtoTrue.
Quota information panel and forms are now tabbified per back-end service.
Admin -> Defaults -> Default Quotas table
Admin -> Defaults -> Update Defaults form
Identity -> Projects -> Modify Quotas form
[blueprint:horizon-plugin-tab-for-info-and-quotas] (for horizon plugin developers) Django workflow step is now pluggable and horizon plugins can add extra step(s) to an existing workflow provided by horizon or other horizon plugins. Extra steps can be added via the horizon plugin “enabled” file. For more detail, see
EXTRA_TABSdescription in Pluggable Panels and Groups of the horizon documentation.
Upgrade Notes¶
The “Quotas” tab in the “Create Project” form was split out into a new separate form “Modify Quotas”. Quotas for a new project need to be configured from “Modify Quotas” action after creating a new project.
Remove deprecated Cinder API V1 support. Cinder V1 API was deprecated for a while and removed in Queens release. If you need to enable Cinder support you should update the OPENSTACK_API_VERSIONS configuration option to use Cinder V2 or V3 API.
Deprecation Notes¶
[bug:1763204] Use of this ‘djano.wsgi’ file has been deprecated since the Rocky release in favor of ‘wsgi.py’ in the ‘openstack_dashboard’ module. This file is a legacy naming from before Django 1.4 and an importable ‘wsgi.py’ is now the default. This file will be removed in the T release cycle.
14.0.0.0b1¶
New Features¶
[blueprint ng-server-groups] This blueprint add angular server groups panel below the Project->Compute panel group. The panel turns on if Nova API extension ‘ServerGroups’ is available. It displays information about server groups. The details page for each server group also shows information about instances of that server group. Supported actions: create, delete.
[blueprint ng-users] AngularJS-based Users panel is added. The features in the legacy panel are almost implemented. The Users panel now may be configured to use either the legacy or AngularJS-based codes. The ANGULAR_FEATURES setting now allows for a users_panel. If set to True, then the AngularJS-Based Users panel will be used, while the Django version will be used if set to False. Default value for users_panel is False, due to lack of extensional buttons, i.e. for showing password and adding project, see also [bug/1733271].
Floating IP can be released when it is disassociated from a server. “Release Floating IP” checkbox is now available in “Disassociate Floating IP” form.
[bug:1755339] (for horizon plugin developers) A new plugin option
ADD_XSTATIC_MODULESis now available and horizon plugins can add extra xstatic modules via the horizon plugin “enabled” file. For more detail, seeADD_XSTATIC_MODULESdescription in Pluggable Panels and Groups in horizon documentation.
Security groups now can be specified when creating a port. When the port security is enabled, the security groups tab will be displayed in create port workflow.
[bug:1746754] (for horizon plugin developers) Django tab is now pluggable and horizon plugins can add extra tab(s) to an existing tab provided by horizon or other horizon plugins. Extra tabs can be added via the horizon plugin “enabled” file. For more detail, see
EXTRA_TABSdescription in Pluggable Panels and Groups of the horizon documentation.
[bug:1742332] Description for security group rule is supported.
Added support for Swift object copy as one of row actions. Destination container must exist in advance. To avoid overwriting an existing object, you cannot copy an object if a specified destination object already exists.
Known Issues¶
[bug/1733271] Users panel has Angularized, but buttons showing passwords is not implemented, i.e. for Password, Confirm Password and Admin password. Also, button adding project for selection of Primary Project is not implemented.
Upgrade Notes¶
simple_ip_managementsetting inHORIZON_CONFIGwas dropped. This actually has no meaning after nova-network support was dropped in Pike. If you use this setting to hideDisassociate Floating IPbutton in the instance table, use the policy file instead.
The deprecated feature of “Edit Flavor” was deleted Historically, Horizon has provided the ability to edit Flavors by deleting and creating a new one with the same information. This is not supported in the Nova API and causes unexpected issues and breakages.
Django 2.0 support is added as experimental. Support for Django 1.10 or older releases is dropped. Django 1.11 (LTS) is still the primary supported Django version.
The following deprecated settings have been dropped.
HORIZON_IMAGES_ALLOW_UPLOAD(deprecated in Newton): UseHORIZON_IMAGES_UPLOAD_MODEinstead.CUSTOM_THEME_PATHandDEFAULT_THEME_PATH(both deprecated in Mitaka): Use AVAILABLE_THEMES instead.OPENSTACK_TOKEN_HASH_ENABLED(deprecated in Mitaka): PKI tokens currently work with hashing (before Ocata) and Keystone already dropped PKI token support in Ocata.TOKEN_DELETION_DISABLED(deprecated in Ocata): It was not marked as deprecated in the horizon documentation, but this had no effect since Ocata release.
Bug Fixes¶
[bug:1746706] Fixed a bug the navigation menu and breadcrumb list are not reproduced properly when reloading or opening Angular-based detail page directly.
Other Notes¶
Deprecated function fix_auth_url_version is removed from openstack_auth library. fix_auth_url_version_prefix function should be used instead of it.
UpdateAction is deprecated in Newton and removed now. You should not use inline edit functionality in your plugins anymore.
13.0.0.0rc1¶
Known Issues¶
[bug:1746706] When reloading or opening Angular-based detail page directly, the navigation menu and breadcrumb list are not recovered properly and the first panel is focused. [bug:1746709] when we try to open non-existing Angular-based detail page, “Not Found” (404) page is not shown. A blank page only with the navigation menu will be shown.
Bug Fixes¶
[bug:1681627] A problem that Angular-based detail page (ngdetail page) cannot be reloaded or opened via direct URL has been fixed. Note that there are some known issues described in the “Known Issues” section.
13.0.0.0b3¶
New Features¶
Cinder API v3 is used by default now. It was introduced in Mitaka release and has all features from API v2.
The keystone v3 API now becomes the default keystone API version.
Floating IP addresses have a description field that is now exposed in the dashboard. It is also possible to set the description when allocating a floating IP.
The policy framework in horizon now supports policy directories per service. This corresponds to
policy_dirsconfiguration option from “oslo.policy” library. The new settingPOLICY_DIRSwas introduced. The setting allows to define multiple policy directories per service. For example, it is useful for a case where multiple projects provide policy files like neutron stadium projects. For detail, see the horizon Setting Reference.
Upgrade Notes¶
If your deployment doesn’t have Cinder API v3 endpoint like
volumev3you should create new endpoint or use Cinder API v2 via setting OPENSTACK_API_VERSIONS[‘volume’] = 2 in your OpenStack Dashboard (Horizon) configuration file.
The default keystone API vesion is switch to
v3. If you still use the keystone v2.0 API by default, you need to configureOPENSTACK_API_VERSIONSandOPENSTACK_KEYSTONE_URLto point to the keystone v2.0 API.
Heat dashboard is now split out into a separate project
heat-dashboard. All new features and maintenances are provided from the new project from now on. The new project provides all features available in Horizon in the past release. To continue to use heat dashboard, installheat-dashboardand set up the horizon plugin configuration file inenableddirectory. For more information, seeheat-dashboarddocumentation https://docs.openstack.org/heat-dashboard/latest/.
Bug Fixes¶
[bug:1337473] The default quotas of neutron resource for a new project are no longer got from the quotas of the current project. Neutron did not provide a way to retrieve the default quotas and horizon used the quotas of the current project as the default quotas for a new project as a workaround. Neutron implemented an API to retrieve default quotas since newton and horizon now consumes it.
A new setting
OPENSTACK_INSTANCE_RETRIEVE_IP_ADDRESSESwas introduced to control whether IP addresses of servers are retrieved from neutron in the project instance table. This setting was introduces to mitigate a performance issue in large deployments and setting this toFalseskips the query to neutron. Deployments without floating IP support can set this setting toFalsefor better performance. For more detail, see [bug:1722417].
Other Notes¶
The Queens release of horizon depends on Django 1.8 to 1.11, but Django 1.8 to 1.10 support will be dropped in the next release (Rocky).
13.0.0.0b2¶
New Features¶
Add MKS console support. Blueprint can be found at [https://blueprints.launchpad.net/horizon/+spec/support-mks-console-type]
[blueprint:neutron-trunk-ui] Neutron trunk feature is now supported. It is supported in both the project and admin dashboards. The panel will be displayed if Neutron API extension ‘trunk’ is available. It displays information about trunks. The details page for each trunk also shows information about subports of that trunk.
Added the way to specify an interface when attaching it to an instance. It can be specified by a network and a fixed IP address (optional) or a port.
Support security groups association per network port for operators and users. Note that the current implementation only supports to edit security groups of neutron port from the port tables in the network detail page (Further improvement is planned).
Upgrade Notes¶
[blueprint:merge-openstack-auth]
django_openstack_authwas merged into the main horizon repository. Ensure to uninstalldjango-openstack-authpython package BEFORE upgrading horizon to Queens.
Deprecation Notes¶
Remove formerly deprecated initScope() function for Angularized actions. Instead use initAction() and get scope from second parameter of perform() function.
Other Notes¶
(For Horizon plugin developers) The AVAIL_CHANGED event of transfer table is removed. It is superseded by event TABLES_CHANGED. The name of AVAIL_CHANGED was misleading because it implicitly and uncontrollably updated the allocated table too. The new event allows independent updates to all four tables. We believe it is safe to remove AVAIL_CHANGED without deprecation because its implementation contained a bug that must have been discovered before if anybody had used it. Anyway possible out-of-tree plugin maintainers are recommended to consume the new event even if your plugins relied on the buggy behavior of AVAIL_CHANGED.
13.0.0.0b1¶
New Features¶
[blueprint ng-keypairs] AngularJS-based Key Pairs panel is added. The features in the legacy panel are fully implemented. The Key Pairs panel now may be configured to use either the legacy or AngularJS-based codes. The ANGULAR_FEATURES setting now allows for a key_pairs_panel. If set to True, then the AngularJS-Based Key Pairs panel will be used, while the Django version will be used if set to False. Default value for key_pairs_panel is True.
[blueprint extensible-header] Added a feature to insert custom headers into horizon’s topbar.
12.0.0.0rc1¶
New Features¶
Added a new setting CREATE_IMAGE_DEFAULTS(dictionary) to configure the default options shown on create image modal. By default, the visibility option is public on create image modal. If
image_visibilityin this setting is set to"private", the default visibility option is private.
Upgrade Notes¶
The ability to edit flavors is disabled by default. See
ENABLE_FLAVOR_EDITin the settings documentation for more information.
Deprecation Notes¶
Editing flavors is deprecated and may be removed from the ‘R’ cycle onwards.
12.0.0.0b3¶
New Features¶
Added settings OPENSTACK_KEYSTONE_DOMAIN_DROPDOWN (boolean) and OPENSTACK_KEYSTONE_DOMAIN_CHOICES (tuple of tuples) to support a dropdown list of keystone domains to choose from at login. This should NOT be enabled for public clouds, as advertising enabled domains to unauthenticated users irresponsibly exposes private information. This is useful for private clouds that sit behind a corporate firewall and that have a small number of domains mapped to known corporate structures, such as an LDAP directory, Active Directory domains, geopgraphical regions or business units.
The
virtio-forwarderVNIC type has been added to the list of valid types that may be set on a port. This requests a low-latency virtio port inside the instance, likely backed by hardware acceleration and requires a supporting Neutron mechanism driver.
The configuration documentation for
supported_vnic_typesinOPENSTACK_NEUTRON_NETWORKhas been updated to help an operator decide which VNIC types should be available for users to choose from.
Added two charts to show the Number of Volumes and Total Volume Storage quotas on launch instance modal when cinder is enabled.
[blueprint network-bandwidth-limiting-qos] Add partial support for Network QoS policies. Since the panel is incomplete in Pike, it is disabled by default. It can be enabled in the file openstack_dashboard/enabled/_1510_project_network_qos_panel.py. When enabled, this panel allows users to view a list of created network policies. This panel displays a table view of the name, description and shared status of each policy. The details page for each policy also shows information on the associated rules.
[blueprint neutron-trunk-ui] Add partial support for Neutron Trunks. Since the panel is incomplete in Pike, it is disabled by default. It can be enabled in the file ‘openstack_dashboard/enabled/_1500_project_trunks_panel.py’. After enabling it the Project/Network/Trunks panel turns on if Neutron API extension ‘trunk’ is available. It displays information about trunks. The details page for each trunk also shows information about subports of that trunk. Currently supported actions: delete.
[blueprint password-expires-validation] This blueprint provides a configurable setting to allow operators set the threshold days between the current date and the expiration date to show a message to warn users change their password prior the expiration date.
Most of the documentation has been reorganised and updated, or rewritten entirely, with the aim of promoting discoverability and ensuring all content is relevant and up to date.
Added a locked status column on admin/project instances table. It will show a locked or unlocked icon if nova API 2.9 or above is used. The locked status is also available on instance details panel.
Added a new
DEFAULT_SERVICE_REGIONSsetting into local_settings.py. If a value of this is specified, it will be the default region to use when logging into the dashboard, instead of the value stored in cookies.
Security group association per port is now shown in the port detail page. In Neutron different security groups can be associated on different ports of a same server instance, but previously it cannot be referred in Horizon.
Upgrade Notes¶
FWaaS dashboard is now split out into a separate project
neutron-fwaas-dashboard. All new features and maintenances are provided from the new project from now on. The new project provides all features available in Horizon in the past release. To continue to use FWaaS dashboard, installneutron-fwaas-dashboardand set up the horizon plugin configuration file inenableddirectory. For more information, see neutron-fwaas-dashboard documentation.
[bug:1700325] Horizon now allows to override an embeded default plugin enabled file by specifying an enabled plguin file with a same filename. If there are plugin enabled files with a same name both in
enabledandlocal/enableddirectories, the file inlocal/enabledwill be used and the file inenabledwill be ignored now. Previously, both files are processed in the order ofenabledand thenlocal/enabledin this case, but this made operators difficult to change the order of panels from the default order.This is useful when you would like to disable some default panel. You can do it by specifying
DISABLED = Truein a plugin enabled file inlocal/enableddirectory with a same name.This works in most cases, but there is a case where you need to be careful when upgrading horizon. If you use
REMOVE_PANELto remove some default panel by putting a plugin enabled file with a same name inlocal/enableddirectory, you now need to useDISABLED = Trueor change the filename.
OPENSTACK_ENDPOINT_TYPEsetting now has a consistent default value and it defaults topublicURL. If you use the default value, previously (at least Ocata release) Horizon usedinternalURLfor keystone andpublicURLfor other services. The default value is nowpublicURL, so if you want horizon to useinternalURLto talk with back-end services, ensure to setOPENSTACK_ENDPOINT_TYPEtointernalURL.
VPNaaS dashboard is now split out into a separate project
neutron-vpnaas-dashboard. All new features and maintenances are provided from the new project from now on. The new project provides all features available in Horizon in the past release. To continue to use VPNaaS dashboard, installneutron-vpnaas-dashboardand set up the horizon plugin configuration file inenableddirectory. For more information, seeneutron-vpnaas-dashboarddocumentation https://opendev.org/openstack/neutron-vpnaas-dashboard/src/branch/master/doc/source
Bug Fixes¶
[bug:1564543]
AVAILABLE_THEMESwas used to determine whether a theme was selectable via the user facing widget, however it was noted that sometimes a parent theme is desired for inheritance, and needs to be hidden from the widget entirely.SELECTABLE_THEMESwas added as a setting that can be used to collect a theme for inheritance, but hide it from the user’s view. See the settings documentation for usage specifics.
Unnecessary API calls to back-end services are eliminated when checking the quota and usage in individual panels. Each panel checks a resource can be created by retrieving the current quota and usage for the resource. However, the previous implementation retrieves quota and usage of unrelated resources (For example, Nova usage is retrieved when checking a network usage). It can be a performance problem in large deployments. This behavior is now fixed to load quota and usage only for resources which are really required.
12.0.0.0b2¶
New Features¶
Added a new
create_volumesetting under theLAUNCH_INSTANCE_DEFAULTSdict. This allows you to set the default value of “Create Volume” in “Launch Instance” form, when Cinder is available.
Horizon workflow Step now support allowed() method to determine the step should be displayed conditionally. The workflow Step class already support policy check and permission mechanism to decide the step should be displayed, but allowed() is used to support more complex or dynamic condition.
Upgrade Notes¶
String attributes
action_presentandaction_pastwere dropped fromhorizon.tables.BatchAction.action_presentandaction_pastmethods are the recommended way to define action labels for BatchAction. The official way allows us to define more complete strings for action labels and this also allows translators to translate more flexibily.
[blueprint:drop-nova-network] Horizon nova-network floating IP and security groups supports have been dropped in Pike release. nova-network has been marked as deprecated in Nova in Newton release and horizon support was dropped in favor of it. Neutron now becomes a requirement for floating IP and security groups. Other operations on instances which created with nova-network should work same as before.
The settings
enable_firewallandenable_vpnwhich have been deprecated since Juno release are now actually dropped. If you are using these settings to disable FWaaS v1 and VPNaaS dashboards, useREMOVE_PANELof the Pluggable Panel mechanism to disable these panels. Note that Horizon checks the availability of FWaaS v1 and/or VPNaaS in your Neutron deploymennt and disables corresponding panels if not available, so in most cases you do not need to take care of the change.
12.0.0.0b1¶
New Features¶
Add support for horizon offering a clouds.yaml file for download along with the openrc files. For more information on clouds.yaml, see os-client-config documentation.
Gives end-users the ability to create and delete ports in their networks. The functionality will be implemented into the project network details table. Following the discussions in the bug discussion. This functionality will be enabled/disabled via policy. Blueprint can be found at [blueprint network-ports-tenant] Bug can be found at [bug 1399252]
Now it is possible to enable/disable port security in Horizon, when the port-security extension is available. Note: Neutron allows disabling the port security on a port only when no security groups are associated to it
Panel group is introduced in the Admin dashboard to organize admin panels better. Panels in “System” group of Admin dashboard are now categorized into four groups: “Compute”, “Volume”, “Network” and “System”.
Securtiy group “Add rule” form now allows to specify ‘any’ IP protocol and ‘any’ port number (for TCP and UDP protocols). This feature is available when neutron is used as a networking back-end. You can specify ‘any’ IP protocol for ‘Other Protocol’ and
-1means ‘any’ IP protocol. You can also seeAll portschoice in ‘Open Port’ field in case of TCP or UDP protocol is selected.
Upgrade Notes¶
Horizon is updated to use the same API policy target rules with Nova, if you made any changes to Horizon’s old nova policy file before, make sure to apply your specific policy changes to the new Nova policy file used by Horizon.
The
profile_supportsetting has been removed from theOPENSTACK_NEUTRON_NETWORKdict, and any usages have been removed from the Horizon code base. If you were relying on this being set by default, you will now need to manually set the value in your plugin/customisation.
As a result of Admin dashboard reorganization, panel groups of many Admin panels have been changed. Operators who customize Admin panels (for example, disable some Admin panels) through
enableddirectory need to update panel groups inenabledfiles. Horizon plugin developers and deployers may also need to update panel configurations underenableddirectory to adapt the new Admin menus.
11.0.0.0rc1¶
New Features¶
The Access & Security panel’s tabs have been moved to their own panels for clearer navigation and better performance. API Access is now a top level panel and Key Pairs now resides in the Compute panel group. Floating IPs and Security Groups are now in the Network panel group.
Download buttons for OpenStack RC files have been added to the user dropdown menu in the top right of Horizon.
Upgrade Notes¶
The Angular Bootstrap upgrade contains a breaking change as the directives and services in this library were renamed. See https://github.com/angular-ui/bootstrap/wiki/Migration-guide-for-prefixes
Other Notes¶
XStatic-Angular updated from 1.4.10.1 to 1.5.8.0
XStatic-Angular-Bootstrap updated from 0.11.0.0 to 2.2.0.0
XStatic-Angular-Gettext updated from 2.1.0.2 to 2.3.8.0
XStatic-Bootswatch updated from 3.3.6.0 to 3.3.7.0
XStatic-D3 updated from 3.1.6.2 to 3.5.17.0
XStatic-Font-Awesome updated from 4.5.0.0 to 4.7.0.0
XStatic-JSEncrypt updated from 2.0.0.2 to 2.3.1.0
XStatic-Roboto-Fontface updated from 0.4.3.2 to 0.5.0.0
11.0.0.0b3¶
New Features¶
Added Keystone to Keystone (K2K) federation support in Horizon. If Keystone is configured with K2K and has service providers, the list of Keystone providers will appear in a dropdown. In local_settings.py you can optionally set the identity provider display name with
KEYSTONE_PROVIDER_IDP_NAMEor set the provider id that is used to compare with the other service providersKEYSTONE_PROVIDER_IDP_ID. [blueprint k2k-horizon].
Implements the “filter first” functionality for identity panels such as projects, users, groups and roles. The filter first functionality is described in <https://blueprints.launchpad.net/horizon/+spec/admin-views-filter-first>`
Upgrade Notes¶
The logos in Horizon (previously logo-splash.png and logo.png) now load SVG files instead of PNG. The default logos have been updated to reflect the new OpenStack branding.
Deprecation Notes¶
The function fix_auth_url_version() should be removed from openstack_auth library as soon as Horizon no longer needs it. The replacement function is fix_auth_url_version_prefix() which returns a fixed url and a boolean flag indicating if the url was actually fixed. Having a separate flag allows to emit more precise warning messages about inconsistencies in Keystone endpoint URL.
11.0.0.0b2¶
New Features¶
The hard-coded run_tests commands for extracting translatable strings and updating message catalogs have been ported to django management commands as extract_messages and update_catalog. These accept several parameters to make them easier to use with downstream customisations and string modifications, but the default behaviour is the same as before.
A new Profiler panel in the Developer dashboard is introduced. It integrates osprofiler library into horizon, thus implementing blueprint openstack-profiler-at-developer-dashboard. Initially profiler is disabled. To enable it the value
OPENSTACK_PROFILER['enabled']has to beTrue. This in turn can be achieved by copying files _9030_profiler_settings.py.example and _9030_profiler.py to openstack_dashboard/local/local_settings.d/_9030_profiler_settings.py and openstack_dashboard/local/enabled/_9030_profiler.py respectively. Also, by default it expects MongoDB cluster to be present on the same host where Keystone is located (say, in a Devstack VM). But it also can be configured with params withOPENSTACK_PROFILER['notifier_connection_string]'andOPENSTACK_PROFILER['receiver_connection_string']values. MongoDB should be installed manually and allowed to receive requests on 0.0.0.0 interface.
Upgrade Notes¶
Any past use of the Django based Swift UI is no longer supported and the code is being removed. The new angularJS based version should be used instead.
Deprecation Notes¶
The run_tests.sh script is now deprecated and all functionality has been provided by either tox or manage.py. run_tests will be removed in Queens (13.0).
The initScope method for action services has been deprecated, with the new method initAction added which does not get passed a scope. The allowed and perform method are now passed a scope for context in addition to the first item/items argument. The “scope” parameter to the WizardModalService modal() method has also been deprecated, and will be ignored in a future release of Horizon.
The telemetry code in Horizon has been deprecated and disabled for several releases now. The code has now been removed from the tree.
Removing formerly deprecated Swift UI code that was replaced with an improved Angular version in Mitaka.
Bug Fixes¶
[bug 1618235] User can now delete all characters typed in input search without causing the selected facet to disappear when the last character is deleted.
[bug 1635505] Horizon now properly allows to use arrow keys inside of the input search, without triggering a new text search that refreshes the content of the table below.
Other Notes¶
Menu follows the search input position as the user adds more facets
11.0.0.0b1¶
Prelude¶
The Flavor panel now may be configured to use either the legacy or Angular code.
In an effort to establish Angular conventions, use the framework’s toastService rather than the legacy horizon.alert(…) in client-side code. horizon.alert is still used by the django messaging framework, so horizon.messages.js still exists.
New Features¶
ANGULAR_FEATURES now allows for a key ‘flavors_panel’ to be specified as True or False indicating whether the Angular version of the panel is enabled.
Integration tests for Flavor features may also be toggled in openstack_dashboard/test/integration_tests/horizon.conf using the ‘panel_type’ feature in the ‘flavors’ setting, either set to ‘legacy’ or ‘angular’ to match the enabled panel type.
Upgrade Notes¶
The
TEMPLATE_*settings have been replaced with aTEMPLATEdict. This will likely cause issues when porting settings to this version of Horizon. The TEMPLATE_DEBUG setting has been removed and is tied to the DEBUG setting now. A detailed explanation of this dict can be found at https://docs.djangoproject.com/en/1.10/ref/settings/#templates
The
is_authenticated()andis_anonymous()functions in Django OpenStack Auth’sUserclass are properties when running under Django 1.10, and no longer take a margin parameter.
LBaaS v1 dashboard has been removed. LBaaS v1 feature was removed from neutron-lbaas in Newton, but LBaaS v1 dashboard in Horizon has been kept only for backward compatibility in Newton release so that operators can upgrade Horizon first. Note that the Dashboard support for LBaaS v2 is provided as a Horizon plugin via neutron-lbaas-dashboard project.
The developer enabled files have been moved from
openstack_dashboard/enabledtoopenstack_dashboard/contrib/developer/enabled. To enable them, copy intoopenstack_dashboard/local/enabledand setDEBUG = True.
Deprecation Notes¶
All previous instances of horizon.alert(…) used by client-side have been replaced with horizon.toast. Alert messages via horizon.alert(…) should be avoided when writing new JavaScript code. horizon.toast.add(‘error’, gettext(…)) should be used instead.
Bug Fixes¶
There will no longer be any
WARNINGmessages regarding the developer panels in logs.
10.0.0.0rc1¶
Prelude¶
Many of Horizons XStatic packages were updated during this cycle.
New Features¶
Support a parameter to specify subnet or fixed IP address when creating port.
Adds complete support for Glance v2 so that Horizon no longer depends on having a Glance v1 endpoint in the Keystone catalog. Also provides code compatibility between Glance v1 and v2.
Adds a new config value called IMAGES_ALLOW_LOCATION, which allows users to set locations when creating or updating images. Depending on the Glance version, the ability to set locations is controlled by policies and/or configuration values.
Added the
TOKEN_DELETE_DISABLEDsetting, so that deployers can customise the revocation of a users token on log out.
Known Issues¶
If you set ‘images_panel’ to False for the ANGULAR_FEATURES option (which is not the default) and configure Horizon to use Glance v2, Ramdisk ID and Kernel ID don’t show properly on the “Edit Image” screen.
Upgrade Notes¶
Horizon currently supports both Angular 1.3.x and Angular 1.4.x, but will remove 1.3 support in the future. See Migrating from 1.3 to 1.4
The OPENSTACK_IMAGE_FORMATS variable must be added to the REST_API_REQUIRED_SETTINGS setting in local_settings.py
The
status_unknowntable row class has been replaced with the default bootstrapwarningclass.
Deprecation Notes¶
LBaaS v1 dashboard is now deprecated and will be removed in Ocata release. LBaaS v1 feature was removed from neutron-lbaas in Ocata and this functionality in Horizon is only for backward compatibility so that operators can upgrade Horizon first. Note that the Dashboard support for LBaaS v2 is provided as a Horizon plugin via neutron-lbaas-dashboard project.
Bug Fixes¶
Hardcoded admin role is replaced with RBAC policy check in panels. Now users access to the panels is defined by policies and not user roles. The change affected the Admin dashboard and its panels (Overview, Hypervisors, Instances and Metadata Definitions).
Other Notes¶
XStatic-Angular updated from 1.3.7.0 to 1.4.10.1
XStatic-Angular-FileUpload updated from 1.4.0.1 to 12.0.4.0
XStatic-Bootstrap-SCSS updated from 3.2.0.0 to 3.3.7.0
XStatic-Bootswatch updated from 3.3.5.3 to 3.3.6.0
XStatic-Font-Awesome updated from 4.3.0.0 to 4.5.0.0
XStatic-Jasmine updated from 2.1.2.0 to 2.4.1.1
XStatic-MDI updated from 1.1.70.1 to 1.4.57.0
XStatic-Rickshaw updated from 1.5.0.0 to 1.5.1.0
XStatic-Smart-Table updated from 1.4.5.3 to 1.4.13.1
Glance v2 doesn’t support the copy-from feature, so this feature is disabled in Horizon when using Glance v2.
The output from the Glance image list API has changed between v1 and v2 such that admins logged into Horizon will now see all images in the cloud on the Project->Compute->Images panel.
10.0.0.0b3¶
Prelude¶
JavaScript can now access the Keystone Token.
Horizon no longer requires Nova (or Glance) to function; it will run as long as keystone is present (for instance, swift-only deployments).
The Images panel now may be configured to use either the legacy or Angular code.
To aid in continued maintenance of Horizon as a themable and customizable framework, the highly customized ‘default’ styles are being dropped in favor of standard Bootstrap styles. The ‘default’ theme will only house scss variable changes going forward.
We now automatically determine the static folder location for xstatic packages being used by Horizon.
New Features¶
Horizon and Horizon Plugins can access the Keystone Token from JavaScript so that they can make CORS calls directly to other OpenStack Services. This can enable much more responsive UI.
Added a new
ANGULAR FEATURESdictionary to the settings. This allows simple toggling of new AngularJS features.
[blueprint manage-ips Add ability to manage floating IPs in syspanel] Admin dashboard Floating IPs panel has been added to Horizon.
[blueprint angular-schema-form] Added the Angular Schema Form library to Horizon. This allows developers to build angular forms and workflows from JSON. Read more at http://schemaform.io/
[blueprint angular-template-overrides] This blueprint provides a way for deployers to use a theme to override HTML fragments used by Angular code in Horizon. For example, to override the launch instance help panel when the ‘material’ theme is used, create openstack_dashboard/themes/material/static/templates/framework /widgets/help-panel/help-panel.html. All of the client side templates are now compiled into a single JavaScript file that is minified and is given as an additional file in the manifest.json file.
[blueprint configurable-boot-sources] Allows administrators to restrict which sources are available to boot from in the Launch Instance modal by adding 4 new settings to LAUNCH_INSTANCE_DEFAULTS (disable_image, disable_instance_snapshot, disable_volume, disable_volume_snapshot).
Create from a local file feature is added to both Angular and Django Create Image workflows. It works either in a ‘legacy’ mode which proxies an image upload through Django, or in a new ‘direct’ mode, which in turn implements [blueprint horizon-glance-large-image-upload]. To use the direct mode HORIZON_IMAGES_UPLOAD_MODE setting should be changed to ‘direct’ value along with changing glance-api.conf cors.allowed_origin parameter to the URL from which Horizon is served.
Allows to restrict CIDR range for user private network <https://blueprints.launchpad.net/horizon/+spec/restrict-private-network-input>
[blueprint Supports extra properties in project and user] Support an ability to treat additional information for project and user as an extra attribute.
Nova and Glance are no longer required in order to run Horizon. As long as keystone is present, Horizon will run correctly.
the
ANGULAR_FEATURESsetting now allows for a keyimages_panel. If set toTrue, then the Angular Images panel will be used, while the Python version will be used if set toFalse.
Integration tests for Image features may also be toggled in openstack_dashboard/test/integration_tests/horizon.conf using the ‘panel_type’ feature, either set to ‘legacy’ or ‘angular’ to match the enabled panel type.
Upgrade Notes¶
If the ‘default’ theme is still required for legacy overrides to function, simply copy the styles in the ‘default’ theme into a pre-existing theme or create a new custom theme.
Many Javascript files have moved to new locations in the horizon/lib static folder. Previously the locations of some files were hard-coded but now the locations are determined automatically based on the xstatic package name.
Deprecation Notes¶
HORIZON_IMAGES_ALLOW_UPLOAD setting is deprecated and should be gradually replaced with HORIZON_IMAGES_UPLOAD_MODE setting.
Router rules is a horizon extension provided by Big Switch Networks. As part of the horizon-vendor-split work, we drop the extension from upstream horizon. It is now available as a separate plugin at https://github.com/bigswitch/horizon-bsn
Inline Edit functionality for Horizon tables is now deprecated and will be removed in Horizon P (12.0) The functionality was removed from the following tables. Admin Volume Types table, Admin Metadata Definitions table, Identity Projects table and Identity Users table
Security Issues¶
Making Keystone Tokens available to JavaScript slightly increases the risk of a Token being captured. If you don’t need this functionality, it can be disabled by setting the following option in your local_settings: ENABLE_CLIENT_TOKEN = False
10.0.0.0b2¶
Prelude¶
Angular components now exist to provide simple-to- configure panels and tables, based off of registry information about resources (e.g. Instances).
Modal sizes now inherit from Bootstrap’s theme variables.
New Features¶
[blueprint admin-views-filter-first] This blueprint provides a configurable setting to allow operators require admin users to provide a search criteria first before loading data into admin views.
[blueprint cinder-consistency-groups] This feature adds 2 new tabs to the Project Volumes panel. The first tab will display Consistency Groups, and the second tab will display Consistency Group Snapshots. Consistency Groups (CG) contain existing volumes, and allow the user to perform actions on the volumes in one step. Actions include: create/update/delete CGs, snapshot all volumes in a CG, clone all volumes in a CG, and create a new CG and volumes from a CG snapshot. Policies associated with Consistency Groups exist in the Cinder policy file, and by default, all actions are disabled.
Horizon support for network IP availability feature. Enable Horizon admin network dashboard to be able to display IP availability. Enables 2 columns in the admin network subnets table to display the allocated IPs in a given subnet and unallocated free IPs for each subnet in the network.
The hz-resource-table directive takes in a Heat resource name (e.g. ‘OS::Nova::Server’) and uses the Angular registry to provide actions, columns, and summary views.
The hz-resource-panel directive takes in a Heat resource name (e.g. ‘OS::Nova::Server’) and displays an appropriate header and allows content to be transcluded to build the panel page.
Add a new setting OVERVIEW_DAYS_RANGE. It defines the default date range in the Overview panel meters - either today minus N days (if the value is integer N), or from the beginning of the current month until today (if set to None). This setting is be used to limit the amount of data fetched by default when rendering the Overview panel. The default value is 1, which differs from the past behaviour, since it caused serious lags on large deployments (bug 1508571).
Modal sizes now inherit their value from theme variables. Two additional sizes are available now for use in Horizon, extra to the standard 3 sizes of Bootstrap Modals, modal-xs and modal-xl.
Deprecation Notes¶
Fullscreen Modals have been deprecated in favor of modal-xl. Currently, it is set to 95% of the viewable screen width.
10.0.0.0b1¶
Prelude¶
Angular actions now should return a promise that resolves with an object structured in a way to indicate what the action did (or didn’t do).
A Details page for a resource type (e.g. Images) may now use the Angular application-level registry to register views so developers may easily create or extend details views. In this implementation these views are presented as tabs within the Details page.
New Features¶
An action-result service provides convenience methods for construction of the result, and for parsing of a resolved object
[blueprint admin-neutron-l3-agent] Add support for managing neutron L3 agent hosts. The admin screen for system information now provides links / views to see what routers reside on what hosts. In addition, the admin view of routers now also provides a list of where the router is hosted and the link to see what other routers are sharing the same host.
Added the Scheduler Hints tab to the new Launch Instance workflow to allow adding scheduler hints to an instance at launch. In addition to adding custom key-value pairs, the user can also choose from properties in the glance metadata definitions catalog that have the OS::Nova::Server resource type and scheduler_hints properties target.
Added settings support to the angular workflow service so each step in a workflow can specify a boolean setting that must pass in order for the step to be displayed.
[blueprint angular-table-directive] This blueprint provides a way for developers to programatically declare an Angular table vs writing HTML markup. It reduces the boilerplate HTML code. For a basic table, you need to pass in the data and the column configuration into the hz-dynamic-table directive.
Added ability to render angular row actions with additional details that explain the purpose of the action. These are rendered as tiles and are meant to depict the next steps a user might want to take for a given resource.
The port-details page has a new tab for managing Allowed Address Pairs. This tab and its features will only be available when this extension is active in Neutron. The Allowed Address Pairs tab will enable creating, deleting, and listing address pairs for the current port.
[blueprint navigation-improvements] Breadcrumb navigation has been added across Horizon.
A directive (hz-details) provides the ability to intelligently display a set of views (typically for a Details context).
A generic Details display parses the location to determine the resource type, and displays relevant details views for that type.
A Descriptor concept allows convenient passing of information that can globally identify an object, for use in generic views and actions.
Horizon now has a (non-navigational) route in Django so generic details pages are deep-linked.
A shared Django template is now available for use by any Angular page.
Neutron network type for Geneve tunneling protocol is now supported.
Neutron provider network types for Midonet are now supported. To enable them, specify these network types in
supported_provider_typesin the configuration file.
[blueprint operation-history-log] Added a feature to log operation history of users.
Neutron provider network configuration now becomes more flexible so that operators can configure various provider network parameters including new network type, segmentation ID ranges and so on based on neutron network back-ends they use.
Added new setting INTEGRATION_TESTS_SUPPORT, default value is False. This value is used when running manage.py compress command, so by default all static assets and html classes used by integration tests are removed from Horizon production build. Integration tests gate job sets this variable to True and recompresses static assets.
Upgrade Notes¶
Although it’s not required, it’s best to make your actions return promises with the expected structure.
The breadcrumb navigation inside the details pages now applies across Horizon. A small change in the logic means that
custom_breadcrumbitems in the context no longer need to specify the panel name and link. See [blueprint navigation-improvements]
The final django TEMPLATE_LOADERS configuration will now be generated from TEMPLATE_LOADERS, CACHED_TEMPLATE_LOADERS and ADD_TEMPLATE_LOADERS settings. See the settings documentation for more information.
It is no longer necessary to include the version suffix into OPENSTACK_KEYSTONE_URL setting. Thanks to a recent update of django-openstack-auth library as of 2.3.0 release, Horizon will append the proper version suffix to the URL based on the value stored inside OPENSTACK_API_VERSIONS[‘identity’] setting.
(optional) Use the common Angular template as the basis of any Angular pages to minimize boilerplate code and to ensure that we use similar features/framing.
Deprecation Notes¶
In an effort to standarize our HTML class naming conventions, we will be updating various class names to use dashes, instead of underscore or camelcasing, to match with Bootstrap’s convention. All instances of HTML class ‘d3_pie_chart_usage’ to ‘pie-chart-usage’. All instances of HTML class ‘d3_pie_chart_distribution’ to ‘pie-chart-distribution’.
The ‘default_ipv4_subnet_pool_label’ and ‘default_ipv6_subnet_pool_label’ options were deprecated in the Mitaka release and are no longer valid in the Newton release. Starting with Mitaka you can create one default subnet pool per address family through the Neutron API. These subnet pools will automatically show up in the subnet pool list using the name of the pool as label.
Bug Fixes¶
[bug 1585682] Horizon now properly versions Keystone webpath endpoints (URLs like
http://<hostip>/identityinstead ofhttp://<hostip>:5000).