updated_at field of share instances should be visible via API

Bug #1965122 reported by kiran pawar
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Medium
kiran pawar

Bug Description

share_replicas (which are internally share_instances with replica_state not null) have "updated_at" in its view/API call. Same should be enabled for share_instances which are not replicas.

kiran pawar (kpdev)
Changed in manila:
assignee: nobody → kiran pawar (kiranpawar89)
Revision history for this message
kiran pawar (kpdev) wrote :

Possible use case when share is stuck in "extending" state, looking at instance state does not know how long it is in that state. e.g. `extending` state for a minute is OK and can be ignored while `extending` state for more than hour indicate some issue in Manila.

Changed in manila:
status: New → In Progress
Revision history for this message
Maurice Escher (maurice-escher) wrote :
Changed in manila:
importance: Undecided → Medium
milestone: none → zed-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.opendev.org/c/openstack/manila/+/834047
Committed: https://opendev.org/openstack/manila/commit/aa9f03d5424aba9f6687b6ec23fe8d2e044b1c39
Submitter: "Zuul (22348)"
Branch: master

commit aa9f03d5424aba9f6687b6ec23fe8d2e044b1c39
Author: Maurice Escher <email address hidden>
Date: Wed Mar 16 16:16:16 2022 +0000

    Add missing `updated_at` field in share-instance show.

    Share_replicas (which are internally share_instances with replica_state
    not null) have "updated_at" in its view/API call. However same field is
    missing in share-instance show command.

    Closes-Bug: #1965122

    Change-Id: Ia69f3615d82e0044e3e9f81556dc8355637ef146

Changed in manila:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to manila-tempest-plugin (master)

Reviewed: https://review.opendev.org/c/openstack/manila-tempest-plugin/+/834063
Committed: https://opendev.org/openstack/manila-tempest-plugin/commit/ee15891b5d5e02ff355f50ad7647ead9d8ec6841
Submitter: "Zuul (22348)"
Branch: master

commit ee15891b5d5e02ff355f50ad7647ead9d8ec6841
Author: Kiran Pawar <email address hidden>
Date: Wed Mar 16 19:09:12 2022 +0000

    Fix share instance show related tests..

    Share instance show query need additional key 'updated_at'.

    Related-Bug: #1965122
    Depends-On: Ia69f3615d82e0044e3e9f81556dc8355637ef146
    Change-Id: I1dbeee78c864067b8618b76a2929a112bef148e1

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 15.0.0.0rc1

This issue was fixed in the openstack/manila 15.0.0.0rc1 release candidate.

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.