horizon/openstack_dashboard/dashboards/admin/volume_groups
BubaVV 5e53e014d9 Fix recoverable error at volume group create
Cinder API response for group in 'creating' state handled incorrectly
and has_snapshots attribute is not populated. This attribute is checked
during various operations with groups and error is generated if it is
absent. However, this error has no consequences except message in log.

When a created group is in 'creating' state, UpdateRow class is
responsible for retrieving a group data.
Previously UpdateRow.get_data did not populate 'has_snapshots' attribute.
This commit adds a similar logic as IndexView does.

Admin volume groups table has a same problem. UpdateRow class
now inherits UpdateRow from the project table.

Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: Ie06de2a09ddd38bd5c43bfa9b9240f327ca0e1b7
Closes-bug: #1817054
2019-02-23 19:18:27 +09:00
..
templates/volume_groups Add Project Information column in table 2019-02-12 09:19:56 +00:00
__init__.py Add volume group list/show support for admin panel 2019-01-23 10:11:53 +00:00
forms.py Add volume-group table actions for admin panel 2019-01-31 05:58:39 +00:00
panel.py Add volume-group table actions for admin panel 2019-01-31 05:58:39 +00:00
tables.py Fix recoverable error at volume group create 2019-02-23 19:18:27 +09:00
tabs.py Add volume-group table actions for admin panel 2019-01-31 05:58:39 +00:00
tests.py Add Project Information column in table 2019-02-12 09:19:56 +00:00
urls.py Add volume-group table actions for admin panel 2019-01-31 05:58:39 +00:00
views.py Add Project Information column in table 2019-02-12 09:19:56 +00:00
workflows.py Add volume-group table actions for admin panel 2019-01-31 05:58:39 +00:00