Skip to content

[manila-csi-plugin] wait for the "active" access state #3000

Description

@kayrus

/kind bug

What happened:

Manila's grant access API is asynchronous, and it doesn't guarantee that the access rules are applied. There are cases, when the rules state may still be queued_to_apply.

What you expected to happen:

Manila CSI driver must wait until the access rules state is active before trying to mount the share. If the timeout is reached or the access rule is in error state, CSI driver must delete the access rule and return an error, so the next reconcile loop can create it from scratch.

How to reproduce it:

n/a

Anything else we need to know?:

see also #2277 #2725

supported access rule states: https://github.com/openstack/manila/blob/40107f961671fd55710f70eef30ea526298b5e22/manila/common/constants.py#L62-L71

Environment:

  • openstack-cloud-controller-manager(or other related binary) version:
  • OpenStack version:
  • Others:

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions