Mitaka 版本发布说明

9.1.0版本

升级注意事项

  • The oslo concurrency minimum requirement has been raised from 3.5.0 to 3.7.1

9.0.0版本

Prelude

Cinder defines storage size in gibibytes (GiB), which is inconsistent with Horizon panels that show/request storage size in gigabytes (GB).

新特性

  • Added the Metadata tab to the new Launch Instance workflow to allow adding key-value metadata to an instance at launch. This includes any properties from the OS::Nova::Server namespace of the glance metadata definitions.

  • Move OpenStack Dashboard Swift panel rendering logic to client-side using AngularJS for significant usability improvements.

  • Added the Developer dashboard plugin to contrib. This runs when DEBUG=True, and adds tooling to the UI to aid in development.

  • Added the Bootstrap Theme Preview panel to the Developer dashboard. This panel contains a list of Bootstrap components with source code, so that developers can see examples of how to structure this code and the effects their theme will have upon it.

  • [blueprint cinder-consistency-groups] This feature adds a new Consistency Groups tab to the Project Volumes panel. Consistency Groups (GG) contain existing volumes, and allow the user to perform actions on the volumes in one step. Actions include: create a CG, manage volumes associated with the CG, update a CG, and delete a CGs. Note that a CG can not be deleted if it contains any volumes.

  • Made the Angular Launch Instance workflow the default in Horizon.

  • [blueprint integrate-magic-search] Magic Search was an external dependency that was being heavily modified or overwritten in sections, so the used parts of code base have been moved into Horizon.

  • [blueprint integration-tests-hardening] This blueprint reduced failures in the integration tests caused by structure or styling changes, by making them less dependent on aspects of page structure, such as ordering or CSS classes.

  • 增加操作:对加密卷可以更新加密信息。

  • Allow to override settings from local_settings.py with file snippets dropped into local_settings.d/ directory.

  • Added support for managing domains and projects when using Keystone v3. Horizon now maintains a domain scoped token for users who have a role on a domain, a project scoped token for users who have a role on a project, or both a domain scoped token and project scoped token for users who have roles on both.

  • 域管理支持以下的用例:

    • Cloud Admin - View and manage identity resources across domains

    • 域管理-在域登陆中查看和管理认证资源

    • User - View identity project in the domain logged in

  • Horizon can be configured to run with multiple themes available at run time. A new selection widget is available through the user menu. It uses a browser cookie to allow users to toggle between the configured themes. By default, Horizon is configured with the two themes available, 'default' and 'material'.

  • 允许扩展插件来翻译javascript消息目录。

  • Selenium tests may now be exercised using the headless PhantomJS driver.

  • Added the angular extensible service which allows angular horizon elements such as workflows, tables, actions, and forms to be extended dynamically by adding, removing, or replacing items. The extensible service is applied to every workflow created using the horizon workflow service. This includes the angular Launch Instance workflow.

  • All Volume related panels in Horizon that previously used the term "GB" and "gigabyte" have been replaced with 'GiB' and 'gibibyte'.

  • [blueprint keystone-federation-idp] Add support for managing keystone identity provider. To enable the panel, set OPENSTACK_KEYSTONE_FEDERATION_MANAGEMENT in the local_settting.py to True.

  • Added the LAUNCH_INSTANCE_DEFAULTS setting which allows specifying default values for the Launch Instance workflow. Initially only the Configuration Drive property is supported.

  • [blueprint message-of-the-day] Message of the day can now be configured in horizon, this will be displayed to the user whenever they login. To enable the feature set MESSAGES_PATH in the local_settting.py to the directory where message files are located. The message file must have a .json file extension.

  • Added policy support to the angular workflow service so each step in a workflow can specify a policy check that must pass in order for the step to be displayed.

已知问题

  • There are also some Nova related panels (e.g. "Instances") that reference storage size in "GB". These panels will be addressed in subsequent patches.

升级注意事项

  • Horizon不再需要Magic Search作为额外的依赖。

  • The Sahara based content has been removed from the Horizon source tree and is now a separate plugin. To continue managing Sahara in Horizon, installing the sahara-dashboard plugin on the Horizon server is required.

  • The Trove based content has been removed from the Horizon source tree and is now a separate plugin. To continue managing Trove in Horizon, installing the trove-dashboard plugin on the Horizon server is required.

  • The main engine managing integration with oslo.policy has been moved to django_openstack_auth. The configuration is still managed in Horizon, but the setting for POLICY_CHECK_FUNCTION now uses openstack_auth.policy.check rather than openstack_dashboard.policy.check. Current behavior will remain consistent.

弃用说明

  • The Python Swift panel has been deprecated and no longer displays by default. To use the old interface edit enabled/_1920_project_containers_panel.py to change swift_panel to 'legacy'.

  • The Python Launch Instance workflow has been deprecated and no longer displays by default.

  • The 'default_ipv4_subnet_pool_label' and 'default_ipv6_subnet_pool_label' options has been deprecated and will be removed 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.

  • 配置CUSTOM_THEME_PATH现在已被弃用。

  • 配置DEFAULT_THEME_PATH现在已被弃用。

  • webroot主题已被移除

安全问题

  • Policies associated with Consistency Groups exist in the Cinder policy file, and by default, all actions are disabled.

故障修复

  • Provided the ability for plugins to contribute translations to the JavaScript message catalog. Previously the horizon and openstack_dahboard applications were hardcoded.

  • Several fixes have been made to the hzTable controller. The list below outline these changes. See inline documentation for usage details.

  • Properties are now bound to the controller instead of the scope.

  • Emit the hzTable:clearSelected event to clear table row selections.

  • The property selections tracks the checkbox selection state of each row.

  • The property selected is now a list of selected rows.

  • The property numSelected has been removed, use selected.length instead.

  • select方法已被更名为toggleSelect

  • The 'webroot' theme was providing an example of how to set the webroot value through SCSS for accessing needed static URL prefixes for assets like font paths. This value is now retrieved directly from the Django settings and is available directly in the SCSS namespace via $static_url.

其他说明

  • 目前用Keystone V3管理认证资源的限制:

    • 不支持跨域的角色分配,比如让域1的用户访问域2。

    • 不支持项目管理员管理Keystone项目。

    • 不支持分层的项目管理。