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

csi: aws-efs plugin failing with "Volume capability not supported" #7360

Closed
tgross opened this issue Mar 16, 2020 · 3 comments
Closed

csi: aws-efs plugin failing with "Volume capability not supported" #7360

tgross opened this issue Mar 16, 2020 · 3 comments
Assignees
Milestone

Comments

@tgross
Copy link
Member

tgross commented Mar 16, 2020

In our e2e test for aws-efs (as of #7356's PR), allocations that claim the volume are failing during the pre-run hook with the following task events:

Recent Events:
Time                       Type           Description
2020-03-16T14:48:56-04:00  Setup Failure  failed to setup alloc: pre-run hook "csi_hook" failed: rpc error: code = InvalidArgument desc = Volume capability not supported
2020-03-16T14:48:56-04:00  Received       Task received by client

The volume mount we're using for the read-only use case is as follows. This sort of thing seems to work fine for the EBS plugin so it may be a matter of passing the right flags for plugin registration or volume registration. I want to circle back to this once #7306 and #7338 are done which will make it easier to test correctly.

      volume_mount {
        volume      = "test"
        destination = "${NOMAD_ALLOC_DIR}/test"
        read_only   = true
      }
@tgross
Copy link
Member Author

tgross commented Mar 19, 2020

This turned out to be simple... the EFS plugin doesn't support single-writer/multi-reader so I need to update the volume spec. (This probably should have been obvious given there's no controller.)

@tgross
Copy link
Member Author

tgross commented Mar 19, 2020

Closed by #7387

@tgross tgross closed this as completed Mar 19, 2020
@github-actions
Copy link

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant