Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: handle new nvmf uri scheme #858

Merged
merged 1 commit into from
Sep 16, 2024
Merged

feat: handle new nvmf uri scheme #858

merged 1 commit into from
Sep 16, 2024

Conversation

dsharma-dc
Copy link
Contributor

@dsharma-dc dsharma-dc commented Sep 9, 2024

This change lets the control plane csi node plugin to consume the new scheme deviceUri received from volume publish response during the volume attach path. For HA, things should work fundamentally with this. Some additional HA handling will be part of next patch where we handle HA path replacement with transport specific matching.

@dsharma-dc
Copy link
Contributor Author

bors try

bors-openebs-mayastor bot pushed a commit that referenced this pull request Sep 9, 2024
@bors-openebs-mayastor
Copy link

try

Timed out.

@dsharma-dc
Copy link
Contributor Author

bors cancel
bors try

bors-openebs-mayastor bot pushed a commit that referenced this pull request Sep 9, 2024
@bors-openebs-mayastor
Copy link

try

Build succeeded:

control-plane/agents/src/bin/ha/node/server.rs Outdated Show resolved Hide resolved
control-plane/csi-driver/src/bin/node/dev.rs Outdated Show resolved Hide resolved
control-plane/csi-driver/src/bin/node/dev/nvmf.rs Outdated Show resolved Hide resolved
control-plane/csi-driver/src/bin/node/dev/nvmf.rs Outdated Show resolved Hide resolved
@dsharma-dc dsharma-dc force-pushed the nvmf_uri branch 4 times, most recently from abe3eb4 to 1f79514 Compare September 12, 2024 09:15
Copy link
Contributor

@tiagolobocastro tiagolobocastro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will retry fallback as tcp come in new PR?

control-plane/agents/src/bin/ha/node/server.rs Outdated Show resolved Hide resolved
control-plane/agents/src/bin/ha/node/server.rs Outdated Show resolved Hide resolved
control-plane/csi-driver/src/bin/node/dev/nvmf.rs Outdated Show resolved Hide resolved
@dsharma-dc dsharma-dc force-pushed the nvmf_uri branch 2 times, most recently from e9dfd43 to 0227cb5 Compare September 13, 2024 06:19
@dsharma-dc
Copy link
Contributor Author

bors try

bors-openebs-mayastor bot pushed a commit that referenced this pull request Sep 13, 2024
@bors-openebs-mayastor
Copy link

try

Build succeeded:

This shouldn't change the current behaviour w.r.t finding existing path.
Further changes will make use of this to decide path removal criteria.
The rdma apable uri comes in with scheme "nvmf+rdma+tcp", where we only
take out rdma from the scheme to use as transport. When the csi-node
behaviour is modified to attempt tcp connect in case initiator is not rdma
capable, then the second transport i.e. tcp will be checked from uri
scheme.

Signed-off-by: Diwakar Sharma <[email protected]>
@dsharma-dc
Copy link
Contributor Author

bors merge

@bors-openebs-mayastor
Copy link

Build succeeded:

@bors-openebs-mayastor bors-openebs-mayastor bot merged commit e407f51 into develop Sep 16, 2024
4 checks passed
@bors-openebs-mayastor bors-openebs-mayastor bot deleted the nvmf_uri branch September 16, 2024 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants