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

bugfix: If a local volume is SpdkLVol type, connect the target #3

Merged
merged 2 commits into from
Nov 29, 2023

Conversation

silentred
Copy link
Collaborator

@silentred silentred commented Nov 29, 2023

I found a pod hangs at ContainerCreating status, if the computing node and target node are the same, and the volume is SpdkLVol type.

The problem is at this line:
https://github.com/eosphoros-ai/liteio/blob/290e8b6b468dd8aae4564361b604bc9821d938a3/pkg/csi/rpcserver/node.go#L182C15-L182C15

The csi node should connect the target on 2 condition:

  1. it is a remote volume
  2. the volume is SpdkLVol type, regardless of the position of the volume

@silentred silentred merged commit 3b75579 into eosphoros-ai:main Nov 29, 2023
1 check passed
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.

1 participant