When deploying manila-ui from git, the "create share" button on the "Shares" dashboard is missing. The following error occurs on the horizon error log:
2018-07-23 23:51:42.625456 ERROR horizon.tables.base Error while checking action permissions.
2018-07-23 23:51:42.625480 Traceback (most recent call last):
2018-07-23 23:51:42.625484 File "/opt/stack/horizon/horizon/tables/base.py", line 1390, in _filter_action
2018-07-23 23:51:42.625486 return action._allowed(request, datum) and row_matched
2018-07-23 23:51:42.625489 File "/opt/stack/horizon/horizon/tables/actions.py", line 138, in _allowed
2018-07-23 23:51:42.625491 self.allowed(request, datum))
2018-07-23 23:51:42.625493 File "/opt/stack/manila-ui/manila_ui/dashboards/project/shares/tables.py", line 96, in allowed
2018-07-23 23:51:42.625495 if usages['shares']['available'] <= 0:
2018-07-23 23:51:42.625498 KeyError: 'available'
2018-07-23 23:51:42.629946 CRITICAL:manila_ui.dashboards.project.shares.tables:Available usages for shares {}
2018-07-23 23:51:42.630166 ERROR horizon.tables.base Error while checking action permissions.
2018-07-23 23:51:42.630183 Traceback (most recent call last):
2018-07-23 23:51:42.630186 File "/opt/stack/horizon/horizon/tables/base.py", line 1390, in _filter_action
2018-07-23 23:51:42.630189 return action._allowed(request, datum) and row_matched
2018-07-23 23:51:42.630191 File "/opt/stack/horizon/horizon/tables/actions.py", line 138, in _allowed
2018-07-23 23:51:42.630193 self.allowed(request, datum))
2018-07-23 23:51:42.630195 File "/opt/stack/manila-ui/manila_ui/dashboards/project/shares/tables.py", line 96, in allowed
2018-07-23 23:51:42.630198 if usages['shares']['available'] <= 0:
2018-07-23 23:51:42.630200 KeyError: 'available'
Fix proposed to branch: master /review. openstack. org/587269
Review: https:/