manila-ui has API version 2.32 hardcoded since Pike

Bug #1823078 reported by Goutham Pacha Ravi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
manila-ui
Fix Released
Medium
Goutham Pacha Ravi

Bug Description

The Manila API has evolved, and 2.49 is the latest available API version in Stein. However, the API version in the UI is hardcoded at 2.32 [1]

This means that users do not have access to:
* Timestamp details exposed in access_list API, available since API v2.33
* User Messages API available since v2.37
* IPv6 access rules support added in v2.38
* Active directory organizational unit information added in v2.44
* Access rule metadata added in v2.45
* Share replica export locations added in v2.47

and many more fixes and enhancements as detailed in the API reference [2] and the changelog

[1] https://opendev.org/openstack/manila-ui/src/commit/ca9cb26eee4acab86fb116e14dbd5c565abc1d66/manila_ui/api/manila.py#L35
[2] https://developer.openstack.org/api-ref/shared-file-system/
[3] https://docs.openstack.org/manila/latest/contributor/api_microversion_history.html

Tags: epic rfe
Changed in manila-ui:
importance: Undecided → Medium
tags: added: epic rfe
Jason Grosso (jgrosso)
Changed in manila-ui:
milestone: none → train-1
Maari Tamm (maaritamm)
Changed in manila-ui:
assignee: nobody → Maari Tamm (maaritamm)
Changed in manila-ui:
milestone: train-1 → ussuri-2
Changed in manila-ui:
status: New → In Progress
Changed in manila-ui:
milestone: ussuri-2 → ussuri-client-release
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila-ui (master)

Reviewed: https://review.opendev.org/704157
Committed: https://git.openstack.org/cgit/openstack/manila-ui/commit/?id=7ff565844ae1e00be4025a488087f687fe5091ac
Submitter: Zuul
Branch: master

commit 7ff565844ae1e00be4025a488087f687fe5091ac
Author: Maari Tamm <email address hidden>
Date: Fri Jan 24 13:41:01 2020 +0000

    Update API version to 2.33

    The Manila API version in the UI needs to be updated
    and it was advised to do that step by step.

    In this patch we update it to v2.33, that adds timestamp details:
    ’updated_at’ & ‘created_at’ to access_list API
    With this patch we make those two added values visible in the dashboard
    at:
       /dashboard/project/shares/<share_id>/
       /dashboard/project/shares/<share_id>/rules/
       /dashboard/admin/shares/<share_id>/

    Partial-Bug: #1823078
    Change-Id: I2502e1446070ef625538c13a30438a548498626e

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila-ui (master)

Fix proposed to branch: master
Review: https://review.opendev.org/717866

Changed in manila-ui:
assignee: Maari Tamm (maaritamm) → Goutham Pacha Ravi (gouthamr)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.opendev.org/717875

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila-ui (master)

Reviewed: https://review.opendev.org/717866
Committed: https://git.openstack.org/cgit/openstack/manila-ui/commit/?id=c94ddec5c6897dd91aef8c8b98fb5f32c7a570d0
Submitter: Zuul
Branch: master

commit c94ddec5c6897dd91aef8c8b98fb5f32c7a570d0
Author: Goutham Pacha Ravi <email address hidden>
Date: Mon Apr 6 14:51:05 2020 -0700

    Add support for API version 2.34

    Address a TODO in the code to support missing share
    group fields/details:

    - Show share group capabilities (currently only
      "consistent_snapshot_support") in the share group
      details tab. For consistent snapshot support,
      Admins can also see whether this capability applies
      at the "pool" or "host" level.
    - Show share group type details in the share group
      details tab, and link to share group types within
      the admin dashboard
    - Make cosmetic changes to the share types listing
      to allow readability.

    Partial-Bug: #1823078
    Change-Id: Ic786c8f783390e87025815df04d7ec4a8853bf3e

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.opendev.org/717875
Committed: https://git.openstack.org/cgit/openstack/manila-ui/commit/?id=2db03371259afc730babf150496df2edc1170466
Submitter: Zuul
Branch: master

commit 2db03371259afc730babf150496df2edc1170466
Author: Goutham Pacha Ravi <email address hidden>
Date: Mon Apr 6 15:56:40 2020 -0700

    Add support for API version 2.38

    This allows users to add ipv6 access rules to
    their shares.

    Partial-Bug: #1823078
    Change-Id: I3523a60b71cbacdec154552638e0f695d67199d3
    Signed-off-by: Goutham Pacha Ravi <email address hidden>

Changed in manila-ui:
milestone: ussuri-client-release → victoria-client-release
Changed in manila-ui:
milestone: victoria-client-release → wallaby-rc1
Revision history for this message
Goutham Pacha Ravi (gouthamr) wrote :
Revision history for this message
Goutham Pacha Ravi (gouthamr) wrote :

As of the Wallaby release cycle, the API microversion supported by manila-ui is 2.44: https://opendev.org/openstack/manila-ui/src/commit/manila_ui/api/manila.py#L31

Future API Microversion catch up will be tracked as RFEs.

Beginning with:
https://blueprints.launchpad.net/manila-ui/+spec/support-api-features-until-train-release

Changed in manila-ui:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila-ui (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/manila-ui/+/793087

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila-ui (master)

Reviewed: https://review.opendev.org/c/openstack/manila-ui/+/784728
Committed: https://opendev.org/openstack/manila-ui/commit/957240e77877262df1556777c72f98f51fc13b23
Submitter: "Zuul (22348)"
Branch: master

commit 957240e77877262df1556777c72f98f51fc13b23
Author: haixin <email address hidden>
Date: Mon Apr 5 12:15:50 2021 +0800

    API v2.46, added 'is_default' field to share types

    Added 'is_default' field to share types and share group
    types list. 'is_default' field will show Yes if the share type
    or share group type is default.

    Partial-Bug: #1823078

    Change-Id: I923cb2ae90612fb8d5d3af467654a71b83266ffc

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.opendev.org/c/openstack/manila-ui/+/793087
Committed: https://opendev.org/openstack/manila-ui/commit/748b25f04f1078d94e687d3a87d289fedf3efeb7
Submitter: "Zuul (22348)"
Branch: master

commit 748b25f04f1078d94e687d3a87d289fedf3efeb7
Author: haixin <email address hidden>
Date: Wed May 26 10:46:48 2021 +0800

    API v2.46, added 'is_default' field to share group types

    Partial-Bug: #1823078
    Change-Id: I3f2b4e6ebf715615b0f65cc26451f9ba406ba236

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila-ui (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/manila-ui/+/816871

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/manila-ui/+/816872

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on manila-ui (stable/wallaby)

Change abandoned by "Victoria Martinez de la Cruz <email address hidden>" on branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/manila-ui/+/816871

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by "Victoria Martinez de la Cruz <email address hidden>" on branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/manila-ui/+/816872

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.