Yoga Series Release Notes

5.0.0

Upgrade Notes

  • Python 2.7 support has been dropped. Last release of zun-ui to support py2.7 is OpenStack Train. The minimum version of Python now supported by zun-ui is Python 3.6.

3.0.0

New Features

  • [blueprint add-admin-containers-panel] Added containers panel fro admin. Differences from project side is as follows:

    Allowed actions for admin:

    • update

    • rebuild

    • start / stop / restart

    • kill

    • delete with force

    Not allowed actions for admin:

    • create

    • manage security group

    • pause / unpause

    • execute

    • delete

    • delete with stop

    Not allowed view for admin:

    • logs tab on details view

    • console tab on details view

Bug Fixes

  • [bug/1797285] The command parameter has changed from string to list.

  • [bug/1799125] Changed the dialog for deleting image to common deletion confirm dialog. Deleting image API requres only id and does not need host parameter no longer. And it means the dialog to specify the host that delete the image from is unnecessary.

  • [bug/1798702] Added “host” column into images table view for admin.

2.0.0

Prelude

Various improvements, addition of functions, including addition of container group (capsule) operation panel, were implemented. For more details, please see the features section.

New Features

  • [manage-security-groups] Added Manage Security Groups action to manage associations between security groups and ports on container.

  • [blueprint capsule] Added capsule panel for user. This panel has CRUD operations for container groups.

  • [blueprint image-host] To clarify the host that has the image to be operated, host parameter was added into image operation. This parameter is implemented in Zun UI too.

  • [blueprint rebuild-action] Added rebuild action into containers panel as item action. User can rebuild container with same or other image.

  • New statuses for container, DELETING, REBUILDING, DEAD and RESTARTING are added.

  • New parameters for container, disk, availablity_zone and auto_heal are added.

  • The runtime option for container creation accepts as string. Previously the runtime option was a drop down menu with only runc option. User was not able to enter new runtimes configured by them. To accept any string, the runtime option was changed to the field.

Upgrade Notes

  • [blueprint capsule] To enable capsule panel, copy zun-ui/zun_ui/enabled/_1332_project_container_capsules_panel.py into horizon’s enabled directory.

Bug Fixes

  • [bug/1763250] Fixed issue the conflict between retry and auto_remove options. To avoid this conflict, auto_remove option will be cleared when retry option is set.

  • [bug/1777545] Fixed issue the deleted item is selected again with batch delete. Item selections on table view for batch actions are not cleared after execution of actions. To ensure to clear item selections, hzTable:clearSelection event is emitted.

  • [bug/1746706] Reproduced navigations when refreshing details view. Previously the fix for [bug/1681627] allowed us to reload or directly open Angular-based detail page (ngdetail), but the navigation menu was not reproduced correctly.

1.0.0

New Features

  • Added Cloud Shell feature. See also [Screen Shot] and [Short Video].

    To enable cloud shell, copy zun_ui/enabled/_0330_cloud_shell.py into openstack_dashboard/local/enabled directory and restart Horizon. Then “>_ Cloud Shell” button will be shown right on header of Horizon after loging in.

    When user click “Cloud Shell” button, web console for the cloud shell will be shown in bottom of window.

    At first time to show cloud shell, Zun UI starts to create cloud shell container for the user. So it take just a litle time before using cloud shell. The container will be named “cloud-shell-<user>-<project>-<domain>-<region>”.

    If cloud shell container exists, attach the web console to the container.

    Each time when attach to the container, Zun UI gets user’s clouds.yaml from Horizon and set it into “~/.config/openstack/clouds.yaml”. Also, “export OS_CLOUD=openstack” will be set into “~/.bashrc”.

    The user password is not set into the container, so user should set manually “OS_PASSWORD” into envirinment variables or “password” into clouds.yaml.

    To configure image for cloud shell, see [Image for Cloud Shell]

  • [cinder-integration] Added Volumes tab for container creation dialog. When create container, user can mount existing Cinder volume or create and mount new Cinder volume.

  • Added parameters for container creation. New parameters ‘auto_remove’, ‘hostname’ and ‘runtime’ are added for container creation. Also, these parameters are shown in details view. These parameters are not for update, so these are readonly in update dialog.

  • Show actions according to container status. Previously the UI showed all of the actions regardless of container’s status, now UI filters the actions just like what nova instances do.

  • Added new action “Stop and Delete Container”. This action stops the container before deletion when the container is running.

  • Added project_id into drawer on image table view.

Bug Fixes

  • [bug/1742599] Fixed issue the deleted item is selected again with batch delete. Items recently deleted with batch action had been shown in deletion confirmation dialog when execute the batch delete action again. And this had caused the conflict error due to trying to delete unexisting item.

0.2.0

Prelude

Horizon Plugin for Container Management service is released as Zun UI. Zun UI work with Horizon, and service user interfaces for container management to users. For example, Zun UI provides table views and details view for container, these views have twelve operations for container. Also, this has WebSocket-based console view. Zun UI is implemented Angular-based, and supports latest features in Horizon.

New Features

  • [blueprint add-container-operations] Operations for container, such as ‘Start’, ‘Stop’, ‘Restart’, ‘Pause’, ‘Unpause’, ‘Execute Command’ and ‘Send Kill Signal’, are added. Also, while loading details view, then logs of container are shown in ‘Logs’ tab.

  • [blueprint interactive-mode] Support pseudo-tty and stdin of container using serial console module in Horizon via WebSocket. “console” tab is added into details view. When user displays details view, if “tty” option for the container is enabled, Zun UI gets the URL for container “tty” from docker and accesses the “tty” via WebSocket to realize console on the browser.

  • [blueprint add-images-panel] The panel for container images management is added for admin users. This panel shows table view for images and has “pull” action to store image as global action. The actions we can use are only “pull” for now.

Other Notes

  • Switch to reno for managing release notes.

  • Support python 3.5.

  • Use only tox for test and remove run_tests.sh that is no longer used.

  • Switch theme for documentation from oslosphinx to openstackdocstheme.

  • Use pbr autodoc feature rather than custom logic.