The "updated_at" field of access rules is not being set

Bug #2031193 reported by Goutham Pacha Ravi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Undecided
Unassigned

Bug Description

Description
===========
Access rules are applied by the share manager service with the help of the share driver. This happens asynchronous to the user's request. Once the rules are successfully applied, the state transitions to "active". However, the "updated_at" field remains null.

Steps to reproduce
==================

A chronological list of steps which will help reproduce the issue you hit:
* Create a share
* Create an access rule
* Watch "openstack share access list <share_id>" -- the state transitions to "active", however, updated_at remains empty.

Expected result
===============
The "updated_at" field is populated based on when the access rule is updatd by the share manager service

Actual result
=============
"updated_at" field remains null.

Environment
===========
Exact version of OpenStack Manila you are running. - devstack/master; the issue seems to affect all older stable branches however. backend configuration doesn't matter.

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

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

Changed in manila:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/2023.1)

Fix proposed to branch: stable/2023.1
Review: https://review.opendev.org/c/openstack/manila/+/895029

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

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

commit 234d26cdec57f54079e4477add815b5d697f3a27
Author: Goutham Pacha Ravi <email address hidden>
Date: Fri Aug 11 14:52:54 2023 -0700

    Set "updated_at" field on access rules

    Closes-Bug: #2031193
    Change-Id: I9f9f32401d4af4d40b8beb271fa2c9b5ea24105e
    Signed-off-by: Goutham Pacha Ravi <email address hidden>

Changed in manila:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 17.0.0.0rc1

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/2023.1)

Reviewed: https://review.opendev.org/c/openstack/manila/+/895029
Committed: https://opendev.org/openstack/manila/commit/e6950e3456327b6fb7b7527120f5103174a583bd
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit e6950e3456327b6fb7b7527120f5103174a583bd
Author: Goutham Pacha Ravi <email address hidden>
Date: Fri Aug 11 14:52:54 2023 -0700

    Set "updated_at" field on access rules

    Closes-Bug: #2031193
    Change-Id: I9f9f32401d4af4d40b8beb271fa2c9b5ea24105e
    Signed-off-by: Goutham Pacha Ravi <email address hidden>
    (cherry-picked from commit 234d26cdec57f54079e4477add815b5d697f3a27)

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

Fix proposed to branch: stable/zed
Review: https://review.opendev.org/c/openstack/manila/+/896421

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

Fix proposed to branch: stable/yoga
Review: https://review.opendev.org/c/openstack/manila/+/897812

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

Fix proposed to branch: stable/xena
Review: https://review.opendev.org/c/openstack/manila/+/897813

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

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

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

This issue was fixed in the openstack/manila 16.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/zed)

Reviewed: https://review.opendev.org/c/openstack/manila/+/896421
Committed: https://opendev.org/openstack/manila/commit/1ee09205adeed24494101ea0ba2c19be1fdb5941
Submitter: "Zuul (22348)"
Branch: stable/zed

commit 1ee09205adeed24494101ea0ba2c19be1fdb5941
Author: Goutham Pacha Ravi <email address hidden>
Date: Fri Aug 11 14:52:54 2023 -0700

    Set "updated_at" field on access rules

    Closes-Bug: #2031193
    Change-Id: I9f9f32401d4af4d40b8beb271fa2c9b5ea24105e
    Signed-off-by: Goutham Pacha Ravi <email address hidden>
    (cherry-picked from commit 234d26cdec57f54079e4477add815b5d697f3a27)
    (cherry picked from commit e6950e3456327b6fb7b7527120f5103174a583bd)

tags: added: in-stable-zed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 15.3.0

This issue was fixed in the openstack/manila 15.3.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/yoga)

Reviewed: https://review.opendev.org/c/openstack/manila/+/897812
Committed: https://opendev.org/openstack/manila/commit/1b9d500f22b525ee8013ce8c8b61692372557e7d
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit 1b9d500f22b525ee8013ce8c8b61692372557e7d
Author: Goutham Pacha Ravi <email address hidden>
Date: Fri Aug 11 14:52:54 2023 -0700

    Set "updated_at" field on access rules

    Closes-Bug: #2031193
    Change-Id: I9f9f32401d4af4d40b8beb271fa2c9b5ea24105e
    Signed-off-by: Goutham Pacha Ravi <email address hidden>
    (cherry-picked from commit 234d26cdec57f54079e4477add815b5d697f3a27)
    (cherry picked from commit e6950e3456327b6fb7b7527120f5103174a583bd)
    (cherry picked from commit 1ee09205adeed24494101ea0ba2c19be1fdb5941)

tags: added: in-stable-yoga
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/manila/+/897813
Committed: https://opendev.org/openstack/manila/commit/127007a1d0fc4d96677756ba78df7b03b852c8af
Submitter: "Zuul (22348)"
Branch: stable/xena

commit 127007a1d0fc4d96677756ba78df7b03b852c8af
Author: Goutham Pacha Ravi <email address hidden>
Date: Fri Aug 11 14:52:54 2023 -0700

    Set "updated_at" field on access rules

    Closes-Bug: #2031193
    Change-Id: I9f9f32401d4af4d40b8beb271fa2c9b5ea24105e
    Signed-off-by: Goutham Pacha Ravi <email address hidden>
    (cherry-picked from commit 234d26cdec57f54079e4477add815b5d697f3a27)
    (cherry picked from commit e6950e3456327b6fb7b7527120f5103174a583bd)
    (cherry picked from commit 1ee09205adeed24494101ea0ba2c19be1fdb5941)
    (cherry picked from commit 1b9d500f22b525ee8013ce8c8b61692372557e7d)

tags: added: in-stable-xena
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/manila/+/897814
Committed: https://opendev.org/openstack/manila/commit/b23874d8be1af3d87c90e9b22ed5c86cc705b6bc
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit b23874d8be1af3d87c90e9b22ed5c86cc705b6bc
Author: Goutham Pacha Ravi <email address hidden>
Date: Fri Aug 11 14:52:54 2023 -0700

    Set "updated_at" field on access rules

    Closes-Bug: #2031193
    Change-Id: I9f9f32401d4af4d40b8beb271fa2c9b5ea24105e
    Signed-off-by: Goutham Pacha Ravi <email address hidden>
    (cherry-picked from commit 234d26cdec57f54079e4477add815b5d697f3a27)
    (cherry picked from commit e6950e3456327b6fb7b7527120f5103174a583bd)
    (cherry picked from commit 1ee09205adeed24494101ea0ba2c19be1fdb5941)
    (cherry picked from commit 1b9d500f22b525ee8013ce8c8b61692372557e7d)
    (cherry picked from commit 127007a1d0fc4d96677756ba78df7b03b852c8af)

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 14.2.0

This issue was fixed in the openstack/manila 14.2.0 release.

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

This issue was fixed in the openstack/manila wallaby-eom release.

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

This issue was fixed in the openstack/manila xena-eom release.

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.